{
   "openapi": "3.0.0",
   "info": {
      "title": "Unified.to HEALTHCARE API",
      "version": "1.0",
      "description": "One API to Rule Them All",
      "contact": {
         "email": "hello@unified.to",
         "url": "https://unified.to/contact"
      },
      "termsOfService": "https://unified.to/tos"
   },
   "externalDocs": {
      "description": "API Documentation",
      "url": "https://docs.unified.to"
   },
   "tags": [
      {
         "name": "unifiedapi",
         "description": "Unified.to API"
      },
      {
         "name": "healthcare"
      },
      {
         "name": "patient"
      },
      {
         "name": "practitioner"
      },
      {
         "name": "location"
      },
      {
         "name": "appointment"
      },
      {
         "name": "slot"
      },
      {
         "name": "encounter"
      },
      {
         "name": "condition"
      },
      {
         "name": "allergy"
      },
      {
         "name": "medication"
      },
      {
         "name": "observation"
      },
      {
         "name": "immunization"
      },
      {
         "name": "document"
      },
      {
         "name": "coverage"
      },
      {
         "name": "procedure"
      },
      {
         "name": "report"
      },
      {
         "name": "careplan"
      },
      {
         "name": "goal"
      }
   ],
   "security": [
      {
         "jwt": []
      }
   ],
   "servers": [
      {
         "url": "https://api.unified.to",
         "description": "North American data region"
      },
      {
         "url": "https://api-eu.unified.to",
         "description": "European data region"
      },
      {
         "url": "https://api-au.unified.to",
         "description": "Australian data region"
      }
   ],
   "components": {
      "securitySchemes": {
         "jwt": {
            "type": "apiKey",
            "name": "authorization",
            "in": "header"
         }
      },
      "requestBodies": {
         "HealthcarePatient": {
            "required": true,
            "content": {
               "application/json": {
                  "schema": {
                     "$ref": "#/components/schemas/HealthcarePatient"
                  },
                  "examples": {
                     "healthcare_patient": {
                        "summary": "Sample HealthcarePatient",
                        "value": {
                           "id": "ce9db15c-ee41-49c9-8b99-00900c08f495",
                           "created_at": "2021-06-05T21:08:04.917Z",
                           "updated_at": "2026-08-03T02:12:42.485Z",
                           "name": "Monroe Bauch",
                           "first_name": "Monroe",
                           "last_name": "Bauch",
                           "gender": "FEMALE",
                           "birthdate": "1942-01-02",
                           "is_deceased": false,
                           "emails": [
                              {
                                 "email": "monroe.bauch@icloud.com",
                                 "type": "HOME"
                              }
                           ],
                           "telephones": [
                              {
                                 "telephone": "1-555-902-3082 x9590",
                                 "type": "MOBILE"
                              }
                           ],
                           "address": {
                              "address1": "3645 Leonardo Place",
                              "city": "Estelleland",
                              "region": "New Jersey",
                              "postal_code": "99263-6004",
                              "country": "US"
                           },
                           "language": "zh",
                           "identifiers": [
                              {
                                 "value": "51559512",
                                 "type": "MRN"
                              }
                           ],
                           "practitioner_ids": [],
                           "is_active": true,
                           "contacts": [
                              {
                                 "name": "Ambrose Welch",
                                 "relationship": "Spouse",
                                 "telephones": [
                                    {
                                       "telephone": "323.524.3947 x89014",
                                       "type": "MOBILE"
                                    }
                                 ],
                                 "emails": []
                              }
                           ],
                           "metadata": []
                        }
                     }
                  }
               }
            }
         },
         "HealthcareAppointment": {
            "required": true,
            "content": {
               "application/json": {
                  "schema": {
                     "$ref": "#/components/schemas/HealthcareAppointment"
                  },
                  "examples": {
                     "healthcare_appointment": {
                        "summary": "Sample HealthcareAppointment",
                        "value": {
                           "id": "07ff50e3-5fea-4b2f-8960-bb5639c1e99a",
                           "created_at": "2023-04-11T08:16:20.874Z",
                           "updated_at": "2026-11-04T04:25:40.252Z",
                           "practitioner_ids": [],
                           "slot_ids": [],
                           "status": "BOOKED",
                           "start_at": "2023-12-12T12:34:41.451Z",
                           "end_at": "2023-12-12T13:04:41.451Z",
                           "description": "cubicularis caput viriliter",
                           "service_types": [
                              {
                                 "system": "http://snomed.info/sct",
                                 "code": "12762740",
                                 "display": "New patient visit"
                              }
                           ],
                           "notes": "Casus anser ver alo beatus.",
                           "is_virtual": true,
                           "meeting_url": "https://cautious-cannon.com/",
                           "metadata": []
                        }
                     }
                  }
               }
            }
         },
         "HealthcareObservation": {
            "required": true,
            "content": {
               "application/json": {
                  "schema": {
                     "$ref": "#/components/schemas/HealthcareObservation"
                  },
                  "examples": {
                     "healthcare_observation": {
                        "summary": "Sample HealthcareObservation",
                        "value": {
                           "id": "1aa28283-5c9a-4737-80e3-5e3794cd2d07",
                           "created_at": "2022-12-06T21:34:04.293Z",
                           "updated_at": "2026-04-30T15:43:08.751Z",
                           "name": "Blood pressure panel",
                           "codes": [
                              {
                                 "system": "http://loinc.org",
                                 "code": "85354-9",
                                 "display": "Blood pressure panel"
                              }
                           ],
                           "status": "CORRECTED",
                           "type": "VITAL_SIGNS",
                           "interpretation": "CRITICAL_HIGH",
                           "components": [
                              {
                                 "name": "Systolic blood pressure",
                                 "codes": [
                                    {
                                       "system": "http://loinc.org",
                                       "code": "8480-6"
                                    }
                                 ],
                                 "value_number": 103,
                                 "value_unit": "mm[Hg]"
                              },
                              {
                                 "name": "Diastolic blood pressure",
                                 "codes": [
                                    {
                                       "system": "http://loinc.org",
                                       "code": "8462-4"
                                    }
                                 ],
                                 "value_number": 60,
                                 "value_unit": "mm[Hg]"
                              }
                           ],
                           "observed_at": "2025-02-13T06:05:39.207Z",
                           "issued_at": "2025-06-07T23:33:03.947Z",
                           "metadata": []
                        }
                     }
                  }
               }
            }
         },
         "HealthcareDocument": {
            "required": true,
            "content": {
               "application/json": {
                  "schema": {
                     "$ref": "#/components/schemas/HealthcareDocument"
                  },
                  "examples": {
                     "healthcare_document": {
                        "summary": "Sample HealthcareDocument",
                        "value": {
                           "id": "67435272-c7fc-4511-a769-b2c5f5ef5811",
                           "created_at": "2023-07-16T04:00:25.853Z",
                           "updated_at": "2025-01-15T06:40:38.182Z",
                           "name": "History and physical",
                           "type": "CONSULTATION_NOTE",
                           "codes": [
                              {
                                 "system": "http://loinc.org",
                                 "code": "23671711",
                                 "display": "History and physical"
                              }
                           ],
                           "status": "SUPERSEDED",
                           "filename": "quip.eot",
                           "mime_type": "application/pdf",
                           "document_url": "https://noxious-abacus.biz/",
                           "authored_at": "2023-07-16T04:00:25.853Z",
                           "metadata": []
                        }
                     }
                  }
               }
            }
         }
      },
      "schemas": {
         "HealthcareEmail": {
            "type": "object",
            "properties": {
               "email": {
                  "type": "string",
                  "description": "The email address"
               },
               "type": {
                  "type": "string",
                  "description": "The kind of email address (work, home or other)",
                  "enum": [
                     "WORK",
                     "HOME",
                     "OTHER"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               }
            },
            "required": [
               "email"
            ]
         },
         "property_HealthcarePatient_emails": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareEmail"
            },
            "description": "Email addresses of the patient"
         },
         "HealthcareTelephone": {
            "type": "object",
            "properties": {
               "telephone": {
                  "type": "string",
                  "description": "The telephone number"
               },
               "type": {
                  "type": "string",
                  "description": "The kind of telephone number (work, home, mobile, fax or other)",
                  "enum": [
                     "WORK",
                     "HOME",
                     "MOBILE",
                     "FAX",
                     "OTHER"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               }
            },
            "required": [
               "telephone"
            ]
         },
         "property_HealthcarePatient_telephones": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareTelephone"
            },
            "description": "Phone numbers of the patient"
         },
         "property_HealthcarePatient_address": {
            "type": "object",
            "properties": {
               "address1": {
                  "type": "string",
                  "description": "First line of the street address"
               },
               "address2": {
                  "type": "string",
                  "description": "Second line of the street address"
               },
               "city": {
                  "type": "string",
                  "description": "City or locality"
               },
               "region": {
                  "type": "string",
                  "description": "Regional area (e.g., state in the U.S., province in Canada)"
               },
               "postal_code": {
                  "type": "string",
                  "description": "Postal or ZIP code"
               },
               "country": {
                  "type": "string",
                  "description": "Country"
               }
            },
            "description": "Home address of the patient"
         },
         "HealthcareIdentifier": {
            "type": "object",
            "properties": {
               "value": {
                  "type": "string",
                  "description": "The identifier value"
               },
               "type": {
                  "type": "string",
                  "description": "The kind of identifier",
                  "enum": [
                     "MRN",
                     "NPI",
                     "SSN",
                     "DRIVERS_LICENSE",
                     "PASSPORT",
                     "INSURANCE",
                     "OTHER"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               },
               "system": {
                  "type": "string",
                  "description": "The namespace/system URI that issued the identifier"
               }
            },
            "required": [
               "value"
            ]
         },
         "property_HealthcarePatient_identifiers": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareIdentifier"
            },
            "description": "Business identifiers (e.g. MRN)"
         },
         "property_HealthcarePatient_practitioner_ids": {
            "type": "array",
            "items": {
               "type": "string"
            },
            "description": "The patient's primary care practitioners"
         },
         "HealthcareCode": {
            "type": "object",
            "properties": {
               "system": {
                  "type": "string",
                  "description": "The code system URI (e.g. http://loinc.org, http://snomed.info/sct)"
               },
               "code": {
                  "type": "string",
                  "description": "The code within the system"
               },
               "display": {
                  "type": "string",
                  "description": "Human-readable display text for the code"
               }
            }
         },
         "property_HealthcarePatient_races": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareCode"
            },
            "description": "Codings for the patient's race (e.g. CDC race codes)"
         },
         "property_HealthcarePatient_ethnicities": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareCode"
            },
            "description": "Codings for the patient's ethnicity (e.g. CDC ethnicity codes)"
         },
         "property_HealthcarePatientContact_telephones": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareTelephone"
            },
            "description": "Phone numbers of the contact person"
         },
         "property_HealthcarePatientContact_emails": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareEmail"
            },
            "description": "Email addresses of the contact person"
         },
         "property_HealthcarePatientContact_address": {
            "type": "object",
            "properties": {
               "address1": {
                  "type": "string",
                  "description": "First line of the street address"
               },
               "address2": {
                  "type": "string",
                  "description": "Second line of the street address"
               },
               "city": {
                  "type": "string",
                  "description": "City or locality"
               },
               "region": {
                  "type": "string",
                  "description": "Regional area (e.g., state in the U.S., province in Canada)"
               },
               "postal_code": {
                  "type": "string",
                  "description": "Postal or ZIP code"
               },
               "country": {
                  "type": "string",
                  "description": "Country"
               }
            },
            "description": "Postal address of the contact person"
         },
         "HealthcarePatientContact": {
            "type": "object",
            "properties": {
               "name": {
                  "type": "string",
                  "description": "Full name of the contact person"
               },
               "relationship": {
                  "type": "string",
                  "description": "Relationship of the contact to the patient (e.g. emergency contact, spouse)"
               },
               "telephones": {
                  "$ref": "#/components/schemas/property_HealthcarePatientContact_telephones",
                  "description": "Phone numbers of the contact person"
               },
               "emails": {
                  "$ref": "#/components/schemas/property_HealthcarePatientContact_emails",
                  "description": "Email addresses of the contact person"
               },
               "address": {
                  "$ref": "#/components/schemas/property_HealthcarePatientContact_address",
                  "description": "Postal address of the contact person"
               }
            }
         },
         "property_HealthcarePatient_contacts": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcarePatientContact"
            },
            "description": "Emergency contacts, guardians and other contact persons for the patient"
         },
         "HealthcareMetadata": {
            "type": "object",
            "properties": {
               "id": {
                  "type": "string",
                  "description": "Identifier of the custom field"
               },
               "value": {
                  "description": "The custom field value",
                  "additionalProperties": true,
                  "anyOf": [
                     {
                        "type": "object"
                     },
                     {
                        "type": "string"
                     },
                     {
                        "type": "number"
                     },
                     {
                        "type": "boolean"
                     },
                     {
                        "type": "array",
                        "items": {
                           "anyOf": [
                              {
                                 "type": "object"
                              },
                              {
                                 "type": "string"
                              },
                              {
                                 "type": "number"
                              },
                              {
                                 "type": "boolean"
                              }
                           ]
                        }
                     }
                  ]
               },
               "namespace": {
                  "type": "string",
                  "description": "The scope or origin of the custom field"
               },
               "format": {
                  "type": "string",
                  "description": "The data type of the value",
                  "enum": [
                     "TEXT",
                     "NUMBER",
                     "DATE",
                     "BOOLEAN",
                     "ARRAY",
                     "OBJECT"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               },
               "extra_data": {
                  "description": "Additional data about the custom field",
                  "additionalProperties": true,
                  "anyOf": [
                     {
                        "type": "object"
                     },
                     {
                        "type": "string"
                     },
                     {
                        "type": "number"
                     },
                     {
                        "type": "boolean"
                     },
                     {
                        "type": "array",
                        "items": {
                           "anyOf": [
                              {
                                 "type": "object"
                              },
                              {
                                 "type": "string"
                              },
                              {
                                 "type": "number"
                              },
                              {
                                 "type": "boolean"
                              }
                           ]
                        }
                     }
                  ]
               },
               "slug": {
                  "type": "string",
                  "description": "The custom field key"
               }
            }
         },
         "property_HealthcarePatient_metadata": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareMetadata"
            },
            "description": "Custom field values"
         },
         "property_HealthcarePatient___unified_person_ids": {
            "type": "array",
            "items": {
               "type": "string"
            },
            "description": "Global unified person ids: the current id first, then every id merged into it. Two records are the same person when these arrays intersect. Only returned when requested in fields"
         },
         "HealthcarePatient": {
            "type": "object",
            "properties": {
               "id": {
                  "type": "string",
                  "description": "Unique identifier for the patient"
               },
               "created_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the patient record was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "updated_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the patient record was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "name": {
                  "type": "string",
                  "description": "Full name of the patient"
               },
               "first_name": {
                  "type": "string",
                  "description": "Given name of the patient"
               },
               "last_name": {
                  "type": "string",
                  "description": "Family name of the patient"
               },
               "gender": {
                  "type": "string",
                  "description": "Administrative gender of the patient",
                  "enum": [
                     "MALE",
                     "FEMALE",
                     "OTHER",
                     "UNKNOWN"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               },
               "birthdate": {
                  "type": "string",
                  "description": "Date of birth (YYYY-MM-DD)"
               },
               "is_deceased": {
                  "type": "boolean",
                  "description": "Whether the patient is deceased"
               },
               "deceased_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the patient died (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "emails": {
                  "$ref": "#/components/schemas/property_HealthcarePatient_emails",
                  "description": "Email addresses of the patient"
               },
               "telephones": {
                  "$ref": "#/components/schemas/property_HealthcarePatient_telephones",
                  "description": "Phone numbers of the patient"
               },
               "address": {
                  "$ref": "#/components/schemas/property_HealthcarePatient_address",
                  "description": "Home address of the patient"
               },
               "language": {
                  "type": "string",
                  "description": "Preferred language code of the patient"
               },
               "identifiers": {
                  "$ref": "#/components/schemas/property_HealthcarePatient_identifiers",
                  "description": "Business identifiers (e.g. MRN)"
               },
               "practitioner_ids": {
                  "$ref": "#/components/schemas/property_HealthcarePatient_practitioner_ids",
                  "description": "The patient's primary care practitioners"
               },
               "is_active": {
                  "type": "boolean",
                  "description": "Whether the patient record is in active use"
               },
               "races": {
                  "$ref": "#/components/schemas/property_HealthcarePatient_races",
                  "description": "Codings for the patient's race (e.g. CDC race codes)"
               },
               "ethnicities": {
                  "$ref": "#/components/schemas/property_HealthcarePatient_ethnicities",
                  "description": "Codings for the patient's ethnicity (e.g. CDC ethnicity codes)"
               },
               "marital_status": {
                  "type": "string",
                  "description": "Marital status of the patient",
                  "enum": [
                     "MARRIED",
                     "SINGLE",
                     "DOMESTIC_PARTNER",
                     "SEPARATED",
                     "DIVORCED",
                     "WIDOWED",
                     "ANNULLED",
                     "UNKNOWN",
                     "OTHER"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               },
               "contacts": {
                  "$ref": "#/components/schemas/property_HealthcarePatient_contacts",
                  "description": "Emergency contacts, guardians and other contact persons for the patient"
               },
               "metadata": {
                  "$ref": "#/components/schemas/property_HealthcarePatient_metadata",
                  "description": "Custom field values"
               },
               "raw": {
                  "type": "object",
                  "description": "Raw data from integration",
                  "additionalProperties": true
               },
               "__unified_person_ids": {
                  "$ref": "#/components/schemas/property_HealthcarePatient___unified_person_ids",
                  "description": "Global unified person ids: the current id first, then every id merged into it. Two records are the same person when these arrays intersect. Only returned when requested in fields"
               }
            }
         },
         "HealthcarePatients": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcarePatient"
            }
         },
         "property_HealthcarePractitioner_emails": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareEmail"
            },
            "description": "Email addresses of the practitioner"
         },
         "property_HealthcarePractitioner_telephones": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareTelephone"
            },
            "description": "Phone numbers of the practitioner"
         },
         "property_HealthcarePractitioner_address": {
            "type": "object",
            "properties": {
               "address1": {
                  "type": "string",
                  "description": "First line of the street address"
               },
               "address2": {
                  "type": "string",
                  "description": "Second line of the street address"
               },
               "city": {
                  "type": "string",
                  "description": "City or locality"
               },
               "region": {
                  "type": "string",
                  "description": "Regional area (e.g., state in the U.S., province in Canada)"
               },
               "postal_code": {
                  "type": "string",
                  "description": "Postal or ZIP code"
               },
               "country": {
                  "type": "string",
                  "description": "Country"
               }
            },
            "description": "Work address of the practitioner"
         },
         "property_HealthcarePractitioner_identifiers": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareIdentifier"
            },
            "description": "Business identifiers (e.g. NPI)"
         },
         "property_HealthcarePractitioner_specialties": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareCode"
            },
            "description": "Codings for the practitioner's specialties"
         },
         "property_HealthcarePractitioner_qualifications": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareCode"
            },
            "description": "Codings for certifications, licenses and degrees"
         },
         "property_HealthcarePractitioner_languages": {
            "type": "array",
            "items": {
               "type": "string"
            },
            "description": "Language codes the practitioner can communicate in"
         },
         "property_HealthcarePractitioner_location_ids": {
            "type": "array",
            "items": {
               "type": "string"
            },
            "description": "Locations where the practitioner provides care"
         },
         "property_HealthcarePractitioner_metadata": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareMetadata"
            },
            "description": "Custom field values"
         },
         "property_HealthcarePractitioner___unified_person_ids": {
            "type": "array",
            "items": {
               "type": "string"
            },
            "description": "Global unified person ids: the current id first, then every id merged into it. Two records are the same person when these arrays intersect. Only returned when requested in fields"
         },
         "HealthcarePractitioner": {
            "type": "object",
            "properties": {
               "id": {
                  "type": "string",
                  "description": "Unique identifier for the practitioner"
               },
               "created_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the practitioner record was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "updated_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the practitioner record was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "name": {
                  "type": "string",
                  "description": "Full name of the practitioner"
               },
               "first_name": {
                  "type": "string",
                  "description": "Given name of the practitioner"
               },
               "last_name": {
                  "type": "string",
                  "description": "Family name of the practitioner"
               },
               "title": {
                  "type": "string",
                  "description": "Professional title or prefix (e.g. Dr.)"
               },
               "gender": {
                  "type": "string",
                  "description": "Administrative gender of the practitioner",
                  "enum": [
                     "MALE",
                     "FEMALE",
                     "OTHER",
                     "UNKNOWN"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               },
               "emails": {
                  "$ref": "#/components/schemas/property_HealthcarePractitioner_emails",
                  "description": "Email addresses of the practitioner"
               },
               "telephones": {
                  "$ref": "#/components/schemas/property_HealthcarePractitioner_telephones",
                  "description": "Phone numbers of the practitioner"
               },
               "address": {
                  "$ref": "#/components/schemas/property_HealthcarePractitioner_address",
                  "description": "Work address of the practitioner"
               },
               "image_url": {
                  "type": "string",
                  "description": "Photo of the practitioner"
               },
               "identifiers": {
                  "$ref": "#/components/schemas/property_HealthcarePractitioner_identifiers",
                  "description": "Business identifiers (e.g. NPI)"
               },
               "specialties": {
                  "$ref": "#/components/schemas/property_HealthcarePractitioner_specialties",
                  "description": "Codings for the practitioner's specialties"
               },
               "qualifications": {
                  "$ref": "#/components/schemas/property_HealthcarePractitioner_qualifications",
                  "description": "Codings for certifications, licenses and degrees"
               },
               "languages": {
                  "$ref": "#/components/schemas/property_HealthcarePractitioner_languages",
                  "description": "Language codes the practitioner can communicate in"
               },
               "location_ids": {
                  "$ref": "#/components/schemas/property_HealthcarePractitioner_location_ids",
                  "description": "Locations where the practitioner provides care"
               },
               "is_active": {
                  "type": "boolean",
                  "description": "Whether the practitioner record is in active use"
               },
               "metadata": {
                  "$ref": "#/components/schemas/property_HealthcarePractitioner_metadata",
                  "description": "Custom field values"
               },
               "raw": {
                  "type": "object",
                  "description": "Raw data from integration",
                  "additionalProperties": true
               },
               "__unified_person_ids": {
                  "$ref": "#/components/schemas/property_HealthcarePractitioner___unified_person_ids",
                  "description": "Global unified person ids: the current id first, then every id merged into it. Two records are the same person when these arrays intersect. Only returned when requested in fields"
               }
            }
         },
         "HealthcarePractitioners": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcarePractitioner"
            }
         },
         "property_HealthcareLocation_address": {
            "type": "object",
            "properties": {
               "address1": {
                  "type": "string",
                  "description": "First line of the street address"
               },
               "address2": {
                  "type": "string",
                  "description": "Second line of the street address"
               },
               "city": {
                  "type": "string",
                  "description": "City or locality"
               },
               "region": {
                  "type": "string",
                  "description": "Regional area (e.g., state in the U.S., province in Canada)"
               },
               "postal_code": {
                  "type": "string",
                  "description": "Postal or ZIP code"
               },
               "country": {
                  "type": "string",
                  "description": "Country"
               }
            },
            "description": "Postal address of the location"
         },
         "property_HealthcareLocation_telephones": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareTelephone"
            },
            "description": "Phone and fax numbers for the location"
         },
         "property_HealthcareLocation_emails": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareEmail"
            },
            "description": "Email addresses for the location"
         },
         "property_HealthcareLocation_identifiers": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareIdentifier"
            },
            "description": "Business identifiers for the location"
         },
         "property_HealthcareLocation_metadata": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareMetadata"
            },
            "description": "Custom field values"
         },
         "HealthcareLocation": {
            "type": "object",
            "properties": {
               "id": {
                  "type": "string",
                  "description": "Unique identifier for the location"
               },
               "created_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the location record was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "updated_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the location record was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "name": {
                  "type": "string",
                  "description": "Name of the location"
               },
               "description": {
                  "type": "string",
                  "description": "Description of the location"
               },
               "parent_id": {
                  "type": "string",
                  "description": "The location this one is part of (e.g. a department within a hospital)"
               },
               "organization_name": {
                  "type": "string",
                  "description": "Name of the organization that manages the location"
               },
               "address": {
                  "$ref": "#/components/schemas/property_HealthcareLocation_address",
                  "description": "Postal address of the location"
               },
               "telephones": {
                  "$ref": "#/components/schemas/property_HealthcareLocation_telephones",
                  "description": "Phone and fax numbers for the location"
               },
               "emails": {
                  "$ref": "#/components/schemas/property_HealthcareLocation_emails",
                  "description": "Email addresses for the location"
               },
               "latitude": {
                  "type": "number",
                  "description": "Latitude of the location"
               },
               "longitude": {
                  "type": "number",
                  "description": "Longitude of the location"
               },
               "identifiers": {
                  "$ref": "#/components/schemas/property_HealthcareLocation_identifiers",
                  "description": "Business identifiers for the location"
               },
               "is_active": {
                  "type": "boolean",
                  "description": "Whether the location is in active use"
               },
               "metadata": {
                  "$ref": "#/components/schemas/property_HealthcareLocation_metadata",
                  "description": "Custom field values"
               },
               "raw": {
                  "type": "object",
                  "description": "Raw data from integration",
                  "additionalProperties": true
               }
            }
         },
         "HealthcareLocations": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareLocation"
            }
         },
         "property_HealthcareAppointment_practitioner_ids": {
            "type": "array",
            "items": {
               "type": "string"
            },
            "description": "The practitioners participating in the appointment"
         },
         "property_HealthcareAppointment_slot_ids": {
            "type": "array",
            "items": {
               "type": "string"
            },
            "description": "The schedule slots this appointment occupies"
         },
         "property_HealthcareAppointment_service_types": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareCode"
            },
            "description": "Codings for the service/visit type being booked"
         },
         "property_HealthcareAppointment_reasons": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareCode"
            },
            "description": "Codings for the reason for the visit"
         },
         "property_HealthcareAppointment_metadata": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareMetadata"
            },
            "description": "Custom field values"
         },
         "HealthcareAppointment": {
            "type": "object",
            "properties": {
               "id": {
                  "type": "string",
                  "description": "Unique identifier for the appointment"
               },
               "created_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the appointment was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "updated_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the appointment was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "patient_id": {
                  "type": "string",
                  "description": "The patient attending the appointment"
               },
               "practitioner_ids": {
                  "$ref": "#/components/schemas/property_HealthcareAppointment_practitioner_ids",
                  "description": "The practitioners participating in the appointment"
               },
               "location_id": {
                  "type": "string",
                  "description": "Where the appointment takes place"
               },
               "slot_ids": {
                  "$ref": "#/components/schemas/property_HealthcareAppointment_slot_ids",
                  "description": "The schedule slots this appointment occupies"
               },
               "status": {
                  "type": "string",
                  "description": "Status of the appointment",
                  "enum": [
                     "PROPOSED",
                     "PENDING",
                     "BOOKED",
                     "ARRIVED",
                     "CHECKED_IN",
                     "FULFILLED",
                     "CANCELLED",
                     "NOSHOW",
                     "WAITLIST",
                     "ENTERED_IN_ERROR",
                     "OTHER"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               },
               "start_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the appointment starts (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "end_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the appointment ends (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "description": {
                  "type": "string",
                  "description": "Short description shown on the appointment"
               },
               "service_types": {
                  "$ref": "#/components/schemas/property_HealthcareAppointment_service_types",
                  "description": "Codings for the service/visit type being booked"
               },
               "reasons": {
                  "$ref": "#/components/schemas/property_HealthcareAppointment_reasons",
                  "description": "Codings for the reason for the visit"
               },
               "cancellation_reason": {
                  "type": "string",
                  "description": "Why the appointment was cancelled"
               },
               "notes": {
                  "type": "string",
                  "description": "Free-text notes or comments"
               },
               "is_virtual": {
                  "type": "boolean",
                  "description": "Whether the appointment is a telehealth/virtual visit"
               },
               "meeting_url": {
                  "type": "string",
                  "description": "Join link for a telehealth/virtual visit"
               },
               "metadata": {
                  "$ref": "#/components/schemas/property_HealthcareAppointment_metadata",
                  "description": "Custom field values"
               },
               "raw": {
                  "type": "object",
                  "description": "Raw data from integration",
                  "additionalProperties": true
               }
            }
         },
         "HealthcareAppointments": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareAppointment"
            }
         },
         "property_HealthcareSlot_service_types": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareCode"
            },
            "description": "Codings for the services that can be booked in the slot"
         },
         "property_HealthcareSlot_metadata": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareMetadata"
            },
            "description": "Custom field values"
         },
         "HealthcareSlot": {
            "type": "object",
            "properties": {
               "id": {
                  "type": "string",
                  "description": "Unique identifier for the slot"
               },
               "created_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the slot was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "updated_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the slot was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "practitioner_id": {
                  "type": "string",
                  "description": "The practitioner whose schedule the slot belongs to"
               },
               "location_id": {
                  "type": "string",
                  "description": "Where the slot takes place"
               },
               "status": {
                  "type": "string",
                  "description": "Availability of the slot",
                  "enum": [
                     "FREE",
                     "BUSY",
                     "BUSY_UNAVAILABLE",
                     "BUSY_TENTATIVE",
                     "ENTERED_IN_ERROR",
                     "OTHER"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               },
               "start_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the slot starts (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "end_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the slot ends (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "service_types": {
                  "$ref": "#/components/schemas/property_HealthcareSlot_service_types",
                  "description": "Codings for the services that can be booked in the slot"
               },
               "is_overbooked": {
                  "type": "boolean",
                  "description": "Whether the slot has been overbooked"
               },
               "notes": {
                  "type": "string",
                  "description": "Free-text notes about the slot"
               },
               "metadata": {
                  "$ref": "#/components/schemas/property_HealthcareSlot_metadata",
                  "description": "Custom field values"
               },
               "raw": {
                  "type": "object",
                  "description": "Raw data from integration",
                  "additionalProperties": true
               }
            }
         },
         "HealthcareSlots": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareSlot"
            }
         },
         "property_HealthcareEncounter_practitioner_ids": {
            "type": "array",
            "items": {
               "type": "string"
            },
            "description": "The practitioners who participated in the encounter"
         },
         "property_HealthcareEncounter_condition_ids": {
            "type": "array",
            "items": {
               "type": "string"
            },
            "description": "Conditions diagnosed or addressed during the encounter"
         },
         "property_HealthcareEncounter_reasons": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareCode"
            },
            "description": "Codings for the reason for the encounter"
         },
         "property_HealthcareEncounter_metadata": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareMetadata"
            },
            "description": "Custom field values"
         },
         "HealthcareEncounter": {
            "type": "object",
            "properties": {
               "id": {
                  "type": "string",
                  "description": "Unique identifier for the encounter"
               },
               "created_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the encounter record was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "updated_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the encounter record was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "patient_id": {
                  "type": "string",
                  "description": "The patient seen in the encounter"
               },
               "practitioner_ids": {
                  "$ref": "#/components/schemas/property_HealthcareEncounter_practitioner_ids",
                  "description": "The practitioners who participated in the encounter"
               },
               "location_id": {
                  "type": "string",
                  "description": "Where the encounter took place"
               },
               "appointment_id": {
                  "type": "string",
                  "description": "The appointment that scheduled this encounter"
               },
               "condition_ids": {
                  "$ref": "#/components/schemas/property_HealthcareEncounter_condition_ids",
                  "description": "Conditions diagnosed or addressed during the encounter"
               },
               "status": {
                  "type": "string",
                  "description": "Status of the encounter",
                  "enum": [
                     "PLANNED",
                     "ARRIVED",
                     "TRIAGED",
                     "IN_PROGRESS",
                     "ONLEAVE",
                     "FINISHED",
                     "CANCELLED",
                     "ENTERED_IN_ERROR",
                     "UNKNOWN",
                     "OTHER"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               },
               "type": {
                  "type": "string",
                  "description": "Class of the encounter (e.g. ambulatory, inpatient)",
                  "enum": [
                     "AMBULATORY",
                     "EMERGENCY",
                     "INPATIENT",
                     "OBSERVATION",
                     "HOME_HEALTH",
                     "VIRTUAL",
                     "OTHER"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               },
               "reasons": {
                  "$ref": "#/components/schemas/property_HealthcareEncounter_reasons",
                  "description": "Codings for the reason for the encounter"
               },
               "start_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the encounter started (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "end_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the encounter ended (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "metadata": {
                  "$ref": "#/components/schemas/property_HealthcareEncounter_metadata",
                  "description": "Custom field values"
               },
               "raw": {
                  "type": "object",
                  "description": "Raw data from integration",
                  "additionalProperties": true
               }
            }
         },
         "HealthcareEncounters": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareEncounter"
            }
         },
         "property_HealthcareCondition_codes": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareCode"
            },
            "description": "Codings for the condition (e.g. ICD-10, SNOMED CT)"
         },
         "property_HealthcareCondition_metadata": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareMetadata"
            },
            "description": "Custom field values"
         },
         "HealthcareCondition": {
            "type": "object",
            "properties": {
               "id": {
                  "type": "string",
                  "description": "Unique identifier for the condition"
               },
               "created_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the condition record was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "updated_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the condition record was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "patient_id": {
                  "type": "string",
                  "description": "The patient who has the condition"
               },
               "encounter_id": {
                  "type": "string",
                  "description": "The encounter in which the condition was recorded"
               },
               "practitioner_id": {
                  "type": "string",
                  "description": "The practitioner who recorded or asserted the condition"
               },
               "name": {
                  "type": "string",
                  "description": "Human-readable name of the condition"
               },
               "codes": {
                  "$ref": "#/components/schemas/property_HealthcareCondition_codes",
                  "description": "Codings for the condition (e.g. ICD-10, SNOMED CT)"
               },
               "status": {
                  "type": "string",
                  "description": "Clinical status of the condition",
                  "enum": [
                     "ACTIVE",
                     "RECURRENCE",
                     "RELAPSE",
                     "INACTIVE",
                     "REMISSION",
                     "RESOLVED",
                     "OTHER"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               },
               "type": {
                  "type": "string",
                  "description": "Category of the condition",
                  "enum": [
                     "PROBLEM",
                     "DIAGNOSIS",
                     "HEALTH_CONCERN",
                     "OTHER"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               },
               "onset_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the condition began (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "resolved_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the condition resolved (abatement) (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "recorded_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the condition was recorded (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "notes": {
                  "type": "string",
                  "description": "Free-text notes about the condition"
               },
               "metadata": {
                  "$ref": "#/components/schemas/property_HealthcareCondition_metadata",
                  "description": "Custom field values"
               },
               "raw": {
                  "type": "object",
                  "description": "Raw data from integration",
                  "additionalProperties": true
               }
            }
         },
         "HealthcareConditions": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareCondition"
            }
         },
         "property_HealthcareAllergy_codes": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareCode"
            },
            "description": "Codings for the substance (e.g. RxNorm, SNOMED CT)"
         },
         "property_HealthcareAllergy_reactions": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareCode"
            },
            "description": "Codings for observed reaction manifestations (e.g. hives, anaphylaxis)"
         },
         "property_HealthcareAllergy_metadata": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareMetadata"
            },
            "description": "Custom field values"
         },
         "HealthcareAllergy": {
            "type": "object",
            "properties": {
               "id": {
                  "type": "string",
                  "description": "Unique identifier for the allergy/intolerance"
               },
               "created_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the allergy record was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "updated_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the allergy record was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "patient_id": {
                  "type": "string",
                  "description": "The patient who has the allergy"
               },
               "encounter_id": {
                  "type": "string",
                  "description": "The encounter in which the allergy was recorded"
               },
               "practitioner_id": {
                  "type": "string",
                  "description": "The practitioner who recorded or asserted the allergy"
               },
               "name": {
                  "type": "string",
                  "description": "Human-readable name of the substance"
               },
               "codes": {
                  "$ref": "#/components/schemas/property_HealthcareAllergy_codes",
                  "description": "Codings for the substance (e.g. RxNorm, SNOMED CT)"
               },
               "status": {
                  "type": "string",
                  "description": "Clinical status of the allergy",
                  "enum": [
                     "ACTIVE",
                     "INACTIVE",
                     "RESOLVED",
                     "OTHER"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               },
               "type": {
                  "type": "string",
                  "description": "Category of the substance",
                  "enum": [
                     "FOOD",
                     "MEDICATION",
                     "ENVIRONMENT",
                     "BIOLOGIC",
                     "OTHER"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               },
               "criticality": {
                  "type": "string",
                  "description": "Potential severity of future reactions",
                  "enum": [
                     "LOW",
                     "HIGH",
                     "UNABLE_TO_ASSESS",
                     "OTHER"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               },
               "reactions": {
                  "$ref": "#/components/schemas/property_HealthcareAllergy_reactions",
                  "description": "Codings for observed reaction manifestations (e.g. hives, anaphylaxis)"
               },
               "onset_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the allergy was first identified (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "recorded_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the allergy was recorded (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "notes": {
                  "type": "string",
                  "description": "Free-text notes about the allergy"
               },
               "metadata": {
                  "$ref": "#/components/schemas/property_HealthcareAllergy_metadata",
                  "description": "Custom field values"
               },
               "raw": {
                  "type": "object",
                  "description": "Raw data from integration",
                  "additionalProperties": true
               }
            }
         },
         "HealthcareAllergies": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareAllergy"
            }
         },
         "property_HealthcareMedication_codes": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareCode"
            },
            "description": "Codings for the medication (e.g. RxNorm)"
         },
         "property_HealthcareMedication_metadata": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareMetadata"
            },
            "description": "Custom field values"
         },
         "HealthcareMedication": {
            "type": "object",
            "properties": {
               "id": {
                  "type": "string",
                  "description": "Unique identifier for the medication order/prescription"
               },
               "created_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the medication record was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "updated_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the medication record was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "patient_id": {
                  "type": "string",
                  "description": "The patient the medication is for"
               },
               "encounter_id": {
                  "type": "string",
                  "description": "The encounter in which the medication was ordered"
               },
               "practitioner_id": {
                  "type": "string",
                  "description": "The practitioner who prescribed the medication"
               },
               "name": {
                  "type": "string",
                  "description": "Human-readable name of the medication"
               },
               "codes": {
                  "$ref": "#/components/schemas/property_HealthcareMedication_codes",
                  "description": "Codings for the medication (e.g. RxNorm)"
               },
               "status": {
                  "type": "string",
                  "description": "Status of the medication order",
                  "enum": [
                     "DRAFT",
                     "ACTIVE",
                     "ON_HOLD",
                     "COMPLETED",
                     "STOPPED",
                     "CANCELLED",
                     "ENTERED_IN_ERROR",
                     "UNKNOWN",
                     "OTHER"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               },
               "dosage": {
                  "type": "string",
                  "description": "Free-text dosage instructions (e.g. \"1 tablet by mouth twice daily\")"
               },
               "refill_count": {
                  "type": "number",
                  "description": "Number of refills authorized"
               },
               "authored_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the medication was prescribed (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "start_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the patient should start taking the medication (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "end_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the patient should stop taking the medication (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "notes": {
                  "type": "string",
                  "description": "Free-text notes about the medication"
               },
               "route": {
                  "type": "string",
                  "description": "How the medication is taken (e.g. oral, intravenous)"
               },
               "dose_number": {
                  "type": "number",
                  "description": "Amount of medication per dose"
               },
               "dose_unit": {
                  "type": "string",
                  "description": "Unit of the dose amount (e.g. mg, tablet)"
               },
               "metadata": {
                  "$ref": "#/components/schemas/property_HealthcareMedication_metadata",
                  "description": "Custom field values"
               },
               "raw": {
                  "type": "object",
                  "description": "Raw data from integration",
                  "additionalProperties": true
               }
            }
         },
         "HealthcareMedications": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareMedication"
            }
         },
         "property_HealthcareObservation_codes": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareCode"
            },
            "description": "Codings for what was observed (e.g. LOINC)"
         },
         "property_HealthcareObservation_reference_range": {
            "type": "object",
            "properties": {
               "low_value": {
                  "type": "number",
                  "description": "Lower bound of the range"
               },
               "high_value": {
                  "type": "number",
                  "description": "Upper bound of the range"
               },
               "unit": {
                  "type": "string",
                  "description": "Unit of the range bounds"
               },
               "text": {
                  "type": "string",
                  "description": "Text description of the range"
               }
            },
            "description": "Normal range for the result"
         },
         "property_HealthcareObservationComponent_codes": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareCode"
            },
            "description": "Codings for the component (e.g. LOINC)"
         },
         "HealthcareObservationComponent": {
            "type": "object",
            "properties": {
               "name": {
                  "type": "string",
                  "description": "Human-readable name of the component"
               },
               "codes": {
                  "$ref": "#/components/schemas/property_HealthcareObservationComponent_codes",
                  "description": "Codings for the component (e.g. LOINC)"
               },
               "value_number": {
                  "type": "number",
                  "description": "Numeric component value"
               },
               "value_unit": {
                  "type": "string",
                  "description": "Unit of the numeric component value"
               },
               "value_text": {
                  "type": "string",
                  "description": "Text or coded component value"
               },
               "interpretation": {
                  "type": "string",
                  "description": "Interpretation of the component value",
                  "enum": [
                     "NORMAL",
                     "ABNORMAL",
                     "LOW",
                     "HIGH",
                     "CRITICAL_LOW",
                     "CRITICAL_HIGH",
                     "OTHER"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               }
            }
         },
         "property_HealthcareObservation_components": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareObservationComponent"
            },
            "description": "Component results (e.g. systolic and diastolic blood pressure)"
         },
         "property_HealthcareObservation_metadata": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareMetadata"
            },
            "description": "Custom field values"
         },
         "HealthcareObservation": {
            "type": "object",
            "properties": {
               "id": {
                  "type": "string",
                  "description": "Unique identifier for the observation"
               },
               "created_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the observation record was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "updated_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the observation record was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "patient_id": {
                  "type": "string",
                  "description": "The patient the observation is about"
               },
               "encounter_id": {
                  "type": "string",
                  "description": "The encounter in which the observation was made"
               },
               "practitioner_id": {
                  "type": "string",
                  "description": "The practitioner who performed the observation"
               },
               "name": {
                  "type": "string",
                  "description": "Human-readable name of what was observed"
               },
               "codes": {
                  "$ref": "#/components/schemas/property_HealthcareObservation_codes",
                  "description": "Codings for what was observed (e.g. LOINC)"
               },
               "status": {
                  "type": "string",
                  "description": "Status of the observation result",
                  "enum": [
                     "REGISTERED",
                     "PRELIMINARY",
                     "FINAL",
                     "AMENDED",
                     "CORRECTED",
                     "CANCELLED",
                     "ENTERED_IN_ERROR",
                     "UNKNOWN",
                     "OTHER"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               },
               "type": {
                  "type": "string",
                  "description": "Category of the observation",
                  "enum": [
                     "LABORATORY",
                     "VITAL_SIGNS",
                     "SOCIAL_HISTORY",
                     "IMAGING",
                     "SURVEY",
                     "EXAM",
                     "PROCEDURE",
                     "THERAPY",
                     "ACTIVITY",
                     "OTHER"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               },
               "value_number": {
                  "type": "number",
                  "description": "Numeric result value"
               },
               "value_unit": {
                  "type": "string",
                  "description": "Unit of the numeric result (e.g. mg/dL)"
               },
               "value_text": {
                  "type": "string",
                  "description": "Text or coded result value"
               },
               "interpretation": {
                  "type": "string",
                  "description": "Interpretation of the result (e.g. high, low)",
                  "enum": [
                     "NORMAL",
                     "ABNORMAL",
                     "LOW",
                     "HIGH",
                     "CRITICAL_LOW",
                     "CRITICAL_HIGH",
                     "OTHER"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               },
               "reference_range": {
                  "$ref": "#/components/schemas/property_HealthcareObservation_reference_range",
                  "description": "Normal range for the result"
               },
               "components": {
                  "$ref": "#/components/schemas/property_HealthcareObservation_components",
                  "description": "Component results (e.g. systolic and diastolic blood pressure)"
               },
               "observed_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the observation was made (effective time) (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "issued_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the result was released (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "notes": {
                  "type": "string",
                  "description": "Free-text notes about the observation"
               },
               "metadata": {
                  "$ref": "#/components/schemas/property_HealthcareObservation_metadata",
                  "description": "Custom field values"
               },
               "raw": {
                  "type": "object",
                  "description": "Raw data from integration",
                  "additionalProperties": true
               }
            }
         },
         "HealthcareObservations": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareObservation"
            }
         },
         "property_HealthcareImmunization_codes": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareCode"
            },
            "description": "Codings for the vaccine (e.g. CVX)"
         },
         "property_HealthcareImmunization_metadata": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareMetadata"
            },
            "description": "Custom field values"
         },
         "HealthcareImmunization": {
            "type": "object",
            "properties": {
               "id": {
                  "type": "string",
                  "description": "Unique identifier for the immunization"
               },
               "created_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the immunization record was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "updated_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the immunization record was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "patient_id": {
                  "type": "string",
                  "description": "The patient who was immunized"
               },
               "encounter_id": {
                  "type": "string",
                  "description": "The encounter in which the vaccine was administered"
               },
               "practitioner_id": {
                  "type": "string",
                  "description": "The practitioner who administered the vaccine"
               },
               "location_id": {
                  "type": "string",
                  "description": "Where the vaccine was administered"
               },
               "name": {
                  "type": "string",
                  "description": "Human-readable name of the vaccine"
               },
               "codes": {
                  "$ref": "#/components/schemas/property_HealthcareImmunization_codes",
                  "description": "Codings for the vaccine (e.g. CVX)"
               },
               "status": {
                  "type": "string",
                  "description": "Status of the immunization",
                  "enum": [
                     "COMPLETED",
                     "NOT_DONE",
                     "ENTERED_IN_ERROR",
                     "OTHER"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               },
               "administered_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the vaccine was administered (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "lot_number": {
                  "type": "string",
                  "description": "Vaccine lot number"
               },
               "expires_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Vaccine expiration date (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "notes": {
                  "type": "string",
                  "description": "Free-text notes about the immunization"
               },
               "metadata": {
                  "$ref": "#/components/schemas/property_HealthcareImmunization_metadata",
                  "description": "Custom field values"
               },
               "raw": {
                  "type": "object",
                  "description": "Raw data from integration",
                  "additionalProperties": true
               }
            }
         },
         "HealthcareImmunizations": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareImmunization"
            }
         },
         "property_HealthcareDocument_codes": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareCode"
            },
            "description": "Codings for the kind of document (e.g. LOINC document type)"
         },
         "property_HealthcareDocument_metadata": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareMetadata"
            },
            "description": "Custom field values"
         },
         "HealthcareDocument": {
            "type": "object",
            "properties": {
               "id": {
                  "type": "string",
                  "description": "Unique identifier for the document"
               },
               "created_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the document record was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "updated_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the document record was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "patient_id": {
                  "type": "string",
                  "description": "The patient the document is about"
               },
               "encounter_id": {
                  "type": "string",
                  "description": "The encounter the document relates to"
               },
               "practitioner_id": {
                  "type": "string",
                  "description": "The practitioner who authored the document"
               },
               "name": {
                  "type": "string",
                  "description": "Title or description of the document"
               },
               "type": {
                  "type": "string",
                  "description": "Unified, normalized kind of clinical document (OTHER when unmappable)",
                  "enum": [
                     "PROGRESS_NOTE",
                     "CONSULTATION_NOTE",
                     "HISTORY_AND_PHYSICAL",
                     "DISCHARGE_SUMMARY",
                     "PROCEDURE_NOTE",
                     "REFERRAL_NOTE",
                     "SUMMARY",
                     "LABORATORY_REPORT",
                     "IMAGING_REPORT",
                     "CONSENT",
                     "OTHER"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               },
               "codes": {
                  "$ref": "#/components/schemas/property_HealthcareDocument_codes",
                  "description": "Codings for the kind of document (e.g. LOINC document type)"
               },
               "status": {
                  "type": "string",
                  "description": "Status of the document",
                  "enum": [
                     "CURRENT",
                     "SUPERSEDED",
                     "ENTERED_IN_ERROR",
                     "OTHER"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               },
               "filename": {
                  "type": "string",
                  "description": "File name of the document"
               },
               "mime_type": {
                  "type": "string",
                  "description": "MIME type of the document content (e.g. text/plain, application/pdf)"
               },
               "document_url": {
                  "type": "string",
                  "description": "Download link for the document content, expires after 1 hour"
               },
               "document_data": {
                  "type": "string",
                  "description": "Base64-encoded document content for create"
               },
               "authored_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the document was written (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "metadata": {
                  "$ref": "#/components/schemas/property_HealthcareDocument_metadata",
                  "description": "Custom field values"
               },
               "raw": {
                  "type": "object",
                  "description": "Raw data from integration",
                  "additionalProperties": true
               }
            }
         },
         "HealthcareDocuments": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareDocument"
            }
         },
         "property_HealthcareCoverage_codes": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareCode"
            },
            "description": "Codings for the type of coverage (e.g. Medicare, commercial PPO)"
         },
         "property_HealthcareCoverage_identifiers": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareIdentifier"
            },
            "description": "Business identifiers for the coverage"
         },
         "property_HealthcareCoverage_metadata": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareMetadata"
            },
            "description": "Custom field values"
         },
         "HealthcareCoverage": {
            "type": "object",
            "properties": {
               "id": {
                  "type": "string",
                  "description": "Unique identifier for the coverage"
               },
               "created_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the coverage record was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "updated_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the coverage record was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "patient_id": {
                  "type": "string",
                  "description": "The patient covered by the insurance (beneficiary)"
               },
               "status": {
                  "type": "string",
                  "description": "Status of the coverage",
                  "enum": [
                     "ACTIVE",
                     "CANCELLED",
                     "DRAFT",
                     "ENTERED_IN_ERROR",
                     "OTHER"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               },
               "codes": {
                  "$ref": "#/components/schemas/property_HealthcareCoverage_codes",
                  "description": "Codings for the type of coverage (e.g. Medicare, commercial PPO)"
               },
               "payer_name": {
                  "type": "string",
                  "description": "Name of the insurer or payer"
               },
               "plan_name": {
                  "type": "string",
                  "description": "Name of the insurance plan"
               },
               "group_name": {
                  "type": "string",
                  "description": "Name of the employer group or plan group"
               },
               "group_identifier": {
                  "type": "string",
                  "description": "Group number of the plan (reference to HrisGroup)"
               },
               "member_identifier": {
                  "type": "string",
                  "description": "Member/subscriber number on the insurance card"
               },
               "subscriber_name": {
                  "type": "string",
                  "description": "Name of the policy holder"
               },
               "relationship": {
                  "type": "string",
                  "description": "Relationship of the patient to the policy holder",
                  "enum": [
                     "SELF",
                     "SPOUSE",
                     "CHILD",
                     "OTHER"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               },
               "priority": {
                  "type": "number",
                  "description": "Order in which the coverage is applied (1 = primary)"
               },
               "start_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the coverage starts (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "end_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the coverage ends (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "identifiers": {
                  "$ref": "#/components/schemas/property_HealthcareCoverage_identifiers",
                  "description": "Business identifiers for the coverage"
               },
               "metadata": {
                  "$ref": "#/components/schemas/property_HealthcareCoverage_metadata",
                  "description": "Custom field values"
               },
               "raw": {
                  "type": "object",
                  "description": "Raw data from integration",
                  "additionalProperties": true
               }
            }
         },
         "HealthcareCoverages": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareCoverage"
            }
         },
         "property_HealthcareProcedure_practitioner_ids": {
            "type": "array",
            "items": {
               "type": "string"
            },
            "description": "The practitioners who performed the procedure"
         },
         "property_HealthcareProcedure_condition_ids": {
            "type": "array",
            "items": {
               "type": "string"
            },
            "description": "Conditions that justified the procedure"
         },
         "property_HealthcareProcedure_codes": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareCode"
            },
            "description": "Codings for the procedure (e.g. CPT, SNOMED CT)"
         },
         "property_HealthcareProcedure_reasons": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareCode"
            },
            "description": "Codings for the reason the procedure was performed"
         },
         "property_HealthcareProcedure_body_sites": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareCode"
            },
            "description": "Codings for the anatomical locations of the procedure"
         },
         "property_HealthcareProcedure_metadata": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareMetadata"
            },
            "description": "Custom field values"
         },
         "HealthcareProcedure": {
            "type": "object",
            "properties": {
               "id": {
                  "type": "string",
                  "description": "Unique identifier for the procedure"
               },
               "created_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the procedure record was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "updated_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the procedure record was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "patient_id": {
                  "type": "string",
                  "description": "The patient the procedure was performed on"
               },
               "encounter_id": {
                  "type": "string",
                  "description": "The encounter in which the procedure was performed"
               },
               "practitioner_ids": {
                  "$ref": "#/components/schemas/property_HealthcareProcedure_practitioner_ids",
                  "description": "The practitioners who performed the procedure"
               },
               "location_id": {
                  "type": "string",
                  "description": "Where the procedure was performed"
               },
               "condition_ids": {
                  "$ref": "#/components/schemas/property_HealthcareProcedure_condition_ids",
                  "description": "Conditions that justified the procedure"
               },
               "name": {
                  "type": "string",
                  "description": "Human-readable name of the procedure"
               },
               "codes": {
                  "$ref": "#/components/schemas/property_HealthcareProcedure_codes",
                  "description": "Codings for the procedure (e.g. CPT, SNOMED CT)"
               },
               "status": {
                  "type": "string",
                  "description": "Status of the procedure",
                  "enum": [
                     "PREPARATION",
                     "IN_PROGRESS",
                     "NOT_DONE",
                     "ON_HOLD",
                     "STOPPED",
                     "COMPLETED",
                     "ENTERED_IN_ERROR",
                     "UNKNOWN",
                     "OTHER"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               },
               "reasons": {
                  "$ref": "#/components/schemas/property_HealthcareProcedure_reasons",
                  "description": "Codings for the reason the procedure was performed"
               },
               "body_sites": {
                  "$ref": "#/components/schemas/property_HealthcareProcedure_body_sites",
                  "description": "Codings for the anatomical locations of the procedure"
               },
               "start_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the procedure was performed (or started) (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "end_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the procedure ended (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "notes": {
                  "type": "string",
                  "description": "Free-text notes about the procedure"
               },
               "metadata": {
                  "$ref": "#/components/schemas/property_HealthcareProcedure_metadata",
                  "description": "Custom field values"
               },
               "raw": {
                  "type": "object",
                  "description": "Raw data from integration",
                  "additionalProperties": true
               }
            }
         },
         "HealthcareProcedures": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareProcedure"
            }
         },
         "property_HealthcareReport_practitioner_ids": {
            "type": "array",
            "items": {
               "type": "string"
            },
            "description": "The practitioners responsible for the report"
         },
         "property_HealthcareReport_observation_ids": {
            "type": "array",
            "items": {
               "type": "string"
            },
            "description": "The individual results included in the report"
         },
         "property_HealthcareReport_codes": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareCode"
            },
            "description": "Codings for the report (e.g. LOINC panel)"
         },
         "property_HealthcareReport_metadata": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareMetadata"
            },
            "description": "Custom field values"
         },
         "HealthcareReport": {
            "type": "object",
            "properties": {
               "id": {
                  "type": "string",
                  "description": "Unique identifier for the report"
               },
               "created_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the report record was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "updated_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the report record was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "patient_id": {
                  "type": "string",
                  "description": "The patient the report is about"
               },
               "encounter_id": {
                  "type": "string",
                  "description": "The encounter the report relates to"
               },
               "practitioner_ids": {
                  "$ref": "#/components/schemas/property_HealthcareReport_practitioner_ids",
                  "description": "The practitioners responsible for the report"
               },
               "observation_ids": {
                  "$ref": "#/components/schemas/property_HealthcareReport_observation_ids",
                  "description": "The individual results included in the report"
               },
               "name": {
                  "type": "string",
                  "description": "Human-readable name of the report (e.g. Complete blood count)"
               },
               "codes": {
                  "$ref": "#/components/schemas/property_HealthcareReport_codes",
                  "description": "Codings for the report (e.g. LOINC panel)"
               },
               "status": {
                  "type": "string",
                  "description": "Status of the report",
                  "enum": [
                     "REGISTERED",
                     "PARTIAL",
                     "PRELIMINARY",
                     "FINAL",
                     "AMENDED",
                     "CORRECTED",
                     "APPENDED",
                     "CANCELLED",
                     "ENTERED_IN_ERROR",
                     "UNKNOWN",
                     "OTHER"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               },
               "type": {
                  "type": "string",
                  "description": "Category of the report",
                  "enum": [
                     "LABORATORY",
                     "IMAGING",
                     "PATHOLOGY",
                     "CARDIOLOGY",
                     "OTHER"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               },
               "conclusion": {
                  "type": "string",
                  "description": "Clinical conclusion or interpretation of the report"
               },
               "observed_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the specimen was taken or the study was performed (effective time) (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "issued_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the report was released (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "metadata": {
                  "$ref": "#/components/schemas/property_HealthcareReport_metadata",
                  "description": "Custom field values"
               },
               "raw": {
                  "type": "object",
                  "description": "Raw data from integration",
                  "additionalProperties": true
               }
            }
         },
         "HealthcareReports": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareReport"
            }
         },
         "property_HealthcareCareplan_practitioner_ids": {
            "type": "array",
            "items": {
               "type": "string"
            },
            "description": "The practitioners who authored or contributed to the care plan"
         },
         "property_HealthcareCareplan_condition_ids": {
            "type": "array",
            "items": {
               "type": "string"
            },
            "description": "Conditions addressed by the care plan"
         },
         "property_HealthcareCareplan_goal_ids": {
            "type": "array",
            "items": {
               "type": "string"
            },
            "description": "Goals the care plan is working towards"
         },
         "property_HealthcareCareplan_codes": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareCode"
            },
            "description": "Codings for the kind of care plan (e.g. assessment and plan of treatment)"
         },
         "property_HealthcareCareplan_metadata": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareMetadata"
            },
            "description": "Custom field values"
         },
         "HealthcareCareplan": {
            "type": "object",
            "properties": {
               "id": {
                  "type": "string",
                  "description": "Unique identifier for the care plan"
               },
               "created_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the care plan record was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "updated_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the care plan record was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "patient_id": {
                  "type": "string",
                  "description": "The patient the care plan is for"
               },
               "encounter_id": {
                  "type": "string",
                  "description": "The encounter in which the care plan was created"
               },
               "practitioner_ids": {
                  "$ref": "#/components/schemas/property_HealthcareCareplan_practitioner_ids",
                  "description": "The practitioners who authored or contributed to the care plan"
               },
               "condition_ids": {
                  "$ref": "#/components/schemas/property_HealthcareCareplan_condition_ids",
                  "description": "Conditions addressed by the care plan"
               },
               "goal_ids": {
                  "$ref": "#/components/schemas/property_HealthcareCareplan_goal_ids",
                  "description": "Goals the care plan is working towards"
               },
               "name": {
                  "type": "string",
                  "description": "Title of the care plan"
               },
               "description": {
                  "type": "string",
                  "description": "Summary of the care plan"
               },
               "codes": {
                  "$ref": "#/components/schemas/property_HealthcareCareplan_codes",
                  "description": "Codings for the kind of care plan (e.g. assessment and plan of treatment)"
               },
               "status": {
                  "type": "string",
                  "description": "Status of the care plan",
                  "enum": [
                     "DRAFT",
                     "ACTIVE",
                     "ON_HOLD",
                     "REVOKED",
                     "COMPLETED",
                     "ENTERED_IN_ERROR",
                     "UNKNOWN",
                     "OTHER"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               },
               "start_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the care plan starts (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "end_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the care plan ends (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "notes": {
                  "type": "string",
                  "description": "Free-text notes about the care plan"
               },
               "metadata": {
                  "$ref": "#/components/schemas/property_HealthcareCareplan_metadata",
                  "description": "Custom field values"
               },
               "raw": {
                  "type": "object",
                  "description": "Raw data from integration",
                  "additionalProperties": true
               }
            }
         },
         "HealthcareCareplans": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareCareplan"
            }
         },
         "property_HealthcareGoal_condition_ids": {
            "type": "array",
            "items": {
               "type": "string"
            },
            "description": "Conditions the goal addresses"
         },
         "property_HealthcareGoal_codes": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareCode"
            },
            "description": "Codings for the goal"
         },
         "property_HealthcareGoal_metadata": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareMetadata"
            },
            "description": "Custom field values"
         },
         "HealthcareGoal": {
            "type": "object",
            "properties": {
               "id": {
                  "type": "string",
                  "description": "Unique identifier for the goal"
               },
               "created_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the goal record was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "updated_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the goal record was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "patient_id": {
                  "type": "string",
                  "description": "The patient the goal is for"
               },
               "practitioner_id": {
                  "type": "string",
                  "description": "The practitioner who set the goal"
               },
               "condition_ids": {
                  "$ref": "#/components/schemas/property_HealthcareGoal_condition_ids",
                  "description": "Conditions the goal addresses"
               },
               "name": {
                  "type": "string",
                  "description": "Human-readable description of the goal"
               },
               "codes": {
                  "$ref": "#/components/schemas/property_HealthcareGoal_codes",
                  "description": "Codings for the goal"
               },
               "status": {
                  "type": "string",
                  "description": "Lifecycle status of the goal",
                  "enum": [
                     "PROPOSED",
                     "PLANNED",
                     "ACCEPTED",
                     "ACTIVE",
                     "ON_HOLD",
                     "COMPLETED",
                     "CANCELLED",
                     "ENTERED_IN_ERROR",
                     "REJECTED",
                     "OTHER"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               },
               "achievement_status": {
                  "type": "string",
                  "description": "Progress towards the goal",
                  "enum": [
                     "IN_PROGRESS",
                     "IMPROVING",
                     "WORSENING",
                     "NO_CHANGE",
                     "ACHIEVED",
                     "SUSTAINING",
                     "NOT_ACHIEVED",
                     "NO_PROGRESS",
                     "NOT_ATTAINABLE",
                     "OTHER"
                  ],
                  "x-speakeasy-unknown-values": "allow"
               },
               "start_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When work on the goal starts (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "due_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When the goal should be reached (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               "notes": {
                  "type": "string",
                  "description": "Free-text notes about the goal"
               },
               "metadata": {
                  "$ref": "#/components/schemas/property_HealthcareGoal_metadata",
                  "description": "Custom field values"
               },
               "raw": {
                  "type": "object",
                  "description": "Raw data from integration",
                  "additionalProperties": true
               }
            }
         },
         "HealthcareGoals": {
            "type": "array",
            "items": {
               "$ref": "#/components/schemas/HealthcareGoal"
            }
         }
      }
   },
   "paths": {
      "/healthcare/{connection_id}/patient": {
         "post": {
            "summary": "Create a patient",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "name",
                           "first_name",
                           "last_name",
                           "gender",
                           "birthdate",
                           "is_deceased",
                           "deceased_at",
                           "emails",
                           "telephones",
                           "address",
                           "language",
                           "identifiers",
                           "practitioner_ids",
                           "is_active",
                           "races",
                           "ethnicities",
                           "marital_status",
                           "contacts",
                           "metadata",
                           "raw",
                           "__unified_person_ids"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "patient"
            ],
            "description": "Creates a HealthcarePatient. Provide the unified HealthcarePatient fields in the request body; they are mapped to the provider's API. Returns the created HealthcarePatient.",
            "requestBody": {
               "required": true,
               "content": {
                  "application/json": {
                     "schema": {
                        "$ref": "#/components/schemas/HealthcarePatient"
                     },
                     "examples": {
                        "healthcare_patient": {
                           "summary": "Sample HealthcarePatient",
                           "value": {
                              "id": "af9dbe88-57b3-4d39-b64f-72586c968ff5",
                              "created_at": "2021-06-05T21:08:04.917Z",
                              "updated_at": "2026-08-03T02:12:42.468Z",
                              "name": "Monroe Bauch",
                              "first_name": "Monroe",
                              "last_name": "Bauch",
                              "gender": "FEMALE",
                              "birthdate": "1942-01-02",
                              "is_deceased": false,
                              "emails": [
                                 {
                                    "email": "monroe.bauch@icloud.com",
                                    "type": "HOME"
                                 }
                              ],
                              "telephones": [
                                 {
                                    "telephone": "1-555-902-3082 x9590",
                                    "type": "MOBILE"
                                 }
                              ],
                              "address": {
                                 "address1": "3645 Leonardo Place",
                                 "city": "Estelleland",
                                 "region": "New Jersey",
                                 "postal_code": "99263-6004",
                                 "country": "US"
                              },
                              "language": "zh",
                              "identifiers": [
                                 {
                                    "value": "51559512",
                                    "type": "MRN"
                                 }
                              ],
                              "practitioner_ids": [],
                              "is_active": true,
                              "contacts": [
                                 {
                                    "name": "Ambrose Welch",
                                    "relationship": "Spouse",
                                    "telephones": [
                                       {
                                          "telephone": "323.524.3947 x89014",
                                          "type": "MOBILE"
                                       }
                                    ],
                                    "emails": []
                                 }
                              ],
                              "metadata": []
                           }
                        }
                     }
                  }
               }
            },
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcarePatient"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "createHealthcarePatient"
         },
         "get": {
            "summary": "List all patients",
            "parameters": [
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "limit",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "offset",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "updated_gte",
                  "in": "query",
                  "required": false,
                  "description": "Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "sort",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "order",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "query",
                  "in": "query",
                  "required": false,
                  "description": "Query string to search. eg. email address or name"
               },
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "name",
                           "first_name",
                           "last_name",
                           "gender",
                           "birthdate",
                           "is_deceased",
                           "deceased_at",
                           "emails",
                           "telephones",
                           "address",
                           "language",
                           "identifiers",
                           "practitioner_ids",
                           "is_active",
                           "races",
                           "ethnicities",
                           "marital_status",
                           "contacts",
                           "metadata",
                           "raw",
                           "__unified_person_ids"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "patient"
            ],
            "description": "Returns a list of HealthcarePatients. Narrow the results with the query parameters before paging, then page through them with `limit` and `offset` (the default and maximum page size depend on the integration). Use `fields` to return only the fields you need and reduce the response size. When the integration supports a total count, it is returned in the `X-Total-Count` response header. Use each item's `id` to retrieve, update, or delete it where those operations are supported.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcarePatients"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "listHealthcarePatients"
         }
      },
      "/healthcare/{connection_id}/patient/{id}": {
         "get": {
            "summary": "Retrieve a patient",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "name",
                           "first_name",
                           "last_name",
                           "gender",
                           "birthdate",
                           "is_deceased",
                           "deceased_at",
                           "emails",
                           "telephones",
                           "address",
                           "language",
                           "identifiers",
                           "practitioner_ids",
                           "is_active",
                           "races",
                           "ethnicities",
                           "marital_status",
                           "contacts",
                           "metadata",
                           "raw",
                           "__unified_person_ids"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the Patient",
                  "name": "id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "patient"
            ],
            "description": "Retrieves a single HealthcarePatient by its `id`. Obtain `id` values from the corresponding list endpoint. Use `fields` to return only the fields you need.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcarePatient"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "getHealthcarePatient"
         },
         "put": {
            "summary": "Update a patient",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "name",
                           "first_name",
                           "last_name",
                           "gender",
                           "birthdate",
                           "is_deceased",
                           "deceased_at",
                           "emails",
                           "telephones",
                           "address",
                           "language",
                           "identifiers",
                           "practitioner_ids",
                           "is_active",
                           "races",
                           "ethnicities",
                           "marital_status",
                           "contacts",
                           "metadata",
                           "raw",
                           "__unified_person_ids"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the Patient",
                  "name": "id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "patient"
            ],
            "description": "Updates the HealthcarePatient identified by `id`. Provide the unified HealthcarePatient fields to change in the request body.",
            "requestBody": {
               "required": true,
               "content": {
                  "application/json": {
                     "schema": {
                        "$ref": "#/components/schemas/HealthcarePatient"
                     },
                     "examples": {
                        "healthcare_patient": {
                           "summary": "Sample HealthcarePatient",
                           "value": {
                              "id": "ce9db15c-ee41-49c9-8b99-00900c08f495",
                              "created_at": "2021-06-05T21:08:04.917Z",
                              "updated_at": "2026-08-03T02:12:42.485Z",
                              "name": "Monroe Bauch",
                              "first_name": "Monroe",
                              "last_name": "Bauch",
                              "gender": "FEMALE",
                              "birthdate": "1942-01-02",
                              "is_deceased": false,
                              "emails": [
                                 {
                                    "email": "monroe.bauch@icloud.com",
                                    "type": "HOME"
                                 }
                              ],
                              "telephones": [
                                 {
                                    "telephone": "1-555-902-3082 x9590",
                                    "type": "MOBILE"
                                 }
                              ],
                              "address": {
                                 "address1": "3645 Leonardo Place",
                                 "city": "Estelleland",
                                 "region": "New Jersey",
                                 "postal_code": "99263-6004",
                                 "country": "US"
                              },
                              "language": "zh",
                              "identifiers": [
                                 {
                                    "value": "51559512",
                                    "type": "MRN"
                                 }
                              ],
                              "practitioner_ids": [],
                              "is_active": true,
                              "contacts": [
                                 {
                                    "name": "Ambrose Welch",
                                    "relationship": "Spouse",
                                    "telephones": [
                                       {
                                          "telephone": "323.524.3947 x89014",
                                          "type": "MOBILE"
                                       }
                                    ],
                                    "emails": []
                                 }
                              ],
                              "metadata": []
                           }
                        }
                     }
                  }
               }
            },
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcarePatient"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "updateHealthcarePatient"
         },
         "patch": {
            "summary": "Update a patient",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "name",
                           "first_name",
                           "last_name",
                           "gender",
                           "birthdate",
                           "is_deceased",
                           "deceased_at",
                           "emails",
                           "telephones",
                           "address",
                           "language",
                           "identifiers",
                           "practitioner_ids",
                           "is_active",
                           "races",
                           "ethnicities",
                           "marital_status",
                           "contacts",
                           "metadata",
                           "raw",
                           "__unified_person_ids"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the Patient",
                  "name": "id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "patient"
            ],
            "description": "Updates the HealthcarePatient identified by `id`. Provide the unified HealthcarePatient fields to change in the request body.",
            "requestBody": {
               "required": true,
               "content": {
                  "application/json": {
                     "schema": {
                        "$ref": "#/components/schemas/HealthcarePatient"
                     },
                     "examples": {
                        "healthcare_patient": {
                           "summary": "Sample HealthcarePatient",
                           "value": {
                              "id": "ce9db15c-ee41-49c9-8b99-00900c08f495",
                              "created_at": "2021-06-05T21:08:04.917Z",
                              "updated_at": "2026-08-03T02:12:42.485Z",
                              "name": "Monroe Bauch",
                              "first_name": "Monroe",
                              "last_name": "Bauch",
                              "gender": "FEMALE",
                              "birthdate": "1942-01-02",
                              "is_deceased": false,
                              "emails": [
                                 {
                                    "email": "monroe.bauch@icloud.com",
                                    "type": "HOME"
                                 }
                              ],
                              "telephones": [
                                 {
                                    "telephone": "1-555-902-3082 x9590",
                                    "type": "MOBILE"
                                 }
                              ],
                              "address": {
                                 "address1": "3645 Leonardo Place",
                                 "city": "Estelleland",
                                 "region": "New Jersey",
                                 "postal_code": "99263-6004",
                                 "country": "US"
                              },
                              "language": "zh",
                              "identifiers": [
                                 {
                                    "value": "51559512",
                                    "type": "MRN"
                                 }
                              ],
                              "practitioner_ids": [],
                              "is_active": true,
                              "contacts": [
                                 {
                                    "name": "Ambrose Welch",
                                    "relationship": "Spouse",
                                    "telephones": [
                                       {
                                          "telephone": "323.524.3947 x89014",
                                          "type": "MOBILE"
                                       }
                                    ],
                                    "emails": []
                                 }
                              ],
                              "metadata": []
                           }
                        }
                     }
                  }
               }
            },
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcarePatient"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "patchHealthcarePatient"
         }
      },
      "/healthcare/{connection_id}/practitioner/{id}": {
         "get": {
            "summary": "Retrieve a practitioner",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "name",
                           "first_name",
                           "last_name",
                           "title",
                           "gender",
                           "emails",
                           "telephones",
                           "address",
                           "image_url",
                           "identifiers",
                           "specialties",
                           "qualifications",
                           "languages",
                           "location_ids",
                           "is_active",
                           "metadata",
                           "raw",
                           "__unified_person_ids"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the Practitioner",
                  "name": "id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "practitioner"
            ],
            "description": "Retrieves a single HealthcarePractitioner by its `id`. Obtain `id` values from the corresponding list endpoint. Use `fields` to return only the fields you need.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcarePractitioner"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "getHealthcarePractitioner"
         }
      },
      "/healthcare/{connection_id}/practitioner": {
         "get": {
            "summary": "List all practitioners",
            "parameters": [
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "limit",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "offset",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "updated_gte",
                  "in": "query",
                  "required": false,
                  "description": "Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "sort",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "order",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "query",
                  "in": "query",
                  "required": false,
                  "description": "Query string to search. eg. email address or name"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "location_id",
                  "in": "query",
                  "required": false,
                  "description": "The location ID to filter by"
               },
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "name",
                           "first_name",
                           "last_name",
                           "title",
                           "gender",
                           "emails",
                           "telephones",
                           "address",
                           "image_url",
                           "identifiers",
                           "specialties",
                           "qualifications",
                           "languages",
                           "location_ids",
                           "is_active",
                           "metadata",
                           "raw",
                           "__unified_person_ids"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "practitioner"
            ],
            "description": "Returns a list of HealthcarePractitioners. Narrow the results with the query parameters before paging, then page through them with `limit` and `offset` (the default and maximum page size depend on the integration). Use `fields` to return only the fields you need and reduce the response size. When the integration supports a total count, it is returned in the `X-Total-Count` response header. Use each item's `id` to retrieve, update, or delete it where those operations are supported.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcarePractitioners"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "listHealthcarePractitioners"
         }
      },
      "/healthcare/{connection_id}/location/{id}": {
         "get": {
            "summary": "Retrieve a location",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "name",
                           "description",
                           "parent_id",
                           "organization_name",
                           "address",
                           "telephones",
                           "emails",
                           "latitude",
                           "longitude",
                           "identifiers",
                           "is_active",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the Location",
                  "name": "id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "location"
            ],
            "description": "Retrieves a single HealthcareLocation by its `id`. Obtain `id` values from the corresponding list endpoint. Use `fields` to return only the fields you need.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareLocation"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "getHealthcareLocation"
         }
      },
      "/healthcare/{connection_id}/location": {
         "get": {
            "summary": "List all locations",
            "parameters": [
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "limit",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "offset",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "updated_gte",
                  "in": "query",
                  "required": false,
                  "description": "Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "sort",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "order",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "query",
                  "in": "query",
                  "required": false,
                  "description": "Query string to search. eg. email address or name"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "parent_id",
                  "in": "query",
                  "required": false,
                  "description": "The parent ID to filter by"
               },
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "name",
                           "description",
                           "parent_id",
                           "organization_name",
                           "address",
                           "telephones",
                           "emails",
                           "latitude",
                           "longitude",
                           "identifiers",
                           "is_active",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "location"
            ],
            "description": "Returns a list of HealthcareLocations. Narrow the results with the query parameters before paging, then page through them with `limit` and `offset` (the default and maximum page size depend on the integration). Use `fields` to return only the fields you need and reduce the response size. When the integration supports a total count, it is returned in the `X-Total-Count` response header. Use each item's `id` to retrieve, update, or delete it where those operations are supported.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareLocations"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "listHealthcareLocations"
         }
      },
      "/healthcare/{connection_id}/appointment": {
         "post": {
            "summary": "Create an appointment",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "patient_id",
                           "practitioner_ids",
                           "location_id",
                           "slot_ids",
                           "status",
                           "start_at",
                           "end_at",
                           "description",
                           "service_types",
                           "reasons",
                           "cancellation_reason",
                           "notes",
                           "is_virtual",
                           "meeting_url",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "appointment"
            ],
            "description": "Creates a HealthcareAppointment. Provide the unified HealthcareAppointment fields in the request body; they are mapped to the provider's API. Returns the created HealthcareAppointment.",
            "requestBody": {
               "required": true,
               "content": {
                  "application/json": {
                     "schema": {
                        "$ref": "#/components/schemas/HealthcareAppointment"
                     },
                     "examples": {
                        "healthcare_appointment": {
                           "summary": "Sample HealthcareAppointment",
                           "value": {
                              "id": "6cdf7f47-4928-44b1-ab17-6e8e6947a30a",
                              "created_at": "2023-04-11T08:16:20.874Z",
                              "updated_at": "2026-11-04T04:25:40.243Z",
                              "practitioner_ids": [],
                              "slot_ids": [],
                              "status": "BOOKED",
                              "start_at": "2023-12-12T12:34:41.451Z",
                              "end_at": "2023-12-12T13:04:41.451Z",
                              "description": "cubicularis caput viriliter",
                              "service_types": [
                                 {
                                    "system": "http://snomed.info/sct",
                                    "code": "12762740",
                                    "display": "New patient visit"
                                 }
                              ],
                              "notes": "Casus anser ver alo beatus.",
                              "is_virtual": true,
                              "meeting_url": "https://cautious-cannon.com/",
                              "metadata": []
                           }
                        }
                     }
                  }
               }
            },
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareAppointment"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "createHealthcareAppointment"
         },
         "get": {
            "summary": "List all appointments",
            "parameters": [
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "limit",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "offset",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "updated_gte",
                  "in": "query",
                  "required": false,
                  "description": "Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "sort",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "order",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "query",
                  "in": "query",
                  "required": false,
                  "description": "Query string to search. eg. email address or name"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "patient_id",
                  "in": "query",
                  "required": false,
                  "description": "The patient ID to filter by"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "practitioner_id",
                  "in": "query",
                  "required": false,
                  "description": "The practitioner ID to filter by"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "location_id",
                  "in": "query",
                  "required": false,
                  "description": "The location ID to filter by"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "status",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "start_gte",
                  "in": "query",
                  "required": false,
                  "description": "The start date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "end_lt",
                  "in": "query",
                  "required": false,
                  "description": "The end date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "patient_id",
                           "practitioner_ids",
                           "location_id",
                           "slot_ids",
                           "status",
                           "start_at",
                           "end_at",
                           "description",
                           "service_types",
                           "reasons",
                           "cancellation_reason",
                           "notes",
                           "is_virtual",
                           "meeting_url",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "appointment"
            ],
            "description": "Returns a list of HealthcareAppointments. Narrow the results with the query parameters before paging, then page through them with `limit` and `offset` (the default and maximum page size depend on the integration). Use `fields` to return only the fields you need and reduce the response size. When the integration supports a total count, it is returned in the `X-Total-Count` response header. Use each item's `id` to retrieve, update, or delete it where those operations are supported.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareAppointments"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "listHealthcareAppointments"
         }
      },
      "/healthcare/{connection_id}/appointment/{id}": {
         "get": {
            "summary": "Retrieve an appointment",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "patient_id",
                           "practitioner_ids",
                           "location_id",
                           "slot_ids",
                           "status",
                           "start_at",
                           "end_at",
                           "description",
                           "service_types",
                           "reasons",
                           "cancellation_reason",
                           "notes",
                           "is_virtual",
                           "meeting_url",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the Appointment",
                  "name": "id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "appointment"
            ],
            "description": "Retrieves a single HealthcareAppointment by its `id`. Obtain `id` values from the corresponding list endpoint. Use `fields` to return only the fields you need.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareAppointment"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "getHealthcareAppointment"
         },
         "put": {
            "summary": "Update an appointment",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "patient_id",
                           "practitioner_ids",
                           "location_id",
                           "slot_ids",
                           "status",
                           "start_at",
                           "end_at",
                           "description",
                           "service_types",
                           "reasons",
                           "cancellation_reason",
                           "notes",
                           "is_virtual",
                           "meeting_url",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the Appointment",
                  "name": "id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "appointment"
            ],
            "description": "Updates the HealthcareAppointment identified by `id`. Provide the unified HealthcareAppointment fields to change in the request body.",
            "requestBody": {
               "required": true,
               "content": {
                  "application/json": {
                     "schema": {
                        "$ref": "#/components/schemas/HealthcareAppointment"
                     },
                     "examples": {
                        "healthcare_appointment": {
                           "summary": "Sample HealthcareAppointment",
                           "value": {
                              "id": "07ff50e3-5fea-4b2f-8960-bb5639c1e99a",
                              "created_at": "2023-04-11T08:16:20.874Z",
                              "updated_at": "2026-11-04T04:25:40.252Z",
                              "practitioner_ids": [],
                              "slot_ids": [],
                              "status": "BOOKED",
                              "start_at": "2023-12-12T12:34:41.451Z",
                              "end_at": "2023-12-12T13:04:41.451Z",
                              "description": "cubicularis caput viriliter",
                              "service_types": [
                                 {
                                    "system": "http://snomed.info/sct",
                                    "code": "12762740",
                                    "display": "New patient visit"
                                 }
                              ],
                              "notes": "Casus anser ver alo beatus.",
                              "is_virtual": true,
                              "meeting_url": "https://cautious-cannon.com/",
                              "metadata": []
                           }
                        }
                     }
                  }
               }
            },
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareAppointment"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "updateHealthcareAppointment"
         },
         "patch": {
            "summary": "Update an appointment",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "patient_id",
                           "practitioner_ids",
                           "location_id",
                           "slot_ids",
                           "status",
                           "start_at",
                           "end_at",
                           "description",
                           "service_types",
                           "reasons",
                           "cancellation_reason",
                           "notes",
                           "is_virtual",
                           "meeting_url",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the Appointment",
                  "name": "id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "appointment"
            ],
            "description": "Updates the HealthcareAppointment identified by `id`. Provide the unified HealthcareAppointment fields to change in the request body.",
            "requestBody": {
               "required": true,
               "content": {
                  "application/json": {
                     "schema": {
                        "$ref": "#/components/schemas/HealthcareAppointment"
                     },
                     "examples": {
                        "healthcare_appointment": {
                           "summary": "Sample HealthcareAppointment",
                           "value": {
                              "id": "07ff50e3-5fea-4b2f-8960-bb5639c1e99a",
                              "created_at": "2023-04-11T08:16:20.874Z",
                              "updated_at": "2026-11-04T04:25:40.252Z",
                              "practitioner_ids": [],
                              "slot_ids": [],
                              "status": "BOOKED",
                              "start_at": "2023-12-12T12:34:41.451Z",
                              "end_at": "2023-12-12T13:04:41.451Z",
                              "description": "cubicularis caput viriliter",
                              "service_types": [
                                 {
                                    "system": "http://snomed.info/sct",
                                    "code": "12762740",
                                    "display": "New patient visit"
                                 }
                              ],
                              "notes": "Casus anser ver alo beatus.",
                              "is_virtual": true,
                              "meeting_url": "https://cautious-cannon.com/",
                              "metadata": []
                           }
                        }
                     }
                  }
               }
            },
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareAppointment"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "patchHealthcareAppointment"
         },
         "delete": {
            "summary": "Remove an appointment",
            "parameters": [
               {
                  "schema": {
                     "type": "boolean"
                  },
                  "name": "notify",
                  "in": "query",
                  "required": false,
                  "description": "Whether to notify the people or systems attached to this resource (e.g. a calendar event's attendees) about its deletion. Only applies where the integration supports it; ignored otherwise. When omitted, the integration's default applies."
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the Appointment",
                  "name": "id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "appointment"
            ],
            "description": "Deletes the HealthcareAppointment identified by `id`.",
            "responses": {
               "200": {
                  "description": "Successful"
               },
               "default": {
                  "headers": {
                     "Content-Type": {
                        "required": false,
                        "schema": {
                           "type": "string"
                        }
                     }
                  },
                  "content": {},
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "removeHealthcareAppointment"
         }
      },
      "/healthcare/{connection_id}/slot/{id}": {
         "get": {
            "summary": "Retrieve a slot",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "practitioner_id",
                           "location_id",
                           "status",
                           "start_at",
                           "end_at",
                           "service_types",
                           "is_overbooked",
                           "notes",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the Slot",
                  "name": "id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "slot"
            ],
            "description": "Retrieves a single HealthcareSlot by its `id`. Obtain `id` values from the corresponding list endpoint. Use `fields` to return only the fields you need.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareSlot"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "getHealthcareSlot"
         }
      },
      "/healthcare/{connection_id}/slot": {
         "get": {
            "summary": "List all slots",
            "parameters": [
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "limit",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "offset",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "updated_gte",
                  "in": "query",
                  "required": false,
                  "description": "Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "sort",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "order",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "query",
                  "in": "query",
                  "required": false,
                  "description": "Query string to search. eg. email address or name"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "practitioner_id",
                  "in": "query",
                  "required": false,
                  "description": "The practitioner ID to filter by"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "location_id",
                  "in": "query",
                  "required": false,
                  "description": "The location ID to filter by"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "start_gte",
                  "in": "query",
                  "required": false,
                  "description": "The start date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "end_lt",
                  "in": "query",
                  "required": false,
                  "description": "The end date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "practitioner_id",
                           "location_id",
                           "status",
                           "start_at",
                           "end_at",
                           "service_types",
                           "is_overbooked",
                           "notes",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "slot"
            ],
            "description": "Returns a list of HealthcareSlots. Narrow the results with the query parameters before paging, then page through them with `limit` and `offset` (the default and maximum page size depend on the integration). Use `fields` to return only the fields you need and reduce the response size. When the integration supports a total count, it is returned in the `X-Total-Count` response header. Use each item's `id` to retrieve, update, or delete it where those operations are supported.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareSlots"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "listHealthcareSlots"
         }
      },
      "/healthcare/{connection_id}/encounter/{id}": {
         "get": {
            "summary": "Retrieve an encounter",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "patient_id",
                           "practitioner_ids",
                           "location_id",
                           "appointment_id",
                           "condition_ids",
                           "status",
                           "type",
                           "reasons",
                           "start_at",
                           "end_at",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the Encounter",
                  "name": "id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "encounter"
            ],
            "description": "Retrieves a single HealthcareEncounter by its `id`. Obtain `id` values from the corresponding list endpoint. Use `fields` to return only the fields you need.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareEncounter"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "getHealthcareEncounter"
         }
      },
      "/healthcare/{connection_id}/encounter": {
         "get": {
            "summary": "List all encounters",
            "parameters": [
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "limit",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "offset",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "updated_gte",
                  "in": "query",
                  "required": false,
                  "description": "Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "sort",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "order",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "query",
                  "in": "query",
                  "required": false,
                  "description": "Query string to search. eg. email address or name"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "patient_id",
                  "in": "query",
                  "required": false,
                  "description": "The patient ID to filter by"
               },
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "patient_id",
                           "practitioner_ids",
                           "location_id",
                           "appointment_id",
                           "condition_ids",
                           "status",
                           "type",
                           "reasons",
                           "start_at",
                           "end_at",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "encounter"
            ],
            "description": "Returns a list of HealthcareEncounters. Narrow the results with the query parameters before paging, then page through them with `limit` and `offset` (the default and maximum page size depend on the integration). Use `fields` to return only the fields you need and reduce the response size. When the integration supports a total count, it is returned in the `X-Total-Count` response header. Use each item's `id` to retrieve, update, or delete it where those operations are supported.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareEncounters"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "listHealthcareEncounters"
         }
      },
      "/healthcare/{connection_id}/condition/{id}": {
         "get": {
            "summary": "Retrieve a condition",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "patient_id",
                           "encounter_id",
                           "practitioner_id",
                           "name",
                           "codes",
                           "status",
                           "type",
                           "onset_at",
                           "resolved_at",
                           "recorded_at",
                           "notes",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the Condition",
                  "name": "id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "condition"
            ],
            "description": "Retrieves a single HealthcareCondition by its `id`. Obtain `id` values from the corresponding list endpoint. Use `fields` to return only the fields you need.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareCondition"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "getHealthcareCondition"
         }
      },
      "/healthcare/{connection_id}/condition": {
         "get": {
            "summary": "List all conditions",
            "parameters": [
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "limit",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "offset",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "updated_gte",
                  "in": "query",
                  "required": false,
                  "description": "Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "sort",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "order",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "query",
                  "in": "query",
                  "required": false,
                  "description": "Query string to search. eg. email address or name"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "patient_id",
                  "in": "query",
                  "required": false,
                  "description": "The patient ID to filter by"
               },
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "patient_id",
                           "encounter_id",
                           "practitioner_id",
                           "name",
                           "codes",
                           "status",
                           "type",
                           "onset_at",
                           "resolved_at",
                           "recorded_at",
                           "notes",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "condition"
            ],
            "description": "Returns a list of HealthcareConditions. Narrow the results with the query parameters before paging, then page through them with `limit` and `offset` (the default and maximum page size depend on the integration). Use `fields` to return only the fields you need and reduce the response size. When the integration supports a total count, it is returned in the `X-Total-Count` response header. Use each item's `id` to retrieve, update, or delete it where those operations are supported.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareConditions"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "listHealthcareConditions"
         }
      },
      "/healthcare/{connection_id}/allergy/{id}": {
         "get": {
            "summary": "Retrieve an allergy",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "patient_id",
                           "encounter_id",
                           "practitioner_id",
                           "name",
                           "codes",
                           "status",
                           "type",
                           "criticality",
                           "reactions",
                           "onset_at",
                           "recorded_at",
                           "notes",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the Allergy",
                  "name": "id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "allergy"
            ],
            "description": "Retrieves a single HealthcareAllergy by its `id`. Obtain `id` values from the corresponding list endpoint. Use `fields` to return only the fields you need.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareAllergy"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "getHealthcareAllergy"
         }
      },
      "/healthcare/{connection_id}/allergy": {
         "get": {
            "summary": "List all allergies",
            "parameters": [
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "limit",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "offset",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "updated_gte",
                  "in": "query",
                  "required": false,
                  "description": "Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "sort",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "order",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "query",
                  "in": "query",
                  "required": false,
                  "description": "Query string to search. eg. email address or name"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "patient_id",
                  "in": "query",
                  "required": false,
                  "description": "The patient ID to filter by"
               },
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "patient_id",
                           "encounter_id",
                           "practitioner_id",
                           "name",
                           "codes",
                           "status",
                           "type",
                           "criticality",
                           "reactions",
                           "onset_at",
                           "recorded_at",
                           "notes",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "allergy"
            ],
            "description": "Returns a list of HealthcareAllergies. Narrow the results with the query parameters before paging, then page through them with `limit` and `offset` (the default and maximum page size depend on the integration). Use `fields` to return only the fields you need and reduce the response size. When the integration supports a total count, it is returned in the `X-Total-Count` response header. Use each item's `id` to retrieve, update, or delete it where those operations are supported.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareAllergies"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "listHealthcareAllergies"
         }
      },
      "/healthcare/{connection_id}/medication/{id}": {
         "get": {
            "summary": "Retrieve a medication",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "patient_id",
                           "encounter_id",
                           "practitioner_id",
                           "name",
                           "codes",
                           "status",
                           "dosage",
                           "refill_count",
                           "authored_at",
                           "start_at",
                           "end_at",
                           "notes",
                           "route",
                           "dose_number",
                           "dose_unit",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the Medication",
                  "name": "id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "medication"
            ],
            "description": "Retrieves a single HealthcareMedication by its `id`. Obtain `id` values from the corresponding list endpoint. Use `fields` to return only the fields you need.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareMedication"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "getHealthcareMedication"
         }
      },
      "/healthcare/{connection_id}/medication": {
         "get": {
            "summary": "List all medications",
            "parameters": [
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "limit",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "offset",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "updated_gte",
                  "in": "query",
                  "required": false,
                  "description": "Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "sort",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "order",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "query",
                  "in": "query",
                  "required": false,
                  "description": "Query string to search. eg. email address or name"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "patient_id",
                  "in": "query",
                  "required": false,
                  "description": "The patient ID to filter by"
               },
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "patient_id",
                           "encounter_id",
                           "practitioner_id",
                           "name",
                           "codes",
                           "status",
                           "dosage",
                           "refill_count",
                           "authored_at",
                           "start_at",
                           "end_at",
                           "notes",
                           "route",
                           "dose_number",
                           "dose_unit",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "medication"
            ],
            "description": "Returns a list of HealthcareMedications. Narrow the results with the query parameters before paging, then page through them with `limit` and `offset` (the default and maximum page size depend on the integration). Use `fields` to return only the fields you need and reduce the response size. When the integration supports a total count, it is returned in the `X-Total-Count` response header. Use each item's `id` to retrieve, update, or delete it where those operations are supported.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareMedications"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "listHealthcareMedications"
         }
      },
      "/healthcare/{connection_id}/observation": {
         "post": {
            "summary": "Create an observation",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "patient_id",
                           "encounter_id",
                           "practitioner_id",
                           "name",
                           "codes",
                           "status",
                           "type",
                           "value_number",
                           "value_unit",
                           "value_text",
                           "interpretation",
                           "reference_range",
                           "components",
                           "observed_at",
                           "issued_at",
                           "notes",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "observation"
            ],
            "description": "Creates a HealthcareObservation. Provide the unified HealthcareObservation fields in the request body; they are mapped to the provider's API. Returns the created HealthcareObservation.",
            "requestBody": {
               "required": true,
               "content": {
                  "application/json": {
                     "schema": {
                        "$ref": "#/components/schemas/HealthcareObservation"
                     },
                     "examples": {
                        "healthcare_observation": {
                           "summary": "Sample HealthcareObservation",
                           "value": {
                              "id": "1aa28283-5c9a-4737-80e3-5e3794cd2d07",
                              "created_at": "2022-12-06T21:34:04.293Z",
                              "updated_at": "2026-04-30T15:43:08.751Z",
                              "name": "Blood pressure panel",
                              "codes": [
                                 {
                                    "system": "http://loinc.org",
                                    "code": "85354-9",
                                    "display": "Blood pressure panel"
                                 }
                              ],
                              "status": "CORRECTED",
                              "type": "VITAL_SIGNS",
                              "interpretation": "CRITICAL_HIGH",
                              "components": [
                                 {
                                    "name": "Systolic blood pressure",
                                    "codes": [
                                       {
                                          "system": "http://loinc.org",
                                          "code": "8480-6"
                                       }
                                    ],
                                    "value_number": 103,
                                    "value_unit": "mm[Hg]"
                                 },
                                 {
                                    "name": "Diastolic blood pressure",
                                    "codes": [
                                       {
                                          "system": "http://loinc.org",
                                          "code": "8462-4"
                                       }
                                    ],
                                    "value_number": 60,
                                    "value_unit": "mm[Hg]"
                                 }
                              ],
                              "observed_at": "2025-02-13T06:05:39.207Z",
                              "issued_at": "2025-06-07T23:33:03.947Z",
                              "metadata": []
                           }
                        }
                     }
                  }
               }
            },
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareObservation"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "createHealthcareObservation"
         },
         "get": {
            "summary": "List all observations",
            "parameters": [
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "limit",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "offset",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "updated_gte",
                  "in": "query",
                  "required": false,
                  "description": "Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "sort",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "order",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "query",
                  "in": "query",
                  "required": false,
                  "description": "Query string to search. eg. email address or name"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "patient_id",
                  "in": "query",
                  "required": false,
                  "description": "The patient ID to filter by"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "type",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "patient_id",
                           "encounter_id",
                           "practitioner_id",
                           "name",
                           "codes",
                           "status",
                           "type",
                           "value_number",
                           "value_unit",
                           "value_text",
                           "interpretation",
                           "reference_range",
                           "components",
                           "observed_at",
                           "issued_at",
                           "notes",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "observation"
            ],
            "description": "Returns a list of HealthcareObservations. Narrow the results with the query parameters before paging, then page through them with `limit` and `offset` (the default and maximum page size depend on the integration). Use `fields` to return only the fields you need and reduce the response size. When the integration supports a total count, it is returned in the `X-Total-Count` response header. Use each item's `id` to retrieve, update, or delete it where those operations are supported.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareObservations"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "listHealthcareObservations"
         }
      },
      "/healthcare/{connection_id}/observation/{id}": {
         "get": {
            "summary": "Retrieve an observation",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "patient_id",
                           "encounter_id",
                           "practitioner_id",
                           "name",
                           "codes",
                           "status",
                           "type",
                           "value_number",
                           "value_unit",
                           "value_text",
                           "interpretation",
                           "reference_range",
                           "components",
                           "observed_at",
                           "issued_at",
                           "notes",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the Observation",
                  "name": "id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "observation"
            ],
            "description": "Retrieves a single HealthcareObservation by its `id`. Obtain `id` values from the corresponding list endpoint. Use `fields` to return only the fields you need.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareObservation"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "getHealthcareObservation"
         }
      },
      "/healthcare/{connection_id}/immunization/{id}": {
         "get": {
            "summary": "Retrieve an immunization",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "patient_id",
                           "encounter_id",
                           "practitioner_id",
                           "location_id",
                           "name",
                           "codes",
                           "status",
                           "administered_at",
                           "lot_number",
                           "expires_at",
                           "notes",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the Immunization",
                  "name": "id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "immunization"
            ],
            "description": "Retrieves a single HealthcareImmunization by its `id`. Obtain `id` values from the corresponding list endpoint. Use `fields` to return only the fields you need.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareImmunization"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "getHealthcareImmunization"
         }
      },
      "/healthcare/{connection_id}/immunization": {
         "get": {
            "summary": "List all immunizations",
            "parameters": [
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "limit",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "offset",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "updated_gte",
                  "in": "query",
                  "required": false,
                  "description": "Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "sort",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "order",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "query",
                  "in": "query",
                  "required": false,
                  "description": "Query string to search. eg. email address or name"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "patient_id",
                  "in": "query",
                  "required": false,
                  "description": "The patient ID to filter by"
               },
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "patient_id",
                           "encounter_id",
                           "practitioner_id",
                           "location_id",
                           "name",
                           "codes",
                           "status",
                           "administered_at",
                           "lot_number",
                           "expires_at",
                           "notes",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "immunization"
            ],
            "description": "Returns a list of HealthcareImmunizations. Narrow the results with the query parameters before paging, then page through them with `limit` and `offset` (the default and maximum page size depend on the integration). Use `fields` to return only the fields you need and reduce the response size. When the integration supports a total count, it is returned in the `X-Total-Count` response header. Use each item's `id` to retrieve, update, or delete it where those operations are supported.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareImmunizations"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "listHealthcareImmunizations"
         }
      },
      "/healthcare/{connection_id}/document": {
         "post": {
            "summary": "Create a document",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "patient_id",
                           "encounter_id",
                           "practitioner_id",
                           "name",
                           "type",
                           "codes",
                           "status",
                           "filename",
                           "mime_type",
                           "document_url",
                           "document_data",
                           "authored_at",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "document"
            ],
            "description": "Creates a HealthcareDocument. Provide the unified HealthcareDocument fields in the request body; they are mapped to the provider's API. Returns the created HealthcareDocument.",
            "requestBody": {
               "required": true,
               "content": {
                  "application/json": {
                     "schema": {
                        "$ref": "#/components/schemas/HealthcareDocument"
                     },
                     "examples": {
                        "healthcare_document": {
                           "summary": "Sample HealthcareDocument",
                           "value": {
                              "id": "67435272-c7fc-4511-a769-b2c5f5ef5811",
                              "created_at": "2023-07-16T04:00:25.853Z",
                              "updated_at": "2025-01-15T06:40:38.182Z",
                              "name": "History and physical",
                              "type": "CONSULTATION_NOTE",
                              "codes": [
                                 {
                                    "system": "http://loinc.org",
                                    "code": "23671711",
                                    "display": "History and physical"
                                 }
                              ],
                              "status": "SUPERSEDED",
                              "filename": "quip.eot",
                              "mime_type": "application/pdf",
                              "document_url": "https://noxious-abacus.biz/",
                              "authored_at": "2023-07-16T04:00:25.853Z",
                              "metadata": []
                           }
                        }
                     }
                  }
               }
            },
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareDocument"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "createHealthcareDocument"
         },
         "get": {
            "summary": "List all documents",
            "parameters": [
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "limit",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "offset",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "updated_gte",
                  "in": "query",
                  "required": false,
                  "description": "Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "sort",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "order",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "query",
                  "in": "query",
                  "required": false,
                  "description": "Query string to search. eg. email address or name"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "patient_id",
                  "in": "query",
                  "required": false,
                  "description": "The patient ID to filter by"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "type",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "patient_id",
                           "encounter_id",
                           "practitioner_id",
                           "name",
                           "type",
                           "codes",
                           "status",
                           "filename",
                           "mime_type",
                           "document_url",
                           "document_data",
                           "authored_at",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "document"
            ],
            "description": "Returns a list of HealthcareDocuments. Narrow the results with the query parameters before paging, then page through them with `limit` and `offset` (the default and maximum page size depend on the integration). Use `fields` to return only the fields you need and reduce the response size. When the integration supports a total count, it is returned in the `X-Total-Count` response header. Use each item's `id` to retrieve, update, or delete it where those operations are supported.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareDocuments"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "listHealthcareDocuments"
         }
      },
      "/healthcare/{connection_id}/document/{id}": {
         "get": {
            "summary": "Retrieve a document",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "patient_id",
                           "encounter_id",
                           "practitioner_id",
                           "name",
                           "type",
                           "codes",
                           "status",
                           "filename",
                           "mime_type",
                           "document_url",
                           "document_data",
                           "authored_at",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the Document",
                  "name": "id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "document"
            ],
            "description": "Retrieves a single HealthcareDocument by its `id`. Obtain `id` values from the corresponding list endpoint. Use `fields` to return only the fields you need.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareDocument"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "getHealthcareDocument"
         }
      },
      "/healthcare/{connection_id}/coverage/{id}": {
         "get": {
            "summary": "Retrieve a coverage",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "patient_id",
                           "status",
                           "codes",
                           "payer_name",
                           "plan_name",
                           "group_name",
                           "group_identifier",
                           "member_identifier",
                           "subscriber_name",
                           "relationship",
                           "priority",
                           "start_at",
                           "end_at",
                           "identifiers",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the Coverage",
                  "name": "id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "coverage"
            ],
            "description": "Retrieves a single HealthcareCoverage by its `id`. Obtain `id` values from the corresponding list endpoint. Use `fields` to return only the fields you need.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareCoverage"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "getHealthcareCoverage"
         }
      },
      "/healthcare/{connection_id}/coverage": {
         "get": {
            "summary": "List all coverages",
            "parameters": [
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "limit",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "offset",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "updated_gte",
                  "in": "query",
                  "required": false,
                  "description": "Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "sort",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "order",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "query",
                  "in": "query",
                  "required": false,
                  "description": "Query string to search. eg. email address or name"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "patient_id",
                  "in": "query",
                  "required": false,
                  "description": "The patient ID to filter by"
               },
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "patient_id",
                           "status",
                           "codes",
                           "payer_name",
                           "plan_name",
                           "group_name",
                           "group_identifier",
                           "member_identifier",
                           "subscriber_name",
                           "relationship",
                           "priority",
                           "start_at",
                           "end_at",
                           "identifiers",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "coverage"
            ],
            "description": "Returns a list of HealthcareCoverages. Narrow the results with the query parameters before paging, then page through them with `limit` and `offset` (the default and maximum page size depend on the integration). Use `fields` to return only the fields you need and reduce the response size. When the integration supports a total count, it is returned in the `X-Total-Count` response header. Use each item's `id` to retrieve, update, or delete it where those operations are supported.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareCoverages"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "listHealthcareCoverages"
         }
      },
      "/healthcare/{connection_id}/procedure/{id}": {
         "get": {
            "summary": "Retrieve a procedure",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "patient_id",
                           "encounter_id",
                           "practitioner_ids",
                           "location_id",
                           "condition_ids",
                           "name",
                           "codes",
                           "status",
                           "reasons",
                           "body_sites",
                           "start_at",
                           "end_at",
                           "notes",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the Procedure",
                  "name": "id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "procedure"
            ],
            "description": "Retrieves a single HealthcareProcedure by its `id`. Obtain `id` values from the corresponding list endpoint. Use `fields` to return only the fields you need.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareProcedure"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "getHealthcareProcedure"
         }
      },
      "/healthcare/{connection_id}/procedure": {
         "get": {
            "summary": "List all procedures",
            "parameters": [
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "limit",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "offset",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "updated_gte",
                  "in": "query",
                  "required": false,
                  "description": "Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "sort",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "order",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "query",
                  "in": "query",
                  "required": false,
                  "description": "Query string to search. eg. email address or name"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "patient_id",
                  "in": "query",
                  "required": false,
                  "description": "The patient ID to filter by"
               },
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "patient_id",
                           "encounter_id",
                           "practitioner_ids",
                           "location_id",
                           "condition_ids",
                           "name",
                           "codes",
                           "status",
                           "reasons",
                           "body_sites",
                           "start_at",
                           "end_at",
                           "notes",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "procedure"
            ],
            "description": "Returns a list of HealthcareProcedures. Narrow the results with the query parameters before paging, then page through them with `limit` and `offset` (the default and maximum page size depend on the integration). Use `fields` to return only the fields you need and reduce the response size. When the integration supports a total count, it is returned in the `X-Total-Count` response header. Use each item's `id` to retrieve, update, or delete it where those operations are supported.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareProcedures"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "listHealthcareProcedures"
         }
      },
      "/healthcare/{connection_id}/report/{id}": {
         "get": {
            "summary": "Retrieve a report",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "patient_id",
                           "encounter_id",
                           "practitioner_ids",
                           "observation_ids",
                           "name",
                           "codes",
                           "status",
                           "type",
                           "conclusion",
                           "observed_at",
                           "issued_at",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the Report",
                  "name": "id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "report"
            ],
            "description": "Retrieves a single HealthcareReport by its `id`. Obtain `id` values from the corresponding list endpoint. Use `fields` to return only the fields you need.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareReport"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "getHealthcareReport"
         }
      },
      "/healthcare/{connection_id}/report": {
         "get": {
            "summary": "List all reports",
            "parameters": [
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "limit",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "offset",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "updated_gte",
                  "in": "query",
                  "required": false,
                  "description": "Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "sort",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "order",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "query",
                  "in": "query",
                  "required": false,
                  "description": "Query string to search. eg. email address or name"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "patient_id",
                  "in": "query",
                  "required": false,
                  "description": "The patient ID to filter by"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "type",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "patient_id",
                           "encounter_id",
                           "practitioner_ids",
                           "observation_ids",
                           "name",
                           "codes",
                           "status",
                           "type",
                           "conclusion",
                           "observed_at",
                           "issued_at",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "report"
            ],
            "description": "Returns a list of HealthcareReports. Narrow the results with the query parameters before paging, then page through them with `limit` and `offset` (the default and maximum page size depend on the integration). Use `fields` to return only the fields you need and reduce the response size. When the integration supports a total count, it is returned in the `X-Total-Count` response header. Use each item's `id` to retrieve, update, or delete it where those operations are supported.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareReports"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "listHealthcareReports"
         }
      },
      "/healthcare/{connection_id}/careplan/{id}": {
         "get": {
            "summary": "Retrieve a careplan",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "patient_id",
                           "encounter_id",
                           "practitioner_ids",
                           "condition_ids",
                           "goal_ids",
                           "name",
                           "description",
                           "codes",
                           "status",
                           "start_at",
                           "end_at",
                           "notes",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the Careplan",
                  "name": "id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "careplan"
            ],
            "description": "Retrieves a single HealthcareCareplan by its `id`. Obtain `id` values from the corresponding list endpoint. Use `fields` to return only the fields you need.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareCareplan"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "getHealthcareCareplan"
         }
      },
      "/healthcare/{connection_id}/careplan": {
         "get": {
            "summary": "List all careplans",
            "parameters": [
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "limit",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "offset",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "updated_gte",
                  "in": "query",
                  "required": false,
                  "description": "Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "sort",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "order",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "query",
                  "in": "query",
                  "required": false,
                  "description": "Query string to search. eg. email address or name"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "patient_id",
                  "in": "query",
                  "required": false,
                  "description": "The patient ID to filter by"
               },
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "patient_id",
                           "encounter_id",
                           "practitioner_ids",
                           "condition_ids",
                           "goal_ids",
                           "name",
                           "description",
                           "codes",
                           "status",
                           "start_at",
                           "end_at",
                           "notes",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "careplan"
            ],
            "description": "Returns a list of HealthcareCareplans. Narrow the results with the query parameters before paging, then page through them with `limit` and `offset` (the default and maximum page size depend on the integration). Use `fields` to return only the fields you need and reduce the response size. When the integration supports a total count, it is returned in the `X-Total-Count` response header. Use each item's `id` to retrieve, update, or delete it where those operations are supported.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareCareplans"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "listHealthcareCareplans"
         }
      },
      "/healthcare/{connection_id}/goal/{id}": {
         "get": {
            "summary": "Retrieve a goal",
            "parameters": [
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "patient_id",
                           "practitioner_id",
                           "condition_ids",
                           "name",
                           "codes",
                           "status",
                           "achievement_status",
                           "start_at",
                           "due_at",
                           "notes",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the Goal",
                  "name": "id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "goal"
            ],
            "description": "Retrieves a single HealthcareGoal by its `id`. Obtain `id` values from the corresponding list endpoint. Use `fields` to return only the fields you need.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareGoal"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "getHealthcareGoal"
         }
      },
      "/healthcare/{connection_id}/goal": {
         "get": {
            "summary": "List all goals",
            "parameters": [
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "limit",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "number"
                  },
                  "name": "offset",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "updated_gte",
                  "in": "query",
                  "required": false,
                  "description": "Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "sort",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "order",
                  "in": "query",
                  "required": false
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "query",
                  "in": "query",
                  "required": false,
                  "description": "Query string to search. eg. email address or name"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "patient_id",
                  "in": "query",
                  "required": false,
                  "description": "The patient ID to filter by"
               },
               {
                  "schema": {
                     "type": "array",
                     "items": {
                        "type": "string",
                        "enum": [
                           "id",
                           "created_at",
                           "updated_at",
                           "patient_id",
                           "practitioner_id",
                           "condition_ids",
                           "name",
                           "codes",
                           "status",
                           "achievement_status",
                           "start_at",
                           "due_at",
                           "notes",
                           "metadata",
                           "raw"
                        ]
                     }
                  },
                  "name": "fields",
                  "in": "query",
                  "required": false,
                  "description": "Fields to return"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "name": "raw",
                  "in": "query",
                  "required": false,
                  "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
               },
               {
                  "schema": {
                     "type": "string"
                  },
                  "description": "ID of the connection",
                  "name": "connection_id",
                  "in": "path",
                  "required": true
               }
            ],
            "tags": [
               "healthcare",
               "goal"
            ],
            "description": "Returns a list of HealthcareGoals. Narrow the results with the query parameters before paging, then page through them with `limit` and `offset` (the default and maximum page size depend on the integration). Use `fields` to return only the fields you need and reduce the response size. When the integration supports a total count, it is returned in the `X-Total-Count` response header. Use each item's `id` to retrieve, update, or delete it where those operations are supported.",
            "responses": {
               "200": {
                  "content": {
                     "application/json": {
                        "schema": {
                           "$ref": "#/components/schemas/HealthcareGoals"
                        }
                     }
                  },
                  "description": "Successful"
               }
            },
            "security": [
               {
                  "jwt": []
               }
            ],
            "operationId": "listHealthcareGoals"
         }
      }
   }
}