{
  "resourceType" : "AllergyIntolerance",
  "id" : "MwsAllergyIntolerance-3",
  "meta" : {
    "profile" : ["http://hl7.org.nz/fhir/StructureDefinition/MwsAllergyIntolerance"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: AllergyIntolerance MwsAllergyIntolerance-3</b></p><a name=\"MwsAllergyIntolerance-3\"> </a><a name=\"hcMwsAllergyIntolerance-3\"> </a><a name=\"MwsAllergyIntolerance-3-en-US\"> </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-MwsAllergyIntolerance.html\">MwsAllergyIntolerance</a></p></div><p><b>clinicalStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical active}\">Active</span></p><p><b>category</b>: Food</p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 227215000}\">Artichoke</span></p><p><b>patient</b>: <a href=\"Patient/patient\">Patient/patient</a></p><p><b>onset</b>: 2024-04-16</p><p><b>recorder</b>: <a href=\"PractitionerRole/recorder\">PractitionerRole/recorder</a></p><p><b>note</b>: Information in the note field will not be visible to people viewing the record through legacy HL7 or SOAP interfaces</p><blockquote><p><b>reaction</b></p><blockquote><p><b>id</b></p>1</blockquote><p><b>manifestation</b>: <span title=\"Codes:{http://snomed.info/sct 21522001}\">Abdominal pain</span></p></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: PractitionerRole #recorder2</b></p><a name=\"MwsAllergyIntolerance-3/recorder2\"> </a><a name=\"hcMwsAllergyIntolerance-3/recorder2\"> </a><a name=\"MwsAllergyIntolerance-3/recorder2-en-US\"> </a><p><b>practitioner</b>: Mrs. TestOne Medical (Identifier: <code>http://my-local-practioner-namespace.co.nz</code>/my-local-practionerid-1234)</p><p><b>organization</b>: <a href=\"Organization/GZZ999-J\">Organization/GZZ999-J</a></p><p><b>location</b>: <a href=\"Location/FZZ999-B\">Location/FZZ999-B</a></p></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Patient #patient2</b></p><a name=\"MwsAllergyIntolerance-3/patient2\"> </a><a name=\"hcMwsAllergyIntolerance-3/patient2\"> </a><a name=\"MwsAllergyIntolerance-3/patient2-en-US\"> </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-MwsPatient.html\">Mws Patient</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Paula Leilani Ortiz  (no stated gender), DoB: 2018-12-08 ( https://standards.digital.health.nz/ns/nhi-id#NHI#ZHF0988\u00a0(use:\u00a0official,\u00a0))</p><hr/></blockquote></div>"
  },
  "contained" : [{
    "resourceType" : "PractitionerRole",
    "id" : "recorder2",
    "practitioner" : {
      "identifier" : {
        "system" : "http://my-local-practioner-namespace.co.nz",
        "value" : "my-local-practionerid-1234"
      },
      "display" : "Mrs. TestOne Medical"
    },
    "organization" : {
      "reference" : "Organization/GZZ999-J"
    },
    "location" : [{
      "reference" : "Location/FZZ999-B"
    }]
  },
  {
    "resourceType" : "Patient",
    "id" : "patient2",
    "meta" : {
      "profile" : ["http://hl7.org.nz/fhir/StructureDefinition/MwsPatient"]
    },
    "identifier" : [{
      "use" : "official",
      "system" : "https://standards.digital.health.nz/ns/nhi-id",
      "value" : "ZHF0988"
    }],
    "name" : [{
      "family" : "Ortiz",
      "given" : ["Paula",
      "Leilani"]
    }],
    "birthDate" : "2018-12-08"
  }],
  "clinicalStatus" : {
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
      "code" : "active"
    }]
  },
  "category" : ["food"],
  "code" : {
    "coding" : [{
      "system" : "http://snomed.info/sct",
      "code" : "227215000"
    }]
  },
  "patient" : {
    "reference" : "Patient/patient"
  },
  "onsetDateTime" : "2024-04-16",
  "recorder" : {
    "reference" : "PractitionerRole/recorder"
  },
  "note" : [{
    "text" : "Information in the note field will not be visible to people viewing the record through legacy HL7 or SOAP interfaces"
  }],
  "reaction" : [{
    "id" : "1",
    "manifestation" : [{
      "coding" : [{
        "system" : "http://snomed.info/sct",
        "code" : "21522001"
      }]
    }]
  }]
}