Security
and
Privacy
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
| Responsible Owner: Security Work Group |
|
Compartments : Device , Group , Patient , Practitioner , RelatedPerson |
Raw
Turtle
,
JSON-LD
(+
also
see
Turtle/RDF
Format
Specification
)
General Provenance Example - data extracted from CDA document from XDS
@prefix fhir: <http://hl7.org/fhir/> . @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 sct: <http://snomed.info/id/> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource -------------------------------------------------------------------<http://hl7.org/fhir/Provenance/example> a fhir:Provenance; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "example"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">procedure record authored on 27-June 2015 by Harold Hippocrates, MD Content extracted from XDS managed CDA Referral received 26-June</div>" ]; fhir:Provenance.target [ fhir:index 0; fhir:link <http://hl7.org/fhir/Procedure/example/_history/1>; fhir:Reference.reference [ fhir:value "Procedure/example/_history/1" ] ]; fhir:Provenance.period [ fhir:Period.start [ fhir:value "2015-06-27"^^xsd:date ]; fhir:Period.end [ fhir:value "2015-06-28"^^xsd:date ] ]; fhir:Provenance.recorded [ fhir:value "2015-06-27T08:39:24+10:00"^^xsd:dateTime]; fhir:Provenance.policy [ fhir:value "http://acme.com/fhir/Consent/25"; fhir:index 0 ]; fhir:Provenance.location [ fhir:link <http://hl7.org/fhir/Location/1>; fhir:Reference.reference [ fhir:value "Location/1" ] ]; fhir:Provenance.reason [ fhir:index 0; a sct:3457005; fhir:Coding.system [ fhir:value "http://snomed.info/sct" ]; fhir:Coding.code [ fhir:value "3457005" ]; fhir:Coding.display [ fhir:value "Referral" ] ]; fhir:Provenance.agent [ fhir:index 0; fhir:Provenance.agent.role [ fhir:index 0; fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/ParticipationType" ]; fhir:Coding.code [ fhir:value "AUT" ] ] ]; fhir:Provenance.agent.whoReference [ fhir:link <http://hl7.org/fhir/Practitioner/xcda-author>; fhir:Reference.reference [ fhir:value "Practitioner/xcda-author" ] ]; fhir:Provenance.agent.onBehalfOfUri [ fhir:value "#a1" ]; fhir:Provenance.agent.relatedAgentType [ fhir:CodeableConcept.text [ fhir:value "used" ] ] ], [ fhir:index 1; fhir:Element.id [ fhir:value "a1" ]; fhir:Provenance.agent.role [ fhir:index 0; fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/ParticipationType" ]; fhir:Coding.code [ fhir:value "DEV" ] ] ]; fhir:Provenance.agent.whoReference [ fhir:link <http://hl7.org/fhir/Device/software>; fhir:Reference.reference [ fhir:value "Device/software" ]<http://hl7.org/fhir/Provenance/example> a fhir:Provenance ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "example"] ; # fhir:target ( [ fhir:l <http://hl7.org/fhir/Procedure/example/_history/1> ; fhir:reference [ fhir:v "Procedure/example/_history/1" ] ] ) ; # # <text> # <status value="additional"/> # <div xmlns="http://www.w3.org/1999/xhtml">procedure record authored on 27-June 2015 by Harold Hippocrates, MD Content extracted from XDS managed CDA Referral received 26-June as authorized by a referenced Consent.</div> # </text> # , # where possible, provenance targets SHOULD be version specific, # so that there is no ambiguity about which version of the # record this relates to # fhir:occurred [ a fhir:Period ; fhir:start [ fhir:v "2015-06-27"^^xsd:date ] ; fhir:end [ fhir:v "2015-06-28"^^xsd:date ] ] ; # fhir:recorded [ fhir:v "2015-06-27T08:39:24+10:00"^^xsd:dateTime] ; # fhir:policy ( [ fhir:v "http://acme.com/fhir/Consent/25"^^xsd:anyURI ; fhir:l <http://acme.com/fhir/Consent/25> ] ) ; # reference to a patient consent to share inforamtion fhir:location [ fhir:l <http://hl7.org/fhir/Location/1> ; fhir:reference [ fhir:v "Location/1" ] ] ; # fhir:activity [ fhir:coding ( [ a sct:3457005 ; fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ; fhir:l <http://snomed.info/sct> ] ; fhir:code [ fhir:v "3457005" ] ; fhir:display [ fhir:v "Referral" ] ] ) ] ; # fhir:agent ( [ fhir:type [ fhir:coding ( [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ; fhir:l <http://terminology.hl7.org/CodeSystem/v3-ParticipationType> ] ; fhir:code [ fhir:v "AUT" ] ] ) ] ; fhir:who [ fhir:l <http://hl7.org/fhir/Practitioner/xcda-author> ; fhir:reference [ fhir:v "Practitioner/xcda-author" ] ]]; fhir:Provenance.entity [ fhir:index 0; fhir:Provenance.entity.role [ fhir:value "source" ]; fhir:Provenance.entity.whatReference [ fhir:link <http://hl7.org/fhir/DocumentReference/example>; fhir:Reference.reference [ fhir:value "DocumentReference/example" ]; fhir:Reference.display [ fhir:value "CDA Document in XDS repository" ]] [ fhir:id [ fhir:v "a1" ] ; fhir:type [ fhir:coding ( [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ; fhir:l <http://terminology.hl7.org/CodeSystem/v3-ParticipationType> ] ; fhir:code [ fhir:v "DEV" ] ] ) ] ; fhir:who [ fhir:display [ fhir:v "Device/software" ] ]] .] ) ; # author = Harold Hippocrates , reference to other agent defined within , removed as unclear how to do this now <onBehalfOf value="#a1"/> , # <onBehalfOf> # <reference value="Practitioner/xcda-author"/> # </onBehalfOf>> # fhir:entity ( [ fhir:role [ fhir:v "source" ] ; fhir:what [ fhir:l <http://hl7.org/fhir/DocumentReference/example> ; fhir:reference [ fhir:v "DocumentReference/example" ] ; fhir:display [ fhir:v "CDA Document in XDS repository" ] ] # \n the document is in an XDS repository. \n as a source, we're going to give an MHD \n reference. (easier than XDS.b call with parameters!)\n Given the reference is to a FHIR DocumentReference, that resource describes the kind of content\n ] ) . # information extract from a CCDA referral document <http://hl7.org/fhir/Procedure/example/_history/1> a fhir:Procedure . <http://hl7.org/fhir/Location/1> a fhir:Location . <http://hl7.org/fhir/Practitioner/xcda-author> a fhir:Practitioner .<http://hl7.org/fhir/Device/software> a fhir:Device .<http://hl7.org/fhir/DocumentReference/example> a fhir:DocumentReference .# - ontology header ------------------------------------------------------------ <http://hl7.org/fhir/Provenance/example.ttl> a owl:Ontology; owl:imports fhir:fhir.ttl; owl:versionIRI <http://hl7.org/fhir/STU3/Provenance/example.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.
FHIR
®©
HL7.org
2011+.
FHIR
Release
3
(STU;
v3.0.2-11200)
R6
hl7.fhir.core#6.0.0-ballot3
generated
on
Thurs,
Oct
24,
2019
11:53+1100.
QA
Page
Mon,
Nov
10,
2025
15:23+0000.
Links:
Search
|
Version
History
|
Table
of
Contents
|
Credits
Glossary
|
QA
|
Compare
to
DSTU2
R4
|
Compare
to
R5
|
Compare
to
Last
Ballot
|
|
Propose
a
change