Example Contract/pcd-example-notAuthor (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
ConsentDirective 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 -------------------------------------------------------------------
[a fhir:Contract;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "pcd-example-notAuthor"]; #
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">The following scenario is based on existing\n jurisdictional policy and are realized in existing systems in Canada. The default policy is\n one of implied consent for the provision of care, so these scenarios all deal with withdrawal\n or withholding consent for that purpose. In other jurisdictions, where an express consent\n model is used (Opt-In), these would examples would contain the phrase "consent to" rather than\n "withhold" or "withdraw" consent for. <p> specific to use-case 5) Withhold or withdraw consent\n for disclosure of records that were authored by a specific organization (or service delivery\n location). </p><p> Patient "P. van de Heuvel" wishes to have all of the PHI collected at the\n Good Health Psychiatric Hospital restricted from disclosure to every provider. </p>\n </div>"
]; #
fhir:Contract.issued [ fhir:value "2015-11-18"^^xsd:date]; #
fhir:Contract.subject [
fhir:index 0;
fhir:Reference.reference [ fhir:value "Patient/f001" ];
fhir:Reference.display [ fhir:value "P. van de Heuvel" ]
]; # not bound by a timeframe - Contract.applies
fhir:Contract.authority [
fhir:index 0;
fhir:Reference.reference [ fhir:value "Organization/3" ];
fhir:Reference.display [ fhir:value "Michigan Health" ]
]; #
fhir:Contract.domain [
fhir:index 0;
fhir:Reference.reference [ fhir:value "Location/ukp" ];
fhir:Reference.display [ fhir:value "UK Pharmacies" ]
]; # and/or would this [also] go into Contract.domain as a Jurisdiction?? (see the example on UK Pharamacy Juristiction)
fhir:Contract.type [
fhir:CodeableConcept.coding [
fhir:index 0;
a loinc:57016-8;
fhir:Coding.system [ fhir:value "http://loinc.org" ];
fhir:Coding.code [ fhir:value "57016-8" ]
]
]; #
fhir:Contract.subType [
fhir:index 0;
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://www.infoway-inforoute.ca.org/Consent-subtype-codes" ];
fhir:Coding.code [ fhir:value "Opt-In" ];
fhir:Coding.display [ fhir:value "Default Authorization with exceptions." ]
]
]; # made up code-system to represent the set of privacy consent sub-types known and published by Canada Infoway
fhir:Contract.term [
fhir:index 0;
fhir:Contract.term.type [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://example.org/fhir/consent-term-type-codes" ]; # made up code system
fhir:Coding.code [ fhir:value "withhold-authored-by" ];
fhir:Coding.display [ fhir:value "Withhold all data authored by specified actor entity." ]
]
];
fhir:Contract.term.offer [
fhir:Contract.term.offer.topic [
fhir:Reference.reference [ fhir:value "Organization/2.16.840.1.113883.19.5" ];
fhir:Reference.display [ fhir:value "Good Health Clinic" ]
];
fhir:Contract.term.offer.text [ fhir:value "Withhold all data authored by Good Health provider." ]
]
]; #
fhir:Contract.friendly [
fhir:index 0;
fhir:Contract.friendly.contentAttachment [
fhir:Attachment.title [ fhir:value "The terms of the consent in friendly consumer speak." ]
] # likely use url pointer to common text
]; # the terms of the consent in friendly consumer speak
fhir:Contract.legal [
fhir:index 0;
fhir:Contract.legal.contentAttachment [
fhir:Attachment.title [ fhir:value "The terms of the consent in lawyer speak." ]
] # likely use url pointer to common text , I think some think that this should be the pointer to the law by which this consent is derived under. Such as http:\/\/lois-laws.justice.gc.ca\/eng\/acts\/P-21\/index.html
]] . # the legal terms of the consent in lawyer speak
# - 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.