Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: R5 Ballot - 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/example2 (Turtle)

Security Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, 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 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: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: Provenance</b><a name=\"example2\"> </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;example2&quot; </p></div><p><b>target</b>: <span title=\"  \n    Got the patient's nickname from his partner\n   \"><a href=\"patient-example-c.html\">Patient/pat3/_history/1</a> &quot;Simon NOTSOWELL&quot;(#n2)</span></p><p><b>recorded</b>: 08/12/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>informant <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-ParticipationType.html\">ParticipationType</a>#INF)</span></td><td><a href=\"relatedperson-example-f001-sarah.html\">RelatedPerson/f001</a> &quot;Sarah ABELS&quot;</td></tr></table></div>"
  ];
  fhir:Provenance.target [
     fhir:index 0;
     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:Reference.reference [ fhir:value "RelatedPerson/f001" ]
     ]
  ]] .

# - ontology header ------------------------------------------------------------

[a owl:Ontology;
  owl:imports fhir:fhir.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.