Aotearoa Immunisation Register (AIR) FHIR Implementation Guide (API-V1)
1.28.0-SNAPSHOT - ci-build New Zealand

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

## : Patient History - TTL Representation

Active as of 2026-08-04

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 xsd: <http://www.w3.org/2001/XMLSchema#> .

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

    <http://hl7.org/fhir/OperationDefinition/Patient-History> a fhir:OperationDefinition ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:Resource.id [ fhir:value "Patient-History"] ;
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ] ;
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: OperationDefinition Patient-History</b></p><a name=\"Patient-History\"> </a><a name=\"hcPatient-History\"> </a><p>URL: [base]/Patient/$patient-history</p><h3>Parameters</h3><table class=\"grid\"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Scope</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>IN</td><td>NHI</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/patient.html\">Patient</a></td><td/><td><div><p>The logical id to identify patient/consumer.</p>\n</div></td></tr><tr><td>OUT</td><td>success</td><td/><td>0..*</td><td><a href=\"http://hl7.org/fhir/R4/patient.html\">Patient</a></td><td/><td><div><p>The patient/consumer version (as an Patient resource).</p>\n</div></td></tr><tr><td>OUT</td><td>failure</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/operationoutcome.html\">OperationOutcome</a></td><td/><td><div><p>Error response</p>\n</div></td></tr></table></div>"
      ] ;
      fhir:OperationDefinition.url [ fhir:value "https://standards.digital.health.nz/fhir/air/OperationDefinition/patient-history"] ;
      fhir:OperationDefinition.version [ fhir:value "1.28.0-SNAPSHOT"] ;
      fhir:OperationDefinition.name [ fhir:value "patient-history"] ;
      fhir:OperationDefinition.title [ fhir:value "Patient History"] ;
      fhir:OperationDefinition.status [ fhir:value "active"] ;
      fhir:OperationDefinition.kind [ fhir:value "operation"] ;
      fhir:OperationDefinition.experimental [ fhir:value "false"^^xsd:boolean] ;
      fhir:OperationDefinition.date [ fhir:value "2026-08-04T03:40:16+00:00"^^xsd:dateTime] ;
      fhir:OperationDefinition.publisher [ fhir:value "Te Whatu Ora"] ;
      fhir:OperationDefinition.contact [
         fhir:index 0 ;
         fhir:ContactDetail.name [ fhir:value "Te Whatu Ora" ] ;
         fhir:ContactDetail.telecom [
           fhir:index 0 ;
           fhir:ContactPoint.system [ fhir:value "url" ] ;
           fhir:ContactPoint.value [ fhir:value "https://tewhatuora.govt.nz" ]
         ]
      ] ;
      fhir:OperationDefinition.description [ fhir:value "Fetch all the versions of an ImmSOT Patient/Consumer.\n\n        Modification information is included in the fetched dataset. Input is a valid NHI."] ;
      fhir:OperationDefinition.jurisdiction [
         fhir:index 0 ;
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ] ;
           fhir:Coding.code [ fhir:value "US" ] ;
           fhir:Coding.display [ fhir:value "New Zealand" ]
         ]
      ] ;
      fhir:OperationDefinition.affectsState [ fhir:value "false"^^xsd:boolean] ;
      fhir:OperationDefinition.code [ fhir:value "patient-history"] ;
      fhir:OperationDefinition.resource [
         fhir:value "Patient" ;
         fhir:index 0
      ] ;
      fhir:OperationDefinition.system [ fhir:value "false"^^xsd:boolean] ;
      fhir:OperationDefinition.type [ fhir:value "true"^^xsd:boolean] ;
      fhir:OperationDefinition.instance [ fhir:value "false"^^xsd:boolean] ;
      fhir:OperationDefinition.parameter [
         fhir:index 0 ;
         fhir:OperationDefinition.parameter.name [ fhir:value "NHI" ] ;
         fhir:OperationDefinition.parameter.use [ fhir:value "in" ] ;
         fhir:OperationDefinition.parameter.min [ fhir:value "1"^^xsd:integer ] ;
         fhir:OperationDefinition.parameter.max [ fhir:value "1" ] ;
         fhir:OperationDefinition.parameter.documentation [ fhir:value "The logical id to identify patient/consumer." ] ;
         fhir:OperationDefinition.parameter.type [ fhir:value "Patient" ]
      ], [
         fhir:index 1 ;
         fhir:OperationDefinition.parameter.name [ fhir:value "success" ] ;
         fhir:OperationDefinition.parameter.use [ fhir:value "out" ] ;
         fhir:OperationDefinition.parameter.min [ fhir:value "0"^^xsd:integer ] ;
         fhir:OperationDefinition.parameter.max [ fhir:value "*" ] ;
         fhir:OperationDefinition.parameter.documentation [ fhir:value "The patient/consumer version (as an Patient resource)." ] ;
         fhir:OperationDefinition.parameter.type [ fhir:value "Patient" ]
      ], [
         fhir:index 2 ;
         fhir:OperationDefinition.parameter.name [ fhir:value "failure" ] ;
         fhir:OperationDefinition.parameter.use [ fhir:value "out" ] ;
         fhir:OperationDefinition.parameter.min [ fhir:value "0"^^xsd:integer ] ;
         fhir:OperationDefinition.parameter.max [ fhir:value "1" ] ;
         fhir:OperationDefinition.parameter.documentation [ fhir:value "Error response" ] ;
         fhir:OperationDefinition.parameter.type [ fhir:value "OperationOutcome" ]
      ] .

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

    <http://hl7.org/fhir/OperationDefinition/Patient-History.ttl> a owl:Ontology ;
      owl:imports fhir:fhir.ttl ;
      owl:versionIRI <http://build.fhir.org/OperationDefinition/Patient-History.ttl> .