This page is part of the FHIR Specification (v4.3.0: R4B - STU). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
. Page versions: R5 R4B R4 R3
| Financial Management Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Not linked to any defined compartments |
Raw Turtle (+ also see Turtle/RDF Format Specification)
ConsentDirective Example
@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
# - resource -------------------------------------------------------------------
[] a fhir:Contract;
fhir:Resource.id [ fhir:value "pcd-example-notAuthor"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ]
];
fhir:Contract.issued [ fhir:value "2015-11-18"];
fhir:Contract.subject [
fhir:index 0;
fhir:Reference.reference [ fhir:value "Patient/f001" ];
fhir:Reference.display [ fhir:value "P. van de Heuvel" ]
];
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" ]
];
fhir:Contract.type [
fhir:CodeableConcept.coding [
fhir:index 0;
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." ]
]
];
fhir:Contract.term [
fhir:index 0;
fhir:Contract.type [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://example.org/fhir/consent-term-type-codes" ];
fhir:Coding.code [ fhir:value "withhold-authored-by" ];
fhir:Coding.display [ fhir:value "Withhold all data authored by specified actor entity." ]
]
];
fhir:Contract.offer [
fhir:Contract.topic [
fhir:Reference.reference [ fhir:value "Organization/2.16.840.1.113883.19.5" ];
fhir:Reference.display [ fhir:value "Good Health Clinic" ]
];
fhir:Contract.text [ fhir:value "Withhold all data authored by Good Health provider." ]
]
];
fhir:Contract.friendly [
fhir:index 0;
fhir:Contract.content [
fhir:Attachment.title [ fhir:value "The terms of the consent in friendly consumer speak." ]
]
];
fhir:Contract.legal [
fhir:index 0;
fhir:Contract.content [
fhir:Attachment.title [ fhir:value "The terms of the consent in lawyer speak." ]
]
] .
# -------------------------------------------------------------------------------------
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.