Example Consent/consent-example-grantor (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Patient grants access to a specified individual for read-only access
@prefix fhir: <http://hl7.org/fhir/> .
@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-grantor"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>Consent given to authorized representative</p>\n <p>This is a case where a Patient is giving a limited (read-only) access to an individual.</p>\n <p>Patient "Roel" wishes to provide Dr. Simone Heps with read-only access to the data at Blijdorp Medisch Centrum available for patient requested access use.</p>\n </div>"
];
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/v3-ActCode" ];
fhir:Coding.code [ fhir:value "INFAO" ]
]
];
fhir:Consent.subject [
fhir:Reference.reference [ fhir:value "Patient/f201" ];
fhir:Reference.display [ fhir:value "Roel" ]
];
fhir:Consent.dateTime [ fhir:value "2018-12-24"^^xsd:date];
fhir:Consent.grantor [
fhir:index 0;
fhir:Reference.reference [ fhir:value "Patient/pat1" ]
];
fhir:Consent.grantee [
fhir:index 0;
fhir:Reference.reference [ fhir:value "Practitioner/f007" ];
fhir:Reference.display [ fhir:value "Simone Heps" ]
];
fhir:Consent.controller [
fhir:index 0;
fhir:Reference.reference [ fhir:value "Organization/f203" ]
];
fhir:Consent.sourceAttachment [
fhir:index 0;
fhir:Attachment.title [ fhir:value "The terms of the consent in lawyer speak." ]
];
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 "INFAO" ]
]
];
fhir:Consent.provision [
fhir:Consent.provision.type [ fhir:value "deny" ];
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 "CST" ]
]
];
fhir:Consent.provision.actor.reference [
fhir:Reference.reference [ fhir:value "Organization/f203" ]
]
], [
fhir:index 1;
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/f007" ];
fhir:Reference.display [ fhir:value "Simone Heps" ]
]
];
fhir:Consent.provision.action [
fhir:index 0;
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/consentaction" ];
fhir:Coding.code [ fhir:value "access" ]
]
]
]
]] .
# - 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.