1
Find the payer id
200 with a list such as [{ "id": "60054", "name": "Aetna" }].
Queries shorter than 2 characters return an empty list. Save the right
id as the payer_id.2
Run the check
For a patient already in HealOS, send Otherwise send
patient_id. HealOS uses their name,
date of birth, gender and the member id on their active insurance for this
payer:member_id, first_name, last_name and date_of_birth
(YYYY-MM-DD) instead of patient_id. provider_npi is the 10-digit NPI
of the requesting provider or practice.Expect 200 with the saved check. Save data.id as CHECK_ID.3
Read the result
The Look at these fields:
200 response already holds the result. Read it again at any time,
free of charge:See what
result contains for the full
shape.The same flow in Python
The steps above as one script, using requests (pip install requests). It
reads the key and the HealOS patient id from environment variables, so
nothing about a real patient lives in the code.
eligibility_check.py
Expected outcomes
Read past checks
Checks run in the HealOS dashboard and through the API share one history:Related
- Benefit verification guide
- Run an eligibility check (reference)

