This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). 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)
Advanced Provenance of a create with all elements filled including patient, encounter, authorization, baseOn, and jpeg signature
@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 "example-advanced"]; 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=\"example-advanced\"> </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 "example-advanced" </p></div><p><b>target</b>: <span title=\" \n an example Provenance fully populated\n \"><a href=\"list-example.html\">List/example</a></span></p><p><b>occurred</b>: 2020-04-29T09:49:00Z</p><p><b>recorded</b>: 29/04/2020 7:49:00 PM</p><p><b>policy</b>: <a href=\"http://example.org/policy/1234\">http://example.org/policy/1234</a></p><p><b>location</b>: <a href=\"location-example.html\">Location/1/_history/1</a> "South Wing, second floor"</p><h3>Authorizations</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>treatment <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-ActReason.html\">ActReason</a>#TREAT)</span></td></tr></table><p><b>activity</b>: Originate/Retain Record Lifecycle Event <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-iso-21089-lifecycle.html\">Iso_21089_2017_Health_Record_Lifecycle_Events</a>#originate)</span></p><p><b>basedOn</b>: <a href=\"careplan-example.html\">CarePlan/example</a></p><p><b>patient</b>: <a href=\"patient-example.html\">Patient/example</a> "Peter CHALMERS"</p><p><b>encounter</b>: <a href=\"encounter-example-home.html\">Encounter/home</a></p><blockquote><p><b>agent</b></p><p><b>type</b>: Source Role ID <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://dicom.nema.org/resources/ontology/DCM\">DICOM</a>#110153)</span></p><p><b>who</b>: <span>: myMachine.example.org</span></p></blockquote><blockquote><p><b>agent</b></p><p><b>type</b>: Destination Role ID <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://dicom.nema.org/resources/ontology/DCM\">DICOM</a>#110152)</span></p><p><b>who</b>: <a href=\"device-example.html\">Device/example</a></p></blockquote><blockquote><p><b>agent</b></p><p><b>type</b>: 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></p><p><b>who</b>: <span>: Betty Jones</span></p></blockquote><h3>Signatures</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>When</b></td><td><b>Who</b></td><td><b>SigFormat</b></td><td><b>Data</b></td></tr><tr><td>*</td><td><span title=\" verification signature \">Verification Signature (Details: urn:iso-astm:E1762-95:2013 code 1.2.840.10065.1.12.1.5 = 'Verification Signature', stated as 'Verification Signature')</span></td><td>29/04/2020 7:49:00 PM</td><td><span>: Betty Jones</span></td><td>image/jpeg</td><td>/9j/4AAQSkZJRgABAQEAYABgAAD/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAEAAAAAAAD/2wBDAAIBAQIBAQICAgICAgICAwUDAwM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MSBVUngIRknB+QcHcSNLQ9C/sfzXaXzp5j8z7dowGZgMZPOWYk9yx6DCgooA0Kr2mnJaXE026SSa4PzO55CjO1R2CjJwPck5JJJRQBYooooA//2Q==</td></tr></table></div>" ]; fhir:Provenance.target [ fhir:index 0; fhir:Reference.reference [ fhir:value "List/example" ] ]; fhir:Provenance.occurredDateTime [ fhir:value "2020-04-29T09:49:00.000Z"^^xsd:dateTime]; fhir:Provenance.recorded [ fhir:value "2020-04-29T09:49:00.000Z"^^xsd:dateTime]; fhir:Provenance.policy [ fhir:value "http://example.org/policy/1234"; fhir:index 0 ]; fhir:Provenance.location [ fhir:Reference.reference [ fhir:value "Location/1/_history/1" ] ]; fhir:Provenance.authorization [ fhir:index 0; fhir:CodeableReference.concept [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActReason" ]; fhir:Coding.code [ fhir:value "TREAT" ] ] ] ]; fhir:Provenance.activity [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/iso-21089-lifecycle" ]; fhir:Coding.code [ fhir:value "originate" ] ] ]; fhir:Provenance.basedOn [ fhir:index 0; fhir:Reference.reference [ fhir:value "CarePlan/example" ] ]; fhir:Provenance.patient [ fhir:Reference.reference [ fhir:value "Patient/example" ] ]; fhir:Provenance.encounter [ fhir:Reference.reference [ fhir:value "Encounter/home" ] ]; fhir:Provenance.agent [ fhir:index 0; fhir:Provenance.agent.type [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://dicom.nema.org/resources/ontology/DCM" ]; fhir:Coding.code [ fhir:value "110153" ]; fhir:Coding.display [ fhir:value "Source Role ID" ] ] ]; fhir:Provenance.agent.who [ fhir:Reference.display [ fhir:value "myMachine.example.org" ] ] ], [ fhir:index 1; fhir:Provenance.agent.type [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://dicom.nema.org/resources/ontology/DCM" ]; fhir:Coding.code [ fhir:value "110152" ]; fhir:Coding.display [ fhir:value "Destination Role ID" ] ] ]; fhir:Provenance.agent.who [ fhir:Reference.reference [ fhir:value "Device/example" ] ] ], [ fhir:index 2; 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:Coding.display [ fhir:value "Informant" ] ] ]; fhir:Provenance.agent.who [ fhir:Reference.display [ fhir:value "Betty Jones" ] ] ]; fhir:Provenance.signature [ fhir:index 0; fhir:Signature.type [ fhir:index 0; fhir:Coding.system [ fhir:value "urn:iso-astm:E1762-95:2013" ]; fhir:Coding.code [ fhir:value "1.2.840.10065.1.12.1.5" ]; fhir:Coding.display [ fhir:value "Verification Signature" ] ]; fhir:Signature.when [ fhir:value "2020-04-29T09:49:00.000Z"^^xsd:dateTime ]; fhir:Signature.who [ fhir:Reference.display [ fhir:value "Betty Jones" ] ]; fhir:Signature.sigFormat [ fhir:value "image/jpeg" ]; fhir:Signature.data [ fhir:value "/9j/4AAQSkZJRgABAQEAYABgAAD/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAEAAAAAAAD/2wBDAAIBAQIBAQICAgICAgICAwUDAwMDAwYEBAMFBwYHBwcGBwcICQsJCAgKCAcHCg0KCgsMDAwMBwkODw0MDgsMDAz/2wBDAQICAgMDAwYDAwYMCAcIDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAz/wAARCAAXACQDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD92rfxVJqU6vDIq/6SIUtNgaSSPeAZiQT8pQh1IxgEbuTtFq51y6t7u6k225s7OdIZQQQ6qVRjJuzjCh+QR0UnPasfwUxspoJF/wCXx4bWQH0WyWRSPcEMPfd7CneNtUms7u7tLG0k1GTUoljniiIVbfBAd3PJ5jkUfKrOAqfK2QKAOuorDfxRqFraxSz6HdjcmXSGRZX3bGYKoH+6FJbYAzDkjJEmi+JptTvLaCaxktXltTNIWLAJICgZFDKrMBv+/gA8cc8AGxRRRQBzvhvQrq2WzjmhMP2KVpZJXK5nIjMSBVUngIRknB+QcHcSNLQ9C/sfzXaXzp5j8z7dowGZgMZPOWYk9yx6DCgooA0Kr2mnJaXE026SSa4PzO55CjO1R2CjJwPck5JJJRQBYooooA//2Q=="^^xsd:base64Binary ] ]] . # - 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.