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 rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
[a fhir:Provenance ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "example"] ; #
fhir:target ( [
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] ) ; # reference to a patient consent to share inforamtion
fhir:location [
fhir:reference [ fhir:v "Location/1" ]
] ; #
fhir:activity [
fhir:coding ( [
a sct:3457005 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
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:code [ fhir:v "AUT" ]
] )
] ;
fhir:who [
fhir:reference [ fhir:v "Practitioner/xcda-author" ]
]
] [
fhir:id [ fhir:v "a1" ] ;
fhir:type [
fhir:coding ( [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ] ;
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: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
# -------------------------------------------------------------------------------------
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.