@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-serology-protection-terms> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "air-serology-protection-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-serology-protection-terms</b></p><a name=\"air-serology-protection-terms\"> </a><a name=\"hcair-serology-protection-terms\"> </a><p>This case-insensitive code system <code>https://standards.digital.health.nz/ns/air-serology-protection-terms</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td></tr><tr><td style=\"white-space:nowrap\">S<a name=\"air-serology-protection-terms-S\"> </a></td><td>Susceptible</td></tr><tr><td style=\"white-space:nowrap\">NTP<a name=\"air-serology-protection-terms-NTP\"> </a></td><td>Not protected</td></tr><tr><td style=\"white-space:nowrap\">IND<a name=\"air-serology-protection-terms-IND\"> </a></td><td>Indeterminate</td></tr><tr><td style=\"white-space:nowrap\">R<a name=\"air-serology-protection-terms-R\"> </a></td><td>Resistant</td></tr><tr><td style=\"white-space:nowrap\">P<a name=\"air-serology-protection-terms-P\"> </a></td><td>Protected</td></tr><tr><td style=\"white-space:nowrap\">PDS<a name=\"air-serology-protection-terms-PDS\"> </a></td><td>Parent declined serology</td></tr></table></div>"
  ] ;
  fhir:CodeSystem.url [ fhir:value "https://standards.digital.health.nz/ns/air-serology-protection-terms"] ;
  fhir:CodeSystem.version [ fhir:value "2.7.0"] ;
  fhir:CodeSystem.name [ fhir:value "AIRSerologyProtectionTerms"] ;
  fhir:CodeSystem.title [ fhir:value "AIR Serology Protection Terms Code System"] ;
  fhir:CodeSystem.status [ fhir:value "active"] ;
  fhir:CodeSystem.experimental [ fhir:value "false"^^xsd:boolean] ;
  fhir:CodeSystem.date [ fhir:value "2026-07-20T21:32:10+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 local code system includes the terms used in legacy HL7 messages and FHIR requests related to serology reports for protection status for diseases such as Hepatitis B."] ;
  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 "6"^^xsd:nonNegativeInteger] ;
  fhir:CodeSystem.concept [
     fhir:index 0 ;
     fhir:CodeSystem.concept.code [ fhir:value "S" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Susceptible" ]
  ], [
     fhir:index 1 ;
     fhir:CodeSystem.concept.code [ fhir:value "NTP" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Not protected" ]
  ], [
     fhir:index 2 ;
     fhir:CodeSystem.concept.code [ fhir:value "IND" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Indeterminate" ]
  ], [
     fhir:index 3 ;
     fhir:CodeSystem.concept.code [ fhir:value "R" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Resistant" ]
  ], [
     fhir:index 4 ;
     fhir:CodeSystem.concept.code [ fhir:value "P" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Protected" ]
  ], [
     fhir:index 5 ;
     fhir:CodeSystem.concept.code [ fhir:value "PDS" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Parent declined serology" ]
  ] .

# - ontology header ------------------------------------------------------------

<https://standards.digital.health.nz/fhir/air/CodeSystem/air-serology-protection-terms.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

