Example Consent/consent-example-Out (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Consent withholding access
@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-Out"]; #
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>The following scenario is based on existing jurisdictional policy and are realized in existing systems in Canada. \n The default policy is one of implied consent for the provision of care, so these scenarios all deal with withdrawal or withholding consent for that purpose. \n Withhold Authorization of sharing data for Treatment\n </p>\n <p>\n Patient "P. van de Heuvel" wishes to have no data at the Burgers University Medical Center available for normal treatment use.\n </p>\n </div>"
]; #
fhir:Consent.status [ fhir:value "active"]; #
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.subject [
fhir:Reference.reference [ fhir:value "Patient/f001" ];
fhir:Reference.display [ fhir:value "P. van de Heuvel" ]
]; #
fhir:Consent.date [ fhir:value "2018-12-28"^^xsd:date]; #
fhir:Consent.controller [
fhir:index 0;
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." ]
]; # likely use url pointer to common text
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" ]
]
]; # this is opt-IN - e.g. everything approved unless otherwise stated
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.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 "CST" ]
]
];
fhir:Consent.provision.actor.reference [
fhir:Reference.reference [ fhir:value "Organization/f001" ]
]
]
]
]] . #
# - 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.