@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org.nz/fhir/ig/mws/AllergyIntolerance/MwsAllergyIntolerance-2> a fhir:AllergyIntolerance ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "MwsAllergyIntolerance-2"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org.nz/fhir/StructureDefinition/MwsAllergyIntolerance"^^xsd:anyURI ;
       fhir:link <http://hl7.org.nz/fhir/StructureDefinition/MwsAllergyIntolerance>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: AllergyIntolerance MwsAllergyIntolerance-2</b></p><a name=\"MwsAllergyIntolerance-2\"> </a><a name=\"hcMwsAllergyIntolerance-2\"> </a><a name=\"MwsAllergyIntolerance-2-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>: Medication</p><p><b>code</b>: <span title=\"Codes:{https://nzhts.digital.health.nz/fhir/CodeSystem/nzmt 10533431000116105}\">10533431000116105</span></p><p><b>patient</b>: <a href=\"#hcMwsAllergyIntolerance-2/patient\">Dandre Alessandra Doyle  (no stated gender), DoB: 2020-08-20 ( https://standards.digital.health.nz/ns/nhi-id#NHI#ZHF0848 (use: official, ))</a></p><p><b>onset</b>: 2024-04-15</p><p><b>recorder</b>: <a href=\"#hcMwsAllergyIntolerance-2/recorder\">PractitionerRole</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 116289008}\">Abdominal bloating</span></p></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: PractitionerRole #recorder</b></p><a name=\"MwsAllergyIntolerance-2/recorder\"> </a><a name=\"hcMwsAllergyIntolerance-2/recorder\"> </a><a name=\"MwsAllergyIntolerance-2/recorder-en-US\"> </a><p><b>practitioner</b>: <a href=\"Practitioner/96ZZZZ\">Practitioner/96ZZZZ</a></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 #patient</b></p><a name=\"MwsAllergyIntolerance-2/patient\"> </a><a name=\"hcMwsAllergyIntolerance-2/patient\"> </a><a name=\"MwsAllergyIntolerance-2/patient-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;\">Dandre Alessandra Doyle  (no stated gender), DoB: 2020-08-20 ( https://standards.digital.health.nz/ns/nhi-id#NHI#ZHF0848 (use: official, ))</p><hr/></blockquote></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:contained ( [
     a fhir:PractitionerRole ;
     fhir:id [ fhir:v "recorder" ] ;
     fhir:practitioner [
       fhir:link <http://hl7.org.nz/fhir/ig/mws/Practitioner/96ZZZZ> ;
       fhir:reference [ fhir:v "Practitioner/96ZZZZ" ]
     ] ;
     fhir:organization [
       fhir:link <http://hl7.org.nz/fhir/ig/mws/Organization/GZZ999-J> ;
       fhir:reference [ fhir:v "Organization/GZZ999-J" ]
     ] ;
     fhir:location ( [
       fhir:link <http://hl7.org.nz/fhir/ig/mws/Location/FZZ999-B> ;
       fhir:reference [ fhir:v "Location/FZZ999-B" ]
     ] )
  ] [
     a fhir:Patient ;
     fhir:id [ fhir:v "patient" ] ;
     fhir:meta [
       fhir:profile ( [
         fhir:v "http://hl7.org.nz/fhir/StructureDefinition/MwsPatient"^^xsd:anyURI ;
         fhir:link <http://hl7.org.nz/fhir/StructureDefinition/MwsPatient>
       ] )
     ] ;
     fhir:identifier ( [
       fhir:use [ fhir:v "official" ] ;
       fhir:system [ fhir:v "https://standards.digital.health.nz/ns/nhi-id"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "ZHF0848" ]
     ] ) ;
     fhir:name ( [
       fhir:family [ fhir:v "Doyle" ] ;
       fhir:given ( [ fhir:v "Dandre" ] [ fhir:v "Alessandra" ] )
     ] ) ;
     fhir:birthDate [ fhir:v "2020-08-20"^^xsd:date ]
  ] ) ; # 
  fhir:clinicalStatus [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "active" ]
     ] )
  ] ; # 
  fhir:category ( [ fhir:v "medication"] ) ; # 
  fhir:code [
     fhir:coding ( [
       fhir:system [ fhir:v "https://nzhts.digital.health.nz/fhir/CodeSystem/nzmt"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "10533431000116105" ]
     ] )
  ] ; # 
  fhir:patient [
     fhir:reference [ fhir:v "#patient" ]
  ] ; # 
  fhir:onset [
     a fhir:dateTime ;
     fhir:v "2024-04-15"^^xsd:date
  ] ; # 
  fhir:recorder [
     fhir:reference [ fhir:v "#recorder" ]
  ] ; # 
  fhir:note ( [
     fhir:text [ fhir:v "Information in the note field will not be visible to people viewing the record through legacy HL7 or SOAP interfaces" ]
  ] ) ; # 
  fhir:reaction ( [
     fhir:id [ fhir:v "1" ] ;
     fhir:manifestation ( [
       fhir:coding ( [
         a sct:116289008 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "116289008" ]
       ] )
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

