Please note:
- This version of the UK Core is a development copy.
- This contains BREAKING CHANGES as a result of the C&TA Sprint 7 Review, and STU2 Sequence ballot reconciliation.
- This version is not yet reviewed for implementation. Other versions are available on the UK Core Version History Guide
- Please follow the guidance on the Contact Us page if you need any assistance.
- A summary of changes is available on the STU3 Sequence Change Log
UKCore-Provenance-RARecordConsent-Example
An example to illustrate provenance for a consent scenario
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 |
Tree View
Provenance |
id : UKCore-Provenance-RARecordConsent-Example |
text |
status : additional |
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 |
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": "03/01/2022 10:05:33", "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" } } ] }