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-onbehalf-sister (Turtle)

Responsible Owner: Security Work GroupStandards Status: InformativeCompartments: Device, Group, Patient, Practitioner, RelatedPerson

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

Provenance of an updated Patient resource by the Brother on behalf of their Sister.

@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 -------------------------------------------------------------------

# This is a Provenance example of a resource created by a brother onbehalf of their sister to show use of the onBehalfOf element using Related Person

<http://hl7.org/fhir/Provenance/example-onbehalf-sister> a fhir:Provenance ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-onbehalf-sister"] ; # 
  fhir:target ( [
     fhir:l <http://hl7.org/fhir/Patient/example> ;
     fhir:reference [ fhir:v "Patient/example" ]
  ] ) ; # reference to the resource that was created
  fhir:occurred [
     a fhir:DateTime ;
     fhir:v "2024-06-01T12:00:00Z"^^xsd:dateTime
  ] ; # 
  fhir:recorded [ fhir:v "2024-06-01T12:00:00Z"^^xsd:dateTime] ; # 
  fhir:authorization ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActReason>
       ] ;
       fhir:code [ fhir:v "FAMRQT" ]
     ] )
  ] ) ; # 
  fhir:why [ fhir:v "Updated the Patient resource demographics by big Brother acting on behalf of sister to change demographics in Patient resource"] ; # 
  fhir:patient [
     fhir:l <http://hl7.org/fhir/Patient/example> ;
     fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:agent ( [
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v3-ParticipationType>
         ] ;
         fhir:code [ fhir:v "INF" ]
       ] )
     ] ;
     fhir:who [
       fhir:l <http://example.org/fhir/RelatedPerson/brother> ;
       fhir:reference [ fhir:v "http://example.org/fhir/RelatedPerson/brother" ]
     ] ;
     fhir:onBehalfOf [
       fhir:l <http://example.org/fhir/RelatedPerson/sister> ;
       fhir:reference [ fhir:v "http://example.org/fhir/RelatedPerson/sister" ]
     ]
  ] ) ; # agent representing the brother acting on behalf of the sister
  fhir:entity ( [
     fhir:role [ fhir:v "source" ] ;
     fhir:what [
       fhir:l <http://example.org/fhir/DocumentReference/example> ;
       fhir:reference [ fhir:v "http://example.org/fhir/DocumentReference/example" ] ;
       fhir:display [ fhir:v "Document created by brother on behalf of sister" ]
     ]
  ] [
     fhir:role [ fhir:v "source" ] ;
     fhir:what [
       fhir:l <http://hl7.org/fhir/Patient/example> ;
       fhir:reference [ fhir:v "Patient/example" ] ;
       fhir:display [ fhir:v "Original Patient resource" ]
     ]
  ] ) . # 

<http://hl7.org/fhir/Patient/example> a fhir:Patient .

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


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.