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

<img src="https://mintcdn.com/morfhealth/EU2WCxuXGIUQcziR/images/athena.svg?fit=max&auto=format&n=EU2WCxuXGIUQcziR&q=85&s=8583fdd7ec593228b6241d194b1076d0" alt="images/athena.svg" width="40" height="40" data-path="images/athena.svg" />

# Events

## Triggering Webhook Types

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

* `Athena Patient Updated`

<RequestExample>
  ```json Example theme={null}
  {
    "address1": "123 Main Street",
    "address2": "Apt 4B",
    "agricultural_worker_type": "SEASONAL",
    "all_patient_statuses": "[{\"status\":\"active\",\"department_id\":1}]",
    "alt_first_name": "Jonathan",
    "assigned_sex_at_birth": "ASSIGNED_SEX_AT_BIRTH_M",
    "balances": "[{\"department_list\":\"1,2\",\"balance\":\"100.00\"}]",
    "care_summary_delivery_preference": "PORTAL",
    "city": "Boston",
    "clinical_order_type_group_id": "10",
    "consent_to_call": true,
    "consent_to_text": true,
    "contact_home_phone": "+15551234567",
    "contact_mobile_phone": "+15551234567",
    "contact_name": null,
    "contact_preference": "EMAIL",
    "contact_preference_announcement_email": true,
    "contact_preference_announcement_phone": false,
    "contact_preference_announcement_sms": false,
    "contact_preference_appointment_email": true,
    "contact_preference_appointment_phone": false,
    "contact_preference_appointment_sms": false,
    "contact_preference_billing_email": true,
    "contact_preference_billing_phone": false,
    "contact_preference_billing_sms": false,
    "contact_preference_lab_email": true,
    "contact_preference_lab_phone": false,
    "contact_preference_lab_sms": false,
    "contact_relationship": "SPOUSE",
    "country_code_3166": "USA",
    "custom_fields": [
      {
        "custom_field_id": "CF123",
        "custom_field_value": "Value for non-select field",
        "option_id": "OPT456"
      }
    ],
    "date_of_birth": "1980-01-15",
    "deceased_date": "2023-01-01",
    "default_pharmacy_ncpdp_id": "123456789",
    "department_id": "123",
    "do_not_call": false,
    "drivers_license_expiration_date": "2025-12-31",
    "drivers_license_number": "S12345678",
    "drivers_license_ssn": "123-45-6789",
    "drivers_license_state_id": "MA",
    "drivers_license_url": "https://example.com/license.jpg",
    "email": "john.smith@email.com",
    "email_exists": true,
    "employer_address": "123 Main St",
    "employer_city": "Boston",
    "employer_fax": "+15551234567",
    "employer_id": 12345,
    "employer_name": "Acme Corp",
    "employer_phone": "+15551234567",
    "employer_state": "MA",
    "employer_zip": "02108",
    "ethnicity_code": "2135-2",
    "ethnicity_codes": "2135-2,2186-5",
    "first_appointment_datetime": "2024-05-01T09:00:00Z",
    "first_name": "John",
    "gender_identity": "Male",
    "gender_identity_other": "Non-binary",
    "guarantor_address_1": "456 Oak St",
    "guarantor_address_2": "Suite 101",
    "guarantor_city": "Cambridge",
    "guarantor_country_code_3166": "US",
    "guarantor_dob": "1980-01-15",
    "guarantor_email": "jane.doe@example.com",
    "guarantor_first_name": "Jane",
    "guarantor_last_name": "Doe",
    "guarantor_middle_name": "Marie",
    "guarantor_phone": "+15559876543",
    "guarantor_relationship": "SELF",
    "guarantor_sex": "F",
    "guarantor_ssn": "123-45-6789",
    "guarantor_state": "MA",
    "guarantor_zip": "02142",
    "guardian_address_1": "123 Main St",
    "guardian_address_2": "Apt 4B",
    "guardian_city": "Boston",
    "guardian_first_name": "John",
    "guardian_home_phone": "+15551234567",
    "guardian_last_name": "Smith",
    "guardian_middle_name": "Robert",
    "guardian_relationship": "PARENT",
    "guardian_state": "MA",
    "guardian_zip": "02108",
    "has_drivers_license": true,
    "has_mobile": true,
    "have_patient_photo": false,
    "home_phone": "+15551234567",
    "homeless_type": "TRANSITIONAL",
    "id": "12345",
    "industry_code": "62",
    "insurances": "[{\"insurance_id\":\"INS123\"}]",
    "is_agricultural_worker": false,
    "is_homebound": false,
    "is_homeless": false,
    "is_online_statement_only": true,
    "is_public_housing": false,
    "is_school_based_health_center": false,
    "is_veteran": false,
    "language_6392_code": "eng",
    "last_appointment_datetime": "2024-05-02T15:30:00Z",
    "last_email": "john.smith@email.com",
    "last_name": "Smith",
    "last_updated_by": "jsmith",
    "local_patient_id": "15001",
    "marital_status": "MARITAL_STATUS_MARRIED",
    "middle_name": "Robert",
    "mobile_carrier_id": "21",
    "mobile_phone": "+15551236543",
    "next_of_kin_name": "Jane Smith",
    "next_of_kin_phone": "+15551234567",
    "next_of_kin_relationship": "SPOUSE",
    "notes": "Patient prefers afternoon appointments",
    "occupation_code": "29-1141",
    "portal_access_given": true,
    "portal_signature_on_file": true,
    "portal_status": {
      "blocked_failed_logins": false,
      "entity_to_display": "patient",
      "family_blocked_failed_logins": false,
      "family_registered": true,
      "no_portal": false,
      "portal_registration_date": "2023-05-15",
      "registered": true,
      "status": "REGISTERED",
      "terms_accepted": true
    },
    "portal_terms_on_file": true,
    "poverty_level_calculated": 150,
    "poverty_level_family_size": "4",
    "poverty_level_family_size_declined": false,
    "poverty_level_income_declined": false,
    "poverty_level_income_pay_period": "MONTH",
    "poverty_level_income_per_pay_period": 3000,
    "poverty_level_income_range_declined": false,
    "preferred_name": "Johnny",
    "preferred_pronouns": "he/him",
    "primary_department_id": "123",
    "primary_provider_id": "PROV456",
    "privacy_information_verified": false,
    "race": "2106-3",
    "race_code": "2106-3",
    "race_name": "Caucasian",
    "referral_source_id": "REF789",
    "referral_source_other": "Online search",
    "registration_date": "2024-05-01",
    "sex": "SEX_MALE",
    "sexual_orientation": "SEXUAL_ORIENTATION_STRAIGHT_HETEROSEXUAL",
    "sexual_orientation_other": "Pansexual",
    "ssn": "123-45-6789",
    "state": "MA",
    "status": "PATIENT_STATUS_ACTIVE",
    "suffix": "Jr.",
    "test_patient": false,
    "work_phone": "+15552468135",
    "zip": "02108"
  }
  ```
</RequestExample>

<ResponseExample>
  ```json Description theme={null}
  {
    "address1": "Patient's address - 1st line",
    "address2": "Patient's address - 2nd line",
    "agricultural_worker_type": "For patients that are agricultural workers, identifies the type of worker",
    "all_patient_statuses": {
      "department_id": "The department ID associated with this status",
      "primary_provider_id": "The primary provider ID associated with this status",
      "status": "The status of the patient (e.g., active, inactive, etc.)"
    },
    "alt_first_name": "Alternate first name that differs from legal name",
    "assigned_sex_at_birth": "Sex that this patient was assigned at birth",
    "balances": {
      "balance": "The balance amount",
      "clean_balance": "Is the balance clean",
      "department_list": "The department list associated with this balance",
      "provider_group_id": "The provider group ID associated with this balance"
    },
    "care_summary_delivery_preference": "The patient's preferred method of receiving care summaries",
    "city": "Patient's city",
    "clinical_order_type_group_id": "The clinical order type group of the clinical provider",
    "consent_to_call": "Flag for consent to receive automated calls",
    "consent_to_text": "Flag for consent to receive text messages",
    "contact_home_phone": "Emergency contact home phone",
    "contact_mobile_phone": "Emergency contact mobile phone",
    "contact_name": "The name of the (emergency) person to contact about the patient",
    "contact_preference": "The preferred method of contact for the patient",
    "contact_preference_announcement_email": "If true, patient prefers to get announcement communications via email",
    "contact_preference_announcement_phone": "If true, patient prefers to get announcement communications via phone",
    "contact_preference_announcement_sms": "If true, patient prefers to get announcement communications via SMS",
    "contact_preference_appointment_email": "If true, patient prefers to get appointment communications via email",
    "contact_preference_appointment_phone": "If true, patient prefers to get appointment communications via phone",
    "contact_preference_appointment_sms": "If true, patient prefers to get appointment communications via SMS",
    "contact_preference_billing_email": "If true, patient prefers to get billing communications via email",
    "contact_preference_billing_phone": "If true, patient prefers to get billing communications via phone",
    "contact_preference_billing_sms": "If true, patient prefers to get billing communications via SMS",
    "contact_preference_lab_email": "If true, patient prefers to get lab communications via email",
    "contact_preference_lab_phone": "If true, patient prefers to get lab communications via phone",
    "contact_preference_lab_sms": "If true, patient prefers to get lab communications via SMS",
    "contact_relationship": "Emergency contact relationship (one of SPOUSE, PARENT, CHILD, SIBLING, FRIEND, COUSIN, GUARDIAN, OTHER)",
    "country_code_3166": "Patient's country code (ISO 3166-1)",
    "custom_fields": {
      "custom_field_id": "Corresponds to the /customfields customfieldid",
      "custom_field_value": "For a non-select custom field, the value",
      "option_id": "For a select custom field, the selectid value (from /customfield's selectlist)"
    },
    "date_of_birth": "Patient's date of birth",
    "deceased_date": "If present, the date on which a patient died",
    "default_pharmacy_ncpdp_id": "The NCPDP ID of the patient's preferred pharmacy",
    "department_id": "Primary (registration) department ID",
    "do_not_call": "Warning! Patient will not receive any communication if true",
    "drivers_license_expiration_date": "The expiration date of the patient's driver's license",
    "drivers_license_number": "The number of the patient's driver's license",
    "drivers_license_ssn": "The SSN on the patient's driver's license",
    "drivers_license_state_id": "The state of the patient's driver's license. This is in the form of a 2 letter state code.",
    "drivers_license_url": "The URL to the patient's driver's license image",
    "email": "Patient's email address",
    "email_exists": "True if the patient's email exists",
    "employer_address": "The patient's employer's address",
    "employer_city": "The patient's employer's city",
    "employer_fax": "The patient's employer's fax number",
    "employer_id": "The patient's employer's ID",
    "employer_name": "The patient's employer's name",
    "employer_phone": "The patient's employer's phone number",
    "employer_state": "The patient's employer's state (2 letter abbreviation)",
    "employer_zip": "The patient's employer's zip code",
    "ethnicity_code": "Ethnicity of the patient, using the 2.16.840.1.113883.5.50 codeset. Special case: use \"declined\" to indicate that the patient declined to answer.",
    "ethnicity_codes": "Ethnicities of the patient, using the 2.16.840.1.113883.5.50 codeset. Special case: use \"declined\" to indicate that the patient declined to answer.",
    "first_appointment_datetime": "The date and time of the patient's first appointment",
    "first_name": "Patient's first name",
    "gender_identity": "Gender the patient identifies as",
    "gender_identity_other": "If a patient does not identify with any prescribed gender identity choice, this field stores the patient-provided description",
    "guarantor_address_1": "The first line of the guarantor's address",
    "guarantor_address_2": "The second line of the guarantor's address",
    "guarantor_city": "The city of the guarantor's address",
    "guarantor_country_code_3166": "The country code of the guarantor's address",
    "guarantor_dob": "The date of birth of the guarantor",
    "guarantor_email": "The email address of the guarantor",
    "guarantor_first_name": "The first name of the patient's guarantor",
    "guarantor_last_name": "The last name of the patient's guarantor",
    "guarantor_middle_name": "The middle name of the patient's guarantor",
    "guarantor_phone": "The guarantor's phone number",
    "guarantor_relationship": "The relationship of the guarantor to the patient",
    "guarantor_sex": "The sex of the guarantor",
    "guarantor_ssn": "The social security number of the guarantor",
    "guarantor_state": "The state of the guarantor's address",
    "guarantor_zip": "The ZIP code of the guarantor's address",
    "guardian_address_1": "The first line of the guardian's address",
    "guardian_address_2": "The second line of the guardian's address",
    "guardian_city": "The city of the guardian's address",
    "guardian_first_name": "The first name of the patient's guardian",
    "guardian_home_phone": "The guardian's home phone number",
    "guardian_last_name": "The last name of the patient's guardian",
    "guardian_middle_name": "The middle name of the patient's guardian",
    "guardian_relationship": "The relationship of the guardian to the patient",
    "guardian_state": "The state of the guardian's address",
    "guardian_zip": "The ZIP code of the guardian's address",
    "has_drivers_license": "True if patient has a driver's license",
    "has_mobile": "Set to false if a client has declined a phone number",
    "have_patient_photo": "True if the patient has a photo uploaded",
    "home_phone": "Patient's home phone number",
    "homeless_type": "For patients that are homeless, provides more detail regarding the patient's homeless situation",
    "id": "Athena patient ID",
    "industry_code": "Industry of the patient. The full set of supported codes can be found using the Athena API GET '/industries' endpoint.",
    "insurances": {
      "eligibility_last_checked": "When eligibility was last checked",
      "eligibility_reason": "Reason for eligibility status",
      "eligibility_status": "Status of eligibility",
      "id": "Insurance ID",
      "insurance_id": "Insurance identifier",
      "insurance_id_number": "Insurance ID number",
      "insurance_package_address1": "Insurance package address - 1st line",
      "insurance_package_city": "Insurance package city",
      "insurance_package_id": "Insurance package ID",
      "insurance_package_state": "Insurance package state (2 letter abbreviation)",
      "insurance_package_zip": "Insurance package zip code",
      "insurance_phone": "Insurance phone number",
      "insurance_plan_display_name": "Insurance plan display name",
      "insurance_plan_name": "Insurance plan name",
      "insurance_policy_holder": "Insurance policy holder",
      "insurance_policy_holder_address1": "Insurance policy holder address - 1st line",
      "insurance_policy_holder_city": "Insurance policy holder city",
      "insurance_policy_holder_country_code": "Insurance policy holder country code",
      "insurance_policy_holder_country_iso3166": "Insurance policy holder country (ISO 3166-1)",
      "insurance_policy_holder_dob": "Insurance policy holder date of birth",
      "insurance_policy_holder_first_name": "Insurance policy holder first name",
      "insurance_policy_holder_last_name": "Insurance policy holder last name",
      "insurance_policy_holder_sex": "Insurance policy holder sex",
      "insurance_policy_holder_state": "Insurance policy holder state (2 letter abbreviation)",
      "insurance_policy_holder_zip": "Insurance policy holder zip code",
      "insurance_type": "Insurance type",
      "insured_address": "Insured person's address",
      "insured_city": "Insured person's city",
      "insured_country_code": "Insured person's country code",
      "insured_country_iso3166": "Insured person's country (ISO 3166-1)",
      "insured_dob": "Insured person's date of birth",
      "insured_entity_type_id": "Insured entity type ID",
      "insured_first_name": "Insured person's first name",
      "insured_last_name": "Insured person's last name",
      "insured_sex": "Insured person's sex",
      "insured_state": "Insured person's state (2 letter abbreviation)",
      "insured_zip": "Insured person's zip code",
      "irc_name": "IRC name",
      "relationship_to_insured": "Relationship to insured person",
      "relationship_to_insured_id": "Relationship to insured person ID",
      "sequence_number": "Sequence number"
    },
    "is_agricultural_worker": "Used to identify this patient as an agricultural worker",
    "is_homebound": "If the patient is homebound, this is true",
    "is_homeless": "Used to identify this patient as homeless",
    "is_online_statement_only": "Set to true if a patient wishes to get e-statements instead of paper statements",
    "is_public_housing": "Used to identify this patient as living in public housing",
    "is_school_based_health_center": "Used to identify this patient as school-based health center patient",
    "is_veteran": "Used to identify this patient as a veteran",
    "language_6392_code": "Language of the patient, using the ISO 639.2 code. Special case: use \"declined\" to indicate that the patient declined to answer.",
    "last_appointment_datetime": "The date and time of the patient's last (most recent) appointment",
    "last_email": "Patient's previous email address",
    "last_name": "Patient's last name",
    "last_updated_by": "User who last updated the patient record",
    "local_patient_id": "Local patient ID (if present)",
    "marital_status": "Marital Status (D=Divorced, M=Married, S=Single, U=Unknown, W=Widowed, X=Separated, P=Partner)",
    "middle_name": "Patient's middle name",
    "mobile_carrier_id": "The ID of the mobile carrier",
    "mobile_phone": "Patient's mobile phone number",
    "next_of_kin_name": "The full name of the next of kin",
    "next_of_kin_phone": "The next of kin phone number",
    "next_of_kin_relationship": "The next of kin relationship (one of SPOUSE, PARENT, CHILD, SIBLING, FRIEND, COUSIN, GUARDIAN, OTHER)",
    "notes": "Notes associated with this patient",
    "occupation_code": "Occupation of the patient. The full set of supported codes can be found using the Athena API GET '/occupations' endpoint.",
    "portal_access_given": "True if the patient has been given access to the portal",
    "portal_signature_on_file": "Indicates if the patient's signature is on file for the portal",
    "portal_status": {
      "blocked_failed_logins": "Indicates if the patient is blocked due to failed login attempts",
      "entity_to_display": "The entity to display in the portal",
      "family_blocked_failed_logins": "Indicates if the patient's family is blocked due to failed login attempts",
      "family_registered": "Indicates if the patient's family is registered for portal access",
      "no_portal": "Indicates if the patient has no portal access",
      "portal_registration_date": "The date when the patient registered for portal access",
      "registered": "Indicates if the patient is registered for portal access",
      "status": "The status of the patient's portal access",
      "terms_accepted": "Indicates if the patient has accepted the portal terms and conditions"
    },
    "portal_terms_on_file": "True if the patient has accepted the portal's Terms and Conditions",
    "poverty_level_calculated": "Patient's poverty level (% of the Federal Poverty Level)",
    "poverty_level_family_size": "Patient's family size (used for determining poverty level)",
    "poverty_level_family_size_declined": "Indicates if the patient declines to provide family size",
    "poverty_level_income_declined": "Indicates if the patient declines to provide income",
    "poverty_level_income_pay_period": "Patient's pay period (used for determining poverty level)",
    "poverty_level_income_per_pay_period": "Patient's income per specified pay period",
    "poverty_level_income_range_declined": "Indicates if the patient declines to provide an income range level",
    "preferred_name": "The patient's preferred name (i.e. nickname)",
    "preferred_pronouns": "Pronouns this patient uses",
    "primary_department_id": "The patient's \"current\" department. This field is not always set by the practice.",
    "primary_provider_id": "The \"primary\" provider for this patient, if set.",
    "privacy_information_verified": "True if the patient's privacy information has been verified",
    "race": "The patient race, using the 2.16.840.1.113883.5.104 codeset. Special case: use \"declined\" to indicate that the patient declined to answer.",
    "race_code": "The code of the patient's race.",
    "race_name": "The name of the patient's race.",
    "referral_source_id": "The referral / how did you hear about us ID",
    "referral_source_other": "If selecting other for referral source, this is the text field that can be filled out",
    "registration_date": "Date the patient was registered",
    "sex": "Patient's sex (M/F)",
    "sexual_orientation": "Sexual orientation of this patient",
    "sexual_orientation_other": "If a patient does not identify with any prescribed sexual orientation choice, this field stores the patient-provided description",
    "ssn": "The patient's social security number",
    "state": "Patient's state (2 letter abbreviation)",
    "status": "The status of the patient",
    "suffix": "Patient's name suffix",
    "test_patient": "True if this record has been marked as a test patient",
    "work_phone": "Patient's work phone number",
    "zip": "Patient's zip. Matching occurs on first 5 characters."
  }
  ```
</ResponseExample>

### Payload Field Details

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

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

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

    <ResponseField name="first_name" type="string" required>
      `PII` Patient's first name

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

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

    <ResponseField name="last_name" type="string" required>
      `PII` Patient's last name

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

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

    <ResponseField name="middle_name" type="string">
      `PII` Patient's middle name

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

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

    <ResponseField name="suffix" type="string">
      `PII` Patient's name suffix

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

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

    <ResponseField name="preferred_name" type="string">
      `PII` The patient's preferred name (i.e. nickname)

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

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

    <ResponseField name="alt_first_name" type="string">
      `PII` Alternate first name that differs from legal name

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

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

    <ResponseField name="date_of_birth" type="values.v1.Date" required>
      `PII` Patient's date of birth

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

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

    <ResponseField name="sex" type="athena.v1.Sex">
      `HI` Patient's sex (M/F)

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

      ```json Example theme={null}
      athena.v1.Sex.SEX_MALE
      athena.v1.Sex.SEX_FEMALE
      ```
    </ResponseField>

    <ResponseField name="assigned_sex_at_birth" type="athena.v1.AssignedSexAtBirth">
      `HI` Sex that this patient was assigned at birth

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

      ```json Example theme={null}
      athena.v1.AssignedSexAtBirth.ASSIGNED_SEX_AT_BIRTH_M
      athena.v1.AssignedSexAtBirth.ASSIGNED_SEX_AT_BIRTH_F
      athena.v1.AssignedSexAtBirth.ASSIGNED_SEX_AT_BIRTH_N
      athena.v1.AssignedSexAtBirth.ASSIGNED_SEX_AT_BIRTH_U
      ```
    </ResponseField>

    <ResponseField name="gender_identity" type="string">
      Gender the patient identifies as

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

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

    <ResponseField name="gender_identity_other" type="string">
      If a patient does not identify with any prescribed gender identity choice, this field stores the patient-provided description

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

      ```json Example theme={null}
      "Non-binary"
      ```
    </ResponseField>

    <ResponseField name="preferred_pronouns" type="string">
      Pronouns this patient uses

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

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

    <ResponseField name="sexual_orientation" type="athena.v1.SexualOrientation">
      `HI` Sexual orientation of this patient

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

      ```json Example theme={null}
      athena.v1.SexualOrientation.SEXUAL_ORIENTATION_BISEXUAL
      athena.v1.SexualOrientation.SEXUAL_ORIENTATION_LESBIAN_GAY_HOMOSEXUAL
      athena.v1.SexualOrientation.SEXUAL_ORIENTATION_DONT_KNOW
      athena.v1.SexualOrientation.SEXUAL_ORIENTATION_SOMETHING_ELSE
      athena.v1.SexualOrientation.SEXUAL_ORIENTATION_STRAIGHT_HETEROSEXUAL
      athena.v1.SexualOrientation.SEXUAL_ORIENTATION_CHOOSE_NOT_TO_DISCLOSE
      athena.v1.SexualOrientation.SEXUAL_ORIENTATION_SOMETHING_ELSE_PLEASE_DESCRIBE
      ```
    </ResponseField>

    <ResponseField name="sexual_orientation_other" type="string">
      `HI` If a patient does not identify with any prescribed sexual orientation choice, this field stores the patient-provided description

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

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

    <ResponseField name="marital_status" type="athena.v1.MaritalStatus">
      Marital Status (D=Divorced, M=Married, S=Single, U=Unknown, W=Widowed, X=Separated, P=Partner)

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

      ```json Example theme={null}
      athena.v1.MaritalStatus.MARITAL_STATUS_DIVORCED
      athena.v1.MaritalStatus.MARITAL_STATUS_MARRIED
      athena.v1.MaritalStatus.MARITAL_STATUS_SINGLE
      athena.v1.MaritalStatus.MARITAL_STATUS_UNKNOWN
      athena.v1.MaritalStatus.MARITAL_STATUS_WIDOWED
      athena.v1.MaritalStatus.MARITAL_STATUS_SEPARATED
      athena.v1.MaritalStatus.MARITAL_STATUS_PARTNER
      ```
    </ResponseField>

    <ResponseField name="language_6392_code" type="string">
      Language of the patient, using the ISO 639.2 code. Special case: use "declined" to indicate that the patient declined to answer.

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

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

    <ResponseField name="race" type="string">
      `PII` The patient race, using the 2.16.840.1.113883.5.104 codeset. Special case: use "declined" to indicate that the patient declined to answer.

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

      ```json Example theme={null}
      "2106-3"
      ```
    </ResponseField>

    <ResponseField name="race_code" type="string">
      `PII` The code of the patient's race.

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

      ```json Example theme={null}
      "2106-3"
      ```
    </ResponseField>

    <ResponseField name="race_name" type="string">
      `PII` The name of the patient's race.

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

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

    <ResponseField name="ethnicity_code" type="string">
      `PII` Ethnicity of the patient, using the 2.16.840.1.113883.5.50 codeset. Special case: use "declined" to indicate that the patient declined to answer.

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

      ```json Example theme={null}
      "2135-2"
      ```
    </ResponseField>

    <ResponseField name="ethnicity_codes" type="string">
      `PII` Ethnicities of the patient, using the 2.16.840.1.113883.5.50 codeset. Special case: use "declined" to indicate that the patient declined to answer.

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

      ```json Example theme={null}
      "2135-2,2186-5"
      ```
    </ResponseField>

    <ResponseField name="occupation_code" type="string">
      `PII` Occupation of the patient. The full set of supported codes can be found using the Athena API GET '/occupations' endpoint.

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

      ```json Example theme={null}
      "29-1141"
      ```
    </ResponseField>

    <ResponseField name="industry_code" type="string">
      `PII` Industry of the patient. The full set of supported codes can be found using the Athena API GET '/industries' endpoint.

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

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

    <ResponseField name="ssn" type="string">
      `PII` The patient's social security number

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

      ```json Example theme={null}
      "123-45-6789"
      ```
    </ResponseField>

    <ResponseField name="email" type="string">
      `PII` Patient's email address

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

      ```json Example theme={null}
      "john.smith@email.com"
      ```
    </ResponseField>

    <ResponseField name="home_phone" type="string">
      `PII` Patient's home phone number

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

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

    <ResponseField name="work_phone" type="string">
      `PII` Patient's work phone number

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

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

    <ResponseField name="mobile_phone" type="string">
      `PII` Patient's mobile phone number

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

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

    <ResponseField name="has_mobile" type="bool">
      Set to false if a client has declined a phone number

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

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

    <ResponseField name="mobile_carrier_id" type="string">
      The ID of the mobile carrier

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

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

    <ResponseField name="address1" type="string">
      `PII` Patient's address - 1st line

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

      ```json Example theme={null}
      "123 Main Street"
      ```
    </ResponseField>

    <ResponseField name="address2" type="string">
      `PII` Patient's address - 2nd line

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

      ```json Example theme={null}
      "Apt 4B"
      ```
    </ResponseField>

    <ResponseField name="city" type="string">
      `PII` Patient's city

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

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

    <ResponseField name="state" type="string">
      Patient's state (2 letter abbreviation)

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

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

    <ResponseField name="zip" type="string">
      `PII` Patient's zip. Matching occurs on first 5 characters.

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

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

    <ResponseField name="country_code_3166" type="string">
      Patient's country code (ISO 3166-1)

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

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

    <ResponseField name="contact_name" type="string">
      `PII` The name of the (emergency) person to contact about the patient

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

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

    <ResponseField name="contact_relationship" type="string">
      Emergency contact relationship (one of SPOUSE, PARENT, CHILD, SIBLING, FRIEND, COUSIN, GUARDIAN, OTHER)

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

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

    <ResponseField name="contact_home_phone" type="string">
      `PII` Emergency contact home phone

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

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

    <ResponseField name="contact_mobile_phone" type="string">
      `PII` Emergency contact mobile phone

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

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

    <ResponseField name="department_id" type="string" required>
      Primary (registration) department ID

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

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

    <ResponseField name="primary_department_id" type="string">
      The patient's "current" department. This field is not always set by the practice.

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

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

    <ResponseField name="primary_provider_id" type="string">
      The "primary" provider for this patient, if set.

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

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

    <ResponseField name="deceased_date" type="values.v1.Date">
      `HI` If present, the date on which a patient died

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

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

    <ResponseField name="is_agricultural_worker" type="bool">
      `PII` Used to identify this patient as an agricultural worker

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

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

    <ResponseField name="agricultural_worker_type" type="string">
      `PII` For patients that are agricultural workers, identifies the type of worker

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

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

    <ResponseField name="is_homeless" type="bool">
      `HI` Used to identify this patient as homeless

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

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

    <ResponseField name="homeless_type" type="string">
      `HI` For patients that are homeless, provides more detail regarding the patient's homeless situation

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

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

    <ResponseField name="is_public_housing" type="bool">
      Used to identify this patient as living in public housing

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

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

    <ResponseField name="is_school_based_health_center" type="bool">
      `PII` Used to identify this patient as school-based health center patient

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

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

    <ResponseField name="is_veteran" type="bool">
      Used to identify this patient as a veteran

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

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

    <ResponseField name="poverty_level_calculated" type="float64 (double)">
      Patient's poverty level (% of the Federal Poverty Level)

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

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

    <ResponseField name="poverty_level_family_size" type="uint64">
      Patient's family size (used for determining poverty level)

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

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

    <ResponseField name="poverty_level_family_size_declined" type="bool">
      Indicates if the patient declines to provide family size

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

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

    <ResponseField name="poverty_level_income_declined" type="bool">
      Indicates if the patient declines to provide income

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

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

    <ResponseField name="poverty_level_income_pay_period" type="string">
      Patient's pay period (used for determining poverty level)

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

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

    <ResponseField name="poverty_level_income_per_pay_period" type="float64 (double)">
      Patient's income per specified pay period

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

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

    <ResponseField name="poverty_level_income_range_declined" type="bool">
      Indicates if the patient declines to provide an income range level

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

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

    <ResponseField name="notes" type="string">
      Notes associated with this patient

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

      ```json Example theme={null}
      "Patient prefers afternoon appointments"
      ```
    </ResponseField>

    <ResponseField name="referral_source_id" type="string">
      The referral / how did you hear about us ID

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

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

    <ResponseField name="referral_source_other" type="string">
      If selecting other for referral source, this is the text field that can be filled out

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

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

    <ResponseField name="is_homebound" type="bool">
      If the patient is homebound, this is true

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

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

    <ResponseField name="is_online_statement_only" type="bool">
      Set to true if a patient wishes to get e-statements instead of paper statements

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

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

    <ResponseField name="drivers_license_number" type="string">
      `PII` The number of the patient's driver's license

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

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

    <ResponseField name="drivers_license_state_id" type="string">
      The state of the patient's driver's license. This is in the form of a 2 letter state code.

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

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

    <ResponseField name="drivers_license_expiration_date" type="values.v1.Date">
      The expiration date of the patient's driver's license

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

      ```json Example theme={null}
      "2025-12-31"
      ```
    </ResponseField>

    <ResponseField name="consent_to_call" type="bool">
      Flag for consent to receive automated calls

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

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

    <ResponseField name="consent_to_text" type="bool">
      Flag for consent to receive text messages

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

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

    <ResponseField name="do_not_call" type="bool">
      Warning! Patient will not receive any communication if true

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

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

    <ResponseField name="default_pharmacy_ncpdp_id" type="string">
      The NCPDP ID of the patient's preferred pharmacy

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

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

    <ResponseField name="status" type="athena.v1.PatientStatus">
      The status of the patient

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

      ```json Example theme={null}
      athena.v1.PatientStatus.PATIENT_STATUS_ACTIVE
      athena.v1.PatientStatus.PATIENT_STATUS_INACTIVE
      athena.v1.PatientStatus.PATIENT_STATUS_DELETED
      athena.v1.PatientStatus.PATIENT_STATUS_PROSPECTIVE
      ```
    </ResponseField>

    <ResponseField name="clinical_order_type_group_id" type="string">
      The clinical order type group of the clinical provider

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

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

    <ResponseField name="employer_id" type="int64">
      The patient's employer's ID

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

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

    <ResponseField name="employer_phone" type="string">
      `PII` The patient's employer's phone number

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

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

    <ResponseField name="next_of_kin_name" type="string">
      `PII` The full name of the next of kin

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

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

    <ResponseField name="next_of_kin_phone" type="string">
      `PII` The next of kin phone number

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

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

    <ResponseField name="next_of_kin_relationship" type="string">
      The next of kin relationship (one of SPOUSE, PARENT, CHILD, SIBLING, FRIEND, COUSIN, GUARDIAN, OTHER)

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

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

    <ResponseField name="guardian_first_name" type="string">
      The first name of the patient's guardian

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

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

    <ResponseField name="guardian_last_name" type="string">
      The last name of the patient's guardian

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

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

    <ResponseField name="guardian_middle_name" type="string">
      The middle name of the patient's guardian

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

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

    <ResponseField name="guardian_address_1" type="string">
      The first line of the guardian's address

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

      ```json Example theme={null}
      "123 Main St"
      ```
    </ResponseField>

    <ResponseField name="guardian_address_2" type="string">
      The second line of the guardian's address

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

      ```json Example theme={null}
      "Apt 4B"
      ```
    </ResponseField>

    <ResponseField name="guardian_city" type="string">
      The city of the guardian's address

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

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

    <ResponseField name="guardian_state" type="string">
      The state of the guardian's address

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

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

    <ResponseField name="guardian_zip" type="string">
      The ZIP code of the guardian's address

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

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

    <ResponseField name="guardian_home_phone" type="string">
      `PII` The guardian's home phone number

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

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

    <ResponseField name="guardian_relationship" type="string">
      The relationship of the guardian to the patient

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

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

    <ResponseField name="guarantor_first_name" type="string">
      The first name of the patient's guarantor

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

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

    <ResponseField name="guarantor_last_name" type="string">
      The last name of the patient's guarantor

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

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

    <ResponseField name="guarantor_middle_name" type="string">
      The middle name of the patient's guarantor

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

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

    <ResponseField name="guarantor_address_1" type="string">
      The first line of the guarantor's address

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

      ```json Example theme={null}
      "456 Oak St"
      ```
    </ResponseField>

    <ResponseField name="guarantor_address_2" type="string">
      The second line of the guarantor's address

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

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

    <ResponseField name="guarantor_city" type="string">
      The city of the guarantor's address

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

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

    <ResponseField name="guarantor_state" type="string">
      The state of the guarantor's address

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

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

    <ResponseField name="guarantor_zip" type="string">
      The ZIP code of the guarantor's address

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

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

    <ResponseField name="guarantor_country_code_3166" type="string">
      The country code of the guarantor's address

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

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

    <ResponseField name="guarantor_phone" type="string">
      `PII` The guarantor's phone number

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

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

    <ResponseField name="guarantor_relationship" type="string">
      The relationship of the guarantor to the patient

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

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

    <ResponseField name="guarantor_dob" type="values.v1.Date">
      The date of birth of the guarantor

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

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

    <ResponseField name="guarantor_sex" type="string">
      The sex of the guarantor

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

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

    <ResponseField name="guarantor_ssn" type="string">
      `PII` The social security number of the guarantor

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

      ```json Example theme={null}
      "123-45-6789"
      ```
    </ResponseField>

    <ResponseField name="guarantor_email" type="string">
      `PII` The email address of the guarantor

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

      ```json Example theme={null}
      "jane.doe@example.com"
      ```
    </ResponseField>

    <ResponseField name="custom_fields" type="[]object" required>
      Custom fields for the patient

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

      ```json Example theme={null}
      [
      {
      "custom_field_id": "CF123",
      "custom_field_value": "Value for non-select field",
      "option_id": "OPT456"
      }
      ]
      ```
    </ResponseField>

    <ResponseField name="custom_fields.map(x, x.custom_field_id)" type="[]string" required>
      Mapped array of: Corresponds to the /customfields customfieldid

      ```json CEL theme={null}
      custom_fields.map(x, x.custom_field_id)
      ```

      ```json Example theme={null}
      [
      "CF123"
      ]
      ```
    </ResponseField>

    <ResponseField name="custom_fields.map(x, x.custom_field_value)" type="[]string" required>
      Mapped array of: For a non-select custom field, the value

      ```json CEL theme={null}
      custom_fields.map(x, x.custom_field_value)
      ```

      ```json Example theme={null}
      [
      "Value for non-select field"
      ]
      ```
    </ResponseField>

    <ResponseField name="custom_fields.map(x, x.option_id)" type="[]string" required>
      Mapped array of: For a select custom field, the selectid value (from /customfield's selectlist)

      ```json CEL theme={null}
      custom_fields.map(x, x.option_id)
      ```

      ```json Example theme={null}
      [
      "OPT456"
      ]
      ```
    </ResponseField>

    <ResponseField name="balances" type="[]object" required>
      List of balances for this patient

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

      ```json Example theme={null}
      "[{\"department_list\":\"1,2\",\"balance\":\"100.00\"}]"
      ```
    </ResponseField>

    <ResponseField name="balances.map(x, x.department_list)" type="[]string" required>
      Mapped array of: The department list associated with this balance

      ```json CEL theme={null}
      balances.map(x, x.department_list)
      ```

      ```json Example theme={null}
      [
      "1,2"
      ]
      ```
    </ResponseField>

    <ResponseField name="balances.map(x, x.balance)" type="[]string" required>
      Mapped array of: The balance amount

      ```json CEL theme={null}
      balances.map(x, x.balance)
      ```

      ```json Example theme={null}
      [
      "100.00"
      ]
      ```
    </ResponseField>

    <ResponseField name="balances.map(x, x.provider_group_id)" type="[]int64" required>
      Mapped array of: The provider group ID associated with this balance

      ```json CEL theme={null}
      balances.map(x, x.provider_group_id)
      ```

      ```json Example theme={null}
      [
      123
      ]
      ```
    </ResponseField>

    <ResponseField name="balances.map(x, x.clean_balance)" type="[]bool" required>
      Mapped array of: Is the balance clean

      ```json CEL theme={null}
      balances.map(x, x.clean_balance)
      ```

      ```json Example theme={null}
      [
      true
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances" type="[]object" required>
      List of active insurance packages for this patient

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

      ```json Example theme={null}
      "[{\"insurance_id\":\"INS123\"}]"
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.id)" type="[]string" required>
      Mapped array of: Insurance ID

      ```json CEL theme={null}
      insurances.map(x, x.id)
      ```

      ```json Example theme={null}
      [
      "123"
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.insurance_id)" type="[]string" required>
      Mapped array of: Insurance identifier

      ```json CEL theme={null}
      insurances.map(x, x.insurance_id)
      ```

      ```json Example theme={null}
      [
      "INS456"
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.insurance_id_number)" type="[]string" required>
      `PII` Mapped array of: Insurance ID number

      ```json CEL theme={null}
      insurances.map(x, x.insurance_id_number)
      ```

      ```json Example theme={null}
      [
      "ABC123456789"
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.insurance_package_address1)" type="[]string" required>
      Mapped array of: Insurance package address - 1st line

      ```json CEL theme={null}
      insurances.map(x, x.insurance_package_address1)
      ```

      ```json Example theme={null}
      [
      "123 Insurance St"
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.insurance_package_city)" type="[]string" required>
      Mapped array of: Insurance package city

      ```json CEL theme={null}
      insurances.map(x, x.insurance_package_city)
      ```

      ```json Example theme={null}
      [
      "Boston"
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.insurance_package_id)" type="[]int64" required>
      Mapped array of: Insurance package ID

      ```json CEL theme={null}
      insurances.map(x, x.insurance_package_id)
      ```

      ```json Example theme={null}
      [
      789
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.insurance_package_state)" type="[]string" required>
      Mapped array of: Insurance package state (2 letter abbreviation)

      ```json CEL theme={null}
      insurances.map(x, x.insurance_package_state)
      ```

      ```json Example theme={null}
      [
      "MA"
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.insurance_package_zip)" type="[]string" required>
      Mapped array of: Insurance package zip code

      ```json CEL theme={null}
      insurances.map(x, x.insurance_package_zip)
      ```

      ```json Example theme={null}
      [
      "02108"
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.insurance_phone)" type="[]string" required>
      Mapped array of: Insurance phone number

      ```json CEL theme={null}
      insurances.map(x, x.insurance_phone)
      ```

      ```json Example theme={null}
      [
      "+15551234567"
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.insurance_plan_display_name)" type="[]string" required>
      Mapped array of: Insurance plan display name

      ```json CEL theme={null}
      insurances.map(x, x.insurance_plan_display_name)
      ```

      ```json Example theme={null}
      [
      "Blue Cross Blue Shield PPO"
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.insurance_plan_name)" type="[]string" required>
      Mapped array of: Insurance plan name

      ```json CEL theme={null}
      insurances.map(x, x.insurance_plan_name)
      ```

      ```json Example theme={null}
      [
      "PPO"
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.insurance_policy_holder)" type="[]string" required>
      `PII` Mapped array of: Insurance policy holder

      ```json CEL theme={null}
      insurances.map(x, x.insurance_policy_holder)
      ```

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

    <ResponseField name="insurances.map(x, x.insurance_policy_holder_address1)" type="[]string" required>
      `PII` Mapped array of: Insurance policy holder address - 1st line

      ```json CEL theme={null}
      insurances.map(x, x.insurance_policy_holder_address1)
      ```

      ```json Example theme={null}
      [
      "123 Main St"
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.insurance_policy_holder_city)" type="[]string" required>
      `PII` Mapped array of: Insurance policy holder city

      ```json CEL theme={null}
      insurances.map(x, x.insurance_policy_holder_city)
      ```

      ```json Example theme={null}
      [
      "Boston"
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.insurance_policy_holder_country_code)" type="[]string" required>
      Mapped array of: Insurance policy holder country code

      ```json CEL theme={null}
      insurances.map(x, x.insurance_policy_holder_country_code)
      ```

      ```json Example theme={null}
      [
      "US"
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.insurance_policy_holder_country_iso3166)" type="[]string" required>
      Mapped array of: Insurance policy holder country (ISO 3166-1)

      ```json CEL theme={null}
      insurances.map(x, x.insurance_policy_holder_country_iso3166)
      ```

      ```json Example theme={null}
      [
      "USA"
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.insurance_policy_holder_dob)" type="[]values.v1.Date" required>
      `PII` Mapped array of: Insurance policy holder date of birth

      ```json CEL theme={null}
      insurances.map(x, x.insurance_policy_holder_dob)
      ```

      ```json Example theme={null}
      [
      "1980-01-15"
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.insurance_policy_holder_first_name)" type="[]string" required>
      `PII` Mapped array of: Insurance policy holder first name

      ```json CEL theme={null}
      insurances.map(x, x.insurance_policy_holder_first_name)
      ```

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

    <ResponseField name="insurances.map(x, x.insurance_policy_holder_last_name)" type="[]string" required>
      `PII` Mapped array of: Insurance policy holder last name

      ```json CEL theme={null}
      insurances.map(x, x.insurance_policy_holder_last_name)
      ```

      ```json Example theme={null}
      [
      "Smith"
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.insurance_policy_holder_sex)" type="[]string" required>
      `PII` Mapped array of: Insurance policy holder sex

      ```json CEL theme={null}
      insurances.map(x, x.insurance_policy_holder_sex)
      ```

      ```json Example theme={null}
      [
      "M"
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.insurance_policy_holder_state)" type="[]string" required>
      Mapped array of: Insurance policy holder state (2 letter abbreviation)

      ```json CEL theme={null}
      insurances.map(x, x.insurance_policy_holder_state)
      ```

      ```json Example theme={null}
      [
      "MA"
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.insurance_policy_holder_zip)" type="[]string" required>
      `PII` Mapped array of: Insurance policy holder zip code

      ```json CEL theme={null}
      insurances.map(x, x.insurance_policy_holder_zip)
      ```

      ```json Example theme={null}
      [
      "02108"
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.insurance_type)" type="[]string" required>
      Mapped array of: Insurance type

      ```json CEL theme={null}
      insurances.map(x, x.insurance_type)
      ```

      ```json Example theme={null}
      [
      "Commercial"
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.insured_address)" type="[]string" required>
      `PII` Mapped array of: Insured person's address

      ```json CEL theme={null}
      insurances.map(x, x.insured_address)
      ```

      ```json Example theme={null}
      [
      "123 Main St"
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.insured_city)" type="[]string" required>
      `PII` Mapped array of: Insured person's city

      ```json CEL theme={null}
      insurances.map(x, x.insured_city)
      ```

      ```json Example theme={null}
      [
      "Boston"
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.insured_country_code)" type="[]string" required>
      Mapped array of: Insured person's country code

      ```json CEL theme={null}
      insurances.map(x, x.insured_country_code)
      ```

      ```json Example theme={null}
      [
      "US"
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.insured_country_iso3166)" type="[]string" required>
      Mapped array of: Insured person's country (ISO 3166-1)

      ```json CEL theme={null}
      insurances.map(x, x.insured_country_iso3166)
      ```

      ```json Example theme={null}
      [
      "USA"
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.insured_dob)" type="[]values.v1.Date" required>
      `PII` Mapped array of: Insured person's date of birth

      ```json CEL theme={null}
      insurances.map(x, x.insured_dob)
      ```

      ```json Example theme={null}
      [
      "1980-01-15"
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.insured_entity_type_id)" type="[]int64" required>
      Mapped array of: Insured entity type ID

      ```json CEL theme={null}
      insurances.map(x, x.insured_entity_type_id)
      ```

      ```json Example theme={null}
      [
      1
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.insured_first_name)" type="[]string" required>
      `PII` Mapped array of: Insured person's first name

      ```json CEL theme={null}
      insurances.map(x, x.insured_first_name)
      ```

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

    <ResponseField name="insurances.map(x, x.insured_last_name)" type="[]string" required>
      `PII` Mapped array of: Insured person's last name

      ```json CEL theme={null}
      insurances.map(x, x.insured_last_name)
      ```

      ```json Example theme={null}
      [
      "Smith"
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.insured_sex)" type="[]string" required>
      `PII` Mapped array of: Insured person's sex

      ```json CEL theme={null}
      insurances.map(x, x.insured_sex)
      ```

      ```json Example theme={null}
      [
      "M"
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.insured_state)" type="[]string" required>
      Mapped array of: Insured person's state (2 letter abbreviation)

      ```json CEL theme={null}
      insurances.map(x, x.insured_state)
      ```

      ```json Example theme={null}
      [
      "MA"
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.insured_zip)" type="[]string" required>
      `PII` Mapped array of: Insured person's zip code

      ```json CEL theme={null}
      insurances.map(x, x.insured_zip)
      ```

      ```json Example theme={null}
      [
      "02108"
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.irc_name)" type="[]string" required>
      Mapped array of: IRC name

      ```json CEL theme={null}
      insurances.map(x, x.irc_name)
      ```

      ```json Example theme={null}
      [
      "IRC123"
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.relationship_to_insured)" type="[]string" required>
      Mapped array of: Relationship to insured person

      ```json CEL theme={null}
      insurances.map(x, x.relationship_to_insured)
      ```

      ```json Example theme={null}
      [
      "SELF"
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.relationship_to_insured_id)" type="[]int64" required>
      Mapped array of: Relationship to insured person ID

      ```json CEL theme={null}
      insurances.map(x, x.relationship_to_insured_id)
      ```

      ```json Example theme={null}
      [
      1
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.sequence_number)" type="[]int64" required>
      Mapped array of: Sequence number

      ```json CEL theme={null}
      insurances.map(x, x.sequence_number)
      ```

      ```json Example theme={null}
      [
      1
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.eligibility_last_checked)" type="[]string" required>
      Mapped array of: When eligibility was last checked

      ```json CEL theme={null}
      insurances.map(x, x.eligibility_last_checked)
      ```

      ```json Example theme={null}
      [
      "2023-05-01T14:30:00Z"
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.eligibility_reason)" type="[]string" required>
      Mapped array of: Reason for eligibility status

      ```json CEL theme={null}
      insurances.map(x, x.eligibility_reason)
      ```

      ```json Example theme={null}
      [
      "Active coverage"
      ]
      ```
    </ResponseField>

    <ResponseField name="insurances.map(x, x.eligibility_status)" type="[]string" required>
      Mapped array of: Status of eligibility

      ```json CEL theme={null}
      insurances.map(x, x.eligibility_status)
      ```

      ```json Example theme={null}
      [
      "ELIGIBLE"
      ]
      ```
    </ResponseField>

    <ResponseField name="all_patient_statuses" type="[]object" required>
      List of all patient statuses for this patient

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

      ```json Example theme={null}
      "[{\"status\":\"active\",\"department_id\":1}]"
      ```
    </ResponseField>

    <ResponseField name="all_patient_statuses.map(x, x.status)" type="[]string" required>
      Mapped array of: The status of the patient (e.g., active, inactive, etc.)

      ```json CEL theme={null}
      all_patient_statuses.map(x, x.status)
      ```

      ```json Example theme={null}
      [
      "active"
      ]
      ```
    </ResponseField>

    <ResponseField name="all_patient_statuses.map(x, x.department_id)" type="[]int64" required>
      Mapped array of: The department ID associated with this status

      ```json CEL theme={null}
      all_patient_statuses.map(x, x.department_id)
      ```

      ```json Example theme={null}
      [
      1
      ]
      ```
    </ResponseField>

    <ResponseField name="all_patient_statuses.map(x, x.primary_provider_id)" type="[]int64" required>
      Mapped array of: The primary provider ID associated with this status

      ```json CEL theme={null}
      all_patient_statuses.map(x, x.primary_provider_id)
      ```

      ```json Example theme={null}
      [
      123
      ]
      ```
    </ResponseField>

    <ResponseField name="contact_preference" type="string">
      The preferred method of contact for the patient

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

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

    <ResponseField name="contact_preference_announcement_email" type="bool">
      If true, patient prefers to get announcement communications via email

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

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

    <ResponseField name="contact_preference_announcement_phone" type="bool">
      If true, patient prefers to get announcement communications via phone

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

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

    <ResponseField name="contact_preference_announcement_sms" type="bool">
      If true, patient prefers to get announcement communications via SMS

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

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

    <ResponseField name="contact_preference_appointment_email" type="bool">
      If true, patient prefers to get appointment communications via email

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

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

    <ResponseField name="contact_preference_appointment_phone" type="bool">
      If true, patient prefers to get appointment communications via phone

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

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

    <ResponseField name="contact_preference_appointment_sms" type="bool">
      If true, patient prefers to get appointment communications via SMS

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

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

    <ResponseField name="contact_preference_billing_email" type="bool">
      If true, patient prefers to get billing communications via email

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

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

    <ResponseField name="contact_preference_billing_phone" type="bool">
      If true, patient prefers to get billing communications via phone

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

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

    <ResponseField name="contact_preference_billing_sms" type="bool">
      If true, patient prefers to get billing communications via SMS

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

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

    <ResponseField name="contact_preference_lab_email" type="bool">
      If true, patient prefers to get lab communications via email

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

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

    <ResponseField name="contact_preference_lab_phone" type="bool">
      If true, patient prefers to get lab communications via phone

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

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

    <ResponseField name="contact_preference_lab_sms" type="bool">
      If true, patient prefers to get lab communications via SMS

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

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

    <ResponseField name="has_drivers_license" type="bool">
      True if patient has a driver's license

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

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

    <ResponseField name="drivers_license_ssn" type="string">
      `PII` The SSN on the patient's driver's license

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

      ```json Example theme={null}
      "123-45-6789"
      ```
    </ResponseField>

    <ResponseField name="drivers_license_url" type="string">
      The URL to the patient's driver's license image

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

      ```json Example theme={null}
      "https://example.com/license.jpg"
      ```
    </ResponseField>

    <ResponseField name="email_exists" type="bool">
      True if the patient's email exists

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

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

    <ResponseField name="employer_address" type="string">
      The patient's employer's address

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

      ```json Example theme={null}
      "123 Main St"
      ```
    </ResponseField>

    <ResponseField name="employer_city" type="string">
      The patient's employer's city

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

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

    <ResponseField name="employer_fax" type="string">
      The patient's employer's fax number

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

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

    <ResponseField name="employer_name" type="string">
      The patient's employer's name

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

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

    <ResponseField name="employer_state" type="string">
      The patient's employer's state (2 letter abbreviation)

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

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

    <ResponseField name="employer_zip" type="string">
      The patient's employer's zip code

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

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

    <ResponseField name="last_updated_by" type="string">
      User who last updated the patient record

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

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

    <ResponseField name="local_patient_id" type="string">
      Local patient ID (if present)

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

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

    <ResponseField name="have_patient_photo" type="bool">
      True if the patient has a photo uploaded

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

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

    <ResponseField name="portal_status" type="object">
      The patient's portal status

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

      ```json Example theme={null}
      {
      "blocked_failed_logins": false,
      "entity_to_display": "patient",
      "family_blocked_failed_logins": false,
      "family_registered": true,
      "no_portal": false,
      "portal_registration_date": "2023-05-15",
      "registered": true,
      "status": "REGISTERED",
      "terms_accepted": true
      }
      ```
    </ResponseField>

    <ResponseField name="portal_status.blocked_failed_logins" type="bool">
      Indicates if the patient is blocked due to failed login attempts

      ```json CEL theme={null}
      portal_status.blocked_failed_logins
      ```

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

    <ResponseField name="portal_status.entity_to_display" type="string">
      The entity to display in the portal

      ```json CEL theme={null}
      portal_status.entity_to_display
      ```

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

    <ResponseField name="portal_status.family_blocked_failed_logins" type="bool">
      Indicates if the patient's family is blocked due to failed login attempts

      ```json CEL theme={null}
      portal_status.family_blocked_failed_logins
      ```

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

    <ResponseField name="portal_status.family_registered" type="bool">
      Indicates if the patient's family is registered for portal access

      ```json CEL theme={null}
      portal_status.family_registered
      ```

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

    <ResponseField name="portal_status.no_portal" type="bool">
      Indicates if the patient has no portal access

      ```json CEL theme={null}
      portal_status.no_portal
      ```

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

    <ResponseField name="portal_status.portal_registration_date" type="string">
      The date when the patient registered for portal access

      ```json CEL theme={null}
      portal_status.portal_registration_date
      ```

      ```json Example theme={null}
      "2023-05-15"
      ```
    </ResponseField>

    <ResponseField name="portal_status.registered" type="bool">
      Indicates if the patient is registered for portal access

      ```json CEL theme={null}
      portal_status.registered
      ```

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

    <ResponseField name="portal_status.status" type="athena.v1.PortalStatusValue">
      The status of the patient's portal access

      ```json CEL theme={null}
      portal_status.status
      ```

      ```json Example theme={null}
      athena.v1.PortalStatusValue.PORTAL_STATUS_VALUE_REGISTERED
      athena.v1.PortalStatusValue.PORTAL_STATUS_VALUE_NOT_REGISTERED
      athena.v1.PortalStatusValue.PORTAL_STATUS_VALUE_FAMILY_LOGIN
      athena.v1.PortalStatusValue.PORTAL_STATUS_VALUE_NO_PORTAL
      athena.v1.PortalStatusValue.PORTAL_STATUS_VALUE_BLOCKED_FAILED_LOGINS
      athena.v1.PortalStatusValue.PORTAL_STATUS_VALUE_FAMILY_BLOCKED_FAILED_LOGINS
      ```
    </ResponseField>

    <ResponseField name="portal_status.terms_accepted" type="bool">
      Indicates if the patient has accepted the portal terms and conditions

      ```json CEL theme={null}
      portal_status.terms_accepted
      ```

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

    <ResponseField name="portal_terms_on_file" type="bool">
      True if the patient has accepted the portal's Terms and Conditions

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

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

    <ResponseField name="portal_access_given" type="bool">
      True if the patient has been given access to the portal

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

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

    <ResponseField name="portal_signature_on_file" type="bool">
      Indicates if the patient's signature is on file for the portal

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

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

    <ResponseField name="privacy_information_verified" type="bool">
      True if the patient's privacy information has been verified

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

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

    <ResponseField name="registration_date" type="values.v1.Date">
      Date the patient was registered

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

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

    <ResponseField name="test_patient" type="bool">
      True if this record has been marked as a test patient

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

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

    <ResponseField name="last_email" type="string">
      `PII` Patient's previous email address

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

      ```json Example theme={null}
      "john.smith@email.com"
      ```
    </ResponseField>

    <ResponseField name="care_summary_delivery_preference" type="athena.v1.CareSummaryDeliveryPreference">
      The patient's preferred method of receiving care summaries

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

      ```json Example theme={null}
      athena.v1.CareSummaryDeliveryPreference.CARE_SUMMARY_DELIVERY_PREFERENCE_PAPER
      athena.v1.CareSummaryDeliveryPreference.CARE_SUMMARY_DELIVERY_PREFERENCE_PORTAL
      ```
    </ResponseField>

    <ResponseField name="first_appointment_datetime" type="timing.v1.Timestamp">
      The date and time of the patient's first appointment

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

      ```json Example theme={null}
      "2024-05-01T09:00:00Z"
      ```
    </ResponseField>

    <ResponseField name="last_appointment_datetime" type="timing.v1.Timestamp">
      The date and time of the patient's last (most recent) appointment

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

      ```json Example theme={null}
      "2024-05-02T15:30:00Z"
      ```
    </ResponseField>
  </Expandable>
</ResponseField>
