Important: This is a draft IG for trial use. Click here to give feedback.

HdBe-TreatmentObjective-01 example

{
    "resourceType": "Goal",
    "id": "HdBe-TreatmentObjective-01",
    "meta": {
        "profile":  [
            "https://fhir.healthdata.be/StructureDefinition/HdBe-TreatmentObjective"
        ]
    },
    "lifecycleStatus": "active",
    "description": {
        "text": "TreatmentObjective is to be able to shave again"
    },
    "subject": {
        "reference": "Patient/HdBe-Patient-01",
        "type": "Patient",
        "display": "Belle Ulijn"
    },
    "target":  [
        {
            "extension":  [
                {
                    "url": "https://fhir.healthdata.be/StructureDefinition/ext-TreatmentObjective.MedicalDevice",
                    "valueReference": {
                        "reference": "DeviceUseStatement/HdBe-TreatmentObjective-01-DeviceUseStatement-01",
                        "type": "DeviceUseStatement",
                        "display": "Medical Device"
                    }
                }
            ],
            "measure": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "365204009",
                        "display": "Finding related to ability to shave"
                    }
                ]
            },
            "detailCodeableConcept": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "284888003",
                        "display": "Able to shave"
                    }
                ]
            },
            "dueDate": "2022-02-23"
        }
    ],
    "addresses":  [
        {
            "reference": "Condition/HdBe-TreatmentObjective-01-Condition-01",
            "type": "Condition",
            "display": "Problem: Difficulty performing personal grooming activity"
        }
    ],
    "note":  [
        {
            "text": "The patient is determined to obtain this objective."
        }
    ]
}
<Goal xmlns="http://hl7.org/fhir">
    <id value="HdBe-TreatmentObjective-01" />
    <meta>
        <profile value="https://fhir.healthdata.be/StructureDefinition/HdBe-TreatmentObjective" />
    </meta>
    <lifecycleStatus value="active" />
    <description>
        <text value="TreatmentObjective is to be able to shave again" />
    </description>
    <subject>
        <reference value="Patient/HdBe-Patient-01" />
        <type value="Patient" />
        <display value="Belle Ulijn" />
    </subject>
    <target>
        <extension url="https://fhir.healthdata.be/StructureDefinition/ext-TreatmentObjective.MedicalDevice">
            <valueReference>
                <reference value="DeviceUseStatement/HdBe-TreatmentObjective-01-DeviceUseStatement-01" />
                <type value="DeviceUseStatement" />
                <display value="Medical Device" />
            </valueReference>
        </extension>
        <measure>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="365204009" />
                <display value="Finding related to ability to shave" />
            </coding>
        </measure>
        <detailCodeableConcept>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="284888003" />
                <display value="Able to shave" />
            </coding>
        </detailCodeableConcept>
        <dueDate value="2022-02-23" />
    </target>
    <addresses>
        <reference value="Condition/HdBe-TreatmentObjective-01-Condition-01" />
        <type value="Condition" />
        <display value="Problem: Difficulty performing personal grooming activity" />
    </addresses>
    <note>
        <text value="The patient is determined to obtain this objective." />
    </note>
</Goal>
Goal
Goal.id[0]HdBe-TreatmentObjective-01
Goal.meta[0].profile[0]https://fhir.healthdata.be/StructureDefinition/HdBe-TreatmentObjective
Goal.lifecycleStatus[0]active
Goal.description[0].text[0]TreatmentObjective is to be able to shave again
Goal.subject[0].reference[0]Patient/HdBe-Patient-01
Goal.subject[0].type[0]Patient
Goal.subject[0].display[0]Belle Ulijn
Goal.target[0].extension[0].url[0]https://fhir.healthdata.be/StructureDefinition/ext-TreatmentObjective.MedicalDevice
Goal.target[0].extension[0].value[0].reference[0]DeviceUseStatement/HdBe-TreatmentObjective-01-DeviceUseStatement-01
Goal.target[0].extension[0].value[0].type[0]DeviceUseStatement
Goal.target[0].extension[0].value[0].display[0]Medical Device
Goal.target[0].measure[0].coding[0].system[0]http://snomed.info/sct
Goal.target[0].measure[0].coding[0].code[0]365204009
Goal.target[0].measure[0].coding[0].display[0]Finding related to ability to shave
Goal.target[0].detail[0].coding[0].system[0]http://snomed.info/sct
Goal.target[0].detail[0].coding[0].code[0]284888003
Goal.target[0].detail[0].coding[0].display[0]Able to shave
Goal.target[0].due[0]2022-02-23
Goal.addresses[0].reference[0]Condition/HdBe-TreatmentObjective-01-Condition-01
Goal.addresses[0].type[0]Condition
Goal.addresses[0].display[0]Problem: Difficulty performing personal grooming activity
Goal.note[0].text[0]The patient is determined to obtain this objective.