<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="mitz-consent-provider" />
  <language value="nl-NL" />
  <url value="http://vzvz.nl/fhir/otv/StructureDefinition/mitz-consent-provider" />
  <version value="4.0.0-beta.1" />
  <name value="MitzConsentProvider" />
  <status value="draft" />
  <publisher value="VZVZ" />
  <contact>
    <name value="VZVZ" />
    <telecom>
      <system value="email" />
      <value value="standaardisatie@vzvz.nl" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="Notification of a care provider to Mitz registry that the &#xA;'consent button' is used on behalf of the patient" />
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166" />
      <code value="NL" />
      <display value="Netherlands" />
    </coding>
  </jurisdiction>
  <copyright value="VZVZ" />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Consent" />
  <baseDefinition value="http://vzvz.nl/fhir/otv/StructureDefinition/mitz-base-consent" />
  <derivation value="constraint" />
  <differential>
    <element id="Consent.status">
      <path value="Consent.status" />
      <fixedCode value="active" />
    </element>
    <element id="Consent.policyRule">
      <path value="Consent.policyRule" />
      <comment value="PolicyRule is required therefore a fixed value to indicate the Mitz connector as provider of these consents" />
      <fixedCodeableConcept>
        <coding>
          <system value="http://vzvz.nl/fhir/otv/CodeSystem/toestemmingbron" />
          <code value="MC" />
        </coding>
      </fixedCodeableConcept>
    </element>
    <element id="Consent.provision.actor:dossierhoudend">
      <path value="Consent.provision.actor" />
      <sliceName value="dossierhoudend" />
      <definition value="Source provider. Only required when the consent is given to a specific provider." />
    </element>
    <element id="Consent.provision.code">
      <path value="Consent.provision.code" />
      <short value="Situation code" />
      <definition value="Situation code" />
      <binding>
        <strength value="required" />
        <valueSet value="http://vzvz.nl/fhir/otv/ValueSet/situatiecode" />
      </binding>
    </element>
  </differential>
</StructureDefinition>