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/example2 (Turtle)

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

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

Targeted Provenance Example - got the patient nickname from his partner

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/Provenance/example2> a fhir:Provenance ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example2"] ; # 
  fhir:target ( [
     fhir:link <http://hl7.org/fhir/Patient/pat3/_history/1> ;
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/targetElement"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:uri ;
         fhir:v "n2"^^xsd:anyURI
       ]
     ] ) ;
     fhir:reference [ fhir:v "Patient/pat3/_history/1" ]
  ] ) ; #   
#    Got the patient's nickname from his partner
#   
  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 "INF" ]
       ] )
     ] ;
     fhir:who [
       fhir:link <http://hl7.org/fhir/RelatedPerson/f001> ;
       fhir:reference [ fhir:v "RelatedPerson/f001" ]
     ]
  ] ) . # 

<http://hl7.org/fhir/Patient/pat3/_history/1> a fhir:Patient .

<http://hl7.org/fhir/RelatedPerson/f001> a fhir:RelatedPerson .

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


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.