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

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="d1adf025-b6d2-44dc-a8b1-da3adfcafa73"/>
  <meta>
    <versionId value="1"/>
    <lastUpdated value="2024-07-25T17:30:04.727+12:00"/>
  </meta>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: CodeSystem d1adf025-b6d2-44dc-a8b1-da3adfcafa73</b></p><a name="d1adf025-b6d2-44dc-a8b1-da3adfcafa73"> </a><a name="hcd1adf025-b6d2-44dc-a8b1-da3adfcafa73"> </a><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">version: 1; Last updated: 2024-07-25 17:30:04+1200</p></div><p>This case-sensitive code system <code>https://standards.digital.health.nz/ns/nz-purpose-of-use</code> defines the following codes in a Is-A hierarchy:</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">NZLEG<a name="d1adf025-b6d2-44dc-a8b1-da3adfcafa73-NZLEG"> </a></td><td>legislative requirement</td><td>To perform actions otherwise described in New Zealand Legislation</td></tr><tr><td style="white-space:nowrap">NZRISK<a name="d1adf025-b6d2-44dc-a8b1-da3adfcafa73-NZRISK"> </a></td><td>risk assessment</td><td>To perform risk management assessment and the disclosure is solely to a person engaged by the agency for the purpose of assessing the agency’s risk</td></tr><tr><td style="white-space:nowrap">NZCHILD<a name="d1adf025-b6d2-44dc-a8b1-da3adfcafa73-NZCHILD"> </a></td><td>child abuse reporting</td><td>To perform actions relating to the mandatory reporting of child abuse</td></tr><tr><td style="white-space:nowrap">NZSCREEN<a name="d1adf025-b6d2-44dc-a8b1-da3adfcafa73-NZSCREEN"> </a></td><td>screening</td><td>To perform actions relating to screening carried out under legislation</td></tr><tr><td style="white-space:nowrap">NOTSUPPLIED<a name="d1adf025-b6d2-44dc-a8b1-da3adfcafa73-NOTSUPPLIED"> </a></td><td>No code supplied</td><td>Where no purpose of use code was supplied in an API request. This may not be a valid code for clients to supply, but will be used in the audit record to indicate no purpose of use code was included in a rejected request.</td></tr></table></div>
  </text>
  <url value="https://standards.digital.health.nz/ns/nz-purpose-of-use"/>
  <version value="20240725"/>
  <name value="NZPurposeOfUse"/>
  <title value="NZ Purpose Of Use"/>
  <status value="draft"/>
  <experimental value="false"/>
  <date value="2023-06-19T00:00:00.000Z"/>
  <publisher value="Te Whatu Ora"/>
  <contact>
    <name value="Te Whatu Ora"/>
    <telecom>
      <system value="url"/>
      <value value="https://www.tewhatuora.govt.nz/"/>
    </telecom>
  </contact>
  <contact>
    <name value="Te Whatu Ora Integration Team"/>
    <telecom>
      <system value="email"/>
      <value value="integration@tewhatuora.govt.nz"/>
      <use value="work"/>
    </telecom>
  </contact>
  <description value="Additional codes to be incorporated with HL7 v3 Value Set Purpose of Use"/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="NZ"/>
      <display value="New Zealand"/>
    </coding>
  </jurisdiction>
  <caseSensitive value="true"/>
  <hierarchyMeaning value="is-a"/>
  <compositional value="false"/>
  <versionNeeded value="false"/>
  <content value="complete"/>
  <count value="5"/>
  <concept>
    <code value="NZLEG"/>
    <display value="legislative requirement"/>
    <definition value="To perform actions otherwise described in New Zealand Legislation"/>
  </concept>
  <concept>
    <code value="NZRISK"/>
    <display value="risk assessment"/>
    <definition value="To perform risk management assessment and the disclosure is solely to a person engaged by the agency for the purpose of assessing the agency’s risk"/>
    <property>
      <code value="child"/>
      <valueCode value="NZLEG"/>
    </property>
  </concept>
  <concept>
    <code value="NZCHILD"/>
    <display value="child abuse reporting"/>
    <definition value="To perform actions relating to the mandatory reporting of child abuse"/>
    <property>
      <code value="child"/>
      <valueCode value="NZLEG"/>
    </property>
  </concept>
  <concept>
    <code value="NZSCREEN"/>
    <display value="screening"/>
    <definition value="To perform actions relating to screening carried out under legislation"/>
    <property>
      <code value="child"/>
      <valueCode value="NZLEG"/>
    </property>
  </concept>
  <concept>
    <code value="NOTSUPPLIED"/>
    <display value="No code supplied"/>
    <definition value="Where no purpose of use code was supplied in an API request. This may not be a valid code for clients to supply, but will be used in the audit record to indicate no purpose of use code was included in a rejected request."/>
    <property>
      <code value="child"/>
      <valueCode value="NZLEG"/>
    </property>
  </concept>
</CodeSystem>