@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://standards.digital.health.nz/fhir/air/Immunization/imm-example-1> a fhir:Immunization ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "imm-example-1"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-immunization" ;
       fhir:index 0 ;
       fhir:link <https://standards.digital.health.nz/fhir/air/StructureDefinition/air-immunization>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Immunization imm-example-1</b></p><a name=\"imm-example-1\"> </a><a name=\"hcimm-example-1\"> </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-air-immunization.html\">AIR Immunization</a></p></div><p><b>status</b>: Completed</p><p><b>vaccineCode</b>: <span title=\"Codes:{http://hl7.org/fhir/sid/cvx 03}\">MMR</span></p><p><b>patient</b>: Identifier: NHI/ZAA0792</p><p><b>occurrence</b>: 2023-03-01 16:45:46+1300</p><h3>Performers</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Function</b></td><td><b>Actor</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{https://standards.digital.health.nz/ns/air-terms-code VC}\">Vaccinator</span></td><td>Identifier: HPIProvider/90ZZLP</td></tr></table></div>"
  ] ;
  fhir:Immunization.status [ fhir:value "completed"] ;
  fhir:Immunization.vaccineCode [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/sid/cvx" ] ;
       fhir:Coding.code [ fhir:value "03" ] ;
       fhir:Coding.display [ fhir:value "MMR" ]
     ]
  ] ;
  fhir:Immunization.patient [
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "https://standards.digital.health.nz/ns/nhi-id" ] ;
       fhir:Identifier.value [ fhir:value "ZAA0792" ]
     ]
  ] ;
  fhir:Immunization.occurrenceDateTime [ fhir:value "2023-03-01T16:45:46+13:00"^^xsd:dateTime] ;
  fhir:Immunization.performer [
     fhir:index 0 ;
     fhir:Immunization.performer.function [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "https://standards.digital.health.nz/ns/air-terms-code" ] ;
         fhir:Coding.code [ fhir:value "VC" ] ;
         fhir:Coding.display [ fhir:value "Vaccinator" ]
       ]
     ] ;
     fhir:Immunization.performer.actor [
       fhir:Reference.identifier [
         fhir:Identifier.system [ fhir:value "https://standards.digital.health.nz/ns/hpi-person-id" ] ;
         fhir:Identifier.value [ fhir:value "90ZZLP" ]
       ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<https://standards.digital.health.nz/fhir/air/Immunization/imm-example-1.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

