<?xml version="1.0" encoding="UTF-8"?>

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="sa-approval-version-state"/>
  <text>
    <status value="generated"/><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>
  </text>
  <url value="https://fhir-ig.digital.health.nz/special-authority/CodeSystem/sa-approval-version-state"/>
  <version value="0.1.1"/>
  <name value="SAApprovalVersionStateCS"/>
  <title value="SA Approval Version State"/>
  <status value="draft"/>
  <experimental value="false"/>
  <date value="2026-10-16T03:21:20+00:00"/>
  <publisher value="Health New Zealand | Te Whatu Ora"/>
  <contact>
    <name value="Health New Zealand | Te Whatu Ora"/>
    <telecom>
      <system value="url"/>
      <value value="https://www.tewhatuora.govt.nz/"/>
    </telecom>
    <telecom>
      <system value="email"/>
      <value value="integration@tewhatuora.govt.nz"/>
    </telecom>
  </contact>
  <contact>
    <name value="HNZ Integration Team"/>
    <telecom>
      <system value="email"/>
      <value value="integration@tewhatuora.govt.nz"/>
      <use value="work"/>
    </telecom>
  </contact>
  <description value="Values for the approval-version-state search parameter. **Draft** - code names other than ALL must be confirmed against the Approval Store versionState values."/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="NZ"/>
      <display value="New Zealand"/>
    </coding>
  </jurisdiction>
  <caseSensitive value="true"/>
  <content value="fragment"/>
  <concept>
    <code value="LATEST"/>
    <display value="Latest"/>
    <definition value="Only the current version of each Approval (default)."/>
  </concept>
  <concept>
    <code value="PREVIOUS"/>
    <display value="Previous"/>
    <definition value="Only superseded versions of each Approval."/>
  </concept>
  <concept>
    <code value="ALL"/>
    <display value="All"/>
    <definition value="Current and superseded versions of each Approval."/>
  </concept>
</CodeSystem>