This page is part of the FHIR Specification (v0.0.82: DSTU 1). 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.2.6 Resource AllergyIntolerance - Examples

Example Index:

General Person ExampleXMLJSON
Real-world patient exampleXMLJSON

4.2.6.1 Bee stings

XML

General Person Example (id = "example")

Raw XML

<AllergyIntolerance xmlns="http://hl7.org/fhir">
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">Sensitivity to Bee Stings</div>
  </text>
  <criticality value="fatal"/>
  <sensitivityType value="allergy"/>
  <recordedDate value="2012-09-17"/>
  <status value="confirmed"/>
  <subject>
    <reference value="Patient/example"/>
  </subject>
  <recorder>
    <reference value="Practitioner/example"/>
  </recorder>
  <substance>
    <reference value="Substance/example"/>
  </substance>
  <reaction>
    <reference value="AdverseReaction/example"/>
  </reaction>
  <sensitivityTest>
    <reference value="Observation/example"/>
  </sensitivityTest>
</AllergyIntolerance>

JSON

General Person Example

{
  "resourceType": "AllergyIntolerance",
  "text": {
    "status": "generated",
    "div": "<div>Sensitivity to Bee Stings</div>"
  },
  "criticality": "fatal",
  "sensitivityType": "allergy",
  "recordedDate": "2012-09-17",
  "status": "confirmed",
  "subject": {
    "reference": "Patient/example"
  },
  "recorder": {
    "reference": "Practitioner/example"
  },
  "substance": {
    "reference": "Substance/example"
  },
  "reaction": [
    {
      "reference": "AdverseReaction/example"
    }
  ],
  "sensitivityTest": [
    {
      "reference": "Observation/example"
    }
  ]
}

comments powered by Disqus