<Consent xmlns="http://hl7.org/fhir"><id value="consent-example-pkb"/><text><status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">
      <p>This example demonstrates how to encode this screen shot in a consent resource:</p>
      <p>
        <img src="pkb.png" alt="Screenshot from Patient Knows Best"/>
      </p>
      <p>Thanks to <a href="https://www.patientsknowbest.com/">Patients Know Best</a> for contributing this example</p>
      <p>Example uses SecurityLabels to define data types</p>
    </div></text><status value="active"/><category><coding><system value="http://loinc.org"/><code value="59284-0"/></coding></category><subject><reference value="Patient/example"/><display value="Peter James Chalmers"/></subject><date value="2018-12-28"/><controller><reference value="Organization/f001"/></controller><regulatoryBasis><coding><system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/><code value="INFA"/></coding></regulatoryBasis><decision value="deny"/><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><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-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>