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:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Provenance</b><a name=\"example-import\"> </a><a name=\"hcexample-import\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Provenance &quot;example-import&quot; </p></div><p><b>target</b>: </p><ul><li><a href=\"condition-example.html\">Condition/example</a></li><li><a href=\"condition-example2.html\">Condition/example2</a></li><li><a href=\"encounter-example.html\">Encounter/example</a></li><li><a href=\"immunization-example.html\">Immunization/example</a></li></ul><p><b>recorded</b>: Jun 26, 2015, 10:39:24 PM</p><p><b>policy</b>: <code>urn:ihe:pcc:qedm:2017:document-provenance-policy</code></p><p><b>activity</b>: wasDerivedFrom <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"codesystem-w3c-provenance-activity-type.html\">W3c Provenance Activity Type</a>#Derivation)</span></p><p><b>patient</b>: <a href=\"patient-example.html\">Patient/example</a> &quot;Peter CHALMERS&quot;</p><h3>Agents</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Who</b></td></tr><tr><td style=\"display: none\">*</td><td>Assembler <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.5.0/CodeSystem-provenance-participant-type.html\">Provenance participant type</a>#assembler)</span></td><td><span>: Device/software</span></td></tr></table><h3>Entities</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Role</b></td><td><b>What</b></td></tr><tr><td style=\"display: none\">*</td><td>source</td><td><a href=\"documentreference-example.html\">DocumentReference/example</a></td></tr></table></div>"
  ] ; # 
  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.