Observation-Immunodefficiency-Example

Example of an Observation indicating the presence/absence of a HPO term.

Observation
{
    "resourceType": "Observation",
    "id": "Observation-Immunodefficiency-Example",
    "status": "final",
    "code": {
        "coding":  [
            {
                "system": "http://human-phenotype-ontology.org",
                "version": "20221005",
                "code": "HP:0002721",
                "display": "Immunodefficiency"
            }
        ]
    },
    "subject": {
        "reference": "Patient/Patient-JamesMetcalfe-Example",
        "identifier": {
            "system": "https://fhir.nhs.uk/Id/nhs-number",
            "value": "7449306524"
        }
    },
    "effectiveDateTime": "2023-10-01",
    "valueBoolean": true
}
<Observation xmlns="http://hl7.org/fhir">
    <id value="Observation-Immunodefficiency-Example" />
    <status value="final" />
    <code>
        <coding>
            <system value="http://human-phenotype-ontology.org" />
            <version value="20221005" />
            <code value="HP:0002721" />
            <display value="Immunodefficiency" />
        </coding>
    </code>
    <subject>
        <reference value="Patient/Patient-JamesMetcalfe-Example" />
        <identifier>
            <system value="https://fhir.nhs.uk/Id/nhs-number" />
            <value value="7449306524" />
        </identifier>
    </subject>
    <effectiveDateTime value="2023-10-01" />
    <valueBoolean value="true" />
</Observation>