2nd DSTU Draft For Comment

This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

5.17.8 Resource EpisodeOfCare - Examples

Example Index:

Episode of Care exampleXMLJSON

5.17.8.1 example

XML

Episode of Care example (id = "example")

Raw XML

<EpisodeOfCare xmlns="http://hl7.org/fhir">
  <id value="example"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><!-- Snipped for brevity --></div>
  </text>
  <currentStatus value="active"/>
  <statusHistory>
    <status value="planned"/>
    <period>
      <start value="2014-09-01"/>
      <end value="2014-09-14"/>
    </period>
  </statusHistory>
  <statusHistory>
    <status value="active"/>
    <period>
      <start value="2014-09-15"/>
      <end value="2014-09-21"/>
    </period>
  </statusHistory>
  <statusHistory>
    <status value="onhold"/>
    <period>
      <start value="2014-09-22"/>
      <end value="2014-09-24"/>
    </period>
  </statusHistory>
  <statusHistory>
    <status value="active"/>
    <period>
      <start value="2014-09-25"/>
    </period>
  </statusHistory>
  <type>
    <coding>
      <system value="http://example.org/EpisodeOfCare/Type"/>
      <code value="HACC"/>
      <display value="Home and Community Care Package"/>
    </coding>
  </type>
  <patient>
    <reference value="Patient/example"/>
  </patient>
  <managingOrganization>
    <reference value="Organization/hl7"/>
  </managingOrganization>
  <period>
    <start value="2014-09-01"/>
  </period>
  <careManager>
    <reference value="Practitioner/14"/>
    <display value="Amanda Assigned"/>
  </careManager>
  <careTeam>
    <member>
      <reference value="Practitioner/13"/>
      <display value="Henry Seven"/>
    </member>
    <role>
      <coding>
        <system value="http://example.org/EpisodeOfCare/Role"/>
        <code value="AO"/>
        <display value="Assessment Worker"/>
      </coding>
    </role>
    <period>
      <start value="2014-09-01"/>
      <end value="2014-09-16"/>
    </period>
  </careTeam>
</EpisodeOfCare>

JSON

Episode of Care example

Raw JSON (Canonical)

{
  "resourceType": "EpisodeOfCare",
  "id": "example",
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"
  },
  "currentStatus": "active",
  "statusHistory": [
    {
      "status": "planned",
      "period": {
        "start": "2014-09-01",
        "end": "2014-09-14"
      }
    },
    {
      "status": "active",
      "period": {
        "start": "2014-09-15",
        "end": "2014-09-21"
      }
    },
    {
      "status": "onhold",
      "period": {
        "start": "2014-09-22",
        "end": "2014-09-24"
      }
    },
    {
      "status": "active",
      "period": {
        "start": "2014-09-25"
      }
    }
  ],
  "type": [
    {
      "coding": [
        {
          "system": "http://example.org/EpisodeOfCare/Type",
          "code": "HACC",
          "display": "Home and Community Care Package"
        }
      ]
    }
  ],
  "patient": {
    "reference": "Patient/example"
  },
  "managingOrganization": {
    "reference": "Organization/hl7"
  },
  "period": {
    "start": "2014-09-01"
  },
  "careManager": {
    "reference": "Practitioner/14",
    "display": "Amanda Assigned"
  },
  "careTeam": [
    {
      "member": {
        "reference": "Practitioner/13",
        "display": "Henry Seven"
      },
      "role": [
        {
          "coding": [
            {
              "system": "http://example.org/EpisodeOfCare/Role",
              "code": "AO",
              "display": "Assessment Worker"
            }
          ]
        }
      ],
      "period": {
        "start": "2014-09-01",
        "end": "2014-09-16"
      }
    }
  ]
}

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.