---
updatedAt: 2026-08-07T16:25:02.000Z
agentTools:
  projectIndex: https://docs.elationhealth.com/llms.txt
---

# Get Policy

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Insurance API",
    "description": "This API supports the management of insurances.",
    "version": "0.1.0"
  },
  "paths": {
    "/patients/{patient_id}/policies/{policy_id}": {
      "get": {
        "operationId": "get_policy_patients__patient_id__policies__policy_id__get",
        "parameters": [
          {
            "in": "path",
            "name": "patient_id",
            "required": true,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Patient Id"
            }
          },
          {
            "in": "path",
            "name": "policy_id",
            "required": true,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Policy Id"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "RequireAuthentication": []
          }
        ],
        "summary": "Get Policy",
        "tags": [
          "INSURANCE POLICIES"
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "title": "Detail",
            "type": "array"
          }
        },
        "title": "HTTPValidationError",
        "type": "object"
      },
      "InsurancePaymentProgram": {
        "enum": [
          "medicare_part_b",
          "medicare_advantage",
          "medicaid",
          "commercial_hmsa",
          "commercial_sfhp",
          "commercial_other",
          "workers_compensation"
        ],
        "title": "InsurancePaymentProgram",
        "type": "string"
      },
      "InsurerRelationship": {
        "enum": [
          "self",
          "child",
          "spouse",
          "other"
        ],
        "title": "InsurerRelationship",
        "type": "string"
      },
      "PolicyResponse": {
        "properties": {
          "address": {
            "anyOf": [
              {
                "maxLength": 200,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Address"
          },
          "back_image_path": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Path to the back image of the insurance card",
            "title": "Back Image Path"
          },
          "can_check_eligibility": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": false,
            "description": "Indicates whether eligibility can be checked for this policy",
            "title": "Can Check Eligibility"
          },
          "carrier_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Carrier Id"
          },
          "carrier_name": {
            "anyOf": [
              {
                "maxLength": 200,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Carrier Name"
          },
          "city": {
            "anyOf": [
              {
                "maxLength": 50,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "copay": {
            "anyOf": [
              {
                "maxLength": 19,
                "pattern": "^-?\\d{1,8}(\\.\\d{1,10})?$|^$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Copay"
          },
          "county_code": {
            "anyOf": [
              {
                "maxLength": 10,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "County Code"
          },
          "deductible": {
            "anyOf": [
              {
                "maxLength": 19,
                "pattern": "^-?\\d{1,8}(\\.\\d{1,10})?$|^$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deductible"
          },
          "end_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "End Date"
          },
          "extension": {
            "anyOf": [
              {
                "maxLength": 6,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Extension"
          },
          "front_image_path": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Path to the front image of the insurance card",
            "title": "Front Image Path"
          },
          "group_id": {
            "anyOf": [
              {
                "maxLength": 50,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Group Id"
          },
          "hippospace": {
            "maxLength": 255,
            "title": "Hippospace",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "insured_person_address": {
            "anyOf": [
              {
                "maxLength": 200,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Insured Person Address"
          },
          "insured_person_city": {
            "anyOf": [
              {
                "maxLength": 50,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Insured Person City"
          },
          "insured_person_dob": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Insured Person Dob"
          },
          "insured_person_first_name": {
            "anyOf": [
              {
                "maxLength": 200,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Insured Person First Name"
          },
          "insured_person_id": {
            "anyOf": [
              {
                "maxLength": 50,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Insured Person Id"
          },
          "insured_person_last_name": {
            "anyOf": [
              {
                "maxLength": 200,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Insured Person Last Name"
          },
          "insured_person_sex_at_birth": {
            "anyOf": [
              {
                "maxLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Insured Person Sex At Birth"
          },
          "insured_person_ssn": {
            "anyOf": [
              {
                "maxLength": 11,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Insured Person Ssn"
          },
          "insured_person_state": {
            "anyOf": [
              {
                "maxLength": 2,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Insured Person State"
          },
          "insured_person_zip": {
            "anyOf": [
              {
                "maxLength": 10,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Insured Person Zip"
          },
          "is_legacy_insurance": {
            "default": false,
            "title": "Is Legacy Insurance",
            "type": "boolean"
          },
          "medicare_secondary_code": {
            "anyOf": [
              {
                "maxLength": 5,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Medicare Secondary Code"
          },
          "member_id": {
            "anyOf": [
              {
                "maxLength": 50,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Member Id"
          },
          "patient_dob": {
            "format": "date",
            "title": "Patient Dob",
            "type": "string"
          },
          "patient_first_name": {
            "maxLength": 70,
            "title": "Patient First Name",
            "type": "string"
          },
          "patient_id": {
            "title": "Patient Id",
            "type": "integer"
          },
          "patient_last_name": {
            "maxLength": 70,
            "title": "Patient Last Name",
            "type": "string"
          },
          "payment_program": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/InsurancePaymentProgram"
              },
              {
                "type": "null"
              }
            ]
          },
          "phone": {
            "anyOf": [
              {
                "maxLength": 20,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Phone"
          },
          "plan_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Plan Id"
          },
          "plan_name": {
            "anyOf": [
              {
                "maxLength": 200,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Plan Name"
          },
          "practice_id": {
            "title": "Practice Id",
            "type": "integer"
          },
          "rank": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rank"
          },
          "relationship_to_insured": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/InsurerRelationship"
              },
              {
                "type": "null"
              }
            ],
            "default": "self"
          },
          "start_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Start Date"
          },
          "state": {
            "anyOf": [
              {
                "maxLength": 2,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State"
          },
          "status": {
            "$ref": "#/components/schemas/Status"
          },
          "suite": {
            "anyOf": [
              {
                "maxLength": 40,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Suite"
          },
          "vendor_company_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vendor Company Id"
          },
          "vendor_external_id": {
            "anyOf": [
              {
                "maxLength": 100,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vendor External Id"
          },
          "zip": {
            "anyOf": [
              {
                "maxLength": 10,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Zip"
          }
        },
        "required": [
          "id",
          "hippospace",
          "practice_id",
          "patient_id",
          "patient_first_name",
          "patient_last_name",
          "patient_dob",
          "status"
        ],
        "title": "PolicyResponse",
        "type": "object"
      },
      "Status": {
        "enum": [
          "active",
          "inactive"
        ],
        "title": "Status",
        "type": "string"
      },
      "ValidationError": {
        "properties": {
          "ctx": {
            "title": "Context",
            "type": "object"
          },
          "input": {
            "title": "Input"
          },
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location",
            "type": "array"
          },
          "msg": {
            "title": "Message",
            "type": "string"
          },
          "type": {
            "title": "Error Type",
            "type": "string"
          }
        },
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError",
        "type": "object"
      }
    },
    "securitySchemes": {
      "RequireAuthentication": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  }
}
```