Table View

Provenance.id[0]UKCore-Provenance-RARecordConsent-Example
Provenance.text[0].status[0]additional
Provenance.text[0].div[0]<div xmlns="http://www.w3.org/1999/xhtml">An example to illustrate provenance for a consent scenario</div>
Provenance.target[0].reference[0]Consent/UKCore-Consent-ForInformationAccess-Example
Provenance.recorded[0]2022-03-01T10:05:33+00:00
Provenance.agent[0].role[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-SDSJobRoleName
Provenance.agent[0].role[0].coding[0].code[0]R0260
Provenance.agent[0].role[0].coding[0].display[0]General Medical Practitioner
Provenance.agent[0].who[0].reference[0]Practitioner/UKCore-Practitioner-PaulRastall-Example
Provenance.agent[0].who[0].display[0]Dr Paul Rastall
Provenance.agent[0].onBehalfOf[0].reference[0]Organization/https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization
Provenance.agent[0].onBehalfOf[0].display[0]White Rose Medical Centre

XML View

<Provenance xmlns="http://hl7.org/fhir">
    <id value="UKCore-Provenance-RARecordConsent-Example" />
    <text>
        <status value="additional" />
        --- We have skipped the narrative for better readability of the resource ---
    </text>
    <target>
        <reference value="Consent/UKCore-Consent-ForInformationAccess-Example" />
    </target>
    <recorded value="2022-03-01T10:05:33+00:00" />
    <agent>
        <!-- The actor who has some responsibility for the activity taking place -->
        <role>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SDSJobRoleName" />
                <code value="R0260" />
                <display value="General Medical Practitioner" />
            </coding>
        </role>
        <who>
            <reference value="Practitioner/UKCore-Practitioner-PaulRastall-Example" />
            <display value="Dr Paul Rastall" />
        </who>
        <onBehalfOf>
            <reference value="Organization/https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
            <display value="White Rose Medical Centre" />
        </onBehalfOf>
    </agent>
</Provenance>

JSON View

{
    "resourceType": "Provenance",
    "id": "UKCore-Provenance-RARecordConsent-Example",
    "text": {
        "status": "additional",
        --- We have skipped the narrative for better readability of the resource ---
    },
    "target":  [
        {
            "reference": "Consent/UKCore-Consent-ForInformationAccess-Example"
        }
    ],
    "recorded": "2022-03-01T10:05:33+00:00",
    "agent":  [
        {
            "role":  [
                {
                    "coding":  [
                        {
                            "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-SDSJobRoleName",
                            "code": "R0260",
                            "display": "General Medical Practitioner"
                        }
                    ]
                }
            ],
            "who": {
                "reference": "Practitioner/UKCore-Practitioner-PaulRastall-Example",
                "display": "Dr Paul Rastall"
            },
            "onBehalfOf": {
                "reference": "Organization/https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization",
                "display": "White Rose Medical Centre"
            }
        }
    ]
}