Publish-box (todo)
Example Provenance/example3 (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Targeted Provenance Example - followUp note came from specified practitioner
@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 xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
[a fhir:Provenance ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "example3"] ; #
fhir:target ( [
fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/targetPath"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Procedure.followUp.text" ]
] ) ;
fhir:reference [ fhir:v "Procedure/example/_history/1" ]
] ) ; #
# Use path when the target resource doesn't have an id to point to
# Note that the path is constrained to simple FHIRPath - see
# https://hl7.org/fhir/fhirpath.html#simple
#
# This asserts that the follow up note came from a different author than
# the rest of the Procedure (see Provenance/example)
#
fhir:recorded [ fhir:v "2021-12-08T16:54:24+11:00"^^xsd:dateTime] ; #
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/f007" ]
]
] )] . #
# -------------------------------------------------------------------------------------
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.