<?xml version=“1.0” encoding=“UTF-8”?> <Consent xmlns=“hl7.org/fhir”>
<id value="consent-example-pkb"/> <meta> <security> <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/> <code value="HTEST"/> <display value="test health data"/> </security> </meta> <status value="active"/> <scope> <coding> <system value="http://terminology.hl7.org/CodeSystem/consentscope"/> <code value="patient-privacy"/> </coding> </scope> <category> <coding> <system value="http://loinc.org"/> <code value="59284-0"/> </coding> </category> <patient> <reference value="Patient/example"/> <display value="...example patient..."/> </patient> <dateTime value="2016-06-16"/> <organization> <reference value="Organization/f001"/> </organization> <!-- nothing is approved unless the patient says it is --> <policyRule> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/> <code value="OPTOUT"/> </coding> </policyRule> <provision> <!-- we permit --> <actor> <!-- as a receiver of data --> <role> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/> <code value="PRCP"/> </coding> </role> <!-- the non-migrated team --> <reference> <reference value="Organization/f001"/> </reference> </actor> <!-- to read --> <action> <coding> <system value="http://terminology.hl7.org/CodeSystem/consentaction"/> <code value="access"/> </coding> </action> <!-- any data with confidentiality N --> <securityLabel> <system value="http://terminology.hl7.org/CodeSystem/v3-Confidentiality"/> <code value="N"/> </securityLabel> <provision> <!-- we permit --> <actor> <!-- as a receiver of data --> <role> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/> <code value="PRCP"/> </coding> </role> <!-- the non-migrated team --> <reference> <reference value="Organization/f001"/> </reference> </actor> <!-- to read --> <action> <coding> <system value="http://terminology.hl7.org/CodeSystem/consentaction"/> <code value="access"/> </coding> </action> <!-- any data with tag PSY (see security labels) --> <securityLabel> <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/> <code value="PSY"/> </securityLabel> </provision> <provision> <!-- we permit --> <actor> <!-- as a receiver of data --> <role> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/> <code value="PRCP"/> </coding> </role> <!-- the non-migrated team --> <reference> <reference value="Organization/f001"/> </reference> </actor> <!-- to read --> <action> <coding> <system value="http://terminology.hl7.org/CodeSystem/consentaction"/> <code value="access"/> </coding> </action> <!-- any data with and tag SPI (see security labels). SPI is nearest? --> <securityLabel> <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/> <code value="SPI"/> </securityLabel> </provision> <!-- other teams follow the same pattern --> <provision> <actor> <role> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/> <code value="PRCP"/> </coding> </role> <reference> <reference value="Organization/f001"/> </reference> </actor> <action> <coding> <system value="http://terminology.hl7.org/CodeSystem/consentaction"/> <code value="access"/> </coding> </action> <securityLabel> <system value="http://terminology.hl7.org/CodeSystem/v3-Confidentiality"/> <code value="N"/> </securityLabel> </provision> <provision> <actor> <role> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/> <code value="PRCP"/> </coding> </role> <reference> <reference value="Organization/f001"/> </reference> </actor> <action> <coding> <system value="http://terminology.hl7.org/CodeSystem/consentaction"/> <code value="access"/> </coding> </action> <securityLabel> <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/> <code value="PSY"/> </securityLabel> </provision> <provision> <actor> <role> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/> <code value="PRCP"/> </coding> </role> <reference> <reference value="Organization/f001"/> </reference> </actor> <action> <coding> <system value="http://terminology.hl7.org/CodeSystem/consentaction"/> <code value="access"/> </coding> </action> <securityLabel> <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/> <code value="SPI"/> </securityLabel> </provision> <provision> <actor> <role> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/> <code value="PRCP"/> </coding> </role> <reference> <reference value="Organization/f001"/> </reference> </actor> <action> <coding> <system value="http://terminology.hl7.org/CodeSystem/consentaction"/> <code value="access"/> </coding> </action> <securityLabel> <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/> <code value="SEX"/> </securityLabel> </provision> <provision> <actor> <role> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/> <code value="PRCP"/> </coding> </role> <reference> <reference value="Organization/f001"/> </reference> </actor> <action> <coding> <system value="http://terminology.hl7.org/CodeSystem/consentaction"/> <code value="access"/> </coding> </action> <securityLabel> <system value="http://terminology.hl7.org/CodeSystem/v3-Confidentiality"/> <code value="N"/> </securityLabel> </provision> <provision> <actor> <role> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/> <code value="PRCP"/> </coding> </role> <reference> <reference value="Organization/f001"/> </reference> </actor> <action> <coding> <system value="http://terminology.hl7.org/CodeSystem/consentaction"/> <code value="access"/> </coding> </action> <securityLabel> <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/> <code value="PSY"/> </securityLabel> </provision> <provision> <actor> <role> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/> <code value="PRCP"/> </coding> </role> <reference> <reference value="Organization/f001"/> </reference> </actor> <action> <coding> <system value="http://terminology.hl7.org/CodeSystem/consentaction"/> <code value="access"/> </coding> </action> <securityLabel> <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/> <code value="SPI"/> </securityLabel> </provision> <provision> <actor> <role> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/> <code value="PRCP"/> </coding> </role> <reference> <reference value="Organization/f001"/> </reference> </actor> <action> <coding> <system value="http://terminology.hl7.org/CodeSystem/consentaction"/> <code value="access"/> </coding> </action> <securityLabel> <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/> <code value="SEX"/> </securityLabel> </provision> <provision> <actor> <role> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/> <code value="PRCP"/> </coding> </role> <reference> <reference value="Organization/f001"/> </reference> </actor> <action> <coding> <system value="http://terminology.hl7.org/CodeSystem/consentaction"/> <code value="access"/> </coding> </action> <securityLabel> <system value="http://terminology.hl7.org/CodeSystem/v3-Confidentiality"/> <code value="N"/> </securityLabel> </provision> </provision>
</Consent>