R5 Final QA

This page is part of the FHIR Specification (v5.0.0-draft-final: Final QA Preview for R5 - see ballot notes). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Example Provenance/example3 (Turtle)

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

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:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Provenance</b><a name=\"example3\"> </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;example3&quot; </p></div><p><b>target</b>: <span title=\"  \n    Use path when the target resource doesn't have an id to point to\n    Note that the path is constrained to simple FHIRPath - see \n    https://hl7.org/fhir/fhirpath.html#simple\n    \n    This asserts that the follow up note came from a different author than\n    the rest of the Procedure (see Provenance/example)\n   \"><a href=\"procedure-example.html\">Procedure/example/_history/1</a>(#/Procedure.followUp.text)</span></p><p><b>recorded</b>: 8 Dec 2021, 4:54:24 pm</p><h3>Agents</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>Who</b></td></tr><tr><td>*</td><td>author (originator) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-v3-ParticipationType.html\">ParticipationType</a>#AUT)</span></td><td><a href=\"practitioner-example-f007-sh.html\">Practitioner/f007</a> &quot;Simone HEPS&quot;</td></tr></table></div>"
  ] ; #    
#    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: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" ]
  ] ) ; # 
  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.