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

<ImplementationGuide xmlns="http://hl7.org/fhir">
  <id value="tewhatuora.fhir.nz-shared-digital-health-record"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: ImplementationGuide tewhatuora.fhir.nz-shared-digital-health-record</b></p><a name="tewhatuora.fhir.nz-shared-digital-health-record"> </a><a name="hctewhatuora.fhir.nz-shared-digital-health-record"> </a><h2>nzshareddigitalhealthrecord</h2><p>The official URL for this implementation guide is: </p><pre>https://fhir-ig.digital.health.nz/sdhr/ImplementationGuide/tewhatuora.fhir.nz-shared-digital-health-record</pre><div><p>NZ Shared Digital Health Record API</p>
</div></div>
  </text>
  <url value="https://fhir-ig.digital.health.nz/sdhr/ImplementationGuide/tewhatuora.fhir.nz-shared-digital-health-record"/>
  <version value="1.0.1"/>
  <name value="nzshareddigitalhealthrecord"/>
  <title value="NZ Shared Digital Health Record API"/>
  <status value="active"/>
  <date value="2026-06-05T02:07:34+00:00"/>
  <publisher value="Health New Zealand"/>
  <contact>
    <name value="Health New Zealand"/>
    <telecom>
      <system value="url"/>
      <value value="https://github.com/tewhatuora"/>
    </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="NZ Shared Digital Health Record API"/>
  <packageId value="tewhatuora.fhir.nz-shared-digital-health-record"/>
  <license value="CC0-1.0"/>
  <fhirVersion value="4.0.1"/>
  <dependsOn id="hl7tx">
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/implementationguide-dependency-comment">
      <valueMarkdown value="Automatically added as a dependency - all IGs depend on HL7 Terminology"/>
    </extension>
    <uri value="http://terminology.hl7.org/ImplementationGuide/hl7.terminology"/>
    <packageId value="hl7.terminology.r4"/>
    <version value="7.1.0"/>
  </dependsOn>
  <dependsOn id="hl7ext">
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/implementationguide-dependency-comment">
      <valueMarkdown value="Automatically added as a dependency - all IGs depend on the HL7 Extension Pack"/>
    </extension>
    <uri value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"/>
    <packageId value="hl7.fhir.uv.extensions.r4"/>
    <version value="5.3.0"/>
  </dependsOn>
  <dependsOn id="fhir_org_nz_ig_base">
    <uri value="http://fhir.org.nz/ig/base"/>
    <packageId value="fhir.org.nz.ig.base"/>
    <version value="3.0.0"/>
  </dependsOn>
  <dependsOn id="tewhatuora_digitaltooling">
    <uri value="https://fhir-ig.digital.health.nz/hnz-digital-tooling/ImplementationGuide/tewhatuora.digitaltooling"/>
    <packageId value="tewhatuora.digitaltooling"/>
    <version value="0.0.11"/>
  </dependsOn>
  <definition>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueString value="copyrightyear"/>
      </extension>
      <extension url="value">
        <valueString value="2025+"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueString value="releaselabel"/>
      </extension>
      <extension url="value">
        <valueString value="release"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueString value="autoload-resources"/>
      </extension>
      <extension url="value">
        <valueString value="true"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueString value="path-liquid"/>
      </extension>
      <extension url="value">
        <valueString value="template/liquid"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueString value="path-liquid"/>
      </extension>
      <extension url="value">
        <valueString value="input/liquid"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueString value="path-qa"/>
      </extension>
      <extension url="value">
        <valueString value="temp/qa"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueString value="path-temp"/>
      </extension>
      <extension url="value">
        <valueString value="temp/pages"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueString value="path-output"/>
      </extension>
      <extension url="value">
        <valueString value="output"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueString value="path-suppressed-warnings"/>
      </extension>
      <extension url="value">
        <valueString value="input/ignoreWarnings.txt"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueString value="path-history"/>
      </extension>
      <extension url="value">
        <valueString value="https://fhir-ig.digital.health.nz/sdhr/history.html"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueString value="template-html"/>
      </extension>
      <extension url="value">
        <valueString value="template-page.html"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueString value="template-md"/>
      </extension>
      <extension url="value">
        <valueString value="template-page-md.html"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueString value="apply-contact"/>
      </extension>
      <extension url="value">
        <valueString value="true"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueString value="apply-context"/>
      </extension>
      <extension url="value">
        <valueString value="true"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueString value="apply-copyright"/>
      </extension>
      <extension url="value">
        <valueString value="true"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueString value="apply-jurisdiction"/>
      </extension>
      <extension url="value">
        <valueString value="true"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueString value="apply-license"/>
      </extension>
      <extension url="value">
        <valueString value="true"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueString value="apply-publisher"/>
      </extension>
      <extension url="value">
        <valueString value="true"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueString value="apply-version"/>
      </extension>
      <extension url="value">
        <valueString value="true"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueString value="apply-wg"/>
      </extension>
      <extension url="value">
        <valueString value="true"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueString value="active-tables"/>
      </extension>
      <extension url="value">
        <valueString value="true"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueString value="fmm-definition"/>
      </extension>
      <extension url="value">
        <valueString value="http://hl7.org/fhir/versions.html#maturity"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueString value="propagate-status"/>
      </extension>
      <extension url="value">
        <valueString value="true"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueString value="excludelogbinaryformat"/>
      </extension>
      <extension url="value">
        <valueString value="true"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueString value="tabbed-snapshots"/>
      </extension>
      <extension url="value">
        <valueString value="true"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-internal-dependency">
      <valueCode value="hl7.fhir.uv.tools.r4#1.1.2"/>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueCode value="copyrightyear"/>
      </extension>
      <extension url="value">
        <valueString value="2025+"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueCode value="releaselabel"/>
      </extension>
      <extension url="value">
        <valueString value="release"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueCode value="autoload-resources"/>
      </extension>
      <extension url="value">
        <valueString value="true"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueCode value="path-liquid"/>
      </extension>
      <extension url="value">
        <valueString value="template/liquid"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueCode value="path-liquid"/>
      </extension>
      <extension url="value">
        <valueString value="input/liquid"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueCode value="path-qa"/>
      </extension>
      <extension url="value">
        <valueString value="temp/qa"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueCode value="path-temp"/>
      </extension>
      <extension url="value">
        <valueString value="temp/pages"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueCode value="path-output"/>
      </extension>
      <extension url="value">
        <valueString value="output"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueCode value="path-suppressed-warnings"/>
      </extension>
      <extension url="value">
        <valueString value="input/ignoreWarnings.txt"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueCode value="path-history"/>
      </extension>
      <extension url="value">
        <valueString value="https://fhir-ig.digital.health.nz/sdhr/history.html"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueCode value="template-html"/>
      </extension>
      <extension url="value">
        <valueString value="template-page.html"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueCode value="template-md"/>
      </extension>
      <extension url="value">
        <valueString value="template-page-md.html"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueCode value="apply-contact"/>
      </extension>
      <extension url="value">
        <valueString value="true"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueCode value="apply-context"/>
      </extension>
      <extension url="value">
        <valueString value="true"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueCode value="apply-copyright"/>
      </extension>
      <extension url="value">
        <valueString value="true"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueCode value="apply-jurisdiction"/>
      </extension>
      <extension url="value">
        <valueString value="true"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueCode value="apply-license"/>
      </extension>
      <extension url="value">
        <valueString value="true"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueCode value="apply-publisher"/>
      </extension>
      <extension url="value">
        <valueString value="true"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueCode value="apply-version"/>
      </extension>
      <extension url="value">
        <valueString value="true"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueCode value="apply-wg"/>
      </extension>
      <extension url="value">
        <valueString value="true"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueCode value="active-tables"/>
      </extension>
      <extension url="value">
        <valueString value="true"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueCode value="fmm-definition"/>
      </extension>
      <extension url="value">
        <valueString value="http://hl7.org/fhir/versions.html#maturity"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueCode value="propagate-status"/>
      </extension>
      <extension url="value">
        <valueString value="true"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueCode value="excludelogbinaryformat"/>
      </extension>
      <extension url="value">
        <valueString value="true"/>
      </extension>
    </extension>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-parameter">
      <extension url="code">
        <valueCode value="tabbed-snapshots"/>
      </extension>
      <extension url="value">
        <valueString value="true"/>
      </extension>
    </extension>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="SearchParameter"/>
      </extension>
      <reference>
        <reference value="SearchParameter/allergyintolerance-clientlastupdated"/>
      </reference>
      <name value="allergyintolerance-clientlastupdated"/>
      <description value="Search by the ClientLastUpdated extension on SDHR AllergyIntolerance resources"/>
      <exampleBoolean value="false"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="AllergyIntolerance"/>
      </extension>
      <reference>
        <reference value="AllergyIntolerance/AllergyIntoleranceExample"/>
      </reference>
      <name value="AllergyIntoleranceExample"/>
      <description value="An example payload for a Primary Care AllergyIntolerance resource indicating an allergy to Penicillin, with a confidentiality of restricted."/>
      <exampleCanonical value="https://fhir-ig.digital.health.nz/sdhr/StructureDefinition/SDHRAllergyIntolerance"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="AllergyIntolerance"/>
      </extension>
      <reference>
        <reference value="AllergyIntolerance/AllergyIntoleranceExample2"/>
      </reference>
      <name value="AllergyIntoleranceExample2"/>
      <description value="An example payload for a Primary Care AllergyIntolerance resource indicating an allergy to Cashew nuts"/>
      <exampleCanonical value="https://fhir-ig.digital.health.nz/sdhr/StructureDefinition/SDHRAllergyIntolerance"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="OperationOutcome"/>
      </extension>
      <reference>
        <reference value="OperationOutcome/APIError-Confidential"/>
      </reference>
      <name value="APIError-Confidential"/>
      <description value="Example OperationOutcome API response, returned when a resource has been flagged as confidential, and so cannot be accessed."/>
      <exampleBoolean value="true"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="OperationOutcome"/>
      </extension>
      <reference>
        <reference value="OperationOutcome/APIError-Unauthorised"/>
      </reference>
      <name value="APIError-Unauthorised"/>
      <description value="Access to Shared Digital Health Records is **restricted**.&lt;br&gt;&#xA;    This API validates information that is provided by the API Consumer in their `Request-Context` header.&#xA;    The API Consumer must also provide an appropriate OAuth 2.0 Bearer token in the `Authorization` header containing scopes appropriate for the resource being accessed.&#xA;    The API Consumer must be registered with the Shared Digital Health Record API."/>
      <exampleBoolean value="true"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="StructureDefinition:resource"/>
      </extension>
      <reference>
        <reference value="StructureDefinition/SDHRBatchBundle"/>
      </reference>
      <name value="Batch Bundle with a Single Patient"/>
      <description value="SDHR allows Bundle posts with the following restrictions:&#xA;- The Bundle type must be `batch` (transactions are not supported).&#xA;- All Patient references in the Bundle must target a single Patient.&#xA;- The Bundle must not contain any $participate or $hnz-participate requests."/>
      <exampleBoolean value="false"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="Bundle"/>
      </extension>
      <reference>
        <reference value="Bundle/Batch-example"/>
      </reference>
      <name value="Batch-example"/>
      <exampleCanonical value="https://fhir-ig.digital.health.nz/sdhr/StructureDefinition/SDHRBatchBundle"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="StructureDefinition:extension"/>
      </extension>
      <reference>
        <reference value="StructureDefinition/hnz-sdhr-client-last-updated-extension"/>
      </reference>
      <name value="Client Last Updated"/>
      <description value="Extension to record the last time a resource was updated by the source system. When consuming applications are writing data to the SDHR API they can use this extension to record the `LastUpdated` timestamp in their system"/>
      <exampleBoolean value="false"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="SearchParameter"/>
      </extension>
      <reference>
        <reference value="SearchParameter/condition-clientlastupdated"/>
      </reference>
      <name value="condition-clientlastupdated"/>
      <description value="Search by the ClientLastUpdated extension on SDHR Condition resources"/>
      <exampleBoolean value="false"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="SearchParameter"/>
      </extension>
      <reference>
        <reference value="SearchParameter/condition-highlighted"/>
      </reference>
      <name value="condition-highlighted"/>
      <description value="Search for conditions flagged as highlighted in the SDHRCondition profile"/>
      <exampleBoolean value="false"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="SearchParameter"/>
      </extension>
      <reference>
        <reference value="SearchParameter/condition-long-term-condition"/>
      </reference>
      <name value="condition-long-term-condition"/>
      <description value="Search for conditions marked as long term in the SDHRCondition profile"/>
      <exampleBoolean value="false"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="Condition"/>
      </extension>
      <reference>
        <reference value="Condition/ConditionHypertensionExample"/>
      </reference>
      <name value="ConditionHypertensionExample"/>
      <description value="Example Hypertension Condition"/>
      <exampleCanonical value="https://fhir-ig.digital.health.nz/sdhr/StructureDefinition/SDHRCondition"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="Condition"/>
      </extension>
      <reference>
        <reference value="Condition/ConditionRespiratoryExample"/>
      </reference>
      <name value="ConditionRespiratoryExample"/>
      <description value="Example Respiratory Condition"/>
      <exampleCanonical value="https://fhir-ig.digital.health.nz/sdhr/StructureDefinition/SDHRCondition"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="Consent"/>
      </extension>
      <reference>
        <reference value="Consent/ConsentExample"/>
      </reference>
      <name value="ConsentExample"/>
      <description value="Consent example submitted to allow a patient to opt in to sharing their information, originating from a practice management system"/>
      <exampleCanonical value="https://fhir-ig.digital.health.nz/sdhr/StructureDefinition/SDHRConsent"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="Consent"/>
      </extension>
      <reference>
        <reference value="Consent/ConsentExampleRecordsWithheld"/>
      </reference>
      <name value="ConsentExampleRecordsWithheld"/>
      <description value="Consent example to allow a patient to opt in to sharing their information, while withholding some records from the service"/>
      <exampleCanonical value="https://fhir-ig.digital.health.nz/sdhr/StructureDefinition/SDHRConsent"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="Consent"/>
      </extension>
      <reference>
        <reference value="Consent/ConsentFacilityDenyExample"/>
      </reference>
      <name value="ConsentFacilityDenyExample"/>
      <description value="Consent example submitted to allow a patient to opt out of sharing their information. This example shows a Consent resource created as the result of an HNZ opt out."/>
      <exampleCanonical value="https://fhir-ig.digital.health.nz/sdhr/StructureDefinition/SDHRConsent"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="Consent"/>
      </extension>
      <reference>
        <reference value="Consent/ConsentHNZDenyExample"/>
      </reference>
      <name value="ConsentHNZDenyExample"/>
      <description value="Consent example submitted to allow a patient to opt out of sharing their information. This example shows a Consent resource created as the result of an HNZ opt out."/>
      <exampleCanonical value="https://fhir-ig.digital.health.nz/sdhr/StructureDefinition/SDHRConsent"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="Consent"/>
      </extension>
      <reference>
        <reference value="Consent/ConsentMultiFacilityExample"/>
      </reference>
      <name value="ConsentMultiFacilityExample"/>
      <description value="Consent example illustrating a patient stating participation preferences forsharing their information with SDHR at multiple facilities."/>
      <exampleCanonical value="https://fhir-ig.digital.health.nz/sdhr/StructureDefinition/SDHRConsent"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="StructureDefinition:extension"/>
      </extension>
      <reference>
        <reference value="StructureDefinition/facility-participation-extension"/>
      </reference>
      <name value="Facility Participation"/>
      <description value="Indicates whether the patient has opted out or opted in to participation at the facility. If opted out, no records will be shared from that facility."/>
      <exampleBoolean value="false"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="StructureDefinition:extension"/>
      </extension>
      <reference>
        <reference value="StructureDefinition/hnz-sdhr-highlighted-extension"/>
      </reference>
      <name value="HNZ SDHR Highlighted"/>
      <description value="Extension to indicate that a resource should be highlighted in the user interface. This is used to indicate that the resource is important and should be highlighted in a user interface."/>
      <exampleBoolean value="false"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="CapabilityStatement"/>
      </extension>
      <reference>
        <reference value="CapabilityStatement/SDHRCapabilityStatement"/>
      </reference>
      <name value="NZ Shared Digital Health Record API"/>
      <description value="NZ Shared Digital Health Record API Capability Statement"/>
      <exampleBoolean value="false"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="CodeSystem"/>
      </extension>
      <reference>
        <reference value="CodeSystem/nz-sdhr-codesystem"/>
      </reference>
      <name value="NZ-specific terminology for Shared Digital Health Records"/>
      <description value="This system defines standard codes used throughout this Implementation Guide for New Zealand Shared Digital Health Records"/>
      <exampleBoolean value="false"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="SearchParameter"/>
      </extension>
      <reference>
        <reference value="SearchParameter/observation-clientlastupdated"/>
      </reference>
      <name value="observation-clientlastupdated"/>
      <description value="Search by the ClientLastUpdated extension on SDHR Observation resources"/>
      <exampleBoolean value="false"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="Observation"/>
      </extension>
      <reference>
        <reference value="Observation/ObservationVitalSignsExample"/>
      </reference>
      <name value="ObservationVitalSignsExample"/>
      <description value="An example SDHR Vital Signs Observation"/>
      <exampleCanonical value="https://fhir-ig.digital.health.nz/sdhr/StructureDefinition/SDHRObservation"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="OperationOutcome"/>
      </extension>
      <reference>
        <reference value="OperationOutcome/OperationOutcomeFacilityDenyExample"/>
      </reference>
      <name value="OperationOutcomeFacilityDenyExample"/>
      <description value="Example OperationOutcome for a request where the patient has opted out of participating in the shared digital health record service for a specific facility."/>
      <exampleBoolean value="true"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="OperationOutcome"/>
      </extension>
      <reference>
        <reference value="OperationOutcome/OperationOutcomeFacilityLocked"/>
      </reference>
      <name value="OperationOutcomeFacilityLocked"/>
      <description value="This outcome message will be returned in a special case where a facility has been `locked` due to a background load process where the SDHR service is performing a historic record load for a practice.&#xA;A typical scenario where this would occur would be where a practice has 'onboarded' to the SDHR service and SDHR is sourcing historic records for consented patients.&#xA;If a data holder receives this outcome when loading records they should queue the failed records and retry after a delay."/>
      <exampleBoolean value="true"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="OperationOutcome"/>
      </extension>
      <reference>
        <reference value="OperationOutcome/OperationOutcomeFacilityUnknown"/>
      </reference>
      <name value="OperationOutcomeFacilityUnknown"/>
      <description value="This outcome message will be returned where a facility is not yet onboarded to SDHR."/>
      <exampleBoolean value="true"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="OperationOutcome"/>
      </extension>
      <reference>
        <reference value="OperationOutcome/OperationOutcomeGlobalDenyExample"/>
      </reference>
      <name value="OperationOutcomeGlobalDenyExample"/>
      <description value="Example OperationOutcome for a request where the patient has opted out of participating in the shared digital health record service."/>
      <exampleBoolean value="true"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="OperationOutcome"/>
      </extension>
      <reference>
        <reference value="OperationOutcome/OperationOutcomeParticipateInvalidPatient"/>
      </reference>
      <name value="OperationOutcomeParticipateInvalidPatient"/>
      <description value="Example OperationOutcome for an invalid patient participation operation indicating that the patient parameter is invalid."/>
      <exampleBoolean value="true"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="OperationOutcome"/>
      </extension>
      <reference>
        <reference value="OperationOutcome/OperationOutcomeParticipateMissingReason"/>
      </reference>
      <name value="OperationOutcomeParticipateMissingReason"/>
      <description value="Example OperationOutcome for a missing reason code in the Participate operation indicating that the reason for participation status is required."/>
      <exampleBoolean value="true"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="OperationOutcome"/>
      </extension>
      <reference>
        <reference value="OperationOutcome/OperationOutcomeParticipatePreferencesNotKnown"/>
      </reference>
      <name value="OperationOutcomeParticipatePreferencesNotKnown"/>
      <description value="Example OperationOutcome where a patient has not indicated their participation preferences for the Shared Digital Health Record service."/>
      <exampleBoolean value="true"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="OperationOutcome"/>
      </extension>
      <reference>
        <reference value="OperationOutcome/OperationOutcomeParticipateSuccess"/>
      </reference>
      <name value="OperationOutcomeParticipateSuccess"/>
      <description value="Example OperationOutcome for a successful participation operation indicating that the patient's participation status was successfully recorded."/>
      <exampleBoolean value="true"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="OperationOutcome"/>
      </extension>
      <reference>
        <reference value="OperationOutcome/OperationOutcomePatientLocked"/>
      </reference>
      <name value="OperationOutcomePatientLocked"/>
      <description value="This outcome message will be returned in a special case where a patient record has been `locked` due to a background load process where the SDHR service is performing a historic record load for a patient.&#xA;A typical scenario where this would occur would be where a practice has 'onboarded' to the SDHR service and SDHR is sourcing historic records for a patient who has contented to participation.&#xA;If a data holder receives this outcome when loading records they should queue the failed record(s) and retry after a delay."/>
      <exampleBoolean value="true"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="OperationOutcome"/>
      </extension>
      <reference>
        <reference value="OperationOutcome/OperationOutcomeRateLimitExceeded"/>
      </reference>
      <name value="OperationOutcomeRateLimitExceeded"/>
      <description value="This outcome message will be returned where an API Consumer has exceeded the allocated rate limit."/>
      <exampleBoolean value="true"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="OperationOutcome"/>
      </extension>
      <reference>
        <reference value="OperationOutcome/OperationOutcomeRecordsWithheldAtSource"/>
      </reference>
      <name value="OperationOutcomeRecordsWithheldAtSource"/>
      <description value="Example OperationOutcome when a patient has withheld records at source."/>
      <exampleBoolean value="true"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="Parameters"/>
      </extension>
      <reference>
        <reference value="Parameters/ParametersDoNotParticipate"/>
      </reference>
      <name value="ParametersDoNotParticipate"/>
      <description value="Example parameters content to POST to the Participate operation where a patient does not wish to participate in the Shared Digital Health Record service."/>
      <exampleBoolean value="true"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="Parameters"/>
      </extension>
      <reference>
        <reference value="Parameters/ParametersHNZParticipateOptIn"/>
      </reference>
      <name value="ParametersHNZParticipateOptIn"/>
      <description value="Example parameters content to POST to the HNZ Participate (`$hnz-participate`) operation where a patient elects to participate in the Shared Digital Health Record service by using an appropriate HNZ digital or assisted channel."/>
      <exampleBoolean value="true"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="Parameters"/>
      </extension>
      <reference>
        <reference value="Parameters/ParametersHNZParticipateOptOut"/>
      </reference>
      <name value="ParametersHNZParticipateOptOut"/>
      <description value="Example parameters content to POST to the HNZ Participate (`$hnz-participate`) operation where a patient elects not to participate in the Shared Digital Health Record service by using an appropriate HNZ digital or assisted channel."/>
      <exampleBoolean value="true"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="Parameters"/>
      </extension>
      <reference>
        <reference value="Parameters/ParametersParticipate"/>
      </reference>
      <name value="ParametersParticipate"/>
      <description value="Example parameters content to POST to the Participate operation where a patient wishes to participate in the Shared Digital Health Record service."/>
      <exampleBoolean value="true"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="Parameters"/>
      </extension>
      <reference>
        <reference value="Parameters/ParametersParticipateRecordReleased"/>
      </reference>
      <name value="ParametersParticipateRecordReleased"/>
      <description value="Example parameters content to POST to the Participate operation where a patient has individual records that are no longer withheld."/>
      <exampleBoolean value="true"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="Parameters"/>
      </extension>
      <reference>
        <reference value="Parameters/ParametersParticipateRecordWithheld"/>
      </reference>
      <name value="ParametersParticipateRecordWithheld"/>
      <description value="Example parameters content to POST to the Participate operation where a patient has individual records that are withheld - e.g. records marked as `Confidential`."/>
      <exampleBoolean value="true"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="CodeSystem"/>
      </extension>
      <reference>
        <reference value="CodeSystem/sdhr-other-codes"/>
      </reference>
      <name value="SDHR Codes where the appropriate code is not known or can not be determined."/>
      <description value="This code system is used when the appropriate code is not known or can not be determined."/>
      <exampleBoolean value="false"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="CodeSystem"/>
      </extension>
      <reference>
        <reference value="CodeSystem/sdhr-participation-reason"/>
      </reference>
      <name value="SDHR Participation Reason Codes"/>
      <description value="This code system defines the reasons for a patient to participate in the Shared Digital Health Record service."/>
      <exampleBoolean value="false"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="CodeSystem"/>
      </extension>
      <reference>
        <reference value="CodeSystem/sdhr-outcome-codes"/>
      </reference>
      <name value="SDHR Specific Outcome Codes"/>
      <description value="This code system defines standard OperationOucome codes used throughout this Implementation Guide for New Zealand Shared Digital Health Records"/>
      <exampleBoolean value="false"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="StructureDefinition:resource"/>
      </extension>
      <reference>
        <reference value="StructureDefinition/SDHRAllergyIntolerance"/>
      </reference>
      <name value="SDHRAllergyIntolerance"/>
      <description value="AllergyIntolerance FHIR resource for Shared Digital Health Record"/>
      <exampleBoolean value="false"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="StructureDefinition:resource"/>
      </extension>
      <reference>
        <reference value="StructureDefinition/SDHRCondition"/>
      </reference>
      <name value="SDHRCondition"/>
      <description value="Condition resource to record problems and conditions affecting a person"/>
      <exampleBoolean value="false"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="StructureDefinition:resource"/>
      </extension>
      <reference>
        <reference value="StructureDefinition/SDHRConsent"/>
      </reference>
      <name value="SDHRConsent"/>
      <description value="Consent resource created to reflect a patient's preferences with regard to sharing their information with authorised health workers via the shared digital health record service.&#xA;            Note that this is a protected resource and scopes required to manage this resource are not provisioned to most API consumers.&#xA;            A patient's participation preferences should be managed by the [Participate Operation](./OperationDefinition-SDHRParticipateOperation.html).&#xA;            For more details on the participate operation see [SDHR Custom Operations](./api.html#sdhr-custom-operations)."/>
      <exampleBoolean value="false"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="OperationDefinition"/>
      </extension>
      <reference>
        <reference value="OperationDefinition/SDHRHNZParticipateOperation"/>
      </reference>
      <name value="SDHRHNZParticipateOperation"/>
      <description value="This operation allows a patient to choose to participate in the Shared Digital Health Record service via HNZ assisted channels.&#xA;This operation should only be used by HNZ channels.&#xA;&#xA;Scenarios where this operation might be used include:&#xA;- A patient has opted in to the Shared Digital Health Record service by contacting Health NZ via appropriate digital or assisted channels.&#xA;- A patient chooses not to participate in the Shared Digital Health Record service and informs Health NZ of this choice via appropriate digital or assisted channels.&#xA;&#xA;For example payloads that might be used with this operation see:&#xA;- [Parameters resource for total non-participation](./Parameters-ParametersHNZParticipateOptOut.html) : This example shows how to indicate that a patient does not wish to participate in the Shared Digital Health Record service (has opted out).&#xA;- [Parameters resource for participation](./Parameters-ParametersHNZParticipateOptIn.html) : This example shows how to indicate that a patient wishes to participate in the Shared Digital Health Record service.&#xA;&#xA;To make a request to this operation the API Consumer must POST a `Parameters` payload to the operation URL (e.g. `POST https://api.sdhr.digital.health.nz/s2s/$hnz-participate`).&#xA;&#xA;The operation is idempotent, meaning that multiple requests with the same parameters will have the same effect as a single request.&#xA;The operation is expected to be called by a Health NZ channel system on behalf of the patient, and the patient must be identified by their NHI.&#xA;The operation will return an OperationOutcome resource indicating the result of the operation."/>
      <exampleBoolean value="false"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="StructureDefinition:resource"/>
      </extension>
      <reference>
        <reference value="StructureDefinition/SDHRImmunization"/>
      </reference>
      <name value="SDHRImmunization"/>
      <description value="https://healthnz-prm.gitlab.io/air/air-api-fhir-ig/StructureDefinition-air-immunization.html Aotearoa Immunisation Register resource."/>
      <exampleBoolean value="false"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="StructureDefinition:resource"/>
      </extension>
      <reference>
        <reference value="StructureDefinition/SDHRObservation"/>
      </reference>
      <name value="SDHRObservation"/>
      <description value="A Shared Digital Health Record Observation."/>
      <exampleBoolean value="false"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="OperationDefinition"/>
      </extension>
      <reference>
        <reference value="OperationDefinition/SDHRParticipateOperation"/>
      </reference>
      <name value="SDHRParticipateOperation"/>
      <description value="This operation allows a patient to choose to participate in the Shared Digital Health Record service.&#xA;This operation should be used by data providers in the Shared Digital Health Record ecosystem such as Patient Management Systems (PMS) or Electronic Health Record (EHR) systems.&#xA;It can be used to indicate whether the patient wishes to participate, whether any resources are withheld, and the reason for participation. The scope of this operation is the API consumer - e.g. an HPI Facility where patient data is held.&#xA;&#xA;Scenarios where this operation might be used include:&#xA;- A patient has opted in to the Shared Digital Health Record service and appropriate data will be shared from the data holder to the service.&#xA;- A patient chooses not to participate in the Shared Digital Health Record service and informs their healthcare provider of this choice.&#xA;- A patient has one or more confidential records, held at their healthcare provider, that are withheld from the service.&#xA;- A patient has previously withheld records but has now released them to the Shared Digital Health Record service.&#xA;&#xA;For example payloads that might be used with this operation see:&#xA;- [Parameters resource for total non-participation](./Parameters-ParametersDoNotParticipate.html) : This example shows how to indicate that a patient does not wish to participate in the Shared Digital Health Record service (has opted out).&#xA;- [Parameters resource for participation](./Parameters-ParametersParticipate.html) : This example shows how to indicate that a patient wishes to participate in the Shared Digital Health Record service, where previously opted out (opt-in).&#xA;- [Parameters resource for partial participation with withheld records](./Parameters-ParametersParticipateRecordWithheld.html) : This example shows how to indicate that a patient has some confidential records that are withheld from the Shared Digital Health Record service.&#xA;- [Parameters resource for releasing withheld records](./Parameters-ParametersParticipateRecordReleased.html) : This example shows how to indicate that a patient has previously withheld records but has now released them to the Shared Digital Health Record service.&#xA;&#xA;To make a request to this operation the API Consumer must POST a `Parameters` payload to the operation URL (e.g. `POST https://api.sdhr.digital.health.nz/s2s/$participate`).&#xA;&#xA;The operation is idempotent, meaning that multiple requests with the same parameters will have the same effect as a single request.&#xA;The operation is expected to be called by a healthcare provider on behalf of the patient, and the patient must be identified by their NHI.&#xA;The operation will return an OperationOutcome resource indicating the result of the operation."/>
      <exampleBoolean value="false"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="Bundle"/>
      </extension>
      <reference>
        <reference value="Bundle/SearchConditionResponseExample"/>
      </reference>
      <name value="SearchConditionResponseExample"/>
      <description value="Example of a search response for a condition search. In this case the search response returns one result using the search parameters `code` and `subject`. `GET /Condition?subject=https://api.hip.digital.health.nz/fhir/Patient/ZKC7284&amp;code=http://snomed.info/sct%7C38341003`"/>
      <exampleBoolean value="true"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="Bundle"/>
      </extension>
      <reference>
        <reference value="Bundle/SearchConfidentialRecordsResponseExample"/>
      </reference>
      <name value="SearchConfidentialRecordsResponseExample"/>
      <description value="Example of a searchset API response for an AllergyIntolerance resource search.&#xA;In this case, the search response returns one entry item, with a total count of 2. This is because the API will not return the confidential record.&#xA;The redacted security label is applied to the Bundle response, to indicate that confidential records have been removed from the result set.&#xA;See the [API documentation](./api.html#sdhr-confidential-record-api-behaviour) for more information."/>
      <exampleBoolean value="true"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="Bundle"/>
      </extension>
      <reference>
        <reference value="Bundle/SearchExactMatchRecordWithheldExample"/>
      </reference>
      <name value="SearchExactMatchRecordWithheldExample"/>
      <description value="Example of a searchset API response for an Condition resource search where the patient has withheld records at their PMS.&#xA;In this case, the server does not have the record but the parameters supplied in the search mean we are able to uniquely match to a single record that has been withheld using the $participate operation.&#xA;The search response returns zero entries `'total':0`.&#xA;The response includes an entry which is an `OperationOutcome` resource indicating that records were withheld at source.&#xA;This is indicated by the `search.mode` being set to `outcome` for the `OperationOutcome` entry."/>
      <exampleBoolean value="true"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="Bundle"/>
      </extension>
      <reference>
        <reference value="Bundle/SearchWithRecordsWithheldExample"/>
      </reference>
      <name value="SearchWithRecordsWithheldExample"/>
      <description value="Example of a searchset API response for an Condition resource search where the patient has withheld records at their PMS.&#xA;In this case, the search response returns one entry `'total':1`.&#xA;The response also includes an entry which is an `OperationOutcome` resource indicating that some records were withheld at source.&#xA;This is indicated by the `search.mode` being set to `outcome` for the `OperationOutcome` entry."/>
      <exampleBoolean value="true"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="ValueSet"/>
      </extension>
      <reference>
        <reference value="ValueSet/sdhr-allergyintolerance-code-valueset"/>
      </reference>
      <name value="ValueSet for AllergyIntolerance Code"/>
      <description value="A ValueSet containing all codes from the AllergyIntolerance Code system."/>
      <exampleBoolean value="false"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="ValueSet"/>
      </extension>
      <reference>
        <reference value="ValueSet/sdhr-allergyintolerance-manifestation-valueset"/>
      </reference>
      <name value="ValueSet for AllergyIntolerance Manifestation"/>
      <description value="A ValueSet containing all codes from the AllergyIntolerance Manifestation system."/>
      <exampleBoolean value="false"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="ValueSet"/>
      </extension>
      <reference>
        <reference value="ValueSet/sdhr-allergyintolerance-severity-valueset"/>
      </reference>
      <name value="ValueSet for AllergyIntolerance Severity"/>
      <description value="A ValueSet containing all codes from the AllergyIntolerance Severity system."/>
      <exampleBoolean value="false"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="ValueSet"/>
      </extension>
      <reference>
        <reference value="ValueSet/sdhr-participation-reason-valueset"/>
      </reference>
      <name value="ValueSet for SDHR Participation Reason"/>
      <description value="A ValueSet containing all codes from the SDHR Participation Reason system."/>
      <exampleBoolean value="false"/>
    </resource>
    <resource>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/resource-information">
        <valueString value="ValueSet"/>
      </extension>
      <reference>
        <reference value="ValueSet/sdhr-resource-tags-valueset"/>
      </reference>
      <name value="ValueSet for SDHR Resource Tags"/>
      <description value="A ValueSet containing all codes from the SDHR Resource Tags system."/>
      <exampleBoolean value="false"/>
    </resource>
    <page>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-page-name">
        <valueUrl value="toc.html"/>
      </extension>
      <nameUrl value="toc.html"/>
      <title value="Table of Contents"/>
      <generation value="html"/>
      <page>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-page-name">
          <valueUrl value="index.html"/>
        </extension>
        <nameUrl value="index.html"/>
        <title value="NZ Shared Digital Health Record API"/>
        <generation value="markdown"/>
      </page>
      <page>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-page-name">
          <valueUrl value="use-cases.html"/>
        </extension>
        <nameUrl value="use-cases.html"/>
        <title value="Use cases"/>
        <generation value="markdown"/>
      </page>
      <page>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-page-name">
          <valueUrl value="consent-based-access.html"/>
        </extension>
        <nameUrl value="consent-based-access.html"/>
        <title value="Consent based access control"/>
        <generation value="markdown"/>
      </page>
      <page>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-page-name">
          <valueUrl value="artifacts.html"/>
        </extension>
        <nameUrl value="artifacts.html"/>
        <title value="FHIR Artifacts"/>
        <generation value="html"/>
      </page>
      <page>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-page-name">
          <valueUrl value="compliance-requirements.html"/>
        </extension>
        <nameUrl value="compliance-requirements.html"/>
        <title value="Compliance Requirements - for Systems Sharing Data"/>
        <generation value="markdown"/>
      </page>
      <page>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-page-name">
          <valueUrl value="data-models.html"/>
        </extension>
        <nameUrl value="data-models.html"/>
        <title value="Data Models"/>
        <generation value="markdown"/>
      </page>
      <page>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-page-name">
          <valueUrl value="api.html"/>
        </extension>
        <nameUrl value="api.html"/>
        <title value="API Docs"/>
        <generation value="markdown"/>
      </page>
      <page>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-page-name">
          <valueUrl value="test-data.html"/>
        </extension>
        <nameUrl value="test-data.html"/>
        <title value="Test Data"/>
        <generation value="markdown"/>
      </page>
    </page>
    <parameter>
      <code value="path-resource"/>
      <value value="input/capabilities"/>
    </parameter>
    <parameter>
      <code value="path-resource"/>
      <value value="input/examples"/>
    </parameter>
    <parameter>
      <code value="path-resource"/>
      <value value="input/extensions"/>
    </parameter>
    <parameter>
      <code value="path-resource"/>
      <value value="input/models"/>
    </parameter>
    <parameter>
      <code value="path-resource"/>
      <value value="input/operations"/>
    </parameter>
    <parameter>
      <code value="path-resource"/>
      <value value="input/profiles"/>
    </parameter>
    <parameter>
      <code value="path-resource"/>
      <value value="input/resources"/>
    </parameter>
    <parameter>
      <code value="path-resource"/>
      <value value="input/vocabulary"/>
    </parameter>
    <parameter>
      <code value="path-resource"/>
      <value value="input/maps"/>
    </parameter>
    <parameter>
      <code value="path-resource"/>
      <value value="input/testing"/>
    </parameter>
    <parameter>
      <code value="path-resource"/>
      <value value="input/history"/>
    </parameter>
    <parameter>
      <code value="path-resource"/>
      <value value="fsh-generated/resources"/>
    </parameter>
    <parameter>
      <code value="path-pages"/>
      <value value="template/config"/>
    </parameter>
    <parameter>
      <code value="path-pages"/>
      <value value="input/images"/>
    </parameter>
    <parameter>
      <code value="path-tx-cache"/>
      <value value="input-cache/txcache"/>
    </parameter>
  </definition>
</ImplementationGuide>