An example to illustrate the use of the Sample Category extension

Table View

Specimen.id[0]UKCore-Extension-SampleCategory-Example
Specimen.text[0].status[0]additional
Specimen.text[0].div[0]<div xmlns="http://www.w3.org/1999/xhtml">An example to illustrate the use of the Sample Category extension</div>
Specimen.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-SampleCategory
Specimen.extension[0].value[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-SampleCategory
Specimen.extension[0].value[0].coding[0].code[0]germline
Specimen.extension[0].value[0].coding[0].display[0]Germline
Specimen.status[0]available
Specimen.type[0].coding[0].system[0]http://snomed.info/sct
Specimen.type[0].coding[0].code[0]4635002
Specimen.type[0].coding[0].display[0]Arterial blood
Specimen.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
Specimen.receivedTime[0]2022-11-25T11:10:00Z
Specimen.collection[0].collector[0].reference[0]Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example
Specimen.collection[0].collected[0]2022-11-25T16:00:00Z

Tree View

Specimen

XML View

<Specimen xmlns="http://hl7.org/fhir">
    <id value="UKCore-Extension-SampleCategory-Example" />
    <text>
        <status value="additional" />
        --- We have skipped the narrative for better readability of the resource ---
    </text>
    <!--  ***************extension start***************  -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-SampleCategory">
        <valueCodeableConcept>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SampleCategory" />
                <code value="germline" />
                <display value="Germline" />
            </coding>
        </valueCodeableConcept>
    </extension>
    <!--  ***************extension end***************  -->
    <status value="available" />
    <type>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="4635002" />
            <display value="Arterial blood" />
        </coding>
    </type>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <receivedTime value="2022-11-25T11:10:00Z" />
    <collection>
        <collector>
            <reference value="Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example" />
        </collector>
        <collectedDateTime value="2022-11-25T16:00:00Z" />
    </collection>
</Specimen>

JSON View

{
    "resourceType": "Specimen",
    "id": "UKCore-Extension-SampleCategory-Example",
    "text": {
        "status": "additional",
        --- We have skipped the narrative for better readability of the resource ---
    },
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-SampleCategory",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-SampleCategory",
                        "code": "germline",
                        "display": "Germline"
                    }
                ]
            }
        }
    ],
    "status": "available",
    "type": {
        "coding":  [
            {
                "system": "http://snomed.info/sct",
                "code": "4635002",
                "display": "Arterial blood"
            }
        ]
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "receivedTime": "2022-11-25T11:10:00Z",
    "collection": {
        "collector": {
            "reference": "Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example"
        },
        "collectedDateTime": "2022-11-25T16:00:00Z"
    }
}