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
An example to illustrate referencing a composition within a diagnostic report
Table View
DiagnosticReport.id[0] | UKCore-Extension-CompositionReference-Example |
DiagnosticReport.text[0].status[0] | additional |
DiagnosticReport.text[0].div[0] | <div xmlns="http://www.w3.org/1999/xhtml">An example to illustrate referencing a composition within a diagnostic report</div> |
DiagnosticReport.extension[0].url[0] | http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.composition |
DiagnosticReport.extension[0].value[0].reference[0] | Composition/UKCore-Composition-Discharge-Example |
DiagnosticReport.identifier[0].system[0] | https://tools.ietf.org/html/rfc4122 |
DiagnosticReport.identifier[0].value[0] | ce1913bf-ead4-4d04-904f-714cbc1636ef |
DiagnosticReport.status[0] | final |
DiagnosticReport.code[0].coding[0].system[0] | http://snomed.info/sct |
DiagnosticReport.code[0].coding[0].code[0] | 252275004 |
DiagnosticReport.code[0].coding[0].display[0] | Hematology test |
DiagnosticReport.subject[0].reference[0] | Patient/UKCore-Patient-RichardSmith-Example |
DiagnosticReport.performer[0].reference[0] | Organization/UKCore-Organization-LeedsTeachingHospital-Example |
DiagnosticReport.performer[0].display[0] | LEEDS TEACHING HOSPITALS NHS TRUST |
Tree View
DiagnosticReport |
id : UKCore-Extension-CompositionReference-Example |
text |
status : additional |
extension |
url : http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.composition |
value |
reference : Composition/UKCore-Composition-Discharge-Example |
identifier |
system : https://tools.ietf.org/html/rfc4122 |
value : ce1913bf-ead4-4d04-904f-714cbc1636ef |
status : final |
code |
coding |
system : http://snomed.info/sct |
code : 252275004 |
display : Hematology test |
subject |
reference : Patient/UKCore-Patient-RichardSmith-Example |
performer |
reference : Organization/UKCore-Organization-LeedsTeachingHospital-Example |
display : LEEDS TEACHING HOSPITALS NHS TRUST |
XML View
<DiagnosticReport xmlns="http://hl7.org/fhir"> <id value="UKCore-Extension-CompositionReference-Example" /> <text> <status value="additional" /> --- We have skipped the narrative for better readability of the resource --- </text> <!-- **************extension start************** --> <extension url="http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.composition"> <valueReference> <reference value="Composition/UKCore-Composition-Discharge-Example" /> </valueReference> </extension> <!-- **************extension end************** --> <identifier> <system value="https://tools.ietf.org/html/rfc4122" /> <value value="ce1913bf-ead4-4d04-904f-714cbc1636ef" /> </identifier> <status value="final" /> <code> <coding> <system value="http://snomed.info/sct" /> <code value="252275004" /> <display value="Hematology test" /> </coding> </code> <subject> <reference value="Patient/UKCore-Patient-RichardSmith-Example" /> </subject> <performer> <reference value="Organization/UKCore-Organization-LeedsTeachingHospital-Example" /> <display value="LEEDS TEACHING HOSPITALS NHS TRUST" /> </performer> </DiagnosticReport>
JSON View
{ "resourceType": "DiagnosticReport", "id": "UKCore-Extension-CompositionReference-Example", "text": { "status": "additional", --- We have skipped the narrative for better readability of the resource --- }, "extension": [ { "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.composition", "valueReference": { "reference": "Composition/UKCore-Composition-Discharge-Example" } } ], "identifier": [ { "system": "https://tools.ietf.org/html/rfc4122", "value": "ce1913bf-ead4-4d04-904f-714cbc1636ef" } ], "status": "final", "code": { "coding": [ { "system": "http://snomed.info/sct", "code": "252275004", "display": "Hematology test" } ] }, "subject": { "reference": "Patient/UKCore-Patient-RichardSmith-Example" }, "performer": [ { "reference": "Organization/UKCore-Organization-LeedsTeachingHospital-Example", "display": "LEEDS TEACHING HOSPITALS NHS TRUST" } ] }