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

HdBe-TreatmentDirective2-01-Consent-01 example

{
    "resourceType": "Consent",
    "id": "HdBe-TreatmentDirective2-01-Consent-01",
    "meta": {
        "profile":  [
            "https://fhir.healthdata.be/StructureDefinition/HdBe-AdvanceDirective"
        ]
    },
    "extension":  [
        {
            "url": "https://fhir.healthdata.be/StructureDefinition/ext-Comment",
            "valueString": "Power of attorney granted to partner"
        },
        {
            "url": "https://fhir.healthdata.be/StructureDefinition/ext-AdvanceDirective.Disorder",
            "valueReference": {
                "reference": "Condition/HdBe-Problem-01",
                "type": "Condition",
                "display": "Problem: Listeriosis"
            }
        }
    ],
    "status": "active",
    "scope": {
        "coding":  [
            {
                "system": "http://terminology.hl7.org/CodeSystem/consentscope",
                "code": "adr",
                "display": "Advanced Care Directive"
            }
        ]
    },
    "category":  [
        {
            "coding":  [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/consentcategorycodes",
                    "code": "acd",
                    "display": "Advance Directive"
                }
            ]
        }
    ],
    "patient": {
        "reference": "Patient/HdBe-Patient-01",
        "type": "Patient",
        "display": "Belle Ulijn"
    },
    "dateTime": "2010-05-06",
    "sourceAttachment": {
        "contentType": "application/octet-stream",
        "data": "RXhhbXBsZSBjb250ZW50OiBQb3dlciBvZiBhdHRvcm5leSBncmFudGVkIA=="
    },
    "policy":  [
        {
            "uri": "https://www.belgielex.be/"
        }
    ],
    "provision": {
        "code":  [
            {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "186065003",
                        "display": "Power of attorney medical report"
                    }
                ]
            }
        ]
    }
}
<Consent xmlns="http://hl7.org/fhir">
    <id value="HdBe-TreatmentDirective2-01-Consent-01" />
    <meta>
        <profile value="https://fhir.healthdata.be/StructureDefinition/HdBe-AdvanceDirective" />
    </meta>
    <extension url="https://fhir.healthdata.be/StructureDefinition/ext-Comment">
        <valueString value="Power of attorney granted to partner" />
    </extension>
    <extension url="https://fhir.healthdata.be/StructureDefinition/ext-AdvanceDirective.Disorder">
        <valueReference>
            <reference value="Condition/HdBe-Problem-01" />
            <type value="Condition" />
            <display value="Problem: Listeriosis" />
        </valueReference>
    </extension>
    <status value="active" />
    <scope>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/consentscope" />
            <code value="adr" />
            <display value="Advanced Care Directive" />
        </coding>
    </scope>
    <category>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/consentcategorycodes" />
            <code value="acd" />
            <display value="Advance Directive" />
        </coding>
    </category>
    <patient>
        <reference value="Patient/HdBe-Patient-01" />
        <type value="Patient" />
        <display value="Belle Ulijn" />
    </patient>
    <dateTime value="2010-05-06" />
    <sourceAttachment>
        <contentType value="application/octet-stream" />
        <data value="RXhhbXBsZSBjb250ZW50OiBQb3dlciBvZiBhdHRvcm5leSBncmFudGVkIA==" />
    </sourceAttachment>
    <policy>
        <uri value="https://www.belgielex.be/" />
    </policy>
    <provision>
        <code>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="186065003" />
                <display value="Power of attorney medical report" />
            </coding>
        </code>
    </provision>
</Consent>
Consent
Consent.id[0]HdBe-TreatmentDirective2-01-Consent-01
Consent.meta[0].profile[0]https://fhir.healthdata.be/StructureDefinition/HdBe-AdvanceDirective
Consent.extension[0].url[0]https://fhir.healthdata.be/StructureDefinition/ext-Comment
Consent.extension[0].value[0]Power of attorney granted to partner
Consent.extension[1].url[0]https://fhir.healthdata.be/StructureDefinition/ext-AdvanceDirective.Disorder
Consent.extension[1].value[0].reference[0]Condition/HdBe-Problem-01
Consent.extension[1].value[0].type[0]Condition
Consent.extension[1].value[0].display[0]Problem: Listeriosis
Consent.status[0]active
Consent.scope[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/consentscope
Consent.scope[0].coding[0].code[0]adr
Consent.scope[0].coding[0].display[0]Advanced Care Directive
Consent.category[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/consentcategorycodes
Consent.category[0].coding[0].code[0]acd
Consent.category[0].coding[0].display[0]Advance Directive
Consent.patient[0].reference[0]Patient/HdBe-Patient-01
Consent.patient[0].type[0]Patient
Consent.patient[0].display[0]Belle Ulijn
Consent.dateTime[0]2010-05-06
Consent.source[0].contentType[0]application/octet-stream
Consent.source[0].data[0]RXhhbXBsZSBjb250ZW50OiBQb3dlciBvZiBhdHRvcm5leSBncmFudGVkIA==
Consent.policy[0].uri[0]https://www.belgielex.be/
Consent.provision[0].code[0].coding[0].system[0]http://snomed.info/sct
Consent.provision[0].code[0].coding[0].code[0]186065003
Consent.provision[0].code[0].coding[0].display[0]Power of attorney medical report