An example to illustrate sending a note with a diagnostic report

Table View

DiagnosticReport.id[0]UKCore-DiagnosticReport-Extension-Note-Example
DiagnosticReport.extension[0].url[0]http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.note
DiagnosticReport.extension[0].value[0].author[0].reference[0]Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example
DiagnosticReport.extension[0].value[0].time[0]2023-05-10T10:39:12+00:00
DiagnosticReport.extension[0].value[0].text[0]Inconclusive finding of staphylococcus, no evidence of bacteremia.
DiagnosticReport.identifier[0].system[0]https://tools.ietf.org/html/rfc4122
DiagnosticReport.identifier[0].value[0]957d702f-7e9e-43c2-b783-978f2c164b3c
DiagnosticReport.status[0]final
DiagnosticReport.code[0].coding[0].system[0]http://snomed.info/sct
DiagnosticReport.code[0].coding[0].code[0]104177005
DiagnosticReport.code[0].coding[0].display[0]Blood culture for bacteria, including anaerobic screen
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

XML View

<DiagnosticReport xmlns="http://hl7.org/fhir">
    <id value="UKCore-DiagnosticReport-Extension-Note-Example" />
    <extension url="http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.note">
        <valueAnnotation>
            <authorReference>
                <reference value="Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example" />
            </authorReference>
            <time value="2023-05-10T10:39:12+00:00" />
            <text value="Inconclusive finding of staphylococcus, no evidence of bacteremia." />
        </valueAnnotation>
    </extension>
    <identifier>
        <system value="https://tools.ietf.org/html/rfc4122" />
        <value value="957d702f-7e9e-43c2-b783-978f2c164b3c" />
    </identifier>
    <status value="final" />
    <code>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="104177005" />
            <display value="Blood culture for bacteria, including anaerobic screen" />
        </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-DiagnosticReport-Extension-Note-Example",
    "extension":  [
        {
            "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.note",
            "valueAnnotation": {
                "authorReference": {
                    "reference": "Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example"
                },
                "time": "2023-05-10T10:39:12+00:00",
                "text": "Inconclusive finding of staphylococcus, no evidence of bacteremia."
            }
        }
    ],
    "identifier":  [
        {
            "system": "https://tools.ietf.org/html/rfc4122",
            "value": "957d702f-7e9e-43c2-b783-978f2c164b3c"
        }
    ],
    "status": "final",
    "code": {
        "coding":  [
            {
                "system": "http://snomed.info/sct",
                "code": "104177005",
                "display": "Blood culture for bacteria, including anaerobic screen"
            }
        ]
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "performer":  [
        {
            "reference": "Organization/UKCore-Organization-LeedsTeachingHospital-Example",
            "display": "LEEDS TEACHING HOSPITALS NHS TRUST"
        }
    ]
}

back to top