Provenance-NonWGSTestOrderForm-FetalScenario-Example

Example of a Provenance resource to record an update made to a ServiceRequest, with an additional signature.

Provenance
{
    "resourceType": "Provenance",
    "id": "Provenance-NonWGSTestOrderForm-FetalScenario-Example",
    "target":  [
        {
            "reference": "ServiceRequest/ServiceRequest-NonWGSTestOrderFormUpdated-FetalScenario-Example"
        }
    ],
    "recorded": "2023-08-08T15:43:00Z",
    "reason":  [
        {
            "coding":  [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
                    "code": "TREAT",
                    "display": "treatment"
                }
            ]
        }
    ],
    "activity": {
        "coding":  [
            {
                "system": "http://terminology.hl7.org/CodeSystem/v3-DataOperation",
                "code": "UPDATE",
                "display": "revise"
            }
        ]
    },
    "agent":  [
        {
            "type": {
                "coding":  [
                    {
                        "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                        "code": "author",
                        "display": "Author"
                    }
                ]
            },
            "who": {
                "reference": "PractitionerRole/PractitionerRole-TestClinicalScientist-Example",
                "identifier": {
                    "system": "https://fhir.nhs.uk/Id/sds-user-id",
                    "value": "9999999997"
                }
            }
        }
    ],
    "entity":  [
        {
            "role": "source",
            "what": {
                "reference": "ServiceRequest/ServiceRequest-NonWGSTestOrderForm-FetalScenario-Example"
            }
        }
    ],
    "signature":  [
        {
            "type":  [
                {
                    "system": "urn:iso-astm:E1762-95:2013",
                    "code": "1.2.840.10065.1.12.1.15",
                    "display": "Addendum Signature"
                }
            ],
            "when": "2023-08-08T15:43:00Z",
            "who": {
                "reference": "PractitionerRole/PractitionerRole-TestClinicalScientist-Example",
                "identifier": {
                    "system": "https://fhir.nhs.uk/Id/sds-user-id",
                    "value": "9999999997"
                }
            },
            "data": "DQo8U2lnbmF0dXJlIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwLzA5L3htbGRzaWcjIj4NCiAgICA8U2lnbmVkSW5mbz48Q2Fub25pY2FsaXphdGlvbk1ldGhvZCBBbGdvcml0aG09Imh0dHA6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Q0JMQXdEUVlKS29aSWh2Y05BUUVMQlFBRGdnRUJBQmN6eThCOGp1UHBJZmFUTkZjeHJDMjJhQ1gveFlabWhyTC9OdklCQWFYMUc1aGppd21rR0tFMmhSVElyNjdQeFp4bVhzSnhpZ1JCTUhQbEkrbFkvK29rekgwR2k3YjVicWx3N3B4R0lnSk8wMDB3OHBGc3ZvOXc0MklZaEhvZHN2bkRWU3hoTVQwSjQ2UWhrOXNvRTBMam9FVUxLUVBQbFlHa2UvR2wzbTE3SXRGWXdPYlFIMGZNRXdtaXFCeWVJZno3Z1NjY096TDVjSXA2UGNaVE9qbzJJcVFwZ0VtaGpPY1JJbkVxQU5pdFNkam9pSkFKenBhYVpqWVRSZEhVWDdpN2FqRWlING05MW5GVys0QXFrTnR0bGI0V2NHS3NTbVdnZktLaGVGNElvWktNRTgweGVyU2dNeTh2dGpMT0JKQ0dYejB3TEdtUXVSbXhNVHE4OHE0PTwvWDUwOUNlcnRpZmljYXRlPg0KICAgICAgICA8L1g1MDlEYXRhPg0KICAgIDwvS2V5SW5mbz4NCjwvU2lnbmF0dXJlPg0K"
        }
    ]
}
<Provenance xmlns="http://hl7.org/fhir">
    <id value="Provenance-NonWGSTestOrderForm-FetalScenario-Example" />
    <target>
        <reference value="ServiceRequest/ServiceRequest-NonWGSTestOrderFormUpdated-FetalScenario-Example" />
    </target>
    <recorded value="2023-08-08T15:43:00Z" />
    <reason>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason" />
            <code value="TREAT" />
            <display value="treatment" />
        </coding>
    </reason>
    <activity>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/v3-DataOperation" />
            <code value="UPDATE" />
            <display value="revise" />
        </coding>
    </activity>
    <agent>
        <type>
            <coding>
                <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type" />
                <code value="author" />
                <display value="Author" />
            </coding>
        </type>
        <who>
            <reference value="PractitionerRole/PractitionerRole-TestClinicalScientist-Example" />
            <identifier>
                <system value="https://fhir.nhs.uk/Id/sds-user-id" />
                <value value="9999999997" />
            </identifier>
        </who>
    </agent>
    <entity>
        <role value="source" />
        <what>
            <reference value="ServiceRequest/ServiceRequest-NonWGSTestOrderForm-FetalScenario-Example" />
        </what>
    </entity>
    <signature>
        <type>
            <system value="urn:iso-astm:E1762-95:2013" />
            <code value="1.2.840.10065.1.12.1.15" />
            <display value="Addendum Signature" />
        </type>
        <when value="2023-08-08T15:43:00Z" />
        <who>
            <reference value="PractitionerRole/PractitionerRole-TestClinicalScientist-Example" />
            <identifier>
                <system value="https://fhir.nhs.uk/Id/sds-user-id" />
                <value value="9999999997" />
            </identifier>
        </who>
        <data value="DQo8U2lnbmF0dXJlIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwLzA5L3htbGRzaWcjIj4NCiAgICA8U2lnbmVkSW5mbz48Q2Fub25pY2FsaXphdGlvbk1ldGhvZCBBbGdvcml0aG09Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvMTAveG1sLWV4Yy1jMTRuIyI+PC9DYW5vbmljYWxpemF0aW9uTWV0aG9kPjxTaWduYXR1cmVNZXRob2QgQWxnb3JpdGhtPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwLzA5L3htbGRzaWcjcnNhLXNoYTEiPjwvU2lnbmF0dXJlTWV0aG9kPjxSZWZlcmVuY2U+PFRyYW5zZm9ybXM+PFRyYW5zZm9ybSBBbGdvcml0aG09Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvMTAveG1sLWV4Yy1jMTRuIyI+PC9UcmFuc2Zvcm0+PC9UcmFuc2Zvcm1zPjxEaWdlc3RNZXRob2QgQWxnb3JpdGhtPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwLzA5L3htbGRzaWcjc2hhMSI+PC9EaWdlc3RNZXRob2Q+PERpZ2VzdFZhbHVlPjJ5cUJISDVLK05ibVA1WWY3bVE3WmVFYWN0Yz08L0RpZ2VzdFZhbHVlPjwvUmVmZXJlbmNlPjwvU2lnbmV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