This page is part of the FHIR Specification (v0.0.82: DSTU 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 . Page versions: R5 R4B R4 R3 R2
Example Index:
Example of provenance | XML | JSON |
XML
Example of provenance (id = "example")
<Provenance xmlns="http://hl7.org/fhir"> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml">Authored on 8-Nov 2011 by Grahame Grieve. Content extracted from ISO-21090</div> </text> <target> <reference value="Patient/example/history/1"/> </target> <!-- nominal activity: editing the standard --> <period> <start value="2011-06-23"/> </period> <recorded value="2012-11-08T23:16:03+11:00"/> <reason> <text value="Editing the FHIR Specification"/> </reason> <location> <reference value="Location/2"/> </location> <!-- author --> <agent> <role> <system value="http://hl7.org/fhir/provenance-participant-role"/> <code value="author"/> </role> <type> <system value="http://hl7.org/fhir/provenance-participant-type"/> <code value="person"/> </type> <reference value="mailto:grahame@healthintersections.com.au"/> <display value="Grahame Grieve"/> </agent> <!-- actually, this example was extracted from ISO 21090 --> <agent> <role> <system value="http://hl7.org/fhir/provenance-participant-role"/> <code value="source"/> </role> <type> <system value="http://hl7.org/fhir/provenance-participant-type"/> <code value="document"/> </type> <reference value="urn:iso:std:21090"/> <display value="ISO 21090"/> </agent> </Provenance>
JSON
Example of provenance
{ "resourceType": "Provenance", "text": { "status": "generated", "div": "<div>Authored on 8-Nov 2011 by Grahame Grieve. Content extracted from ISO-21090</div>" }, "target": [ { "reference": "Patient/example/history/1" } ], "period": { "start": "2011-06-23" }, "recorded": "2012-11-08T23:16:03+11:00", "reason": { "text": "Editing the FHIR Specification" }, "location": { "reference": "Location/2" }, "agent": [ { "role": { "system": "http://hl7.org/fhir/provenance-participant-role", "code": "author" }, "type": { "system": "http://hl7.org/fhir/provenance-participant-type", "code": "person" }, "reference": "mailto:grahame@healthintersections.com.au", "display": "Grahame Grieve" }, { "role": { "system": "http://hl7.org/fhir/provenance-participant-role", "code": "source" }, "type": { "system": "http://hl7.org/fhir/provenance-participant-type", "code": "document" }, "reference": "urn:iso:std:21090", "display": "ISO 21090" } ] }