> ## Documentation Index
> Fetch the complete documentation index at: https://developer.suki.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Encounter Type

> Encounter type represents a clinical encounter with patient information

Encounter type represents a clinical encounter with patient information. The code snippet below shows how to use the `Encounter` type to create an encounter object.

```js JavaScript theme={"theme":{"light":"github-dark","dark":"material-theme-darker"}}
type Encounter = {
  identifier?: string; // optional; max 36 characters
  patient: Patient;
};
```

## Properties

<Expandable title="properties" defaultOpen="true">
  <ResponseField name="identifier" type="string">
    **Optional** - Unique identifier for the encounter. Must be a string **at most 36 characters** (<Tooltip tip="VARCHAR is a variable-length SQL string type. varchar(36) caps these identifiers at 36 characters. See the Glossary." cta="View in Glossary" href="/Glossary/v#varchar-36">varchar(36)</Tooltip>) when you set it.
  </ResponseField>

  <ResponseField name="patient" type="Patient" href="/web-sdk/api-reference/types/patient" required>
    Patient information for the encounter
  </ResponseField>
</Expandable>
