Mental Health Crisis Plan

{
    "resourceType": "DocumentReference",
    "id": "f8d20eed-b5cf-42a8-b193-c074e3ae692a",
    "meta": {
        "lastUpdated": "2016-03-08T15:26:01+01:00"
    },
    "status": "current",
    "type": {
        "coding":  [
            {
                "system": "http://snomed.info/sct",
                "code": "736253002",
                "display": "Mental health crisis plan"
            }
        ]
    },
    "category":  [
        {
            "coding":  [
                {
                    "system": "http://snomed.info/sct",
                    "code": "734163000",
                    "display": "Care plan"
                }
            ]
        }
    ],
    "subject": {
        "identifier": {
            "system": "https://fhir.nhs.uk/Id/nhs-number",
            "value": "9876543210"
        }
    },
    "author":  [
        {
            "identifier": {
                "system": "https://fhir.nhs.uk/Id/ods-organization-code",
                "value": "RGD"
            }
        }
    ],
    "custodian": {
        "identifier": {
            "system": "https://fhir.nhs.uk/Id/ods-organization-code",
            "value": "RR8"
        }
    },
    "content":  [
        {
            "attachment": {
                "contentType": "application/pdf",
                "url": "https://p1.nhs.uk/MentalhealthCrisisPlanReport.pdf",
                "creation": "2016-03-08T15:26:00+01:00"
            },
            "format": {
                "system": "https://fhir.nhs.uk/STU3/CodeSystem/NRL-FormatCode-1",
                "code": "urn:nhs-ic:unstructured",
                "display": "Unstructured Document"
            }
        }
    ],
    "context": {
        "period": {
            "start": "2016-03-07T13:34:00+01:00"
        },
        "practiceSetting": {
            "coding":  [
                {
                    "system": "http://snomed.info/sct",
                    "code": "708168004",
                    "display": "Mental health service"
                }
            ]
        }
    }
}
<DocumentReference xmlns="http://hl7.org/fhir">
    <id value="f8d20eed-b5cf-42a8-b193-c074e3ae692a" />
    <meta>
        <lastUpdated value="2016-03-08T15:26:01+01:00" />
    </meta>
    <status value="current" />
    <type>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="736253002" />
            <display value="Mental health crisis plan" />
        </coding>
    </type>
    <category>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="734163000" />
            <display value="Care plan" />
        </coding>
    </category>
    <subject>
        <identifier>
            <system value="https://fhir.nhs.uk/Id/nhs-number" />
            <value value="9876543210" />
        </identifier>
    </subject>
    <author>
        <identifier>
            <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
            <value value="RGD" />
        </identifier>
    </author>
    <custodian>
        <identifier>
            <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
            <value value="RR8" />
        </identifier>
    </custodian>
    <content>
        <attachment>
            <contentType value="application/pdf" />
            <url value="https://p1.nhs.uk/MentalhealthCrisisPlanReport.pdf" />
            <creation value="2016-03-08T15:26:00+01:00" />
        </attachment>
        <format>
            <system value="https://fhir.nhs.uk/STU3/CodeSystem/NRL-FormatCode-1" />
            <code value="urn:nhs-ic:unstructured" />
            <display value="Unstructured Document" />
        </format>
    </content>
    <context>
        <period>
            <start value="2016-03-07T13:34:00+01:00" />
        </period>
        <practiceSetting>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="708168004" />
                <display value="Mental health service" />
            </coding>
        </practiceSetting>
    </context>
</DocumentReference>
DocumentReference