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

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

<https://standards.digital.health.nz/fhir/air/CodeSystem/air-processing-terms> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "air-processing-terms"] ;
  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: CodeSystem air-processing-terms</b></p><a name=\"air-processing-terms\"> </a><a name=\"hcair-processing-terms\"> </a><p>This case-insensitive code system <code>https://standards.digital.health.nz/ns/air-processing-terms</code> defines the following code:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">identifier-not-updated<a name=\"air-processing-terms-identifier-not-updated\"> </a></td><td>Patient identifier not updated - identifier is immutable for this operation</td><td>The Patient Identifier (NHI number) submitted in the request differed from the identifier stored on the record. The existing identifier has been preserved and was not updated through this operation.</td></tr></table></div>"
  ] ;
  fhir:CodeSystem.url [ fhir:value "https://standards.digital.health.nz/ns/air-processing-terms"] ;
  fhir:CodeSystem.version [ fhir:value "1.28.0-SNAPSHOT"] ;
  fhir:CodeSystem.name [ fhir:value "AIRProcessingTerms"] ;
  fhir:CodeSystem.title [ fhir:value "AIR Processing Terms"] ;
  fhir:CodeSystem.status [ fhir:value "active"] ;
  fhir:CodeSystem.experimental [ fhir:value "false"^^xsd:boolean] ;
  fhir:CodeSystem.date [ fhir:value "2026-08-04T03:40:16+00:00"^^xsd:dateTime] ;
  fhir:CodeSystem.publisher [ fhir:value "Te Whatu Ora"] ;
  fhir:CodeSystem.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:CodeSystem.description [ fhir:value "This Code System contains meta tags that AIR uses to signal processing outcomes"] ;
  fhir:CodeSystem.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:CodeSystem.caseSensitive [ fhir:value "false"^^xsd:boolean] ;
  fhir:CodeSystem.content [ fhir:value "complete"] ;
  fhir:CodeSystem.count [ fhir:value "1"^^xsd:nonNegativeInteger] ;
  fhir:CodeSystem.concept [
     fhir:index 0 ;
     fhir:CodeSystem.concept.code [ fhir:value "identifier-not-updated" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Patient identifier not updated - identifier is immutable for this operation" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "The Patient Identifier (NHI number) submitted in the request differed from the identifier stored on the record. The existing identifier has been preserved and was not updated through this operation." ]
  ] .

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

<https://standards.digital.health.nz/fhir/air/CodeSystem/air-processing-terms.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

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

