ELATION
Save billing
Save billing and attempt advisory validation.
POSThttps://preview.ontross.com/api/integrations/elation/save-billing
Request Fields
input.patient_id
string
requiredPatient whose chart is read or written, from search-patients.
Example
"712044851039930"input.note_id
string
requiredVisit note being edited, from create-visit-note or get-patient-appointments.
Example
"757609084724418"input.cpts
array
requiredService lines to save, each with diagnoses, units, and charge.
Example
[{"charge":"62.16","cpt":"99490","icd10_codes":["I10"],"units":1}]input.cpts[].cpt
string
requiredCPT procedure code billed on this service line.
Example
"99490"input.cpts[].icd10_codes
array
ICD-10 codes to attach, e.g. ["I10", "E11.9"]
Example
["I10","E11.9"]input.cpts[].units
integer
Billed quantity for this CPT line, at least 1.
Example
4Default
1input.cpts[].charge
string
Line charge. If omitted: fee-schedule override, else Medicare fee x negotiated rate.
Example
"62.16"input.notes
string
Free-text billing note saved alongside the service lines.
Default
""auth_id
string
requiredSaved connection to run this operation through, from the Authentication page. It decides which practice and login the call uses.
Example
"00000000-0000-4000-8000-000000000000"Output Fields
note_id
string
Visit note being edited, from create-visit-note or get-patient-appointments.
Example
"999000000000701"bill_id
string
Bill record Elation keeps for this visit note.
Example
"999000000000801"service_lines_revision
string
Concurrency token the next billing save has to send back.
Example
"e4c7812a-63f9-4b05-96d0-0833d246a8ce"invoice_total
string
Total charge Elation computed for the saved bill.
Example
"62.16"lines
array
Saved billing lines echoed back with charges and diagnoses.
lines[].cpt
string
CPT procedure code billed on this service line.
Example
"99490"lines[].units
integer
Billed quantity for this CPT line, at least 1.
Example
1lines[].charge
string
Dollar amount for the line, omit for the fee schedule rate.
Example
"62.16"lines[].icd10_codes
array
ICD-10 codes on this CPT line, resolved to Elation ids.
validation_errors
array
Advisory billing problems, raised after the lines were already saved.
Code
curl --request POST \
--url https://preview.ontross.com/api/integrations/elation/save-billing \
--header 'X-API-Key: REPLACE_KEY_VALUE' \
--header 'content-type: application/json' \
--data '{"input":{"patient_id":"712044851039930","note_id":"757609084724418","cpts":[{"charge":"62.16","cpt":"99490","icd10_codes":["I10"],"units":1}],"notes":"Chronic care management, 22 minutes of non-face-to-face time this calendar month."},"auth_id":"auth_uuid_here"}'Request BODY
{
"input": {
"patient_id": "712044851039930",
"note_id": "757609084724418",
"cpts": [
{
"charge": "62.16",
"cpt": "99490",
"icd10_codes": [
"I10"
],
"units": 1
}
],
"notes": "Chronic care management, 22 minutes of non-face-to-face time this calendar month."
},
"auth_id": "auth_uuid_here"
}Response BODY
{
"id": "string",
"workflow_id": "string",
"auth_id": "string",
"status": "string",
"input": {},
"output": {
"note_id": "999000000000701",
"bill_id": "999000000000801",
"service_lines_revision": "e4c7812a-63f9-4b05-96d0-0833d246a8ce",
"invoice_total": "62.16",
"lines": [
{
"cpt": "99490",
"units": 1,
"charge": "62.16",
"icd10_codes": [
"string"
]
}
],
"validation_errors": [
null
]
},
"files": null,
"created_at": "2019-08-24T14:15:22Z",
"started_at": "2019-08-24T14:15:22Z",
"completed_at": "2019-08-24T14:15:22Z"
}