This
page
is
part
of
the
FHIR
Specification
(v3.0.2:
STU
3).
The
current
version
which
supercedes
this
version
is
5.0.0
.
For
a
full
list
Continuous
Integration
Build
of
available
versions,
see
FHIR
(will
be
incorrect/inconsistent
at
times).
See
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
R3
Consent-example.ttl
Example
Consent/consent-example-basic
(Turtle)
Raw
Turtle
,
JSON-LD
(+
also
see
Turtle/RDF
Format
Specification
)
General
Consent
Example
@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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><p>\n Patient "P. van de Heuvel" 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:Consent.status [ fhir:value "active"];
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.period [
fhir:Period.start [ fhir:value "1964-01-01"^^xsd:date ];
fhir:Period.end [ fhir:value "2016-01-01"^^xsd:date ]
];
fhir:Consent.dateTime [ fhir:value "2016-05-11"^^xsd:date];
fhir:Consent.organization [
fhir:index 0;
fhir:link <http://hl7.org/fhir/Organization/Infoway>;
fhir:Reference.reference [ fhir:value "Organization/Infoway" ];
fhir:Reference.display [ fhir:value "Canada Infoway" ]
];
fhir:Consent.sourceAttachment [
fhir:Attachment.title [ fhir:value "The terms of the consent in lawyer speak." ]
];
fhir:Consent.policyRule [ fhir:value "http://goodhealth.org/consent/policy/opt-in"] .
<http://hl7.org/fhir/Patient/f001> a fhir:Patient .
<http://hl7.org/fhir/Organization/Infoway> a fhir:Organization .
<http://hl7.org/fhir/Consent/consent-example-basic> a fhir:Consent ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "consent-example-basic"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>\n Authorize Normal access for Treatment\n </p>\n <p>\n Patient \"Peter James Chalmers (\"Jim\")\" wishes to have all of the PHI (Personal health information) collected at the Burgers University Medical Center available for normal treatment use.\n </p>\n </div>"^^rdf:XMLLiteral ]
] ; #
fhir:status [ fhir:v "active"] ; #
fhir:category ( [
fhir:coding ( [
a loinc:59284-0 ;
fhir:system [
fhir:v "http://loinc.org"^^xsd:anyURI ;
fhir:l <http://loinc.org>
] ;
fhir:code [ fhir:v "59284-0" ]
] )
] ) ; #
fhir:subject [
fhir:l <http://hl7.org/fhir/Patient/example> ;
fhir:reference [ fhir:v "Patient/example" ] ;
fhir:display [ fhir:v "Peter James Chalmers" ]
] ; #
fhir:date [ fhir:v "2018-12-28"^^xsd:date] ; #
fhir:controller ( [
fhir:l <http://hl7.org/fhir/Organization/f001> ;
fhir:reference [ fhir:v "Organization/f001" ]
] ) ; #
fhir:sourceAttachment ( [
fhir:title [ fhir:v "The terms of the consent in lawyer speak." ]
] ) ; # the terms of the consent as signed by the patient in ink , likely use url pointer to common text
fhir:regulatoryBasis ( [
fhir:coding ( [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>
] ;
fhir:code [ fhir:v "INFA" ]
] )
] ) ; # this is plain out opt-in with no exceptions
fhir:decision [ fhir:v "deny"] ; #
fhir:provision ( [
fhir:period [
fhir:start [ fhir:v "1964-01-01"^^xsd:date ] ;
fhir:end [ fhir:v "2019-01-01"^^xsd:date ]
] # bound by a timeframe between 1964 and 2019 - consent.applies
] ) . #
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/Patient/example> a fhir:Patient .
<http://hl7.org/fhir/Consent/consent-example-basic.ttl> a owl:Ontology;
owl:imports fhir:fhir.ttl;
owl:versionIRI <http://hl7.org/fhir/STU3/Consent/consent-example-basic.ttl> .
<http://hl7.org/fhir/Organization/f001> a fhir:Organization .
# -------------------------------------------------------------------------------------
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.