An example to illustrate the extension which is used to indicate the episodicity status of a condition

Table View

Condition.id[0]UKCore-Extension-ConditionEpisode-Example
Condition.text[0].status[0]additional
Condition.text[0].div[0]<div xmlns="http://www.w3.org/1999/xhtml">An example to illustrate the extension which is used to indicate the episodicity status of a condition</div>
Condition.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ConditionEpisode
Condition.extension[0].value[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-ConditionEpisodicity
Condition.extension[0].value[0].coding[0].code[0]new
Condition.extension[0].value[0].coding[0].display[0]New
Condition.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example

Tree View

Condition

XML View

<Condition xmlns="http://hl7.org/fhir">
    <id value="UKCore-Extension-ConditionEpisode-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-ConditionEpisode">
        <valueCode value="new" />
        <valueCodeableConcept>
            <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-ConditionEpisodicity" />
                <code value="new" />
                <display value="New" />
            </coding>
        </valueCodeableConcept>
    </extension>
    <!--   **************extension end**************   -->
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
</Condition>

JSON View

{
    "resourceType": "Condition",
    "id": "UKCore-Extension-ConditionEpisode-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-ConditionEpisode",
            "valueCode": "new"
        }
    ],
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    }
}