@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org.nz/fhir/ig/mws/Bundle/AI123456> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "AI123456"] ; # 
  fhir:type [ fhir:v "searchset"] ; # 
  fhir:entry ( [
     fhir:resource ( [
       a fhir:AllergyIntolerance ;
       fhir:text [
         fhir:status [ fhir:v "generated" ] ;
         fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"AllergyIntolerance_null\"> </a><p class=\"res-header-id\"><b>Generated Narrative: AllergyIntolerance </b></p><p><b>clinicalStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical active}\">Active</span></p><p><b>verificationStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/allergyintolerance-verification refuted}\">Refuted</span></p><p><b>category</b>: Medication</p><p><b>code</b>: <span title=\"Codes:{http://nzmt.org.nz 44781901000116100}\">olodaterol</span></p><p><b>patient</b>: <a href=\"Patient/ZJM9397\">Patient/ZJM9397</a></p><p><b>onset</b>: 2023</p><p><b>recordedDate</b>: 2024-03-04 12:31:07+1300</p><p><b>recorder</b>: <a href=\"PractitionerRole/Recorder3\">PractitionerRole/Recorder3</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><h3>Reactions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Manifestation</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://snomed.info/sct/21000210109/version/20231001?fhir_vs=refset%2F351000210106 165423001}\">Red blood cell count below reference range</span></td></tr></table><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: PractitionerRole #Recorder3</b></p><a name=\"null/Recorder3\"> </a><a name=\"hcnull/Recorder3\"> </a><a name=\"null/Recorder3-en-US\"> </a><p><b>practitioner</b>: <a href=\"Practitioner/99ZZZS\">Mrs TestOne Prefix-Test</a></p><p><b>organization</b>: <a href=\"Organization/GZZ998-G\">Live Org with Dormant</a></p><p><b>location</b>: <a href=\"Location/FZZ968-B\">Facility Has All Contact Types TEST</a></p></blockquote></div>"^^rdf:XMLLiteral
       ] ;
       fhir:contained ( [
         a fhir:PractitionerRole ;
         fhir:id [ fhir:v "Recorder3" ] ;
         fhir:practitioner [
           fhir:link <http://hl7.org.nz/fhir/ig/mws/Practitioner/99ZZZS> ;
           fhir:reference [ fhir:v "Practitioner/99ZZZS" ] ;
           fhir:display [ fhir:v "Mrs TestOne Prefix-Test" ]
         ] ;
         fhir:organization [
           fhir:link <http://hl7.org.nz/fhir/ig/mws/Organization/GZZ998-G> ;
           fhir:reference [ fhir:v "Organization/GZZ998-G" ] ;
           fhir:display [ fhir:v "Live Org with Dormant" ]
         ] ;
         fhir:location ( [
           fhir:link <http://hl7.org.nz/fhir/ig/mws/Location/FZZ968-B> ;
           fhir:reference [ fhir:v "Location/FZZ968-B" ] ;
           fhir:display [ fhir:v "Facility Has All Contact Types TEST" ]
         ] )
       ] ) ;
       fhir:clinicalStatus [
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "active" ]
         ] )
       ] ;
       fhir:verificationStatus [
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "refuted" ]
         ] )
       ] ;
       fhir:category ( [ fhir:v "medication" ] ) ;
       fhir:code [
         fhir:coding ( [
           fhir:system [ fhir:v "http://nzmt.org.nz"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "44781901000116100" ] ;
           fhir:display [ fhir:v "olodaterol" ]
         ] )
       ] ;
       fhir:patient [
         fhir:link <http://hl7.org.nz/fhir/ig/mws/Patient/ZJM9397> ;
         fhir:reference [ fhir:v "Patient/ZJM9397" ]
       ] ;
       fhir:onset [
         a fhir:dateTime ;
         fhir:v "2023"^^xsd:gYear
       ] ;
       fhir:recordedDate [ fhir:v "2024-03-04T12:31:07+13:00"^^xsd:dateTime ] ;
       fhir:recorder [
         fhir:link <http://hl7.org.nz/fhir/ig/mws/PractitionerRole/Recorder3> ;
         fhir:reference [ fhir:v "PractitionerRole/Recorder3" ]
       ] ;
       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:manifestation ( [
           fhir:coding ( [
             fhir:system [ fhir:v "http://snomed.info/sct/21000210109/version/20231001?fhir_vs=refset%2F351000210106"^^xsd:anyURI ] ;
             fhir:code [ fhir:v "165423001" ] ;
             fhir:display [ fhir:v "Red blood cell count below reference range" ]
           ] )
         ] )
       ] )
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

