> ## 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.

# Patient Type

> Patient type represents demographic and identification information

Patient type represents demographic and identification information. The code snippet below shows how to use the `Patient` type to create a patient object.

```js JavaScript theme={"theme":{"light":"github-dark","dark":"material-theme-darker"}}
type Patient = {
  identifier: string; // max 36 characters
  kind?: string;
  name: {
    use: string;
    family: string;
    given: string[];
    suffix: string[];
  };
  birthDate: string;
  gender: "MALE" | "FEMALE" | "UNKNOWN";
};
```

## Properties

<Expandable title="properties" defaultOpen="true">
  <ResponseField name="birthDate" type="string">
    **Optional** - Date of birth in YYYY-MM-DD format
  </ResponseField>

  <ResponseField name="gender" type="MALE | FEMALE | UNKNOWN">
    **Optional** - Patient's gender. Use "UNKNOWN" if gender information is not available
  </ResponseField>

  <ResponseField name="identifier" type="string" required>
    Unique identifier for the patient. 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>), for example an EMR patient key.
  </ResponseField>

  <ResponseField name="kind" type="string">
    Kind of patient (e.g., "human", "animal")
  </ResponseField>

  <ResponseField name="name" type="object" required>
    Patient name information
  </ResponseField>

  <ResponseField name="name.family" type="string" required>
    Family name (last name)
  </ResponseField>

  <ResponseField name="name.given" type="string[]" required>
    Given names (first names)
  </ResponseField>

  <ResponseField name="name.suffix" type="string[]" required>
    Name suffixes
  </ResponseField>

  <ResponseField name="name.use" type="string" required>
    Use of the name (e.g., "usual", "official", "nickname")
  </ResponseField>
</Expandable>
