This page is part of the FHIR Specification (v0.11: DSTU 1 Ballot 3). 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

Resource Roadmap - Examples 4.13.3

Example Index:

Example of immunizationXMLJSON

General 4.13.3.1

Example of immunization

Example of immunization (id = "example")

Raw XML

<Immunization xmlns="http://hl7.org/fhir">
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">Authored by Joginder Madra</div>
  </text>
  <date value="2013-01-10"/>
  <vaccineType>
    <coding>
      <code value="396427003"/>
    </coding>
  </vaccineType> 
  <subject>
    <type value="Patient"/>
    <reference value="patient/@example"/>
  </subject>
  <refusedIndicator value="false"/>
  <reported value="false"/>
  <performer>
    <type value="Practitioner"/>
    <reference value="practitioner/@example"/>
  </performer>  
  <lotNumber value="AAJN11K"/>
  <expirationDate value="2015-02-15"/>  
</Immunization>

JSON Equivalent

Example of immunization

{
  "Immunization":{
    "text":{
      "status":{
        "value":"generated"
      },
      "div":"<div>Authored by Joginder Madra<\/div>"
    },
    "date":{
      "value":"2013-01-10"
    },
    "vaccineType":{
      "coding":[
        {
          "code":{
            "value":"396427003"
          }
        }
      ]
    },
    "subject":{
      "type":{
        "value":"Patient"
      },
      "reference":{
        "value":"patient/@example"
      }
    },
    "refusedIndicator":{
      "value":false
    },
    "reported":{
      "value":false
    },
    "performer":{
      "type":{
        "value":"Practitioner"
      },
      "reference":{
        "value":"practitioner/@example"
      }
    },
    "lotNumber":{
      "value":"AAJN11K"
    },
    "expirationDate":{
      "value":"2015-02-15"
    }
  }
}