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

<ConceptMap xmlns="http://hl7.org/fhir">
  <id value="air-gender-code-map"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: ConceptMap air-gender-code-map</b></p><a name="air-gender-code-map"> </a><a name="hcair-gender-code-map"> </a><p>Mapping from <a href="http://terminology.hl7.org/7.3.0/ValueSet-v2-0001.html">hl7VS-administrativeSex</a> to <a href="http://hl7.org/fhir/R4/valueset-administrative-gender.html">AdministrativeGender</a></p><br/><p>Mapping from <a href="http://terminology.hl7.org/7.3.0/CodeSystem-v2-0001.html">administrativeSex</a> to <a href="http://hl7.org/fhir/R4/codesystem-administrative-gender.html">AdministrativeGender</a></p><table class="grid"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td></tr><tr><td>U (Unknown)</td><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td>unknown</td></tr></table></div>
  </text>
  <url value="https://nzhts.digital.health.nz/fhir/ConceptMap/air-gender-code-map"/>
  <version value="1.28.0-SNAPSHOT"/>
  <name value="HL7PID-AIRAdministrativeGenderCode-Map"/>
  <title value="Gender Code HL7v2 PID &lt; -- &gt; Administrative Gender used in FHIR R4"/>
  <status value="draft"/>
  <date value="2026-08-04T03:40:16+00:00"/>
  <publisher value="Te Whatu Ora"/>
  <contact>
    <name value="Te Whatu Ora"/>
    <telecom>
      <system value="url"/>
      <value value="https://tewhatuora.govt.nz"/>
    </telecom>
  </contact>
  <description value="This maps the gender codes listed in the NIR Message Spec v4.5, Sep 2020 (HL7 Table 0001) to the codes returned by the NHI Service."/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="US"/>
      <display value="New Zealand"/>
    </coding>
  </jurisdiction>
  <sourceCanonical value="http://terminology.hl7.org/ValueSet/v2-0001"/>
  <targetCanonical value="http://hl7.org/fhir/ValueSet/administrative-gender"/>
  <group>
    <source value="http://terminology.hl7.org/CodeSystem/v2-0001"/>
    <target value="http://hl7.org/fhir/administrative-gender"/>
    <element>
      <code value="U"/>
      <target>
        <code value="unknown"/>
        <equivalence value="equivalent"/>
      </target>
    </element>
  </group>
</ConceptMap>