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

<SearchParameter xmlns="http://hl7.org/fhir">
  <id value="approval-provider-id"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: SearchParameter approval-provider-id</b></p><a name="approval-provider-id"> </a><a name="hcapproval-provider-id"> </a><h2>ApprovalProviderId</h2><p>Parameter <code>approval-provider-id</code>:<code>token</code></p><div><p>The provider (pharmacy) on the Approval, as carried in approval-detail.providerId. System-qualified against the provider id type namespace, e.g. approval-provider-id=https://fhir-ig.digital.health.nz/special-authority/ns/pharmacy-claimant-number|1234.</p>
</div><table class="grid"><tr><td>Resource</td><td><a href="http://hl7.org/fhir/R4/claimresponse.html">ClaimResponse</a></td></tr><tr><td>Expression</td><td><code>ClaimResponse.extension('https://fhir-ig.digital.health.nz/special-authority/StructureDefinition/approval-detail').extension('providerId').value</code></td></tr><tr><td>Processing Mode</td><td>Normal</td></tr><tr><td>Multiples</td><td><ul><li>multipleAnd: It's up to the server whether the parameter may repeat in order to specify multiple values that must all be true</li><li>multipleOr: It's up to the server whether the parameter can have multiple values (separated by comma) where at least one must be true</li></ul></td></tr></table></div>
  </text>
  <url value="https://fhir-ig.digital.health.nz/special-authority/SearchParameter/approval-provider-id"/>
  <version value="0.1.1"/>
  <name value="ApprovalProviderId"/>
  <status value="draft"/>
  <experimental value="false"/>
  <date value="2026-10-15"/>
  <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="The provider (pharmacy) on the Approval, as carried in approval-detail.providerId. System-qualified against the provider id type namespace, e.g. approval-provider-id=https://fhir-ig.digital.health.nz/special-authority/ns/pharmacy-claimant-number|1234."/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="NZ"/>
      <display value="New Zealand"/>
    </coding>
  </jurisdiction>
  <code value="approval-provider-id"/>
  <base value="ClaimResponse"/>
  <type value="token"/>
  <expression value="ClaimResponse.extension('https://fhir-ig.digital.health.nz/special-authority/StructureDefinition/approval-detail').extension('providerId').value"/>
  <xpathUsage value="normal"/>
</SearchParameter>