This
page
is
part
of
the
FHIR
Specification
(v1.0.2:
DSTU
(v3.0.2:
STU
2).
3).
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
R2
R3
R2
| Security Work Group | Maturity Level : N/A | Ballot Status : Informative | Compartments : Device , Patient , Practitioner , RelatedPerson |
General Provenance Example
{
"resourceType": "Provenance",
"id": "example",
"text": {
"status": "generated",
"div": "<div>procedure record authored on 27-June 2015 by Harold Hippocrates, MD Content extracted from Referral received 26-June</div>"
"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>"
},
"target": [
{
"fhir_comments": [
" \n where possible, provenance targets should be version specific,\n so that there is no ambiguity about which version of the \n record this relates to\n "
],
"reference": "Procedure/example/_history/1"
}
],
"period": {
"start": "2015-06-27"
"start": "2015-06-27",
"end": "2015-06-28"
},
"recorded": "2015-06-27T08:39:24+10:00",
"reason": [
{
"coding": [
{
"system": "http://snomed.info/sct",
"code": "3457005",
"display": "Referral"
}
],
"text": "Accepting a referral"
}
"policy": [
"http://acme.com/fhir/Consent/25"
],
"location": {
"reference": "Location/1"
},
"policy": [
"http://acme.com/fhir/Consent/25"
"reason": [
{
"system": "http://snomed.info/sct",
"code": "3457005",
"display": "Referral"
}
],
"agent": [
{
"fhir_comments": [
" author = Harold Hippocrates "
"role": [
{
"coding": [
{
"system": "http://hl7.org/fhir/v3/ParticipationType",
"code": "AUT"
}
]
}
],
"role": {
"system": "http://hl7.org/fhir/provenance-participant-role",
"code": "author"
},
"actor": {
"whoReference": {
"reference": "Practitioner/xcda-author"
},
"userId": {
"fhir_comments": [
" very often, the user won't have a known system - these aren't available \n for security system log ons. But where you can define it, you should "
],
"system": "http://acme.com/fhir/users/sso",
"value": "hhd"
},
"relatedAgent": [
{
"type": {
"text": "used"
},
"target": "#a1"
}
]
"onBehalfOfUri": "#a1",
"relatedAgentType": {
"text": "used"
}
},
{
"id": "a1",
"fhir_comments": [
" device = software Harold used "
"role": [
{
"coding": [
{
"system": "http://hl7.org/fhir/v3/ParticipationType",
"code": "DEV"
}
]
}
],
"role": {
"system": "http://hl7.org/fhir/v3/ParticipationType",
"code": "DEV"
},
"actor": {
"whoReference": {
"reference": "Device/software"
}
}
],
"entity": [
{
"fhir_comments": [
" information extract from a CCDA referral document "
],
"role": "source",
"type": {
"fhir_comments": [
" this code is extracted from the CDA source document "
],
"system": "http://loinc.org",
"code": "57133-1",
"display": "Referral note"
},
"reference": "DocumentReference/90f55916-9d15-4b8f-87a9-2d7ade8670c8",
"_reference": {
"fhir_comments": [
" \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\n Note that though this is a URI, so that you can reference\n outside FHIR, you can also put a standard FHIR reference \n here as well\n "
]
},
"display": "CDA Document in XDS repository"
"whatReference": {
"reference": "DocumentReference/example",
"display": "CDA Document in XDS repository"
}
}
]
}
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.