# Encounter

> Visits the patient came in for, with type, provider, location and time.

Conforms to [US Core Encounter](http://hl7.org/fhir/us/core/STU6.1/StructureDefinition-us-core-encounter.html). Scope: `system/Encounter.rs` (or `system/Encounter.read`).

`GET [base]/Encounter/{id}` — Read one Encounter.

`GET [base]/Encounter?{parameters}` — Search Encounter. Returns a `Bundle`.

`POST [base]/Encounter/_search` — Search with the parameters in a form body.

## Search parameters

| Parameter | Type | Description |
| --- | --- | --- |
| `_id` | token | The resource id. Comma-separate for several. |
| `patient` | reference | `Patient/{id}`. |
| `date` | date | Date (FHIR date, with prefixes; repeat for a range). |
| `identifier` | token | An identifier, as `system\|value` or just `value` (MRN for Patient, NPI for Practitioner, Location and Organization). |
| `status` | token | Status code; comma-separate for several. |
| `class` | token | Encounter class (`AMB`). |
| `type` | token | `prov` (the practice) or `pay` (insurance payers). |
| `location` | reference | `Location/{id}`. |
| `discharge-disposition` | token | Not recorded for office visits. |
| `_lastUpdated` | date | Last change (FHIR date, with prefixes). |
| `_count` | number | Results per page (default 50, at most 200). See [paging](/paging.md). |

Repeat a parameter to AND its values; separate values with commas to OR them.

> **Note:** Encounter must be searched by patient: `Encounter?patient=Patient/{id}` (or by `_id`).

Ids start with the patient's key, so reads work directly. Add `_revinclude=Provenance:target` to get each resource's Provenance.

## Example

*Search request*

```bash
curl "https://qa3.somahealth.com/api/fhir/r4/your-practice/Encounter?" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Accept: application/fhir+json"
```

*Encounter (an entry in the response Bundle)*

```json
{}
```

Examples use made-up data. Elements appear only when the practice has recorded them.

---
Last updated 2026-12-04 · Soma Health FHIR API
