FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example Provenance/example-import (Turtle)

Security Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Patient, Practitioner, RelatedPerson

Raw Turtle (+ also see Turtle/RDF Format Specification)

Provenance of import of resources from a document (DocumentReference) to show provenance from resources back to the source document.

@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 "example-import"] ; # 
  fhir:target ( [
     fhir:reference [ fhir:v "Condition/example" ]
  ] [
     fhir:reference [ fhir:v "Condition/example2" ]
  ] [
     fhir:reference [ fhir:v "Encounter/example" ]
  ] [
     fhir:reference [ fhir:v "Immunization/example" ]
  ] ) ; # 
  fhir:recorded [ fhir:v "2015-06-27T08:39:24+10:00"^^xsd:dateTime] ; # 
  fhir:policy ( [ fhir:v "urn:ihe:pcc:qedm:2017:document-provenance-policy"^^xsd:anyURI] ) ; # 
  fhir:activity [
     fhir:coding ( [
       fhir:system [ fhir:v "http://hl7.org/fhir/w3c-provenance-activity-type"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "Derivation" ]
     ] )
  ] ; # 
  fhir:patient [
     fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:agent ( [
     fhir:id [ fhir:v "a1" ] ;
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/provenance-participant-type"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "assembler" ]
       ] )
     ] ;
     fhir:who [
       fhir:display [ fhir:v "Device/software" ]
     ]
  ] ) ; # 
  fhir:entity ( [
     fhir:role [ fhir:v "source" ] ;
     fhir:what [
       fhir:reference [ fhir:v "DocumentReference/example" ]
     ]
  ] )] . #   information extract from a DICOM document, could be anything (e.g. CDA)  

# -------------------------------------------------------------------------------------


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.