{
  "resourceType": "Encounter",
  "id": "34f8006c-5d3a-4140-96ea-f4a009a8e4d4",
  "identifier": [
    {
      "system": "http://sys-ids.kemkes.go.id/encounter/10000004",
      "value": "10085103"
    }
  ],
  "status": "finished",
  "class": {
    "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
    "code": "IMP",
    "display": "inpatient encounter"
  },
  "subject": {
    "reference": "Patient/100000030009",
    "display": "Budi Santoso"
  },
  "participant": [
    {
      "type": [
        {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
              "code": "ATND",
              "display": "attender"
            }
          ]
        }
      ],
      "individual": {
        "reference": "Practitioner/N10000001",
        "display": "Dokter Bronsig"
      }
    }
  ],
  "period": {
    "start": "2022-12-25T23:00:00+00:00",
    "end": "2022-12-26T02:30:27+00:00"
  },
  "location": [
    {
      "location": {
        "reference": "Location/fbd65f98-4864-48bd-a6f3-7b477a23e763",
        "display": "Bed 2, Ruang 210, Bangsal Rawat Inap Kelas 1, Layanan Penyakit Dalam, Lantai 2, Gedung Utama"
      }
    }
  ],
  "diagnosis": [
    {
      "condition": {
        "reference": "Condition/35fa402e-76fc-4d34-9cfe-b24eb8b428d6",
        "display": "Fever, unspecified"
      },
      "use": {
        "coding": [
          {
            "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role",
            "code": "AD",
            "display": "Admission diagnosis"
          }
        ]
      },
      "rank": 1
    },
    {
      "condition": {
        "reference": "Condition/85a22cfb-550d-483d-80c7-19016b37385f",
        "display": "Typhoid fever"
      },
      "use": {
        "coding": [
          {
            "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role",
            "code": "DD",
            "display": "Discharge diagnosis"
          }
        ]
      },
      "rank": 1
    },
    {
      "condition": {
        "reference": "Condition/42ad7faa-e9a2-4e7e-a603-c4384fddc433",
        "display": "Asthma, unspecified"
      },
      "use": {
        "coding": [
          {
            "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role",
            "code": "DD",
            "display": "Discharge diagnosis"
          }
        ]
      },
      "rank": 2
    }
  ],
  "statusHistory": [
    {
      "status": "in-progress",
      "period": {
        "start": "2022-12-24T23:00:00+00:00",
        "end": "2022-12-26T09:30:27+00:00"
      }
    },
    {
      "status": "finished",
      "period": {
        "start": "2022-12-26T09:30:27+00:00",
        "end": "2022-12-26T09:30:27+00:00"
      }
    }
  ],
  "hospitalization": {
    "dischargeDisposition": {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/discharge-disposition",
          "code": "home",
          "display": "Home"
        }
      ],
      "text": "Anjuran dokter untuk pulang dan kontrol kembali 1 bulan setelah minum obat"
    }
  },
  "serviceProvider": {
    "reference": "Organization/3c8f6d64-7eec-4747-a980-3e2a0e54b026"
  }
}