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

# Patient

> Event payload details and trigger documentation for Patient data from Cerbo

<img src="https://mintlify.s3.us-west-1.amazonaws.com/morfhealth/images/cerbo.svg" alt="images/cerbo.svg" />

# Events

## Triggering Webhook Types

The following event types are associated with the Patient event payload from Cerbo.

* `Cerbo Patient Created`
* `Cerbo Patient Updated`

<RequestExample>
  ```json Example theme={null}
  {
    "date_of_birth": "1990-01-01",
    "first_name": "John",
    "id": "5563",
    "last_name": "Doe",
    "sex": "F"
  }
  ```
</RequestExample>

<ResponseExample>
  ```json Description theme={null}
  {
    "date_of_birth": "Date of Birth",
    "first_name": "First Name",
    "id": "Patient ID",
    "last_name": "Last Name",
    "sex": "Sex"
  }
  ```
</ResponseExample>

### Payload Field Details

<ResponseField name="Patient" type="Event Payload">
  <Expandable title="fields" defaultOpen="true">
    <ResponseField name="id" type="string" required>
      `ID` Patient ID

      ```json CEL theme={null}
      id
      ```

      ```json Example theme={null}
      "5563"
      ```
    </ResponseField>

    <ResponseField name="first_name" type="string">
      `PII` First Name

      ```json CEL theme={null}
      first_name
      ```

      ```json Example theme={null}
      "John"
      ```
    </ResponseField>

    <ResponseField name="last_name" type="string">
      `PII` Last Name

      ```json CEL theme={null}
      last_name
      ```

      ```json Example theme={null}
      "Doe"
      ```
    </ResponseField>

    <ResponseField name="date_of_birth" type="values.v1.Date">
      `PII` Date of Birth

      ```json CEL theme={null}
      date_of_birth
      ```

      ```json Example theme={null}
      "1990-01-01"
      ```
    </ResponseField>

    <ResponseField name="sex" type="cerbo.v1.PatientSex">
      Sex

      ```json CEL theme={null}
      sex
      ```

      ```json Example theme={null}
      cerbo.v1.PatientSex.MALE
      cerbo.v1.PatientSex.FEMALE
      cerbo.v1.PatientSex.OTHER
      ```
    </ResponseField>
  </Expandable>
</ResponseField>
