Aotearoa Immunisation Register (AIR) FHIR Implementation Guide (API-V1)
1.27.0 - release New Zealand

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

## : AIRBundleCarePlanExample - 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/AIRBundleCarePlanExample> a fhir:Bundle ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:Resource.id [ fhir:value "AIRBundleCarePlanExample"] ;
      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://localhost:8443/fhir/R4/CarePlan/$view?_include=*&nhi=ZET7992" ]
      ] ;
      fhir:Bundle.entry [
         fhir:index 0 ;
         fhir:Bundle.entry.fullUrl [ fhir:value "https://localhost:8443/fhir/R4/CarePlan/AGVS-Delay-3-6M-P-PCV13-1.0" ] ;
         fhir:Bundle.entry.resource <https://localhost:8443/fhir/R4/CarePlan/AGVS-Delay-3-6M-P-PCV13-1.0>
      ], [
         fhir:index 1 ;
         fhir:Bundle.entry.fullUrl [ fhir:value "https://localhost:8443/fhir/R4/ImmunizationRecommendation/AGVS-Delay-3-6M-P-PCV13-1.0-Dose1" ] ;
         fhir:Bundle.entry.resource <https://localhost:8443/fhir/R4/ImmunizationRecommendation/AGVS-Delay-3-6M-P-PCV13-1.0-Dose1>
      ], [
         fhir:index 2 ;
         fhir:Bundle.entry.fullUrl [ fhir:value "https://localhost:8443/fhir/R4/ImmunizationRecommendation/AGVS-Delay-3-6M-P-PCV13-1.0-Dose2" ] ;
         fhir:Bundle.entry.resource <https://localhost:8443/fhir/R4/ImmunizationRecommendation/AGVS-Delay-3-6M-P-PCV13-1.0-Dose2>
      ], [
         fhir:index 3 ;
         fhir:Bundle.entry.fullUrl [ fhir:value "https://localhost:8443/fhir/R4/Immunization/63e060f0-a878-4a8c-a432-6712d15b1266" ] ;
         fhir:Bundle.entry.resource <https://localhost:8443/fhir/R4/Immunization/63e060f0-a878-4a8c-a432-6712d15b1266>
      ] .

    <https://localhost:8443/fhir/R4/CarePlan/AGVS-Delay-3-6M-P-PCV13-1.0> a fhir:CarePlan ;
      fhir:Resource.id [ fhir:value "AGVS-Delay-3-6M-P-PCV13-1.0"] ;
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "extensions" ] ;
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"CarePlan_AGVS-Delay-3-6M-P-PCV13-1.0\"> </a><p class=\"res-header-id\"><b>Generated Narrative: CarePlan AGVS-Delay-3-6M-P-PCV13-1.0</b></p><a name=\"AGVS-Delay-3-6M-P-PCV13-1.0\"> </a><a name=\"hcAGVS-Delay-3-6M-P-PCV13-1.0\"> </a><p><b>instantiatesCanonical</b>: <a href=\"https://simplifier.net/resolve?scope=fhir.org.nz.ig.base@2.0.0&amp;canonical=https://localhost:8443/fhir/R4/AIRAGVSPlanDefinition/Delay-3-6M-P-PCV13-1.0\">https://localhost:8443/fhir/R4/AIRAGVSPlanDefinition/Delay-3-6M-P-PCV13-1.0</a></p><p><b>status</b>: Active</p><p><b>intent</b>: Plan</p><p><b>title</b>: PCV13 Immunisation Schedule for NHI ZET7992</p><p><b>description</b>: PCV13</p><p><b>subject</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/ZET7992\">https://api.hip.digital.health.nz/fhir/nhi/v1/Patient/ZET7992</a></p><p><b>period</b>: 2023-11-11 13:00:00+1300 --&gt; (ongoing)</p><p><b>created</b>: 2023-12-30 13:00:00+1300</p><blockquote><p><b>activity</b></p><p><b>Planned Activity Reference Extension</b>: <a href=\"Bundle-AIRBundleCarePlanExample.html#ImmunizationRecommendation_AGVS-Delay-3-6M-P-PCV13-1.0-Dose2\">ImmunizationRecommendation: date = 2025-08-05 17:00:56+1200</a></p></blockquote><blockquote><p><b>activity</b></p><p><b>Performed Activity Extension</b>: </p></blockquote><p><b style=\"color: maroon\">Exception Generating Narrative: Cannot invoke \"org.hl7.fhir.r5.renderers.utils.ResourceWrapper.fhirType()\" because \"resource\" is null </b></p></div>"
      ] ;
      fhir:CarePlan.instantiatesCanonical [
         fhir:value "https://localhost:8443/fhir/R4/AIRAGVSPlanDefinition/Delay-3-6M-P-PCV13-1.0" ;
         fhir:index 0 ;
         fhir:link <https://localhost:8443/fhir/R4/AIRAGVSPlanDefinition/Delay-3-6M-P-PCV13-1.0>
      ] ;
      fhir:CarePlan.status [ fhir:value "active"] ;
      fhir:CarePlan.intent [ fhir:value "plan"] ;
      fhir:CarePlan.title [ fhir:value "PCV13 Immunisation Schedule for NHI ZET7992"] ;
      fhir:CarePlan.description [ fhir:value "PCV13"] ;
      fhir:CarePlan.subject [
         fhir:link <https://api.hip.digital.health.nz/fhir/nhi/v1/Patient/ZET7992> ;
         fhir:Reference.reference [ fhir:value "https://api.hip.digital.health.nz/fhir/nhi/v1/Patient/ZET7992" ] ;
         fhir:Reference.identifier [
           fhir:Identifier.system [ fhir:value "https://standards.digital.health.nz/ns/nhi-id" ] ;
           fhir:Identifier.value [ fhir:value "ZET7992" ]
         ]
      ] ;
      fhir:CarePlan.period [
         fhir:Period.start [ fhir:value "2023-11-11T13:00:00+13:00"^^xsd:dateTime ]
      ] ;
      fhir:CarePlan.created [ fhir:value "2023-12-30T13:00:00+13:00"^^xsd:dateTime] ;
      fhir:CarePlan.activity [
         fhir:index 0 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-planned-activity-reference" ] ;
           fhir:Extension.valueReference [
             fhir:link <http://hl7.org/fhir/ImmunizationRecommendation/AGVS-Delay-3-6M-P-PCV13-1.0-Dose2> ;
             fhir:Reference.reference [ fhir:value "ImmunizationRecommendation/AGVS-Delay-3-6M-P-PCV13-1.0-Dose2" ]
           ]
         ]
      ], [
         fhir:index 1 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-performed-activity" ] ;
           fhir:Extension.valueReference [
             fhir:link <http://hl7.org/fhir/Immunization/63e060f0-a878-4a8c-a432-6712d15b1266> ;
             fhir:Reference.reference [ fhir:value "Immunization/63e060f0-a878-4a8c-a432-6712d15b1266" ]
           ]
         ]
      ] .

    <http://hl7.org/fhir/ImmunizationRecommendation/AGVS-Delay-3-6M-P-PCV13-1.0-Dose2> a fhir:ImmunizationRecommendation .

    <http://hl7.org/fhir/Immunization/63e060f0-a878-4a8c-a432-6712d15b1266> a fhir:Immunization .

    <https://localhost:8443/fhir/R4/ImmunizationRecommendation/AGVS-Delay-3-6M-P-PCV13-1.0-Dose1> a fhir:ImmunizationRecommendation ;
      fhir:Resource.id [ fhir:value "AGVS-Delay-3-6M-P-PCV13-1.0-Dose1"] ;
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-immunization-recommendation" ;
           fhir:index 0 ;
           fhir:link <https://standards.digital.health.nz/fhir/air/StructureDefinition/air-immunization-recommendation>
         ]
      ] ;
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "extensions" ] ;
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"ImmunizationRecommendation_AGVS-Delay-3-6M-P-PCV13-1.0-Dose1\"> </a><p class=\"res-header-id\"><b>Generated Narrative: ImmunizationRecommendation AGVS-Delay-3-6M-P-PCV13-1.0-Dose1</b></p><a name=\"AGVS-Delay-3-6M-P-PCV13-1.0-Dose1\"> </a><a name=\"hcAGVS-Delay-3-6M-P-PCV13-1.0-Dose1\"> </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-recommendation.html\">AIR Immunization Recommendation</a></p></div><p><b>patient</b>: <a href=\"https://simplifier.net/resolve?scope=fhir.org.nz.ig.base@2.0.0&amp;canonical=http://fhir.org.nz/ig/base/Patient/ZET7992\">Patient/ZET7992</a></p><p><b>date</b>: 2025-08-05 17:00:56+1200</p><blockquote><p><b>recommendation</b></p><blockquote><p><b>id</b></p>8d133802-f22f-49f8-9a38-565c494a7630</blockquote><blockquote><p><b>AIR Scheduled Event</b></p><ul><li>type: <a href=\"CodeSystem-air-planned-event-type-terms.html#air-planned-event-type-terms-CPE\">AIR Planned Event Type: CPE</a> (Consumer Planned Event)</li></ul></blockquote><blockquote><p><b>AIR Antigen Group Vaccination Schedule</b></p><ul><li>schedule-type: <a href=\"CodeSystem-air-agvs-type.html#air-agvs-type-DELAYED\">AIR AGVS: DELAYED</a> (Delayed)</li><li>series-type: <a href=\"CodeSystem-air-agvs-series-type.html#air-agvs-series-type-PRIMARY\">AIR AGVS Series Type: PRIMARY</a> (Primary)</li><li>antigen-group: <a href=\"http://snomed.info/id/1119254000\">SNOMED CT: 1119254000</a> (PCV13)</li><li>version: 1.0</li></ul></blockquote><p><b>vaccineCode</b>: <span title=\"Codes:{http://hl7.org/fhir/sid/cvx 133}\">PCV13</span></p><p><b>forecastStatus</b>: <span title=\"Codes:{https://standards.digital.health.nz/ns/air-forecast-status GIVEN}\">Given</span></p><p><b>forecastReason</b>: <span title=\"Codes:{https://standards.digital.health.nz/ns/air-terms-code Stn}\">Funded, if not otherwise specified</span></p><h3>DateCriterions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Code</b></td><td><b>Value</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://snomed.info/sct 789539003}\">Date immunization due</span></td><td>2024-01-27</td></tr></table><p><b>series</b>: Delay 3-6M_P_PCV13_1.0</p><p><b>doseNumber</b>: 1</p></blockquote></div>"
      ] ;
      fhir:ImmunizationRecommendation.patient [
         fhir:link <http://hl7.org/fhir/Patient/ZET7992> ;
         fhir:Reference.reference [ fhir:value "Patient/ZET7992" ] ;
         fhir:Reference.identifier [
           fhir:Identifier.system [ fhir:value "https://standards.digital.health.nz/ns/nhi-id" ] ;
           fhir:Identifier.value [ fhir:value "ZET7992" ]
         ]
      ] ;
      fhir:ImmunizationRecommendation.date [ fhir:value "2025-08-05T17:00:56+12:00"^^xsd:dateTime] ;
      fhir:ImmunizationRecommendation.recommendation [
         fhir:index 0 ;
         fhir:Element.id [ fhir:value "8d133802-f22f-49f8-9a38-565c494a7630" ] ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Extension.url [ fhir:value "type" ] ;
             fhir:Extension.valueCoding [
               fhir:Coding.system [ fhir:value "https://standards.digital.health.nz/ns/air-scheduled-event-type-terms" ] ;
               fhir:Coding.code [ fhir:value "CPE" ]
             ]
           ] ;
           fhir:Extension.url [ fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-scheduled-event" ]
         ], [
           fhir:index 1 ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Extension.url [ fhir:value "schedule-type" ] ;
             fhir:Extension.valueCoding [
               fhir:Coding.system [ fhir:value "https://standards.digital.health.nz/ns/air-agvs-type" ] ;
               fhir:Coding.code [ fhir:value "DELAYED" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:Extension.url [ fhir:value "series-type" ] ;
             fhir:Extension.valueCoding [
               fhir:Coding.system [ fhir:value "https://standards.digital.health.nz/ns/air-agvs-series-type" ] ;
               fhir:Coding.code [ fhir:value "PRIMARY" ]
             ]
           ], [
             fhir:index 2 ;
             fhir:Extension.url [ fhir:value "antigen-group" ] ;
             fhir:Extension.valueCoding [
               a sct:1119254000 ;
               fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
               fhir:Coding.code [ fhir:value "1119254000" ] ;
               fhir:Coding.display [ fhir:value "PCV13" ]
             ]
           ], [
             fhir:index 3 ;
             fhir:Extension.url [ fhir:value "version" ] ;
             fhir:Extension.valueString [ fhir:value "1.0" ]
           ] ;
           fhir:Extension.url [ fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-agvs" ]
         ] ;
         fhir:ImmunizationRecommendation.recommendation.vaccineCode [
           fhir:index 0 ;
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             fhir:Coding.system [ fhir:value "http://hl7.org/fhir/sid/cvx" ] ;
             fhir:Coding.code [ fhir:value "133" ] ;
             fhir:Coding.display [ fhir:value "PCV13" ]
           ]
         ] ;
         fhir:ImmunizationRecommendation.recommendation.forecastStatus [
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             fhir:Coding.system [ fhir:value "https://standards.digital.health.nz/ns/air-forecast-status" ] ;
             fhir:Coding.code [ fhir:value "GIVEN" ]
           ]
         ] ;
         fhir:ImmunizationRecommendation.recommendation.forecastReason [
           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 "Stn" ] ;
             fhir:Coding.display [ fhir:value "Funded, if not otherwise specified" ]
           ]
         ] ;
         fhir:ImmunizationRecommendation.recommendation.dateCriterion [
           fhir:index 0 ;
           fhir:ImmunizationRecommendation.recommendation.dateCriterion.code [
             fhir:CodeableConcept.coding [
               fhir:index 0 ;
               a sct:789539003 ;
               fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
               fhir:Coding.code [ fhir:value "789539003" ] ;
               fhir:Coding.display [ fhir:value "Date immunization due" ]
             ]
           ] ;
           fhir:ImmunizationRecommendation.recommendation.dateCriterion.value [ fhir:value "2024-01-27"^^xsd:date ]
         ] ;
         fhir:ImmunizationRecommendation.recommendation.series [ fhir:value "Delay 3-6M_P_PCV13_1.0" ] ;
         fhir:ImmunizationRecommendation.recommendation.doseNumberPositiveInt [ fhir:value "1"^^xsd:positiveInteger ]
      ] .

    <http://hl7.org/fhir/Patient/ZET7992> a fhir:Patient .

    <https://localhost:8443/fhir/R4/ImmunizationRecommendation/AGVS-Delay-3-6M-P-PCV13-1.0-Dose2> a fhir:ImmunizationRecommendation ;
      fhir:Resource.id [ fhir:value "AGVS-Delay-3-6M-P-PCV13-1.0-Dose2"] ;
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-immunization-recommendation" ;
           fhir:index 0 ;
           fhir:link <https://standards.digital.health.nz/fhir/air/StructureDefinition/air-immunization-recommendation>
         ]
      ] ;
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "extensions" ] ;
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"ImmunizationRecommendation_AGVS-Delay-3-6M-P-PCV13-1.0-Dose2\"> </a><p class=\"res-header-id\"><b>Generated Narrative: ImmunizationRecommendation AGVS-Delay-3-6M-P-PCV13-1.0-Dose2</b></p><a name=\"AGVS-Delay-3-6M-P-PCV13-1.0-Dose2\"> </a><a name=\"hcAGVS-Delay-3-6M-P-PCV13-1.0-Dose2\"> </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-recommendation.html\">AIR Immunization Recommendation</a></p></div><p><b>patient</b>: <a href=\"https://simplifier.net/resolve?scope=fhir.org.nz.ig.base@2.0.0&amp;canonical=http://fhir.org.nz/ig/base/Patient/ZET7992\">Patient/ZET7992</a></p><p><b>date</b>: 2025-08-05 17:00:56+1200</p><blockquote><p><b>recommendation</b></p><blockquote><p><b>id</b></p>21cdd4fc-8fad-417f-aa36-e2916a77ce4c</blockquote><blockquote><p><b>AIR Scheduled Event</b></p><ul><li>type: <a href=\"CodeSystem-air-planned-event-type-terms.html#air-planned-event-type-terms-CPE\">AIR Planned Event Type: CPE</a> (Consumer Planned Event)</li></ul></blockquote><blockquote><p><b>AIR Antigen Group Vaccination Schedule</b></p><ul><li>schedule-type: <a href=\"CodeSystem-air-agvs-type.html#air-agvs-type-DELAYED\">AIR AGVS: DELAYED</a> (Delayed)</li><li>series-type: <a href=\"CodeSystem-air-agvs-series-type.html#air-agvs-series-type-PRIMARY\">AIR AGVS Series Type: PRIMARY</a> (Primary)</li><li>antigen-group: <a href=\"http://snomed.info/id/1119254000\">SNOMED CT: 1119254000</a> (PCV13)</li><li>version: 1.0</li></ul></blockquote><p><b>vaccineCode</b>: <span title=\"Codes:{http://hl7.org/fhir/sid/cvx 133}\">PCV13</span></p><p><b>forecastStatus</b>: <span title=\"Codes:{https://standards.digital.health.nz/ns/air-forecast-status OVERDUE}\">Overdue</span></p><p><b>forecastReason</b>: <span title=\"Codes:{https://standards.digital.health.nz/ns/air-terms-code Stn}\">Funded, if not otherwise specified</span></p><h3>DateCriterions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Code</b></td><td><b>Value</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://snomed.info/sct 789539003}\">Date immunization due</span></td><td>2024-03-23</td></tr></table><p><b>series</b>: Delay 3-6M_P_PCV13_1.0</p><p><b>doseNumber</b>: 2</p></blockquote><blockquote><p><b>recommendation</b></p><blockquote><p><b>id</b></p>bf16e22b-a03a-4b3f-8d29-7d0c9b747f9f</blockquote><blockquote><p><b>AIR Scheduled Event</b></p><ul><li>type: <a href=\"CodeSystem-air-planned-event-type-terms.html#air-planned-event-type-terms-EE\">AIR Planned Event Type: EE</a> (Expected Event)</li></ul></blockquote><blockquote><p><b>AIR Antigen Group Vaccination Schedule</b></p><ul><li>schedule-type: <a href=\"CodeSystem-air-agvs-type.html#air-agvs-type-DELAYED\">AIR AGVS: DELAYED</a> (Delayed)</li><li>series-type: <a href=\"CodeSystem-air-agvs-series-type.html#air-agvs-series-type-PRIMARY\">AIR AGVS Series Type: PRIMARY</a> (Primary)</li><li>antigen-group: <a href=\"http://snomed.info/id/1119254000\">SNOMED CT: 1119254000</a> (PCV13)</li><li>version: 1.0</li></ul></blockquote><p><b>vaccineCode</b>: <span title=\"Codes:{http://hl7.org/fhir/sid/cvx 133}\">PCV13</span></p><p><b>forecastStatus</b>: <span title=\"Codes:{https://standards.digital.health.nz/ns/air-forecast-status ACTIVE}\">Active</span></p><p><b>forecastReason</b>: <span title=\"Codes:{https://standards.digital.health.nz/ns/air-terms-code Stn}\">Funded, if not otherwise specified</span></p><h3>DateCriterions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Code</b></td><td><b>Value</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://snomed.info/sct 789539003}\">Date immunization due</span></td><td>2024-03-25</td></tr></table><p><b>series</b>: Delay 3-6M_P_PCV13_1.0</p><p><b>doseNumber</b>: 2</p></blockquote></div>"
      ] ;
      fhir:ImmunizationRecommendation.patient [
         fhir:link <http://hl7.org/fhir/Patient/ZET7992> ;
         fhir:Reference.reference [ fhir:value "Patient/ZET7992" ] ;
         fhir:Reference.identifier [
           fhir:Identifier.system [ fhir:value "https://standards.digital.health.nz/ns/nhi-id" ] ;
           fhir:Identifier.value [ fhir:value "ZET7992" ]
         ]
      ] ;
      fhir:ImmunizationRecommendation.date [ fhir:value "2025-08-05T17:00:56+12:00"^^xsd:dateTime] ;
      fhir:ImmunizationRecommendation.recommendation [
         fhir:index 0 ;
         fhir:Element.id [ fhir:value "21cdd4fc-8fad-417f-aa36-e2916a77ce4c" ] ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Extension.url [ fhir:value "type" ] ;
             fhir:Extension.valueCoding [
               fhir:Coding.system [ fhir:value "https://standards.digital.health.nz/ns/air-scheduled-event-type-terms" ] ;
               fhir:Coding.code [ fhir:value "CPE" ]
             ]
           ] ;
           fhir:Extension.url [ fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-scheduled-event" ]
         ], [
           fhir:index 1 ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Extension.url [ fhir:value "schedule-type" ] ;
             fhir:Extension.valueCoding [
               fhir:Coding.system [ fhir:value "https://standards.digital.health.nz/ns/air-agvs-type" ] ;
               fhir:Coding.code [ fhir:value "DELAYED" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:Extension.url [ fhir:value "series-type" ] ;
             fhir:Extension.valueCoding [
               fhir:Coding.system [ fhir:value "https://standards.digital.health.nz/ns/air-agvs-series-type" ] ;
               fhir:Coding.code [ fhir:value "PRIMARY" ]
             ]
           ], [
             fhir:index 2 ;
             fhir:Extension.url [ fhir:value "antigen-group" ] ;
             fhir:Extension.valueCoding [
               a sct:1119254000 ;
               fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
               fhir:Coding.code [ fhir:value "1119254000" ] ;
               fhir:Coding.display [ fhir:value "PCV13" ]
             ]
           ], [
             fhir:index 3 ;
             fhir:Extension.url [ fhir:value "version" ] ;
             fhir:Extension.valueString [ fhir:value "1.0" ]
           ] ;
           fhir:Extension.url [ fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-agvs" ]
         ] ;
         fhir:ImmunizationRecommendation.recommendation.vaccineCode [
           fhir:index 0 ;
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             fhir:Coding.system [ fhir:value "http://hl7.org/fhir/sid/cvx" ] ;
             fhir:Coding.code [ fhir:value "133" ] ;
             fhir:Coding.display [ fhir:value "PCV13" ]
           ]
         ] ;
         fhir:ImmunizationRecommendation.recommendation.forecastStatus [
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             fhir:Coding.system [ fhir:value "https://standards.digital.health.nz/ns/air-forecast-status" ] ;
             fhir:Coding.code [ fhir:value "OVERDUE" ]
           ]
         ] ;
         fhir:ImmunizationRecommendation.recommendation.forecastReason [
           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 "Stn" ] ;
             fhir:Coding.display [ fhir:value "Funded, if not otherwise specified" ]
           ]
         ] ;
         fhir:ImmunizationRecommendation.recommendation.dateCriterion [
           fhir:index 0 ;
           fhir:ImmunizationRecommendation.recommendation.dateCriterion.code [
             fhir:CodeableConcept.coding [
               fhir:index 0 ;
               a sct:789539003 ;
               fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
               fhir:Coding.code [ fhir:value "789539003" ] ;
               fhir:Coding.display [ fhir:value "Date immunization due" ]
             ]
           ] ;
           fhir:ImmunizationRecommendation.recommendation.dateCriterion.value [ fhir:value "2024-03-23"^^xsd:date ]
         ] ;
         fhir:ImmunizationRecommendation.recommendation.series [ fhir:value "Delay 3-6M_P_PCV13_1.0" ] ;
         fhir:ImmunizationRecommendation.recommendation.doseNumberPositiveInt [ fhir:value "2"^^xsd:positiveInteger ]
      ], [
         fhir:index 1 ;
         fhir:Element.id [ fhir:value "bf16e22b-a03a-4b3f-8d29-7d0c9b747f9f" ] ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Extension.url [ fhir:value "type" ] ;
             fhir:Extension.valueCoding [
               fhir:Coding.system [ fhir:value "https://standards.digital.health.nz/ns/air-scheduled-event-type-terms" ] ;
               fhir:Coding.code [ fhir:value "EE" ]
             ]
           ] ;
           fhir:Extension.url [ fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-scheduled-event" ]
         ], [
           fhir:index 1 ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Extension.url [ fhir:value "schedule-type" ] ;
             fhir:Extension.valueCoding [
               fhir:Coding.system [ fhir:value "https://standards.digital.health.nz/ns/air-agvs-type" ] ;
               fhir:Coding.code [ fhir:value "DELAYED" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:Extension.url [ fhir:value "series-type" ] ;
             fhir:Extension.valueCoding [
               fhir:Coding.system [ fhir:value "https://standards.digital.health.nz/ns/air-agvs-series-type" ] ;
               fhir:Coding.code [ fhir:value "PRIMARY" ]
             ]
           ], [
             fhir:index 2 ;
             fhir:Extension.url [ fhir:value "antigen-group" ] ;
             fhir:Extension.valueCoding [
               a sct:1119254000 ;
               fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
               fhir:Coding.code [ fhir:value "1119254000" ] ;
               fhir:Coding.display [ fhir:value "PCV13" ]
             ]
           ], [
             fhir:index 3 ;
             fhir:Extension.url [ fhir:value "version" ] ;
             fhir:Extension.valueString [ fhir:value "1.0" ]
           ] ;
           fhir:Extension.url [ fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-agvs" ]
         ] ;
         fhir:ImmunizationRecommendation.recommendation.vaccineCode [
           fhir:index 0 ;
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             fhir:Coding.system [ fhir:value "http://hl7.org/fhir/sid/cvx" ] ;
             fhir:Coding.code [ fhir:value "133" ] ;
             fhir:Coding.display [ fhir:value "PCV13" ]
           ]
         ] ;
         fhir:ImmunizationRecommendation.recommendation.forecastStatus [
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             fhir:Coding.system [ fhir:value "https://standards.digital.health.nz/ns/air-forecast-status" ] ;
             fhir:Coding.code [ fhir:value "ACTIVE" ]
           ]
         ] ;
         fhir:ImmunizationRecommendation.recommendation.forecastReason [
           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 "Stn" ] ;
             fhir:Coding.display [ fhir:value "Funded, if not otherwise specified" ]
           ]
         ] ;
         fhir:ImmunizationRecommendation.recommendation.dateCriterion [
           fhir:index 0 ;
           fhir:ImmunizationRecommendation.recommendation.dateCriterion.code [
             fhir:CodeableConcept.coding [
               fhir:index 0 ;
               a sct:789539003 ;
               fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
               fhir:Coding.code [ fhir:value "789539003" ] ;
               fhir:Coding.display [ fhir:value "Date immunization due" ]
             ]
           ] ;
           fhir:ImmunizationRecommendation.recommendation.dateCriterion.value [ fhir:value "2024-03-25"^^xsd:date ]
         ] ;
         fhir:ImmunizationRecommendation.recommendation.series [ fhir:value "Delay 3-6M_P_PCV13_1.0" ] ;
         fhir:ImmunizationRecommendation.recommendation.doseNumberPositiveInt [ fhir:value "2"^^xsd:positiveInteger ]
      ] .

    <https://localhost:8443/fhir/R4/Immunization/63e060f0-a878-4a8c-a432-6712d15b1266> a fhir:Immunization ;
      fhir:Resource.id [ fhir:value "63e060f0-a878-4a8c-a432-6712d15b1266"] ;
      fhir:Resource.meta [
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-created-source-system" ] ;
           fhir:Extension.valueString [ fhir:value "PipelinePostman" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-created-by" ] ;
           fhir:Extension.valueString [ fhir:value "PipelinePostmanUser" ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/firstCreated" ] ;
           fhir:Extension.valueInstant [ fhir:value "2025-08-04T15:12:41.892+12:00"^^xsd:dateTime ]
         ], [
           fhir:index 3 ;
           fhir:Extension.url [ fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-modified-by" ] ;
           fhir:Extension.valueString [ fhir:value "PipelinePostmanUser" ]
         ], [
           fhir:index 4 ;
           fhir:Extension.url [ fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-modified-source-system" ] ;
           fhir:Extension.valueString [ fhir:value "PipelinePostman" ]
         ], [
           fhir:index 5 ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Extension.url [ fhir:value "dqScore" ] ;
             fhir:Extension.valueInteger [ fhir:value "100"^^xsd:integer ]
           ], [
             fhir:index 1 ;
             fhir:Extension.url [ fhir:value "dqLastUpdated" ] ;
             fhir:Extension.valueDateTime [ fhir:value "2025-08-04T15:12:42.729+12:00"^^xsd:dateTime ]
           ], [
             fhir:index 2 ;
             fhir:Extension.url [ fhir:value "dqStatus" ] ;
             fhir:Extension.valueString [ fhir:value "P" ]
           ] ;
           fhir:Extension.url [ fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-data-quality-assessment" ]
         ], [
           fhir:index 6 ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "plannedEventId" ] ;
               fhir:Extension.valueString [ fhir:value "8d133802-f22f-49f8-9a38-565c494a7630" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "matchedDate" ] ;
               fhir:Extension.valueDateTime [ fhir:value "2025-08-04T15:12:43.304+12:00"^^xsd:dateTime ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "matchedBy" ] ;
               fhir:Extension.valueString [ fhir:value "PipelinePostmanUser" ]
             ], [
               fhir:index 3 ;
               fhir:Extension.url [ fhir:value "matchedReason" ] ;
               fhir:Extension.valueCoding [
                 fhir:Coding.code [ fhir:value "303" ] ;
                 fhir:Coding.display [ fhir:value "Automatically matched by dose and alternative indication" ]
               ]
             ] ;
             fhir:Extension.url [ fhir:value "match" ]
           ] ;
           fhir:Extension.url [ fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-planned-event-match" ]
         ] ;
         fhir:Meta.versionId [ fhir:value "1" ] ;
         fhir:Meta.lastUpdated [ fhir:value "2025-08-04T15:12:41.892+12:00"^^xsd:dateTime ] ;
         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 "extensions" ] ;
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Immunization_63e060f0-a878-4a8c-a432-6712d15b1266\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Immunization 63e060f0-a878-4a8c-a432-6712d15b1266</b></p><a name=\"63e060f0-a878-4a8c-a432-6712d15b1266\"> </a><a name=\"hc63e060f0-a878-4a8c-a432-6712d15b1266\"> </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: 2025-08-04 15:12:41+1200</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-air-immunization.html\">AIR 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>AIR Related Person</b>: <a href=\"https://simplifier.net/resolve?scope=fhir.org.nz.ig.base@2.0.0&amp;canonical=http://fhir.org.nz/ig/base/09c86dd5-64e9-414e-b97e-f6c2c1a4e65f\">09c86dd5-64e9-414e-b97e-f6c2c1a4e65f</a></p><p><b>AIR Serology Report Extension</b>: <a href=\"https://simplifier.net/resolve?scope=fhir.org.nz.ig.base@2.0.0&amp;canonical=http://fhir.org.nz/ig/base/045e4457-4b8d-4ae7-bbef-655f48576558\">045e4457-4b8d-4ae7-bbef-655f48576558</a></p><blockquote><p><b>AIR Age Given Extension</b></p><ul><li>years: 0</li><li>months: 3</li><li>days: 30</li><li>daysSinceBirth: 121</li><li>precision: DAY</li></ul></blockquote><p><b>Immunization Facility Mobile Site</b>: FZZ835-E_MOB0001</p><p><b>AIR Administered Product Extension</b>: <span title=\"Codes:{http://nzmt.org.nz 10443641000116108}\">M-M-R-II</span></p><p><b>status</b>: Completed</p><p><b>statusReason</b>: <span title=\"Codes:{https://standards.digital.health.nz/ns/air-status-reason-terms GIVEN}\">Vaccination given</span></p><p><b>vaccineCode</b>: <span title=\"Codes:{http://hl7.org/fhir/sid/cvx 133}\">PCV</span></p><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/ZET7992\">https://api.hip.digital.health.nz/fhir/nhi/v1/Patient/ZET7992</a></p><p><b>occurrence</b>: 2024-01-30</p><p><b>location</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/Location/FZZ835-E\">https://api.hip.digital.health.nz/fhir/hpi/v1/Location/FZZ835-E</a></p><p><b>lotNumber</b>: 555123</p><p><b>expirationDate</b>: 2027-01-31</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</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=\"https://simplifier.net/resolve?scope=fhir.org.nz.ig.base@2.0.0&amp;canonical=https://api.hip.digital.health.nz/fhir/hpi/v1/Practitioner/477616\">https://api.hip.digital.health.nz/fhir/hpi/v1/Practitioner/477616</a></td></tr></table><p><b>reasonCode</b>: <span title=\"Codes:{https://standards.digital.health.nz/ns/air-terms-code 5}\">Primary course</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 16814004}\">Pneumococcal</span></td><td>1</td></tr></table><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: RelatedPerson #09c86dd5-64e9-414e-b97e-f6c2c1a4e65f</b></p><a name=\"63e060f0-a878-4a8c-a432-6712d15b1266/09c86dd5-64e9-414e-b97e-f6c2c1a4e65f\"> </a><a name=\"hc63e060f0-a878-4a8c-a432-6712d15b1266/09c86dd5-64e9-414e-b97e-f6c2c1a4e65f\"> </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/ZET7992\">https://api.hip.digital.health.nz/fhir/nhi/v1/Patient/ZET7992</a></p><p><b>relationship</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-RoleCode FTH}\">father</span></p><p><b>name</b>: John Jon Doe </p><p><b>telecom</b>: ph: 041234567(Home), ph: 091234567(Work), <a href=\"mailto:jodoe@moh.govt.nz\">jodoe@moh.govt.nz</a></p><p><b>address</b>: 123 Main St Neverland Wellington 6001 (home) (NZ Suburb: Johnsonville)</p></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Observation #045e4457-4b8d-4ae7-bbef-655f48576558</b></p><a name=\"63e060f0-a878-4a8c-a432-6712d15b1266/045e4457-4b8d-4ae7-bbef-655f48576558\"> </a><a name=\"hc63e060f0-a878-4a8c-a432-6712d15b1266/045e4457-4b8d-4ae7-bbef-655f48576558\"> </a><p><b>status</b>: Preliminary</p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 278969009}\">Hepatitis B status</span></p><p><b>effective</b>: 2023-01-01 14:12:34+1300</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 "09c86dd5-64e9-414e-b97e-f6c2c1a4e65f" ] ;
         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/ZET7992> ;
           fhir:Reference.reference [ fhir:value "https://api.hip.digital.health.nz/fhir/nhi/v1/Patient/ZET7992" ] ;
           fhir:Reference.identifier [
             fhir:Identifier.system [ fhir:value "https://standards.digital.health.nz/ns/nhi-id" ] ;
             fhir:Identifier.value [ fhir:value "ZET7992" ]
           ]
         ] ;
         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 "FTH" ]
           ]
         ] ;
         fhir:RelatedPerson.name [
           fhir:index 0 ;
           fhir:HumanName.family [ fhir:value "Doe" ] ;
           fhir:HumanName.given [
             fhir:value "John Jon" ;
             fhir:index 0
           ]
         ] ;
         fhir:RelatedPerson.telecom [
           fhir:index 0 ;
           fhir:ContactPoint.system [ fhir:value "phone" ] ;
           fhir:ContactPoint.value [ fhir:value "041234567" ] ;
           fhir:ContactPoint.use [ fhir:value "home" ]
         ], [
           fhir:index 1 ;
           fhir:ContactPoint.system [ fhir:value "phone" ] ;
           fhir:ContactPoint.value [ fhir:value "091234567" ] ;
           fhir:ContactPoint.use [ fhir:value "work" ]
         ], [
           fhir:index 2 ;
           fhir:ContactPoint.system [ fhir:value "email" ] ;
           fhir:ContactPoint.value [ fhir:value "jodoe@moh.govt.nz" ] ;
           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 "Johnsonville" ]
           ] ;
           fhir:Address.use [ fhir:value "home" ] ;
           fhir:Address.type [ fhir:value "physical" ] ;
           fhir:Address.line [
             fhir:value "123 Main St" ;
             fhir:index 0
           ], [
             fhir:value "Neverland" ;
             fhir:index 1
           ] ;
           fhir:Address.city [ fhir:value "Wellington" ] ;
           fhir:Address.postalCode [ fhir:value "6001" ]
         ]
      ], [
         a fhir:Observation ;
         fhir:index 1 ;
         fhir:Resource.id [ fhir:value "045e4457-4b8d-4ae7-bbef-655f48576558" ] ;
         fhir:Observation.status [ fhir:value "preliminary" ] ;
         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:Coding.display [ fhir:value "Hepatitis B status" ]
           ]
         ] ;
         fhir:Observation.effectiveDateTime [ fhir:value "2023-01-01T14:12:34.000+13:00"^^xsd:dateTime ] ;
         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:Coding.display [ fhir:value "Indeterminate" ]
           ]
         ]
      ] ;
      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 "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-related-person-extension" ] ;
         fhir:Extension.valueReference [
           fhir:Reference.reference [ fhir:value "09c86dd5-64e9-414e-b97e-f6c2c1a4e65f" ]
         ]
      ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-serology-report-extension" ] ;
         fhir:Extension.valueReference [
           fhir:Reference.reference [ fhir:value "045e4457-4b8d-4ae7-bbef-655f48576558" ]
         ]
      ], [
         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 "3"^^xsd:integer ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "days" ] ;
           fhir:Extension.valueInteger [ fhir:value "30"^^xsd:integer ]
         ], [
           fhir:index 3 ;
           fhir:Extension.url [ fhir:value "daysSinceBirth" ] ;
           fhir:Extension.valueInteger [ fhir:value "121"^^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:index 4 ;
         fhir:Extension.url [ fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-mobile-site" ] ;
         fhir:Extension.valueString [ fhir:value "FZZ835-E_MOB0001" ]
      ], [
         fhir:index 5 ;
         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 "10443641000116108" ] ;
             fhir:Coding.display [ fhir:value "M-M-R-II" ]
           ] ;
           fhir:CodeableConcept.text [ fhir:value "M-M-R-II" ]
         ]
      ] ;
      fhir:Immunization.status [ fhir:value "completed"] ;
      fhir:Immunization.statusReason [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "https://standards.digital.health.nz/ns/air-status-reason-terms" ] ;
           fhir:Coding.code [ fhir:value "GIVEN" ] ;
           fhir:Coding.display [ fhir:value "Vaccination given" ]
         ]
      ] ;
      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 "133" ] ;
           fhir:Coding.display [ fhir:value "PCV13" ]
         ] ;
         fhir:CodeableConcept.text [ fhir:value "PCV" ]
      ] ;
      fhir:Immunization.patient [
         fhir:link <https://api.hip.digital.health.nz/fhir/nhi/v1/Patient/ZET7992> ;
         fhir:Reference.reference [ fhir:value "https://api.hip.digital.health.nz/fhir/nhi/v1/Patient/ZET7992" ] ;
         fhir:Reference.identifier [
           fhir:Identifier.system [ fhir:value "https://standards.digital.health.nz/ns/nhi-id" ] ;
           fhir:Identifier.value [ fhir:value "ZET7992" ]
         ]
      ] ;
      fhir:Immunization.occurrenceDateTime [ fhir:value "2024-01-30"^^xsd:date] ;
      fhir:Immunization.location [
         fhir:link <https://api.hip.digital.health.nz/fhir/hpi/v1/Location/FZZ835-E> ;
         fhir:Reference.reference [ fhir:value "https://api.hip.digital.health.nz/fhir/hpi/v1/Location/FZZ835-E" ] ;
         fhir:Reference.identifier [
           fhir:Identifier.system [ fhir:value "https://standards.digital.health.nz/ns/hpi-facility-id" ] ;
           fhir:Identifier.value [ fhir:value "FZZ835-E" ]
         ]
      ] ;
      fhir:Immunization.lotNumber [ fhir:value "555123"] ;
      fhir:Immunization.expirationDate [ fhir:value "2027-01-31"^^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.version [ fhir:value "1.1" ] ;
           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.version [ fhir:value "1.2" ] ;
           fhir:Coding.code [ fhir:value "78421000" ] ;
           fhir:Coding.display [ fhir:value "Intramuscular" ]
         ]
      ] ;
      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.version [ fhir:value "1.0.0" ] ;
             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/477616> ;
           fhir:Reference.reference [ fhir:value "https://api.hip.digital.health.nz/fhir/hpi/v1/Practitioner/477616" ] ;
           fhir:Reference.identifier [
             fhir:Identifier.system [ fhir:value "https://standards.digital.health.nz/ns/nursing-council-id" ] ;
             fhir:Identifier.value [ fhir:value "477616" ]
           ]
         ]
      ] ;
      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 "5" ] ;
           fhir:Coding.display [ fhir:value "Primary course" ]
         ]
      ] ;
      fhir:Immunization.protocolApplied [
         fhir:index 0 ;
         fhir:Immunization.protocolApplied.targetDisease [
           fhir:index 0 ;
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             a sct:16814004 ;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
             fhir:Coding.code [ fhir:value "16814004" ] ;
             fhir:Coding.display [ fhir:value "Pneumococcal" ]
           ]
         ] ;
         fhir:Immunization.protocolApplied.doseNumberPositiveInt [ fhir:value "1"^^xsd:positiveInteger ]
      ] .

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

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