<Bundle xmlns="http://hl7.org/fhir">
  <id value="mitz-bundle-notify" />
  <type value="transaction" />
  <entry>
    <fullUrl value="urn:uuid:6ee882af-8a9b-48ee-9ace-da93624cbaf7" />
    <resource>
      <Consent>
        <id value="6ee882af-8a9b-48ee-9ace-da93624cbaf7" />
        <meta>
          <profile value="http://vzvz.nl/fhir/otv/StructureDefinition/mitz-consent-notify" />
        </meta>
        <text>
          <status value="generated" />
          <div xmlns="http://www.w3.org/1999/xhtml">De patiënt verleent toestemming om Behandelgegevens beschikbaar te stellen aan behandelaren in Huisartsen en huisartsenposten; Verpleging en verzorging; Apotheken; Ziekenhuizen, medische centra, klinieken, laboratoria en diagnostische centra.</div>
        </text>
        <contained>
          <Organization>
            <id value="fc7de018-b2b8-49e4-9fd8-6dbfa2418757" />
            <meta>
              <profile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-HealthcareProvider-Organization" />
            </meta>
            <type>
              <coding>
                <system value="http://vzvz.nl/fhir/otv/CodeSystem/raadplegende-zorgaanbiedercategorie" />
                <code value="RPZAC001" />
              </coding>
            </type>
            <name value="Huisartsen en huisartsenposten" />
          </Organization>
        </contained>
        <contained>
          <Organization>
            <id value="26001eae-2fd6-4cb5-9ceb-e6c7dbdbf9ed" />
            <meta>
              <profile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-HealthcareProvider-Organization" />
            </meta>
            <type>
              <coding>
                <system value="http://vzvz.nl/fhir/otv/CodeSystem/raadplegende-zorgaanbiedercategorie" />
                <code value="RPZAC104" />
                <display value="Ziekenhuizen, medische centra, klinieken, laboratoria en diagnostische centra" />
              </coding>
            </type>
            <name value="Ziekenhuizen, medische centra, klinieken, laboratoria en diagnostische centra" />
          </Organization>
        </contained>
        <contained>
          <Organization>
            <id value="58070973-83d0-431a-84ad-0ef6cec83e77" />
            <meta>
              <profile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-HealthcareProvider-Organization" />
            </meta>
            <type>
              <coding>
                <system value="http://vzvz.nl/fhir/otv/CodeSystem/raadplegende-zorgaanbiedercategorie" />
                <code value="RPZAC004" />
                <display value="Verpleging en verzorging" />
              </coding>
            </type>
            <name value="Verpleging en verzorging" />
          </Organization>
        </contained>
        <contained>
          <Organization>
            <id value="974bd0dc-3d1d-4bc5-b26f-3652d6f45325" />
            <meta>
              <profile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-HealthcareProvider-Organization" />
            </meta>
            <type>
              <coding>
                <system value="http://vzvz.nl/fhir/otv/CodeSystem/raadplegende-zorgaanbiedercategorie" />
                <code value="RPZAC005" />
                <display value="Apotheken" />
              </coding>
            </type>
            <name value="Apotheken" />
          </Organization>
        </contained>
        <status value="active" />
        <scope>
          <coding>
            <system value="http://terminology.hl7.org/CodeSystem/consentscope" />
            <code value="patient-privacy" />
          </coding>
        </scope>
        <category>
          <coding>
            <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode" />
            <code value="INFA" />
          </coding>
        </category>
        <patient>
          <reference value="urn:uuid:dad40f39-9948-4d61-8e73-98f89737ea75" />
        </patient>
        <dateTime value="2022-10-04T11:48:14+02:00" />
        <policyRule>
          <coding>
            <system value="http://vzvz.nl/fhir/otv/CodeSystem/toestemmingbron" />
            <code value="MITZ" />
          </coding>
        </policyRule>
        <provision>
          <type value="permit" />
          <actor>
            <role>
              <coding>
                <system value="http://dicom.nema.org/resources/ontology/DCM" />
                <code value="110153" />
              </coding>
            </role>
            <reference>
              <reference value="urn:uuid:6feb47e1-177c-418e-9725-12b3af11cc7c" />
            </reference>
          </actor>
          <actor>
            <role>
              <coding>
                <system value="http://dicom.nema.org/resources/ontology/DCM" />
                <code value="110152" />
              </coding>
            </role>
            <reference>
              <reference value="#fc7de018-b2b8-49e4-9fd8-6dbfa2418757" />
            </reference>
          </actor>
          <actor>
            <role>
              <coding>
                <system value="http://dicom.nema.org/resources/ontology/DCM" />
                <code value="110152" />
              </coding>
            </role>
            <reference>
              <reference value="#26001eae-2fd6-4cb5-9ceb-e6c7dbdbf9ed" />
            </reference>
          </actor>
          <actor>
            <role>
              <coding>
                <system value="http://dicom.nema.org/resources/ontology/DCM" />
                <code value="110152" />
              </coding>
            </role>
            <reference>
              <reference value="#58070973-83d0-431a-84ad-0ef6cec83e77" />
            </reference>
          </actor>
          <actor>
            <role>
              <coding>
                <system value="http://dicom.nema.org/resources/ontology/DCM" />
                <code value="110152" />
              </coding>
            </role>
            <reference>
              <reference value="#974bd0dc-3d1d-4bc5-b26f-3652d6f45325" />
            </reference>
          </actor>
          <purpose>
            <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason" />
            <code value="TREAT" />
          </purpose>
          <code>
            <coding>
              <system value="http://vzvz.nl/fhir/otv/CodeSystem/gegevenscategorie" />
              <code value="GGC002" />
              <display value="Behandelgegevens" />
            </coding>
          </code>
        </provision>
      </Consent>
    </resource>
    <request>
      <method value="POST" />
      <url value="Consent" />
    </request>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:dad40f39-9948-4d61-8e73-98f89737ea75" />
    <resource>
      <Patient>
        <id value="dad40f39-9948-4d61-8e73-98f89737ea75" />
        <text>
          <status value="generated" />
          <div xmlns="http://www.w3.org/1999/xhtml" xml:lang="nl-NL" lang="nl-NL">Patient wiens gegevens worden geraadpleegd</div>
        </text>
        <identifier>
          <system value="http://fhir.nl/fhir/NamingSystem/bsn" />
          <value value="900186033" />
        </identifier>
      </Patient>
    </resource>
    <request>
      <method value="POST" />
      <url value="Patient" />
    </request>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:6feb47e1-177c-418e-9725-12b3af11cc7c" />
    <resource>
      <Organization>
        <id value="6feb47e1-177c-418e-9725-12b3af11cc7c" />
        <text>
          <status value="generated" />
          <div xmlns="http://www.w3.org/1999/xhtml" xml:lang="nl-NL" lang="nl-NL">Dossierhoudende organisatie</div>
        </text>
        <identifier>
          <system value="http://fhir.nl/fhir/NamingSystem/ura" />
          <value value="90000697" />
        </identifier>
        <type>
          <coding>
            <system value="http://nictiz.nl/fhir/NamingSystem/organization-type" />
            <code value="V4" />
          </coding>
        </type>
      </Organization>
    </resource>
    <request>
      <method value="POST" />
      <url value="Organization" />
    </request>
  </entry>
</Bundle>