Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: R5 Ballot - see ballot notes). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Example Consent/consent-example-CDA (Turtle)

Community Based Collaborative Care Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Patient

Raw Turtle (+ also see Turtle/RDF Format Specification)

Share CDA documents from a specific author to a specific recipient

@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

[a fhir:Consent;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "consent-example-CDA"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Consent</b><a name=\"consent-example-CDA\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Consent &quot;consent-example-CDA&quot; </p></div><p><b>identifier</b>: <span title=\"  The patient opts in to sharing CDA documents from a specific author to a specific recipient for a limited period  \">id: 494e0c7a-a69e-4fb4-9d02-6aae747790d7</span></p><p><b>status</b>: active</p><p><b>category</b>: Notice of Privacy Practices <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-consentcategorycodes.html\">Consent Category Codes</a>#npp)</span></p><p><b>subject</b>: <a href=\"patient-example-b.html\">Patient/pat2</a> &quot;Duck DONALD&quot;</p><p><b>dateTime</b>: 2018-12-28T00:41:10-04:00</p><p><b>grantee</b>: <a href=\"patient-example-b.html\">Patient/pat2</a> &quot;Duck DONALD&quot;</p><p><b>controller</b>: <span title=\"  this consent relates to sharing data with a specific recipient  \"><a href=\"organization-example-f001-burgers.html\">Organization/f001</a> &quot;Burgers University Medical Center&quot;</span></p><p><b>sourceReference</b>: <a href=\"pcd-example-notAuthor.html\">Contract/pcd-example-notAuthor</a></p><p><b>regulatoryBasis</b>: information access <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-ActCode.html\">ActCode</a>#INFA)</span></p><blockquote><p><b>provision</b></p><p><b>type</b>: permit</p><blockquote><p><b>provision</b></p><p><b>type</b>: deny</p><p><b>period</b>: 2018-10-10 --&gt; 2019-10-10</p></blockquote></blockquote></div>"
  ];
  fhir:Consent.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "urn:oid:2.16.840.1.113883.3.72.5.9.1" ];
     fhir:Identifier.value [ fhir:value "494e0c7a-a69e-4fb4-9d02-6aae747790d7" ]
  ];
  fhir:Consent.status [ fhir:value "active"];
  fhir:Consent.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/consentcategorycodes" ];
       fhir:Coding.code [ fhir:value "npp" ]
     ]
  ];
  fhir:Consent.subject [
     fhir:Reference.reference [ fhir:value "Patient/pat2" ]
  ];
  fhir:Consent.dateTime [ fhir:value "2018-12-28T00:41:10-04:00"^^xsd:dateTime];
  fhir:Consent.grantee [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Patient/pat2" ]
  ];
  fhir:Consent.controller [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Organization/f001" ]
  ];
  fhir:Consent.sourceReference [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Contract/pcd-example-notAuthor" ]
  ];
  fhir:Consent.regulatoryBasis [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
       fhir:Coding.code [ fhir:value "INFA" ]
     ]
  ];
  fhir:Consent.provision [
     fhir:Consent.provision.type [ fhir:value "permit" ];
     fhir:Consent.provision.provision [
       fhir:index 0;
       fhir:Consent.provision.type [ fhir:value "deny" ];
       fhir:Consent.provision.period [
         fhir:Period.start [ fhir:value "2018-10-10"^^xsd:date ];
         fhir:Period.end [ fhir:value "2019-10-10"^^xsd:date ]
       ];
       fhir:Consent.provision.actor [
         fhir:index 0;
         fhir:Consent.provision.actor.role [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ];
             fhir:Coding.code [ fhir:value "PRCP" ]
           ]
         ];
         fhir:Consent.provision.actor.reference [
           fhir:Reference.reference [ fhir:value "Practitioner/f001" ]
         ]
       ];
       fhir:Consent.provision.provision [
         fhir:index 0;
         fhir:Consent.provision.type [ fhir:value "permit" ];
         fhir:Consent.provision.actor [
           fhir:index 0;
           fhir:Consent.provision.actor.role [
             fhir:CodeableConcept.coding [
               fhir:index 0;
               fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ];
               fhir:Coding.code [ fhir:value "AUT" ]
             ]
           ];
           fhir:Consent.provision.actor.reference [
             fhir:Reference.reference [ fhir:value "Practitioner/xcda-author" ]
           ]
         ];
         fhir:Consent.provision.class [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "urn:ietf:bcp:13" ];
           fhir:Coding.code [ fhir:value "application/hl7-cda+xml" ]
         ];
         fhir:Consent.provision.code [
           fhir:index 0;
           fhir:CodeableConcept.coding [
             fhir:index 0;
             a loinc:34133-9;
             fhir:Coding.system [ fhir:value "http://loinc.org" ];
             fhir:Coding.code [ fhir:value "34133-9" ]
           ]
         ], [
           fhir:index 1;
           fhir:CodeableConcept.coding [
             fhir:index 0;
             a loinc:18842-5;
             fhir:Coding.system [ fhir:value "http://loinc.org" ];
             fhir:Coding.code [ fhir:value "18842-5" ]
           ]
         ]
       ]
     ]
  ]] .

# - ontology header ------------------------------------------------------------

[a owl:Ontology;
  owl:imports fhir:fhir.ttl] .

# -------------------------------------------------------------------------------------


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.