Example-DataStandardsWales-DocumentReference-Provenance

This DocumentReference example is used in conjuction with the Provanance example and shows how provenance can be linked to the message that triggered the insert or update to the record e.g. an HL7v2 ADT^A31 demographic update message.

DocumentReference
DocumentReference.id[0]Example-DataStandardsWales-DocumentReference-Provenance
DocumentReference.date[0]2024-08-08T08:06:07.046012+00:00
DocumentReference.description[0]Link to HL7v2 message for data provenance
DocumentReference.content[0].attachment[0].url[0]https://[base]/[link id to HL7v2 message]
<DocumentReference xmlns="http://hl7.org/fhir">
    <id value="Example-DataStandardsWales-DocumentReference-Provenance" />
    <date value="2024-08-08T08:06:07.046012Z" />
    <description value="Link to HL7v2 message for data provenance" />
    <content>
        <attachment>
            <url value="https://[base]/[link id to HL7v2 message]" />
        </attachment>
    </content>
</DocumentReference>
{
    "resourceType": "DocumentReference",
    "id": "Example-DataStandardsWales-DocumentReference-Provenance",
    "date": "2024-08-08T08:06:07.046012+00:00",
    "description": "Link to HL7v2 message for data provenance",
    "content":  [
        {
            "attachment": {
                "url": "https://[base]/[link id to HL7v2 message]"
            }
        }
    ]
}