# encounter

Kunjungan pasien dapat didefinisikan sebagai interaksi pasien terhadap suatu layanan Fasyankes. Sebagai contoh, dalam satu rangkaian rawat jalan, seluruh rangkaian dapat didefinisikan sebagai satu “Encounter”. Data-data kunjungan pasien yang direkam meliputi kapan pertemuan tersebut mulai dan selesai, siapa tenaga kesehatan yang melayani, siapa subjek dari pelayanannya, dan informasi pendukung lainnya.

## \*e**ncounter.identifier**

Berisi satu atau lebih daftar data mengenai informasi terkait kode atau nomor kunjungan yang dimiliki oleh lokasi induk yang setiap datanya direpresentasikan dengan tipe data Identifier.

<table><thead><tr><th width="360">Elemen</th><th>Nilai Elemen</th></tr></thead><tbody><tr><td><h4 id="observation-identifier-use">Encounter.identifier[i].use</h4></td><td>Berisi data dengan tipe data <code>code</code>, yang nilainya mengacu pada data terminologi <a href="http://hl7.org/fhir/identifier-use">IdentifierUse</a>.</td></tr><tr><td>Encounter.identifier[i].system</td><td><a href="http://sys-ids.kemkes.go.id/encounter/{organization-ihs-number}">http://sys-ids.kemkes.go.id/encounter/{organization-ihs-number}</a> dengan <code>{organization-ihs-number}</code> adalah ID organisasi induk yang didapatkan dari master sarana indeks.</td></tr><tr><td>Encounter.identifier[i].value</td><td>Berisi kode atau ID lokal/nomor kunjungan lokal yang disimpan di sistem internal masing-masing organisasi.</td></tr></tbody></table>

### Encounter.identifier\[i].use <a href="#observation-identifier-use" id="observation-identifier-use"></a>

<table><thead><tr><th width="134">Code</th><th width="124">Display</th><th>Definition</th></tr></thead><tbody><tr><td>usual</td><td>Usual</td><td>The identifier recommended for display and use in real-world interactions which should be used when such identifier is different from the "official" identifier.</td></tr><tr><td>official</td><td>Official</td><td>The identifier considered to be most trusted for the identification of this item. Sometimes also known as "primary" and "main". The determination of "official" is subjective and implementation guides often provide additional guidelines for use.</td></tr><tr><td>temp</td><td>Temp</td><td>A temporary identifier.</td></tr><tr><td>secondary</td><td>Secondary</td><td>An identifier that was assigned in secondary use - it serves to identify the object in a relative context, but cannot be consistently assigned to the same object again in a different context.</td></tr><tr><td>old</td><td>Old</td><td>The identifier id no longer considered valid, but may be relevant for search purposes. E.g. Changes to identifier schemes, account merges, etc.</td></tr></tbody></table>

### **Contoh** e**ncounter.identifier**

{% code title="Contoh encounter.identifier" overflow="wrap" %}

```json
[
  {
    "system": "http://sys-ids.kemkes.go.id/encounter/10000004",
    "use": "official",
    "value": "P20240001"
  }
]
```

{% endcode %}

## **\*encounter.status**

Berisi data status tahapan dari kunjungan pasien dengan tipe data code, yang nilainya mengacu pada data  terminologi EncounterStatus (<http://hl7.org/fhir/encounter-status>).&#x20;

<table><thead><tr><th width="170">Code</th><th width="171">Display</th><th>Definition</th></tr></thead><tbody><tr><td>planned</td><td>Planned</td><td>The Encounter has not yet started.</td></tr><tr><td>in-progress</td><td>In Progress</td><td>The Encounter has begun and the patient is present / the practitioner and the patient are meeting.</td></tr><tr><td>on-hold</td><td>On Hold</td><td>The Encounter has begun, but is currently on hold, e.g. because the patient is temporarily on leave.</td></tr><tr><td>discharged</td><td>Discharged</td><td>The Encounter has been clinically completed, the patient has been discharged from the facility or the visit has ended, and the patient may have departed (refer to subjectStatus). While the encounter is in this status, administrative activities are usually performed, collating all required documentation and charge information before being released for billing, at which point the status will move to completed.</td></tr><tr><td>completed</td><td>Completed</td><td>The Encounter has ended.</td></tr><tr><td>cancelled</td><td>Cancelled</td><td>The Encounter has ended before it has begun.</td></tr><tr><td>discontinued</td><td>Discontinued</td><td>The Encounter has started, but was not able to be completed. Further action may need to be performed, such as rescheduling appointments related to this encounter.</td></tr><tr><td>entered-in-error</td><td>Entered in Error</td><td>This instance should not have been part of this patient's medical record.</td></tr><tr><td>unknown</td><td>Unknown</td><td>The encounter status is unknown. Note that "unknown" is a value of last resort and every attempt should be made to provide a meaningful value other than "unknown".</td></tr></tbody></table>

### **\*Encounter.statusHistory**

| Elemen                         | Nilai Elemen                                                                                                                                                                                                                                                                                         |
| ------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Encounter.statusHistory.status | Berisi satu atau lebih data penyimpanan riwayat status dari kunjungan pasien dengan tipe data code. Terdapat 3 status yang wajib dikirimkan datanya yaitu arrived, In-progress, dan finished, yang nilainya mengacu pada data  terminologi EncounterStatus (<http://hl7.org/fhir/encounter-status>). |
| Encounter.statusHistory.period | Berisi satu atau lebih data penyimpanan waktu/log dari kunjungan pasien dengan tipe data `Period`.                                                                                                                                                                                                   |

### **\*Encounter.statusHistory.status**

<table><thead><tr><th width="154">Code</th><th width="171">Display</th><th>Definition</th></tr></thead><tbody><tr><td>planned</td><td>Planned</td><td>The Encounter has not yet started.</td></tr><tr><td>in-progress</td><td>In Progress</td><td>The Encounter has begun and the patient is present / the practitioner and the patient are meeting.</td></tr><tr><td>on-hold</td><td>On Hold</td><td>The Encounter has begun, but is currently on hold, e.g. because the patient is temporarily on leave.</td></tr><tr><td>discharged</td><td>Discharged</td><td>The Encounter has been clinically completed, the patient has been discharged from the facility or the visit has ended, and the patient may have departed (refer to subjectStatus). While the encounter is in this status, administrative activities are usually performed, collating all required documentation and charge information before being released for billing, at which point the status will move to completed.</td></tr><tr><td>completed</td><td>Completed</td><td>The Encounter has ended.</td></tr><tr><td>cancelled</td><td>Cancelled</td><td>The Encounter has ended before it has begun.</td></tr><tr><td>discontinued</td><td>Discontinued</td><td>The Encounter has started, but was not able to be completed. Further action may need to be performed, such as rescheduling appointments related to this encounter.</td></tr><tr><td>entered-in-error</td><td>Entered in Error</td><td>This instance should not have been part of this patient's medical record.</td></tr><tr><td>unknown</td><td>Unknown</td><td>The encounter status is unknown. Note that "unknown" is a value of last resort and every attempt should be made to provide a meaningful value other than "unknown".</td></tr></tbody></table>

### \*Encounter.statusHistory.period <a href="#encounter-statushistory-period" id="encounter-statushistory-period"></a>

<table><thead><tr><th width="373">Elemen</th><th>Nilai Elemen</th></tr></thead><tbody><tr><td><h4 id="encounter-statushistory-period-start">*Encounter.statusHistory.period.start</h4></td><td>Diisi dengan waktu mulai, sama dengan waktu dimulainya suatu status kunjungan dalam format <code>YYYY-MM-DD</code>. Contoh: <mark style="color:green;"><code>"2022-06-14T07:00:00+07:00"</code></mark></td></tr><tr><td><strong>*Encounter.statusHistory.period.end</strong></td><td>Diisi dengan waktu mulai, sama dengan waktu berakhirnya suatu status kunjungan dalam format <code>YYYY-MM-DD</code>. Contoh: <mark style="color:green;"><code>"2022-06-14T07:00:00+07:00"</code></mark></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr></tbody></table>

## encounter.class

Berisi data klasifikasi dari pertemuan pasien dengan tipe data `Coding`, yang nilainya mengacu pada salah satu data terminologi dengan nama [ActEncounterCode](http://terminology.hl7.org/CodeSystem/v3-ActCode).

<table><thead><tr><th width="360">Elemen</th><th>Nilai Elemen</th></tr></thead><tbody><tr><td><h4 id="observation-identifier-use">Encounter.class.system</h4></td><td>"http://terminology.hl7.org/CodeSystem/v3-ActCode"</td></tr><tr><td>Encounter.class.code</td><td>Berisi kode sesuai jenis kunjungan.</td></tr><tr><td>Encounter.class.display</td><td>Berisi kode atau ID lokal/nomor kunjungan lokal yang disimpan di sistem internal masing-masing organisasi.</td></tr></tbody></table>

### Encounter.class.code & Encounter.class.display

<table><thead><tr><th width="125">Code</th><th width="143">Display</th><th>Definition</th></tr></thead><tbody><tr><td><a href="https://fhir-ru.github.io/v3/ActCode/cs.html#v3-ActCode-AMB">AMB</a></td><td>ambulatory</td><td>A comprehensive term for health care provided in a healthcare facility (e.g. a practitioneraTMs office, clinic setting, or hospital) on a nonresident basis. The term ambulatory usually implies that the patient has come to the location and is not assigned to a bed. Sometimes referred to as an outpatient encounter.</td></tr><tr><td><a href="https://fhir-ru.github.io/v3/ActCode/cs.html#v3-ActCode-EMER">EMER</a></td><td>emergency</td><td>A patient encounter that takes place at a dedicated healthcare service delivery location where the patient receives immediate evaluation and treatment, provided until the patient can be discharged or responsibility for the patient's care is transferred elsewhere (for example, the patient could be admitted as an inpatient or transferred to another facility.)</td></tr><tr><td><a href="https://fhir-ru.github.io/v3/ActCode/cs.html#v3-ActCode-FLD">FLD</a></td><td>field</td><td>A patient encounter that takes place both outside a dedicated service delivery location and outside a patient's residence. Example locations might include an accident site and at a supermarket.</td></tr><tr><td><a href="https://fhir-ru.github.io/v3/ActCode/cs.html#v3-ActCode-HH">HH</a></td><td>home health</td><td>Healthcare encounter that takes place in the residence of the patient or a designee</td></tr><tr><td><a href="https://fhir-ru.github.io/v3/ActCode/cs.html#v3-ActCode-IMP">IMP</a></td><td>inpatient encounter</td><td>A patient encounter where a patient is admitted by a hospital or equivalent facility, assigned to a location where patients generally stay at least overnight and provided with room, board, and continuous nursing service.</td></tr><tr><td><a href="https://fhir-ru.github.io/v3/ActCode/cs.html#v3-ActCode-ACUTE">ACUTE</a></td><td>inpatient acute</td><td>An acute inpatient encounter.</td></tr><tr><td><a href="https://fhir-ru.github.io/v3/ActCode/cs.html#v3-ActCode-NONAC">NONAC</a></td><td>inpatient non-acute</td><td>Any category of inpatient encounter except 'acute'</td></tr><tr><td><a href="https://fhir-ru.github.io/v3/ActCode/cs.html#v3-ActCode-OBSENC">OBSENC</a></td><td>observation encounter</td><td>An encounter where the patient usually will start in different encounter, such as one in the emergency department (EMER) but then transition to this type of encounter because they require a significant period of treatment and monitoring to determine whether or not their condition warrants an inpatient admission or discharge. In the majority of cases the decision about admission or discharge will occur within a time period determined by local, regional or national regulation, often between 24 and 48 hours.</td></tr><tr><td><a href="https://fhir-ru.github.io/v3/ActCode/cs.html#v3-ActCode-PRENC">PRENC</a></td><td>pre-admission</td><td>A patient encounter where patient is scheduled or planned to receive service delivery in the future, and the patient is given a pre-admission account number. When the patient comes back for subsequent service, the pre-admission encounter is selected and is encapsulated into the service registration, and a new account number is generated. Usage Note: This is intended to be used in advance of encounter types such as ambulatory, inpatient encounter, virtual, etc.</td></tr><tr><td><a href="https://fhir-ru.github.io/v3/ActCode/cs.html#v3-ActCode-SS">SS</a></td><td>short stay</td><td>An encounter where the patient is admitted to a health care facility for a predetermined length of time, usually less than 24 hours.</td></tr><tr><td><a href="https://fhir-ru.github.io/v3/ActCode/cs.html#v3-ActCode-VR">VR</a></td><td>virtual</td><td>A patient encounter where the patient and the practitioner(s) are not in the same physical location. Examples include telephone conference, email exchange, robotic surgery, and televideo conference.</td></tr></tbody></table>

## encounter.identifier

<br>

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dokumentasisatusehat-stg.dto.kemkes.go.id/resource-and-terminologi/daftar-resources-and-terminologi/encounter.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
