This page is part of the FHIR Specification (v4.2.0: R5 Preview #1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
Community Based Collaborative Care Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Patient |
Raw XML (canonical form + also see XML Format Specification)
Share CDA documents from a specific author to a specific recipient (id = "consent-example-CDA")
<?xml version="1.0" encoding="UTF-8"?> <Consent xmlns="http://hl7.org/fhir"> <id value="consent-example-CDA"/> <!-- The patient opts in to sharing CDA documents from a specific author to a specific recipient for a limited period --> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p> <b> Generated Narrative with Details</b> </p> <p> <b> id</b> : consent-example-CDA</p> <p> <b> identifier</b> : 494e0c7a-a69e-4fb4-9d02-6aae747790d7</p> <p> <b> status</b> : active</p> <p> <b> scope</b> : Privacy Consent <span> (Details : {http://terminology.hl7.org/CodeSystem/consentscope code 'patient-privacy' = 'Privacy Consent)</span> </p> <p> <b> category</b> : Notice of Privacy Practices <span> (Details : {http://terminology.hl7.org/CodeSystem/consentcategorycodes code 'npp' = 'Notice of Privacy Practices)</span> </p> <p> <b> patient</b> : <a> Patient/pat2</a> </p> <p> <b> dateTime</b> : 28 Dec. 2018, 12:41:10 am</p> <p> <b> performer</b> : <a> Patient/pat2</a> </p> <p> <b> organization</b> : <a> Organization/f001</a> </p> <p> <b> sourceReference</b> : <a> Contract/pcd-example-notAuthor</a> </p> <p> <b> policyRule</b> : information access <span> (Details : {http://terminology.hl7.org/CodeSystem/v3-ActCode code 'INFA' = 'information access)</span> </p> <blockquote> <p> <b> provision</b> </p> <p> <b> type</b> : permit</p> <h3> Provisions</h3> <table> <tr> <td> -</td> </tr> <tr> <td> *</td> </tr> </table> </blockquote> </div> </text> <identifier> <system value="urn:oid:2.16.840.1.113883.3.72.5.9.1"/> <value value="494e0c7a-a69e-4fb4-9d02-6aae747790d7"/> <!-- consent GUID generated by application --> </identifier> <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/consentcategorycodes"/> <code value="npp"/> </coding> </category> <patient> <reference value="Patient/pat2"/> <!-- one of the stock examples --> </patient> <dateTime value="2018-12-28T00:41:10-04:00"/> <performer> <reference value="Patient/pat2"/> <!-- author is patient themselves, and they sign --> </performer> <!-- this consent relates to sharing data with a specific recipient --> <organization> <reference value="Organization/f001"/> </organization> <sourceReference> <!-- This Consent would be the machine usable version of a Contract resource where the original language and signatures are located --> <reference value="Contract/pcd-example-notAuthor"/> </sourceReference> <policyRule> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/> <code value="INFA"/> </coding> </policyRule> <!-- A base denial of access to Dr. F001 but allows for sharing CDA documents of type Discharge Summary + Summarization of Episode Note from a specific author for a limited period --> <provision> <type value="permit"/> <provision> <type value="deny"/> <period> <start value="2018-10-10"/> <end value="2019-10-10"/> </period> <actor> <role> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/> <code value="PRCP"/> </coding> </role> <reference> <reference value="Practitioner/f001"/> <!-- Stock practitioner --> </reference> </actor> <provision> <type value="permit"/> <actor> <role> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/> <code value="AUT"/> </coding> </role> <reference> <reference value="Practitioner/xcda-author"/> </reference> </actor> <!-- CDA documents --> <class> <system value="urn:ietf:bcp:13"/> <code value="application/hl7-cda+xml"/> </class> <!-- code rules --> <code> <coding> <system value="http://loinc.org"/> <code value="34133-9"/> </coding> </code> <code> <coding> <system value="http://loinc.org"/> <code value="18842-5"/> </coding> </code> </provision> </provision> </provision> </Consent>
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.