HSAAP Special Authority FHIR Implementation Guide
0.1.1 - draft New Zealand flag

HSAAP Special Authority FHIR Implementation Guide - Local Development build (v0.1.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

: SA Approval Version State - TTL Representation

Draft as of 2026-10-16

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/CodeSystem/sa-approval-version-state> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "sa-approval-version-state"] ;
  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 sa-approval-version-state</b></p><a name=\"sa-approval-version-state\"> </a><a name=\"hcsa-approval-version-state\"> </a><p>This case-sensitive code system <code>https://fhir-ig.digital.health.nz/special-authority/CodeSystem/sa-approval-version-state</code> provides <b>a fragment</b> that includes following codes:</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\">LATEST<a name=\"sa-approval-version-state-LATEST\"> </a></td><td>Latest</td><td>Only the current version of each Approval (default).</td></tr><tr><td style=\"white-space:nowrap\">PREVIOUS<a name=\"sa-approval-version-state-PREVIOUS\"> </a></td><td>Previous</td><td>Only superseded versions of each Approval.</td></tr><tr><td style=\"white-space:nowrap\">ALL<a name=\"sa-approval-version-state-ALL\"> </a></td><td>All</td><td>Current and superseded versions of each Approval.</td></tr></table></div>"
  ] ;
  fhir:CodeSystem.url [ fhir:value "https://fhir-ig.digital.health.nz/special-authority/CodeSystem/sa-approval-version-state"] ;
  fhir:CodeSystem.version [ fhir:value "0.1.1"] ;
  fhir:CodeSystem.name [ fhir:value "SAApprovalVersionStateCS"] ;
  fhir:CodeSystem.title [ fhir:value "SA Approval Version State"] ;
  fhir:CodeSystem.status [ fhir:value "draft"] ;
  fhir:CodeSystem.experimental [ fhir:value "false"^^xsd:boolean] ;
  fhir:CodeSystem.date [ fhir:value "2026-10-16T03:21:20+00:00"^^xsd:dateTime] ;
  fhir:CodeSystem.publisher [ fhir:value "Health New Zealand | Te Whatu Ora"] ;
  fhir:CodeSystem.contact [
     fhir:index 0 ;
     fhir:ContactDetail.name [ fhir:value "Health New Zealand | Te Whatu Ora" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://www.tewhatuora.govt.nz/" ]
     ], [
       fhir:index 1 ;
       fhir:ContactPoint.system [ fhir:value "email" ] ;
       fhir:ContactPoint.value [ fhir:value "integration@tewhatuora.govt.nz" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:ContactDetail.name [ fhir:value "HNZ Integration Team" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "email" ] ;
       fhir:ContactPoint.value [ fhir:value "integration@tewhatuora.govt.nz" ] ;
       fhir:ContactPoint.use [ fhir:value "work" ]
     ]
  ] ;
  fhir:CodeSystem.description [ fhir:value "Values for the approval-version-state search parameter. **Draft** - code names other than ALL must be confirmed against the Approval Store versionState values."] ;
  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 "NZ" ] ;
       fhir:Coding.display [ fhir:value "New Zealand" ]
     ]
  ] ;
  fhir:CodeSystem.caseSensitive [ fhir:value "true"^^xsd:boolean] ;
  fhir:CodeSystem.content [ fhir:value "fragment"] ;
  fhir:CodeSystem.concept [
     fhir:index 0 ;
     fhir:CodeSystem.concept.code [ fhir:value "LATEST" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Latest" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Only the current version of each Approval (default)." ]
  ], [
     fhir:index 1 ;
     fhir:CodeSystem.concept.code [ fhir:value "PREVIOUS" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Previous" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Only superseded versions of each Approval." ]
  ], [
     fhir:index 2 ;
     fhir:CodeSystem.concept.code [ fhir:value "ALL" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "All" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Current and superseded versions of each Approval." ]
  ] .

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

<http://hl7.org/fhir/CodeSystem/sa-approval-version-state.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/CodeSystem/sa-approval-version-state.ttl> .