Release 4 5 Preview #3
This page is part of the FHIR Specification (v4.0.1: R4 - Mixed Normative and STU ). This is the current published version in it's 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.ttl

Community Based Collaborative Care Work Group Maturity Level : N/A Standards Status : Informative Compartments : Patient

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

General Consent Example

@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 -------------------------------------------------------------------
<http://hl7.org/fhir/Consent/consent-example-basic> a fhir:Consent;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "consent-example-basic"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n			<p>\n	Authorize Normal access for Treatment\n			</p>\n			<p>\n    Patient &quot;P. van de Heuvel&quot; wishes to have all of the PHI collected at the Good Health Psychiatric Hospital \n   available for normal treatment use.\n			</p>\n		</div>"

     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p>\n	      Authorize Normal access for Treatment\n			</p>\n      <p>\n      Patient &quot;Peter James Chalmers (&quot;Jim&quot;)&quot; wishes to have all of the PHI collected at the Burgers University Medical Center available for normal treatment use.\n			</p>\n    </div>"

  ];
  fhir:Consent.status [ fhir:value "active"];
  fhir:Consent.scope [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/consentscope" ];
       fhir:Coding.code [ fhir:value "patient-privacy" ]
     ]
  ];
  fhir:Consent.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:59284-0;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "59284-0" ]
     ]
  ];
  fhir:Consent.patient [
     fhir:link <http://hl7.org/fhir/Patient/f001>;
     fhir:Reference.reference [ fhir:value "Patient/f001" ];
     fhir:Reference.display [ fhir:value "P. van de Heuvel" ]

  fhir:Consent.subject [
     fhir:link <http://hl7.org/fhir/Patient/Example>;
     fhir:Reference.reference [ fhir:value "Patient/Example" ];
     fhir:Reference.display [ fhir:value "Peter James Chalmers" ]

  ];
  fhir:Consent.dateTime [ fhir:value "2016-05-11"^^xsd:date];
  fhir:Consent.organization [

  fhir:Consent.dateTime [ fhir:value "2018-12-28"^^xsd:date];
  fhir:Consent.controller [

     fhir:index 0;
     fhir:link <http://hl7.org/fhir/Organization/f001>;
     fhir:Reference.reference [ fhir:value "Organization/f001" ]
  ];
  fhir:Consent.sourceAttachment [
     fhir:index 0;

     fhir:Attachment.title [ fhir:value "The terms of the consent in lawyer speak." ]
  ];
  fhir:Consent.policyRule [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
       fhir:Coding.code [ fhir:value "OPTIN" ]

       fhir:Coding.code [ fhir:value "INFA" ]

     ]
  ];
  fhir:Consent.provision [
     fhir:Consent.provision.period [
       fhir:Period.start [ fhir:value "1964-01-01"^^xsd:date ];
       fhir:Period.end [ fhir:value "2016-01-01"^^xsd:date ]

     fhir:Consent.provision.type [ fhir:value "deny" ];
     fhir:Consent.provision.provision [
       fhir:index 0;
       fhir:Consent.provision.type [ fhir:value "permit" ];
       fhir:Consent.provision.period [
         fhir:Period.start [ fhir:value "1964-01-01"^^xsd:date ];
         fhir:Period.end [ fhir:value "2019-01-01"^^xsd:date ]
       ]

     ]
  ] .
<http://hl7.org/fhir/Patient/f001> a fhir:Patient .

<http://hl7.org/fhir/Patient/Example> a fhir:Patient .

<http://hl7.org/fhir/Organization/f001> a fhir:Organization .
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/Consent/consent-example-basic.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/Consent/consent-example-basic.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.