{

"resourceType": "EpisodeOfCare",
"id": "example",
"identifier": [
  {
    "system": "http://example.org/sampleepisodeofcare-identifier",
    "value": "123"
  }
],
"status": "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://terminology.hl7.org/CodeSystem/episodeofcare-type",
        "code": "hacc",
        "display": "Home and Community Care"
      }
    ]
  }
],
"diagnosis": [
  {
    "condition": {
      "reference": "Condition/stroke"
    },
    "role": {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role",
          "code": "CC",
          "display": "Chief complaint"
        }
      ]
    },
    "rank": 1
  }
],
"patient": {
  "reference": "Patient/example"
},
"managingOrganization": {
  "reference": "Organization/hl7"
},
"period": {
  "start": "2014-09-01"
},
"referralRequest": [
  {
    "display": "Referral from Example Aged Care Services"
  }
],
"careManager": {
  "reference": "Practitioner/14",
  "display": "Amanda Assigned"
},
"team": [
  {
    "reference": "CareTeam/example",
    "display": "example care team"
  }
],
"account": [
  {
    "reference": "Account/example",
    "display": "example account"
  }
],
"meta": {
  "tag": [
    {
      "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
      "code": "HTEST",
      "display": "test health data"
    }
  ]
}

}