Check Eligibility workflow
You have patient’s demographics information and patient’s insurance information.
You want to check if the patient is eligible for the procedure / visit.
Contact the VSee team to configure which insurers you want to support. Once configured, use https://vsee.atlassian.net/wiki/spaces/VD/pages/55083127/Insurance+API+Draft#GET-%2Finsurance%2F to pull the list which will also contain insurer_id.
Create a VSee Clinic user via https://vsee.atlassian.net/wiki/spaces/VD/pages/14942243/User+API#POST-%2Fusers%2Fsso
As a response you will receive user_id on VSee side.
Some user fields are required if you want to use the insurance API. Use https://vsee.atlassian.net/wiki/spaces/VD/pages/14942243/User+API#POST-%2Fme to update the user’s insurance information based on user_id.
Run https://vsee.atlassian.net/wiki/spaces/VD/pages/55083127#POST-%2Fusers%2F%3Aid%2Feligibility to trigger the eligibility check for the given user_id.
Trigger a claim submission process for the user_id https://vsee.atlassian.net/wiki/spaces/VD/pages/55083127/Insurance+API+Draft#POST-%2Finsurance%2Fclaims
POST /me parameters
Required Insurance Information
FirstName - first_name LastName - last_name DOB - dob Gender - gender Address - street_addr City - city State - state ZipCode - zip // Primary Insurance Fields Insurance - insurance.carrier_code (e.g. car7147 - AMD code) Insurance Coverage - insurance.respparty (e.g self, child, spouse, other) Group Number - insurance.group_number Subscriber Number - insurance.subscriber_num // Secondary Insurance Fields (Optional) Secondary Insurance - insurance.secondary_carrier (e.g. car7147 - AMD code) Secondary Group Number - insurance.secondary_group_number Secondary Subscriber Number - insurance.secondary_subscriber_num Insurance Card Front - insurance.card_front Insurance Card Back - insurance.card_back If dependent (child, spouse, other): Guarantor Name - insurance.guarantor_name Guarantor DOB - insurance.guarantor_dob Guarantor Address1 - insurance.guarantor_address Guarantor City - insurance.guarantor_city Guarantor State - insurance.guarantor_state Guarantor Zip - - insurance.guarantor_zip
POST /users/:id/eligibility
https://api-vclinic.vseepreview.com/vc/next/api_v3/users/:id/eligibility
Check insurance eligibility for the given patient. This assumes all required insurance data is saved for this user.
Set insurance data with https://vsee.atlassian.net/wiki/spaces/VD/pages/14942243/User+API#POST-%2Fme ? (insurer_id
, insurance_plan
).
VSee will create a patient record in AdvancedMD as needed if it’s not existing yet.
Input
Parameter Name | Type | Description |
|
| … |
Result
Since the check may take up to 1-2 minutes, should we trigger a webhook eligibility.checked
when it's ready?
Output
{ "data": { "eligibility_id": amd_eligibility_id } }
In case of error / missing data we should display a proper error message.
Raw Data in user_datas
It will populate the user’s insurance.eligibility
when response received from the 3rd party.
{ "data": [ { "insurance": { "eligibility": { "last_checked": 1640133254, "eligibility_response": "Invalid/Missing subscriber/insured ID", "eligibility_text": "", "raw_response": "", ... //TBD } }, }
Webhook
{ "id": "5c34979c-30dc-496c-8cd3-6eb9925862c1", "type": "eligibility.checked", "created": 1546950556, "account_code": "vclinic", "data": { "eligibility_id": "28540", "member_id": "60610", "eligibility_response": "Invalid/Missing subscriber/insured ID", "external_member_id": 1111 } }
Eligibility Responses List
eligibility_response
may be one of the following:
Success / Reject reason not found Authorized quantity exceeded Required application data missing Input Errors Out of Network Authorization/Access restrictions Unable to respond at current time. Invalid/Missing provider information Invalid/Missing provider name Invalid/Missing provider speciality Invalid/Missing provider phone number Invalid/Missing provider state Invalid/Missing referring provider identification number Provider is not primary care physician Provider ineligible for inquiries Provider not on file Service dates not within provider plan enrollment Inquired benefit inconsistent with provider type Inappropriate date Invalid/Missing dates of service Invalid/Missing date of birth Date of birth follows date of service Date of death preceeds dates of service Date of service not within allowable inquiry period Date of service in future Invalid/Missing patient ID Invalid/Missing patient name Invalid/Missing patient gender code Patient not found Inconsistent with patient age. Inconsistent with patient gender. Patient birth date does not match that for the patient in the Invalid/Missing subscriber/insured ID Invalid/Missing subscriber/insured name Invalid/Missing subscriber/insured gender code Subscriber/Insured not found Duplicate Subscriber/Insured ID number Subscriber found, patient not found Subscriber/Insured not in Group/Plan identified Invalid participant identification invalid or missing provider address Payer name or identifier missing Certification Information Missing No response received by clearinghouse Expiremental service or procedure. Authorization number not found. Requires primary care physician authorization. Invalid/Missing diagnosis codes. Invalid/Missing procedure codes. Additional patient condition information required. Certification information does not match patient. Requires medical review. Invalid authorization number format. Missing authorization number.
Rejection reason and codes
'04' => 'Authorized quantity exceeded', '15' => 'Required application data missing', '33' => 'Input Errors', '35' => 'Out of Network', '41' => 'Authorization/Access restrictions', '42' => 'Unable to respond at current time.', '43' => 'Invalid/Missing provider information', '44' => 'Invalid/Missing provider name', '45' => 'Invalid/Missing provider speciality', '46' => 'Invalid/Missing provider phone number', '47' => 'Invalid/Missing provider state', '48' => 'Invalid/Missing referring provider identification number', '49' => 'Provider is not primary care physician', '50' => 'Provider ineligible for inquiries', '51' => 'Provider not on file', '52' => 'Service dates not within provider plan enrollment', '53' => 'Inquired benefit inconsistent with provider type', '56' => 'Inappropriate date', '57' => 'Invalid/Missing dates of service', '58' => 'Invalid/Missing date of birth', '60' => 'Date of birth follows date of service', '61' => 'Date of death preceeds dates of service', '62' => 'Date of service not within allowable inquiry period', '63' => 'Date of service in future', '64' => 'Invalid/Missing patient ID', '65' => 'Invalid/Missing patient name', '66' => 'Invalid/Missing patient gender code', '67' => 'Patient not found', '69' => 'Inconsistent with patient age.', '70' => 'Inconsistent with patient gender.', '71' => 'Patient birth date does not match that for the patient in the database', '72' => 'Invalid/Missing subscriber/insured ID', '73' => 'Invalid/Missing subscriber/insured name', '74' => 'Invalid/Missing subscriber/insured gender code', '75' => 'Subscriber/Insured not found', '76' => 'Duplicate Subscriber/Insured ID number', '77' => 'Subscriber found, patient not found', '78' => 'Subscriber/Insured not in Group/Plan identified', '79' => 'Invalid participant identification', '97' => 'invalid or missing provider address', 'T4' => 'Payer name or identifier missing', 'T5' => 'Certification Information Missing', '80' => 'No response received by clearinghouse', '98' => 'Expiremental service or procedure.', 'AA' => 'Authorization number not found.', 'AE' => 'Requires primary care physician authorization.', 'AF' => 'Invalid/Missing diagnosis codes.', 'AG' => 'Invalid/Missing procedure codes.', 'AO' => 'Additional patient condition information required.', 'CI' => 'Certification information does not match patient.', 'E8' => 'Requires medical review.', 'IA' => 'Invalid authorization number format.', 'MA' => 'Missing authorization number.'
GET /insurances/
https://api-vclinic.vseepreview.com/vc/next/api_v3/insurance/
Get the available list of insurers for patient to pick from.
Is it stored in clinic Raw settings.
Input
Parameter Name | Type | Description |
Output
A list of supported insurers.
“id” here is AMD’s payer ID. “name” is readable name.
{ "data": { "insurers": [ { "id": "car7147", "name": "CIGNA" }, { "id": "car7551", "name": "AETNA" } ] }
POST /insurance/claims
https://api-vclinic.vseepreview.com/vc/next/api_v3/insurance/claims
Claims collection
claims.type claims.account_code claims.visit_id //optional claims.member_id claims.status claims.advancedmd.date_of_service // all input fields claims.advancedmd.visit_id
Input
Parameter Name | Type | Description |
visit_id |
| … |
date_of_service | 12/1/2021 | |
location | 41 | |
procedure_code | U0003;U0005 | |
units | 1 | |
diagnosis_code | Z20.822;R05.9 |
Output
{ "data": { "id": "82828", } }
Webhook
{ "id": "5c34979c-30dc-496c-8cd3-6eb9925862c1", "type": "claims.updated", "visit_id": 1546950556, "account_code": "vclinic", "data": { "claim_id": "28540", "member_id": "60610", "status": "" } }