C-CDA on FHIR
1.2.0 - STU 1 United States of America flag

This page is part of the C-CDA on FHIR Implementation Guide (v1.2.0: STU 1) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: Consent Example Basic - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://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:id [ fhir:v "consent-example-basic"] ; # 
  fhir:meta [
fhir:versionId [ fhir:v "7" ] ;
fhir:lastUpdated [ fhir:v "2020-08-13T00:30:34.762+00:00"^^xsd:dateTime ] ;
fhir:source [ fhir:v "#OBOGLY1IcS3QsGrB"^^xsd:anyURI ]
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Consent</b><a name=\"consent-example-basic\"> </a><a name=\"hcconsent-example-basic\"> </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-basic&quot; Version &quot;7&quot; Updated &quot;2020-08-13 00:30:34+0000&quot; </p><p style=\"margin-bottom: 0px\">Information Source: #OBOGLY1IcS3QsGrB!</p></div><p><b>status</b>: active</p><p><b>scope</b>: Privacy Consent <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-consentscope.html\">Consent Scope Codes</a>#patient-privacy)</span></p><p><b>category</b>: Consent <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#59284-0)</span></p><p><b>patient</b>: <a href=\"Patient-example.html\">Patient/example</a> &quot; NOELLE&quot;</p><p><b>dateTime</b>: 2016-05-11</p><p><b>organization</b>: <a href=\"Organization-organization-2.html\">Organization/organization-2</a> &quot;Acme Clinic&quot;</p><p><b>source</b>: </p><p><b>policyRule</b>: opt-in <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-v3-ActCode.html\">ActCode</a>#OPTIN)</span></p><h3>Provisions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Period</b></td></tr><tr><td style=\"display: none\">*</td><td>1964-01-01 --&gt; 2020-01-01</td></tr></table></div>"
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:scope [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/consentscope"^^xsd:anyURI ] ;
fhir:code [ fhir:v "patient-privacy" ]     ] )
  ] ; # 
  fhir:category ( [
    ( fhir:coding [
a loinc:59284-0 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "59284-0" ]     ] )
  ] ) ; # 
  fhir:patient [
fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:dateTime [ fhir:v "2016-05-11"^^xsd:date] ; # 
  fhir:organization ( [
fhir:reference [ fhir:v "Organization/organization-2" ]
  ] ) ; # 
  fhir:source [
a fhir:Attachment ;
fhir:url [ fhir:v "http://example.org/not-a-real-consent-just-an-example-url.pdf"^^xsd:anyURI ] ;
fhir:title [ fhir:v "The terms of the consent in lawyer speak." ]
  ] ; # 
  fhir:policyRule [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "OPTIN" ]     ] )
  ] ; # 
  fhir:provision [
fhir:period [
fhir:start [ fhir:v "1964-01-01"^^xsd:date ] ;
fhir:end [ fhir:v "2020-01-01"^^xsd:date ]     ]
  ] . #