{
  "resourceType" : "AllergyIntolerance",
  "id" : "haau3-allergy-derived-code",
  "meta" : {
    "profile" : ["https://haau3.com/fhir/StructureDefinition/haau3-allergy-intolerance"],
    "tag" : [{
      "system" : "https://haau3.com/fhir/CodeSystem/staging-transform-rule",
      "code" : "allergy.code_derived_from_reaction_substance"
    }]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: AllergyIntolerance haau3-allergy-derived-code</b></p><a name=\"haau3-allergy-derived-code\"> </a><a name=\"hchaau3-allergy-derived-code\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-haau3-allergy-intolerance.html\">haau3 AllergyIntolerance</a></p><p style=\"margin-bottom: 0px\">Tag: </p></div><p><b>identifier</b>: <code>https://haau3.com/fhir/NamingSystem/source-resource-id</code>/AllergyIntolerance/example-source-record</p><p><b>clinicalStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical active}\">Active</span></p><p><b>code</b>: <span title=\"Codes:\">Recorded substance</span></p><p><b>patient</b>: <a href=\"Patient-us-core-patient.html\">Derrick Lin  Male, DoB: 1965-04-12 ( Medical record number\u00a0(use:\u00a0usual,\u00a0))</a></p><h3>Reactions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Substance</b></td><td><b>Manifestation</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:\">Recorded substance</span></td><td><span title=\"Codes:\">Recorded manifestation</span></td></tr></table></div>"
  },
  "identifier" : [{
    "system" : "https://haau3.com/fhir/NamingSystem/source-resource-id",
    "value" : "AllergyIntolerance/example-source-record"
  }],
  "clinicalStatus" : {
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
      "code" : "active"
    }]
  },
  "code" : {
    "text" : "Recorded substance"
  },
  "patient" : {
    "reference" : "Patient/us-core-patient"
  },
  "reaction" : [{
    "substance" : {
      "text" : "Recorded substance"
    },
    "manifestation" : [{
      "text" : "Recorded manifestation"
    }]
  }]
}