2nd DSTU Draft For Comment

This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

4.19.6 Resource Immunization - Examples

Example Index:

Example of ImmunizationXMLJSON
Not Given Immunization ExampleXMLJSON

4.19.6.1 General

XML

Example of Immunization (id = "example")

Raw XML

<Immunization xmlns="http://hl7.org/fhir">
  <id value="example"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><!-- Snipped for brevity --></div>
  </text>
  <date value="2013-01-10"/>
  <vaccineType>
    <coding>
      <code value="396427003"/>
    </coding>
  </vaccineType>
  <patient>
    <reference value="Patient/example"/>
  </patient>
  <wasNotGiven value="false"/>
  <reported value="false"/>
  <performer>
    <reference value="Practitioner/example"/>
  </performer>
  <lotNumber value="AAJN11K"/>
  <expirationDate value="2015-02-15"/>
</Immunization>

JSON

Example of Immunization

Raw JSON (Canonical)

{
  "resourceType": "Immunization",
  "id": "example",
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"
  },
  "date": "2013-01-10",
  "vaccineType": {
    "coding": [
      {
        "code": "396427003"
      }
    ]
  },
  "patient": {
    "reference": "Patient/example"
  },
  "wasNotGiven": false,
  "reported": false,
  "performer": {
    "reference": "Practitioner/example"
  },
  "lotNumber": "AAJN11K",
  "expirationDate": "2015-02-15"
}

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.