This page is part of the FHIR Specification (v5.0.0-snapshot1: Release 5 Snapshot #1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
Security Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Device, Patient, Practitioner, RelatedPerson |
Raw Turtle (+ also see Turtle/RDF Format Specification)
Targeted Provenance Example #2
@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 ------------------------------------------------------------------- <http://hl7.org/fhir/Provenance/example2> a fhir:Provenance; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "example2"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div><p>Resource "example2" </p></div><p><b>target</b>: <a>Patient/pat3/_history/1</a> "Simon NOTSOWELL"(#n2)</p><p><b>recorded</b>: 8 Dec. 2021, 4:54:24 pm</p><h3>Agents</h3><table><tr><td>-</td><td><b>Type</b></td><td><b>Who</b></td></tr><tr><td>*</td><td>informant <span> (<a>ParticipationType</a>#INF)</span></td><td><a>RelatedPerson/f001</a> "Sarah ABELS"</td></tr></table></div>" ]; fhir:Provenance.target [ fhir:index 0; fhir:link <http://hl7.org/fhir/Patient/pat3/_history/1>; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/targetElement" ]; fhir:Extension.valueUri [ fhir:value "n2" ] ]; fhir:Reference.reference [ fhir:value "Patient/pat3/_history/1" ] ]; fhir:Provenance.recorded [ fhir:value "2021-12-08T16:54:24+11:00"^^xsd:dateTime]; fhir:Provenance.agent [ fhir:index 0; fhir:Provenance.agent.type [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ]; fhir:Coding.code [ fhir:value "INF" ] ] ]; fhir:Provenance.agent.who [ fhir:link <http://hl7.org/fhir/RelatedPerson/f001>; fhir:Reference.reference [ fhir:value "RelatedPerson/f001" ] ] ] . <http://hl7.org/fhir/Patient/pat3/_history/1> a fhir:Patient . <http://hl7.org/fhir/RelatedPerson/f001> a fhir:RelatedPerson . # - ontology header ------------------------------------------------------------ <http://hl7.org/fhir/Provenance/example2.ttl> a owl:Ontology; owl:imports fhir:fhir.ttl; owl:versionIRI <http://build.fhir.org/Provenance/example2.ttl> . # -------------------------------------------------------------------------------------
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.