Aotearoa Immunisation Register (AIR) FHIR Implementation Guide
1.31.0 - ci-build New Zealand

Aotearoa Immunisation Register (AIR) FHIR Implementation Guide - Local Development build (v1.31.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

## : AIR Orchestration Service Immunisation Bundle Example - TTL Representation

Raw ttl | Download

    @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 sct: <http://snomed.info/id/> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

    <http://hl7.org/fhir/Bundle/AIRBundleOrchestrationExample> a fhir:Bundle ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:Resource.id [ fhir:value "AIRBundleOrchestrationExample"] ;
      fhir:Bundle.type [ fhir:value "searchset"] ;
      fhir:Bundle.link [
         fhir:index 0 ;
         fhir:Bundle.link.relation [ fhir:value "self" ] ;
         fhir:Bundle.link.url [ fhir:value "https://air.api-dev.digital.health.nz/fhir/R4/Immunization?_include=*&patient=ZAA0792" ]
      ] ;
      fhir:Bundle.entry [
         fhir:index 0 ;
         fhir:Bundle.entry.fullUrl [ fhir:value "https://air.api-dev.digital.health.nz/fhir/R4/Immunization/a757a62c-ef57-4480-85de-ac012a1ee1a9" ] ;
         fhir:Bundle.entry.resource <https://air.api-dev.digital.health.nz/fhir/R4/Immunization/a757a62c-ef57-4480-85de-ac012a1ee1a9> ;
         fhir:Bundle.entry.search [
           fhir:Bundle.entry.search.mode [ fhir:value "match" ]
         ]
      ], [
         fhir:index 1 ;
         fhir:Bundle.entry.fullUrl [ fhir:value "https://air.api-dev.digital.health.nz/fhir/R4/Immunization/b868b73d-ef57-4480-85de-ac012a1ee1a9" ] ;
         fhir:Bundle.entry.resource <https://air.api-dev.digital.health.nz/fhir/R4/Immunization/b868b73d-ef57-4480-85de-ac012a1ee1a9> ;
         fhir:Bundle.entry.search [
           fhir:Bundle.entry.search.mode [ fhir:value "match" ]
         ]
      ], [
         fhir:index 2 ;
         fhir:Bundle.entry.fullUrl [ fhir:value "https://api.hip.digital.health.nz/fhir/nhi/v1/Patient/ZAA0792" ] ;
         fhir:Bundle.entry.resource <https://api.hip.digital.health.nz/fhir/nhi/v1/Patient/ZAA0792> ;
         fhir:Bundle.entry.search [
           fhir:Bundle.entry.search.mode [ fhir:value "include" ]
         ]
      ], [
         fhir:index 3 ;
         fhir:Bundle.entry.fullUrl [ fhir:value "https://api.hip.digital.health.nz/fhir/hpi/v1/Practitioner/90ZZLP" ] ;
         fhir:Bundle.entry.resource <https://api.hip.digital.health.nz/fhir/hpi/v1/Practitioner/90ZZLP> ;
         fhir:Bundle.entry.search [
           fhir:Bundle.entry.search.mode [ fhir:value "include" ]
         ]
      ], [
         fhir:index 4 ;
         fhir:Bundle.entry.fullUrl [ fhir:value "https://api.hip.digital.health.nz/fhir/hpi/v1/Location/FZZ958-K" ] ;
         fhir:Bundle.entry.resource <https://api.hip.digital.health.nz/fhir/hpi/v1/Location/FZZ958-K> ;
         fhir:Bundle.entry.search [
           fhir:Bundle.entry.search.mode [ fhir:value "include" ]
         ]
      ] .

    <https://air.api-dev.digital.health.nz/fhir/R4/Immunization/a757a62c-ef57-4480-85de-ac012a1ee1a9> a fhir:Immunization ;
      fhir:Resource.id [ fhir:value "a757a62c-ef57-4480-85de-ac012a1ee1a9"] ;
      fhir:Resource.meta [
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-modified-source-system" ] ;
           fhir:Extension.valueString [ fhir:value "SS345" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-modified-by" ] ;
           fhir:Extension.valueString [ fhir:value "222" ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/firstCreated" ] ;
           fhir:Extension.valueDateTime [ fhir:value "2023-08-21T02:18:30.303+00:00"^^xsd:dateTime ]
         ] ;
         fhir:Meta.versionId [ fhir:value "1" ] ;
         fhir:Meta.lastUpdated [ fhir:value "2023-03-01T16:45:46.781+13:00"^^xsd:dateTime ] ;
         fhir:Meta.profile [
           fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/orch-immunization" ;
           fhir:index 0 ;
           fhir:link <https://standards.digital.health.nz/fhir/air/StructureDefinition/orch-immunization>
         ]
      ] ;
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "extensions" ] ;
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Immunization_a757a62c-ef57-4480-85de-ac012a1ee1a9\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Immunization a757a62c-ef57-4480-85de-ac012a1ee1a9</b></p><a name=\"a757a62c-ef57-4480-85de-ac012a1ee1a9\"> </a><a name=\"hca757a62c-ef57-4480-85de-ac012a1ee1a9\"> </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\">version: 1; Last updated: 2023-03-01 16:45:46+1300</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"https://simplifier.net/resolve?scope=fhir.org.nz.ig.base@2.0.0&amp;canonical=https://standards.digital.health.nz/fhir/air/StructureDefinition/orch-immunization\">https://standards.digital.health.nz/fhir/air/StructureDefinition/orch-immunization</a></p></div><blockquote><p><b>Immunization Diluent</b></p><ul><li>diluentLotNumber: 33332222</li><li>diluentExpiryDate: 2026-01-01</li></ul></blockquote><p><b>mobileSiteId</b>: FZZ958-K_MOB0001</p><p><b>AIR Administered Product Extension</b>: <span title=\"Codes:{http://nzmt.org.nz 44016911000116108}\">M-M-R-II</span></p><blockquote><p><b>AIR Age Given Extension</b></p><ul><li>years: 1</li><li>months: 2</li><li>days: 22</li><li>daysSinceBirth: 445</li><li>precision: Day</li></ul></blockquote><p><b>status</b>: Completed</p><p><b>statusReason</b>: <span title=\"Codes:{http://snomed.info/sct 127785005}\">Active or passive immunisation</span></p><p><b>vaccineCode</b>: <span title=\"Codes:{http://hl7.org/fhir/sid/cvx 03}\">MMR</span></p><p><b>patient</b>: <a href=\"Bundle-AIRBundleOrchestrationExample.html#https-//api.hip.digital.health.nz/fhir/nhi/v1/Patient/ZAA0792\">BABY OF TESTING NEWMUM  Female, DoB: 2015-09-09 ( https://standards.digital.health.nz/ns/nhi-id#NHI#ZAA0792 (use: official, ))</a></p><p><b>occurrence</b>: 2016-12-02 13:21:46+1300</p><p><b>location</b>: <a href=\"Bundle-AIRBundleOrchestrationExample.html#https-//api.hip.digital.health.nz/fhir/hpi/v1/Location/FZZ958-K\">Location Medical Centre Flat-Unit</a></p><p><b>lotNumber</b>: 1234567</p><p><b>expirationDate</b>: 2025-07-21</p><p><b>site</b>: <span title=\"Codes:{http://snomed.info/sct 16217701000119102}\">Structure of left deltoid muscle</span></p><p><b>route</b>: <span title=\"Codes:{http://snomed.info/sct 78421000}\">Intramuscular route</span></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><a href=\"Bundle-AIRBundleOrchestrationExample.html#https-//api.hip.digital.health.nz/fhir/hpi/v1/Practitioner/90ZZLP\">Practitioner: identifier = https://standards.digital.health.nz/ns/hpi-person-id#HPIProvider#90ZZLP (use: official, )</a></td></tr></table><p><b>reasonCode</b>: <span title=\"Codes:{https://standards.digital.health.nz/ns/air-terms-code 15M}\">15 months</span></p><h3>ProtocolApplieds</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>TargetDisease</b></td><td><b>DoseNumber[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://snomed.info/sct 14189004}\">14189004</span></td><td>2</td></tr></table><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: RelatedPerson #imm-related-person-1</b></p><a name=\"a757a62c-ef57-4480-85de-ac012a1ee1a9/imm-related-person-1\"> </a><a name=\"hca757a62c-ef57-4480-85de-ac012a1ee1a9/imm-related-person-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-related-person-prf.html\">AIR Related Person Profile</a></p></div><p><b>patient</b>: <a href=\"https://simplifier.net/resolve?scope=fhir.org.nz.ig.base@2.0.0&amp;canonical=https://api.hip.digital.health.nz/fhir/nhi/v1/Patient/ZZZ9994\">https://api.hip.digital.health.nz/fhir/nhi/v1/Patient/ZZZ9994</a></p><p><b>relationship</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-RoleCode MTH}\">mother</span></p><p><b>name</b>: Jane Jess Test-Dill </p><p><b>telecom</b>: ph: 041111111(Home), ph: 091111111(Work), <a href=\"mailto:jadill@test.mail\">jadill@test.mail</a></p><p><b>address</b>: 456 Main St Suite 256 Hamilton 1111 (home) (NZ Suburb: ccc)</p></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Observation #imm-serology-report-1</b></p><a name=\"a757a62c-ef57-4480-85de-ac012a1ee1a9/imm-serology-report-1\"> </a><a name=\"hca757a62c-ef57-4480-85de-ac012a1ee1a9/imm-serology-report-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-serology-report-profile.html\">AIR Serology Report Profile</a></p></div><p><b>status</b>: Final</p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 278969009}\">278969009</span></p><p><b>interpretation</b>: <span title=\"Codes:{https://standards.digital.health.nz/ns/air-serology-protection-terms IND}\">Indeterminate</span></p></blockquote></div>"
      ] ;
      fhir:DomainResource.contained [
         a fhir:RelatedPerson ;
         fhir:index 0 ;
         fhir:Resource.id [ fhir:value "imm-related-person-1" ] ;
         fhir:Resource.meta [
           fhir:Meta.profile [
             fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-related-person-prf" ;
             fhir:index 0 ;
             fhir:link <https://standards.digital.health.nz/fhir/air/StructureDefinition/air-related-person-prf>
           ]
         ] ;
         fhir:RelatedPerson.patient [
           fhir:link <https://api.hip.digital.health.nz/fhir/nhi/v1/Patient/ZZZ9994> ;
           fhir:Reference.reference [ fhir:value "https://api.hip.digital.health.nz/fhir/nhi/v1/Patient/ZZZ9994" ] ;
           fhir:Reference.identifier [
             fhir:Identifier.system [ fhir:value "https://standards.digital.health.nz/ns/nhi-id" ] ;
             fhir:Identifier.value [ fhir:value "ZZZ9994" ]
           ]
         ] ;
         fhir:RelatedPerson.relationship [
           fhir:index 0 ;
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-RoleCode" ] ;
             fhir:Coding.code [ fhir:value "MTH" ]
           ]
         ] ;
         fhir:RelatedPerson.name [
           fhir:index 0 ;
           fhir:HumanName.family [ fhir:value "Test-Dill" ] ;
           fhir:HumanName.given [
             fhir:value "Jane Jess" ;
             fhir:index 0
           ]
         ] ;
         fhir:RelatedPerson.telecom [
           fhir:index 0 ;
           fhir:ContactPoint.system [ fhir:value "phone" ] ;
           fhir:ContactPoint.value [ fhir:value "041111111" ] ;
           fhir:ContactPoint.use [ fhir:value "home" ]
         ], [
           fhir:index 1 ;
           fhir:ContactPoint.system [ fhir:value "phone" ] ;
           fhir:ContactPoint.value [ fhir:value "091111111" ] ;
           fhir:ContactPoint.use [ fhir:value "work" ]
         ], [
           fhir:index 2 ;
           fhir:ContactPoint.system [ fhir:value "email" ] ;
           fhir:ContactPoint.value [ fhir:value "jadill@test.mail" ] ;
           fhir:ContactPoint.use [ fhir:value "home" ]
         ] ;
         fhir:RelatedPerson.address [
           fhir:index 0 ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Extension.url [ fhir:value "http://hl7.org.nz/fhir/StructureDefinition/suburb" ] ;
             fhir:Extension.valueString [ fhir:value "ccc" ]
           ] ;
           fhir:Address.use [ fhir:value "home" ] ;
           fhir:Address.type [ fhir:value "physical" ] ;
           fhir:Address.line [
             fhir:value "456 Main St" ;
             fhir:index 0
           ], [
             fhir:value "Suite 256" ;
             fhir:index 1
           ] ;
           fhir:Address.city [ fhir:value "Hamilton" ] ;
           fhir:Address.postalCode [ fhir:value "1111" ]
         ]
      ], [
         a fhir:Observation ;
         fhir:index 1 ;
         fhir:Resource.id [ fhir:value "imm-serology-report-1" ] ;
         fhir:Resource.meta [
           fhir:Meta.profile [
             fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-serology-report-profile" ;
             fhir:index 0 ;
             fhir:link <https://standards.digital.health.nz/fhir/air/StructureDefinition/air-serology-report-profile>
           ]
         ] ;
         fhir:Observation.status [ fhir:value "final" ] ;
         fhir:Observation.code [
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             a sct:278969009 ;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
             fhir:Coding.code [ fhir:value "278969009" ]
           ]
         ] ;
         fhir:Observation.interpretation [
           fhir:index 0 ;
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             fhir:Coding.system [ fhir:value "https://standards.digital.health.nz/ns/air-serology-protection-terms" ] ;
             fhir:Coding.code [ fhir:value "IND" ]
           ]
         ]
      ] ;
      fhir:DomainResource.extension [
         fhir:index 0 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "diluentLotNumber" ] ;
           fhir:Extension.valueString [ fhir:value "33332222" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "diluentExpiryDate" ] ;
           fhir:Extension.valueDate [ fhir:value "2026-01-01"^^xsd:date ]
         ] ;
         fhir:Extension.url [ fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-diluent" ]
      ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "mobileSiteId" ] ;
         fhir:Extension.valueString [ fhir:value "FZZ958-K_MOB0001" ]
      ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-administered-product" ] ;
         fhir:Extension.valueCodeableConcept [
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             fhir:Coding.system [ fhir:value "http://nzmt.org.nz" ] ;
             fhir:Coding.code [ fhir:value "44016911000116108" ] ;
             fhir:Coding.display [ fhir:value "M-M-R-II" ]
           ]
         ]
      ], [
         fhir:index 3 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "years" ] ;
           fhir:Extension.valueInteger [ fhir:value "1"^^xsd:integer ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "months" ] ;
           fhir:Extension.valueInteger [ fhir:value "2"^^xsd:integer ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "days" ] ;
           fhir:Extension.valueInteger [ fhir:value "22"^^xsd:integer ]
         ], [
           fhir:index 3 ;
           fhir:Extension.url [ fhir:value "daysSinceBirth" ] ;
           fhir:Extension.valueInteger [ fhir:value "445"^^xsd:integer ]
         ], [
           fhir:index 4 ;
           fhir:Extension.url [ fhir:value "precision" ] ;
           fhir:Extension.valueString [ fhir:value "Day" ]
         ] ;
         fhir:Extension.url [ fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-age-given" ]
      ] ;
      fhir:Immunization.status [ fhir:value "completed"] ;
      fhir:Immunization.statusReason [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           a sct:127785005 ;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
           fhir:Coding.code [ fhir:value "127785005" ] ;
           fhir:Coding.display [ fhir:value "Active or passive immunisation" ]
         ]
      ] ;
      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:link <https://api.hip.digital.health.nz/fhir/nhi/v1/Patient/ZAA0792> ;
         fhir:Reference.reference [ fhir:value "https://api.hip.digital.health.nz/fhir/nhi/v1/Patient/ZAA0792" ] ;
         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 "2016-12-02T13:21:46+13:00"^^xsd:dateTime] ;
      fhir:Immunization.location [
         fhir:link <https://api.hip.digital.health.nz/fhir/hpi/v1/Location/FZZ958-K> ;
         fhir:Reference.reference [ fhir:value "https://api.hip.digital.health.nz/fhir/hpi/v1/Location/FZZ958-K" ] ;
         fhir:Reference.identifier [
           fhir:Identifier.system [ fhir:value "https://standards.digital.health.nz/ns/hpi-facility-id" ] ;
           fhir:Identifier.value [ fhir:value "FZZ958-K" ]
         ]
      ] ;
      fhir:Immunization.lotNumber [ fhir:value "1234567"] ;
      fhir:Immunization.expirationDate [ fhir:value "2025-07-21"^^xsd:date] ;
      fhir:Immunization.site [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           a sct:16217701000119102 ;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
           fhir:Coding.code [ fhir:value "16217701000119102" ] ;
           fhir:Coding.display [ fhir:value "Structure of left deltoid muscle" ]
         ]
      ] ;
      fhir:Immunization.route [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           a sct:78421000 ;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
           fhir:Coding.code [ fhir:value "78421000" ] ;
           fhir:Coding.display [ fhir:value "Intramuscular route" ]
         ]
      ] ;
      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:link <https://api.hip.digital.health.nz/fhir/hpi/v1/Practitioner/90ZZLP> ;
           fhir:Reference.reference [ fhir:value "https://api.hip.digital.health.nz/fhir/hpi/v1/Practitioner/90ZZLP" ] ;
           fhir:Reference.identifier [
             fhir:Identifier.system [ fhir:value "https://standards.digital.health.nz/ns/hpi-person-id" ] ;
             fhir:Identifier.value [ fhir:value "90ZZLP" ]
           ]
         ]
      ] ;
      fhir:Immunization.reasonCode [
         fhir:index 0 ;
         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 "15M" ] ;
           fhir:Coding.display [ fhir:value "15 months" ]
         ]
      ] ;
      fhir:Immunization.protocolApplied [
         fhir:index 0 ;
         fhir:Immunization.protocolApplied.targetDisease [
           fhir:index 0 ;
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             a sct:14189004 ;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
             fhir:Coding.code [ fhir:value "14189004" ]
           ]
         ] ;
         fhir:Immunization.protocolApplied.doseNumberPositiveInt [ fhir:value "2"^^xsd:positiveInteger ]
      ] .

    <https://air.api-dev.digital.health.nz/fhir/R4/Immunization/b868b73d-ef57-4480-85de-ac012a1ee1a9> a fhir:Immunization ;
      fhir:Resource.id [ fhir:value "b868b73d-ef57-4480-85de-ac012a1ee1a9"] ;
      fhir:Resource.meta [
         fhir:Meta.versionId [ fhir:value "null" ] ;
         fhir:Meta.lastUpdated [ fhir:value "2023-03-01T16:45:46.781+13:00"^^xsd:dateTime ] ;
         fhir:Meta.profile [
           fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/orch-immunization" ;
           fhir:index 0 ;
           fhir:link <https://standards.digital.health.nz/fhir/air/StructureDefinition/orch-immunization>
         ]
      ] ;
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "extensions" ] ;
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Immunization_b868b73d-ef57-4480-85de-ac012a1ee1a9\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Immunization b868b73d-ef57-4480-85de-ac012a1ee1a9</b></p><a name=\"b868b73d-ef57-4480-85de-ac012a1ee1a9\"> </a><a name=\"hcb868b73d-ef57-4480-85de-ac012a1ee1a9\"> </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\">version: null; Last updated: 2023-03-01 16:45:46+1300</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"https://simplifier.net/resolve?scope=fhir.org.nz.ig.base@2.0.0&amp;canonical=https://standards.digital.health.nz/fhir/air/StructureDefinition/orch-immunization\">https://standards.digital.health.nz/fhir/air/StructureDefinition/orch-immunization</a></p></div><blockquote><p><b>Immunization Diluent</b></p><ul><li>diluentLotNumber: 33332222</li><li>diluentExpiryDate: 2026-01-01</li></ul></blockquote><p><b>mobileSiteId</b>: FZZ958-K_MOB0001</p><p><b>AIR Administered Product Extension</b>: <span title=\"Codes:{http://nzmt.org.nz 44016911000116108}\">M-M-R-II</span></p><blockquote><p><b>AIR Age Given Extension</b></p><ul><li>years: 0</li><li>months: 11</li><li>days: 20</li><li>daysSinceBirth: 355</li><li>precision: Day</li></ul></blockquote><p><b>status</b>: Completed</p><p><b>statusReason</b>: <span title=\"Codes:{http://snomed.info/sct 127785005}\">Active or passive immunisation</span></p><p><b>vaccineCode</b>: <span title=\"Codes:{http://hl7.org/fhir/sid/cvx 03}\">MMR</span></p><p><b>patient</b>: <a href=\"Bundle-AIRBundleOrchestrationExample.html#https-//api.hip.digital.health.nz/fhir/nhi/v1/Patient/ZAA0792\">BABY OF TESTING NEWMUM  Female, DoB: 2015-09-09 ( https://standards.digital.health.nz/ns/nhi-id#NHI#ZAA0792 (use: official, ))</a></p><p><b>occurrence</b>: 2016-09-01 16:45:46+1300</p><p><b>location</b>: <a href=\"Bundle-AIRBundleOrchestrationExample.html#https-//api.hip.digital.health.nz/fhir/hpi/v1/Location/FZZ958-K\">Location Medical Centre Flat-Unit</a></p><p><b>lotNumber</b>: ABCDEFG</p><p><b>expirationDate</b>: 2024-08-11</p><p><b>site</b>: <span title=\"Codes:{http://snomed.info/sct 16217701000119102}\">Structure of left deltoid muscle</span></p><p><b>route</b>: <span title=\"Codes:{http://snomed.info/sct 78421000}\">Intramuscular route</span></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><a href=\"Bundle-AIRBundleOrchestrationExample.html#https-//api.hip.digital.health.nz/fhir/hpi/v1/Practitioner/90ZZLP\">Practitioner: identifier = https://standards.digital.health.nz/ns/hpi-person-id#HPIProvider#90ZZLP (use: official, )</a></td></tr></table><p><b>reasonCode</b>: <span title=\"Codes:{https://standards.digital.health.nz/ns/air-terms-code 12M}\">12 months</span></p><h3>ProtocolApplieds</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>TargetDisease</b></td><td><b>DoseNumber[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://snomed.info/sct 14189004}\">14189004</span></td><td>1</td></tr></table></div>"
      ] ;
      fhir:DomainResource.extension [
         fhir:index 0 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "diluentLotNumber" ] ;
           fhir:Extension.valueString [ fhir:value "33332222" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "diluentExpiryDate" ] ;
           fhir:Extension.valueDate [ fhir:value "2026-01-01"^^xsd:date ]
         ] ;
         fhir:Extension.url [ fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-diluent" ]
      ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "mobileSiteId" ] ;
         fhir:Extension.valueString [ fhir:value "FZZ958-K_MOB0001" ]
      ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-administered-product" ] ;
         fhir:Extension.valueCodeableConcept [
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             fhir:Coding.system [ fhir:value "http://nzmt.org.nz" ] ;
             fhir:Coding.code [ fhir:value "44016911000116108" ] ;
             fhir:Coding.display [ fhir:value "M-M-R-II" ]
           ]
         ]
      ], [
         fhir:index 3 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "years" ] ;
           fhir:Extension.valueInteger [ fhir:value "0"^^xsd:integer ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "months" ] ;
           fhir:Extension.valueInteger [ fhir:value "11"^^xsd:integer ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "days" ] ;
           fhir:Extension.valueInteger [ fhir:value "20"^^xsd:integer ]
         ], [
           fhir:index 3 ;
           fhir:Extension.url [ fhir:value "daysSinceBirth" ] ;
           fhir:Extension.valueInteger [ fhir:value "355"^^xsd:integer ]
         ], [
           fhir:index 4 ;
           fhir:Extension.url [ fhir:value "precision" ] ;
           fhir:Extension.valueString [ fhir:value "Day" ]
         ] ;
         fhir:Extension.url [ fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-age-given" ]
      ] ;
      fhir:Immunization.status [ fhir:value "completed"] ;
      fhir:Immunization.statusReason [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           a sct:127785005 ;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
           fhir:Coding.code [ fhir:value "127785005" ] ;
           fhir:Coding.display [ fhir:value "Active or passive immunisation" ]
         ]
      ] ;
      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:link <https://api.hip.digital.health.nz/fhir/nhi/v1/Patient/ZAA0792> ;
         fhir:Reference.reference [ fhir:value "https://api.hip.digital.health.nz/fhir/nhi/v1/Patient/ZAA0792" ] ;
         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 "2016-09-01T16:45:46+13:00"^^xsd:dateTime] ;
      fhir:Immunization.location [
         fhir:link <https://api.hip.digital.health.nz/fhir/hpi/v1/Location/FZZ958-K> ;
         fhir:Reference.reference [ fhir:value "https://api.hip.digital.health.nz/fhir/hpi/v1/Location/FZZ958-K" ] ;
         fhir:Reference.identifier [
           fhir:Identifier.system [ fhir:value "https://standards.digital.health.nz/ns/hpi-facility-id" ] ;
           fhir:Identifier.value [ fhir:value "FZZ958-K" ]
         ]
      ] ;
      fhir:Immunization.lotNumber [ fhir:value "ABCDEFG"] ;
      fhir:Immunization.expirationDate [ fhir:value "2024-08-11"^^xsd:date] ;
      fhir:Immunization.site [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           a sct:16217701000119102 ;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
           fhir:Coding.code [ fhir:value "16217701000119102" ] ;
           fhir:Coding.display [ fhir:value "Structure of left deltoid muscle" ]
         ]
      ] ;
      fhir:Immunization.route [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           a sct:78421000 ;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
           fhir:Coding.code [ fhir:value "78421000" ] ;
           fhir:Coding.display [ fhir:value "Intramuscular route" ]
         ]
      ] ;
      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:Immunization.performer.actor [
           fhir:link <https://api.hip.digital.health.nz/fhir/hpi/v1/Practitioner/90ZZLP> ;
           fhir:Reference.reference [ fhir:value "https://api.hip.digital.health.nz/fhir/hpi/v1/Practitioner/90ZZLP" ] ;
           fhir:Reference.identifier [
             fhir:Identifier.system [ fhir:value "https://standards.digital.health.nz/ns/hpi-person-id" ] ;
             fhir:Identifier.value [ fhir:value "90ZZLP" ]
           ]
         ]
      ] ;
      fhir:Immunization.reasonCode [
         fhir:index 0 ;
         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 "12M" ] ;
           fhir:Coding.display [ fhir:value "12 months" ]
         ]
      ] ;
      fhir:Immunization.protocolApplied [
         fhir:index 0 ;
         fhir:Immunization.protocolApplied.targetDisease [
           fhir:index 0 ;
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             a sct:14189004 ;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
             fhir:Coding.code [ fhir:value "14189004" ]
           ]
         ] ;
         fhir:Immunization.protocolApplied.doseNumberPositiveInt [ fhir:value "1"^^xsd:positiveInteger ]
      ] .

    <https://api.hip.digital.health.nz/fhir/nhi/v1/Patient/ZAA0792> a fhir:Patient ;
      fhir:Resource.id [ fhir:value "ZAA0792"] ;
      fhir:Resource.meta [
         fhir:Meta.versionId [ fhir:value "3368251" ] ;
         fhir:Meta.profile [
           fhir:value "http://hl7.org.nz/fhir/StructureDefinition/NhiPatient" ;
           fhir:index 0 ;
           fhir:link <http://hl7.org.nz/fhir/StructureDefinition/NhiPatient>
         ]
      ] ;
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "extensions" ] ;
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_ZAA0792\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient ZAA0792</b></p><a name=\"ZAA0792\"> </a><a name=\"hcZAA0792\"> </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\">version: 3368251</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"https://simplifier.net/resolve?scope=fhir.org.nz.ig.base@2.0.0&amp;canonical=http://hl7.org.nz/fhir/StructureDefinition/NhiPatient\">http://hl7.org.nz/fhir/StructureDefinition/NhiPatient</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">BABY OF TESTING NEWMUM  Female, DoB: 2015-09-09 ( https://standards.digital.health.nz/ns/nhi-id#NHI#ZAA0792 (use: official, ))</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Other Id (see the one above)\">Other Id:</td><td colspan=\"3\">NHI/ZAA0806 (use: old, )</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\"><ul><li>Rue Mtsangani Bandrele 0606 (home) (NZ Suburb: Moutsamoudou)</li><li>147 Quay Street Auckland 1010 NZ (home) (NZ Suburb: Auckland Central)</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"NZ Residency status\">null:</td><td colspan=\"3\"><ul><li>source: <span title=\"Codes:{https://standards.digital.health.nz/ns/information-source-code HL7}\">HL7 applied</span></li><li>status: <span title=\"Codes:{https://standards.digital.health.nz/ns/nz-residency-code yes}\">Permanent Resident</span></li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"New Zealand citizenship\">NZ Citizenship:</td><td colspan=\"3\"><ul><li>status: <span title=\"Codes:{https://standards.digital.health.nz/ns/nz-citizenship-status-code unknown}\">The citizenship status is unknown</span></li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"The ethnic group or groups that a person identifies with or feels they belong to.  Ethnicity is a measure of cultural affiliation as opposed to race, ancestry, nationality or citizen.  Ethnicity is self-perceived and a person can belong to more than one group.#xA;#xA;The Stats New Zealand standard can be found [here](http://aria.stats.govt.nz/aria/#ClassificationView:uri=http://stats.govt.nz/cms/ClassificationVersion/YVqOcFHSlguKkT17).\"><a href=\"https://simplifier.net/resolve?scope=fhir.org.nz.ig.base@2.0.0&amp;canonical=http://hl7.org.nz/fhir/StructureDefinition/nz-ethnicity\">NZ Ethnicity</a></td><td colspan=\"3\"><span title=\"Codes:{https://standards.digital.health.nz/ns/ethnic-group-level-4-code 11111}\">New Zealand European</span></td></tr></table></div>"
      ] ;
      fhir:DomainResource.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "http://hl7.org.nz/fhir/StructureDefinition/nz-ethnicity" ] ;
         fhir:Extension.valueCodeableConcept [
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             fhir:Coding.system [ fhir:value "https://standards.digital.health.nz/ns/ethnic-group-level-4-code" ] ;
             fhir:Coding.version [ fhir:value "2.0" ] ;
             fhir:Coding.code [ fhir:value "11111" ] ;
             fhir:Coding.display [ fhir:value "New Zealand European" ]
           ] ;
           fhir:CodeableConcept.text [ fhir:value "New Zealand European" ]
         ]
      ], [
         fhir:index 1 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "status" ] ;
           fhir:Extension.valueCodeableConcept [
             fhir:CodeableConcept.coding [
               fhir:index 0 ;
               fhir:Coding.system [ fhir:value "https://standards.digital.health.nz/ns/nz-citizenship-status-code" ] ;
               fhir:Coding.version [ fhir:value "1.0.0" ] ;
               fhir:Coding.code [ fhir:value "unknown" ] ;
               fhir:Coding.display [ fhir:value "The citizenship status is unknown" ]
             ] ;
             fhir:CodeableConcept.text [ fhir:value "The citizenship status is unknown" ]
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org.nz/fhir/StructureDefinition/nz-citizenship" ]
      ], [
         fhir:index 2 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "source" ] ;
           fhir:Extension.valueCodeableConcept [
             fhir:CodeableConcept.coding [
               fhir:index 0 ;
               fhir:Coding.system [ fhir:value "https://standards.digital.health.nz/ns/information-source-code" ] ;
               fhir:Coding.version [ fhir:value "1.0.0" ] ;
               fhir:Coding.code [ fhir:value "HL7" ] ;
               fhir:Coding.display [ fhir:value "HL7 applied" ]
             ] ;
             fhir:CodeableConcept.text [ fhir:value "HL7 applied" ]
           ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "status" ] ;
           fhir:Extension.valueCodeableConcept [
             fhir:CodeableConcept.coding [
               fhir:index 0 ;
               fhir:Coding.system [ fhir:value "https://standards.digital.health.nz/ns/nz-residency-code" ] ;
               fhir:Coding.version [ fhir:value "1.0.0" ] ;
               fhir:Coding.code [ fhir:value "yes" ] ;
               fhir:Coding.display [ fhir:value "Permanent Resident" ]
             ] ;
             fhir:CodeableConcept.text [ fhir:value "Permanent Resident" ]
           ]
         ] ;
         fhir:Extension.url [ fhir:value "http://hl7.org.nz/fhir/StructureDefinition/nz-residency" ]
      ] ;
      fhir:Patient.identifier [
         fhir:index 0 ;
         fhir:Identifier.use [ fhir:value "official" ] ;
         fhir:Identifier.system [ fhir:value "https://standards.digital.health.nz/ns/nhi-id" ] ;
         fhir:Identifier.value [ fhir:value "ZAA0792" ] ;
         fhir:Identifier.assigner [
           fhir:link <http://hl7.org/fhir/Organization/G00001-G> ;
           fhir:Reference.reference [ fhir:value "Organization/G00001-G" ]
         ]
      ], [
         fhir:index 1 ;
         fhir:Identifier.use [ fhir:value "old" ] ;
         fhir:Identifier.system [ fhir:value "https://standards.digital.health.nz/ns/nhi-id" ] ;
         fhir:Identifier.value [ fhir:value "ZAA0806" ] ;
         fhir:Identifier.assigner [
           fhir:link <http://hl7.org/fhir/Organization/G00001-G> ;
           fhir:Reference.reference [ fhir:value "Organization/G00001-G" ]
         ]
      ] ;
      fhir:Patient.name [
         fhir:index 0 ;
         fhir:Element.id [ fhir:value "5" ] ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/iso21090-preferred" ] ;
           fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]
         ] ;
         fhir:HumanName.family [ fhir:value "NEWMUM" ] ;
         fhir:HumanName.given [
           fhir:value "BABY OF TESTING" ;
           fhir:index 0
         ]
      ] ;
      fhir:Patient.gender [ fhir:value "female"] ;
      fhir:Patient.birthDate [
         fhir:value "2015-09-09"^^xsd:date ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "http://hl7.org.nz/fhir/StructureDefinition/information-source" ] ;
           fhir:Extension.valueCodeableConcept [
             fhir:CodeableConcept.coding [
               fhir:index 0 ;
               fhir:Coding.system [ fhir:value "https://standards.digital.health.nz/ns/information-source-code" ] ;
               fhir:Coding.version [ fhir:value "1.0.0" ] ;
               fhir:Coding.code [ fhir:value "HL7" ] ;
               fhir:Coding.display [ fhir:value "HL7 applied" ]
             ] ;
             fhir:CodeableConcept.text [ fhir:value "HL7 applied" ]
           ]
         ]
      ] ;
      fhir:Patient.address [
         fhir:index 0 ;
         fhir:Element.id [ fhir:value "17" ] ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "http://hl7.org.nz/fhir/StructureDefinition/not-validated-address-reason" ] ;
           fhir:Extension.valueCodeableConcept [
             fhir:CodeableConcept.coding [
               fhir:index 0 ;
               fhir:Coding.system [ fhir:value "https://standards.digital.health.nz/ns/address-not-validated-reason-code" ] ;
               fhir:Coding.version [ fhir:value "1.1" ] ;
               fhir:Coding.code [ fhir:value "OSEA" ] ;
               fhir:Coding.display [ fhir:value "Overseas Address" ]
             ] ;
             fhir:CodeableConcept.text [ fhir:value "Overseas Address" ]
           ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org.nz/fhir/StructureDefinition/suburb" ] ;
           fhir:Extension.valueString [ fhir:value "Moutsamoudou" ]
         ] ;
         fhir:Address.use [ fhir:value "home" ] ;
         fhir:Address.type [ fhir:value "physical" ] ;
         fhir:Address.line [
           fhir:value "Rue Mtsangani" ;
           fhir:index 0
         ] ;
         fhir:Address.city [ fhir:value "Bandrele" ] ;
         fhir:Address.postalCode [ fhir:value "0606" ]
      ], [
         fhir:index 1 ;
         fhir:Element.id [ fhir:value "18" ] ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "http://hl7.org.nz/fhir/StructureDefinition/nz-address-id" ] ;
           fhir:Extension.valueString [ fhir:value "3571798" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org.nz/fhir/StructureDefinition/domicile-code" ] ;
           fhir:Extension.valueCodeableConcept [
             fhir:CodeableConcept.coding [
               fhir:index 0 ;
               fhir:Coding.system [ fhir:value "https://standards.digital.health.nz/ns/domicile-code" ] ;
               fhir:Coding.code [ fhir:value "0504" ] ;
               fhir:Coding.display [ fhir:value "Auckland Harbourside" ]
             ] ;
             fhir:CodeableConcept.text [ fhir:value "Auckland Harbourside" ]
           ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "http://hl7.org.nz/fhir/StructureDefinition/suburb" ] ;
           fhir:Extension.valueString [ fhir:value "Auckland Central" ]
         ] ;
         fhir:Address.use [ fhir:value "home" ] ;
         fhir:Address.type [ fhir:value "postal" ] ;
         fhir:Address.line [
           fhir:value "147 Quay Street" ;
           fhir:index 0
         ] ;
         fhir:Address.city [ fhir:value "Auckland" ] ;
         fhir:Address.postalCode [ fhir:value "1010" ] ;
         fhir:Address.country [ fhir:value "NZ" ]
      ] .

    <http://hl7.org/fhir/Organization/G00001-G> a fhir:Organization .

    <https://api.hip.digital.health.nz/fhir/hpi/v1/Practitioner/90ZZLP> a fhir:Practitioner ;
      fhir:Resource.id [ fhir:value "90ZZLP"] ;
      fhir:Resource.meta [
         fhir:Meta.versionId [ fhir:value "9971" ] ;
         fhir:Meta.lastUpdated [ fhir:value "2022-04-07T09:12:26.000+12:00"^^xsd:dateTime ] ;
         fhir:Meta.profile [
           fhir:value "http://hl7.org.nz/fhir/StructureDefinition/HPIPractitioner" ;
           fhir:index 0 ;
           fhir:link <http://hl7.org.nz/fhir/StructureDefinition/HPIPractitioner>
         ] ;
         fhir:Meta.security [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ObservationValue" ] ;
           fhir:Coding.code [ fhir:value "REDACTED" ]
         ], [
           fhir:index 1 ;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" ] ;
           fhir:Coding.code [ fhir:value "R" ]
         ]
      ] ;
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ] ;
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Practitioner_90ZZLP\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Practitioner 90ZZLP</b></p><a name=\"90ZZLP\"> </a><a name=\"hc90ZZLP\"> </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\">version: 9971; Last updated: 2022-04-07 09:12:26+1200</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"https://simplifier.net/resolve?scope=fhir.org.nz.ig.base@2.0.0&amp;canonical=http://hl7.org.nz/fhir/StructureDefinition/HPIPractitioner\">http://hl7.org.nz/fhir/StructureDefinition/HPIPractitioner</a></p><p style=\"margin-bottom: 0px\">Security Labels: <a href=\"http://terminology.hl7.org/7.2.0/CodeSystem-v3-ObservationValue.html\">redacted (Details: ObservationValue code REDACTED = 'redacted')</a>, <a href=\"http://terminology.hl7.org/7.2.0/CodeSystem-v3-Confidentiality.html\">restricted (Details: Confidentiality code R = 'restricted')</a></p></div><p><b>identifier</b>: HPIProvider/90ZZLP (use: official, )</p></div>"
      ] ;
      fhir:Practitioner.identifier [
         fhir:index 0 ;
         fhir:Identifier.use [ fhir:value "official" ] ;
         fhir:Identifier.system [ fhir:value "https://standards.digital.health.nz/ns/hpi-person-id" ] ;
         fhir:Identifier.value [ fhir:value "90ZZLP" ] ;
         fhir:Identifier.assigner [
           fhir:link <http://hl7.org/fhir/Organization/G00001-G> ;
           fhir:Reference.reference [ fhir:value "Organization/G00001-G" ]
         ]
      ] .

    <https://api.hip.digital.health.nz/fhir/hpi/v1/Location/FZZ958-K> a fhir:Location ;
      fhir:Resource.id [ fhir:value "FZZ958-K"] ;
      fhir:Resource.meta [
         fhir:Meta.versionId [ fhir:value "10803" ] ;
         fhir:Meta.lastUpdated [ fhir:value "2022-11-09T12:00:14.000+13:00"^^xsd:dateTime ] ;
         fhir:Meta.profile [
           fhir:value "http://hl7.org.nz/fhir/StructureDefinition/HPILocation" ;
           fhir:index 0 ;
           fhir:link <http://hl7.org.nz/fhir/StructureDefinition/HPILocation>
         ]
      ] ;
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "extensions" ] ;
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Location_FZZ958-K\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Location FZZ958-K</b></p><a name=\"FZZ958-K\"> </a><a name=\"hcFZZ958-K\"> </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\">version: 10803; Last updated: 2022-11-09 12:00:14+1300</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"https://simplifier.net/resolve?scope=fhir.org.nz.ig.base@2.0.0&amp;canonical=http://hl7.org.nz/fhir/StructureDefinition/HPILocation\">http://hl7.org.nz/fhir/StructureDefinition/HPILocation</a></p></div><p><b>Established</b>: 1980-12-12 --&gt; (ongoing)</p><p><b>identifier</b>: HPIFacility/FZZ958-K (use: official, ), HPIFacility/9987 (use: official, )</p><p><b>status</b>: Active</p><p><b>name</b>: Medical Centre Flat-Unit</p><p><b>alias</b>: Medical Centre Flat-Unit</p><p><b>type</b>: <span title=\"Codes:{https://standards.digital.health.nz/ns/location-type-code gpenrol}\">Enrolling GP Practice</span></p><p><b>telecom</b>: ph: 021 555558(Temp), ph: 021 464646(Work)</p><p><b>address</b>: 2C/123 Molesworth Street, Thorndon, Wellington 6011(work) (NZ Suburb: Wellington 6011)</p><p><b>managingOrganization</b>: <a href=\"https://simplifier.net/resolve?scope=fhir.org.nz.ig.base@2.0.0&amp;canonical=https://api.hip.digital.health.nz/fhir/hpi/v1/Organization/GZZ956-B\">Flat-Unit Address Org</a></p></div>"
      ] ;
      fhir:DomainResource.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "http://hl7.org.nz/fhir/StructureDefinition/established" ] ;
         fhir:Extension.valuePeriod [
           fhir:Period.start [ fhir:value "1980-12-12"^^xsd:date ]
         ]
      ] ;
      fhir:Location.identifier [
         fhir:index 0 ;
         fhir:Identifier.use [ fhir:value "official" ] ;
         fhir:Identifier.system [ fhir:value "https://standards.digital.health.nz/ns/hpi-facility-id" ] ;
         fhir:Identifier.value [ fhir:value "FZZ958-K" ] ;
         fhir:Identifier.assigner [
           fhir:link <http://hl7.org/fhir/Organization/G00001-G> ;
           fhir:Reference.reference [ fhir:value "Organization/G00001-G" ]
         ]
      ], [
         fhir:index 1 ;
         fhir:Identifier.use [ fhir:value "official" ] ;
         fhir:Identifier.system [ fhir:value "https://standards.digital.health.nz/ns/nzhis-facility-id" ] ;
         fhir:Identifier.value [ fhir:value "9987" ] ;
         fhir:Identifier.assigner [
           fhir:link <http://hl7.org/fhir/Organization/G00001-G> ;
           fhir:Reference.reference [ fhir:value "Organization/G00001-G" ]
         ]
      ] ;
      fhir:Location.status [ fhir:value "active"] ;
      fhir:Location.name [ fhir:value "Medical Centre Flat-Unit"] ;
      fhir:Location.alias [
         fhir:value "Medical Centre Flat-Unit" ;
         fhir:index 0 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "http://hl7.org.nz/fhir/StructureDefinition/alias-type" ] ;
           fhir:Extension.valueCodeableConcept [
             fhir:CodeableConcept.coding [
               fhir:index 0 ;
               fhir:Coding.system [ fhir:value "https://standards.digital.health.nz/ns/alias-type-code" ] ;
               fhir:Coding.version [ fhir:value "1.0.0" ] ;
               fhir:Coding.code [ fhir:value "current" ] ;
               fhir:Coding.display [ fhir:value "Current unverified or unofficial name" ]
             ] ;
             fhir:CodeableConcept.text [ fhir:value "Current unverified or unofficial name" ]
           ]
         ]
      ] ;
      fhir:Location.type [
         fhir:index 0 ;
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "https://standards.digital.health.nz/ns/location-type-code" ] ;
           fhir:Coding.version [ fhir:value "1.0" ] ;
           fhir:Coding.code [ fhir:value "gpenrol" ] ;
           fhir:Coding.display [ fhir:value "Enrolling GP Practice" ]
         ]
      ] ;
      fhir:Location.telecom [
         fhir:index 0 ;
         fhir:ContactPoint.system [ fhir:value "phone" ] ;
         fhir:ContactPoint.value [ fhir:value "021 555558" ] ;
         fhir:ContactPoint.use [ fhir:value "temp" ] ;
         fhir:ContactPoint.rank [ fhir:value "1"^^xsd:positiveInteger ] ;
         fhir:ContactPoint.period [
           fhir:Period.start [ fhir:value "1980-12-12"^^xsd:date ]
         ]
      ], [
         fhir:index 1 ;
         fhir:ContactPoint.system [ fhir:value "phone" ] ;
         fhir:ContactPoint.value [ fhir:value "021 464646" ] ;
         fhir:ContactPoint.use [ fhir:value "work" ] ;
         fhir:ContactPoint.rank [ fhir:value "1"^^xsd:positiveInteger ] ;
         fhir:ContactPoint.period [
           fhir:Period.start [ fhir:value "1980-12-12"^^xsd:date ]
         ]
      ] ;
      fhir:Location.address [
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "http://hl7.org.nz/fhir/StructureDefinition/suburb" ] ;
           fhir:Extension.valueString [ fhir:value "Wellington 6011" ]
         ] ;
         fhir:Address.use [ fhir:value "work" ] ;
         fhir:Address.type [ fhir:value "physical" ] ;
         fhir:Address.text [ fhir:value "2C/123 Molesworth Street, Thorndon, Wellington 6011" ] ;
         fhir:Address.line [
           fhir:value "Thorndon" ;
           fhir:index 0
         ], [
           fhir:value "2C/123 Molesworth Street" ;
           fhir:index 1
         ]
      ] ;
      fhir:Location.managingOrganization [
         fhir:link <https://api.hip.digital.health.nz/fhir/hpi/v1/Organization/GZZ956-B> ;
         fhir:Reference.reference [ fhir:value "https://api.hip.digital.health.nz/fhir/hpi/v1/Organization/GZZ956-B" ] ;
         fhir:Reference.display [ fhir:value "Flat-Unit Address Org" ]
      ] .

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

    <http://hl7.org/fhir/Bundle/AIRBundleOrchestrationExample.ttl> a owl:Ontology ;
      owl:imports fhir:fhir.ttl ;
      owl:versionIRI <http://build.fhir.org/Bundle/AIRBundleOrchestrationExample.ttl> .