Tross
ECLINICALWORKS

Live Fetch Patient Id

Live fetch patient id in eClinicalWorks

POSThttps://api.ontross.com/api/integrations/ecw/live-fetch-patient-id
Request Fields
input
object
required
Input object.
input.patientId
string
Patient id
Default
""
auth_id
string
required
Auth id
Output Fields
patientCellPhoneNumber
string
Patient cell phone number
dob
string
Dob
firstName
string
First name
middleName
string
Middle name
lastName
string
Last name
patientHomePhoneNumber
string
Patient home phone number
email
string
Email
lastAppointment
string
Last appointment
nextAppointment
string
Next appointment
gender
string
Gender
addressLine1
string
Address line1
addressLine2
string
Address line2
zip
string
Zip
city
string
City
state
string
State
workPhone
string
Work phone
accountNo
string
Account no
mrn
string
Mrn
suffix
string
Suffix
pcp
string
Pcp
pcpId
string
Pcp id
encounterReason
string
Encounter reason
encounterId
string
Encounter id
picPath
string
Pic path
nextFacility
string
Next facility
lastFacility
string
Last facility
defaultFacility
string
Default facility
acBalance
string
Ac balance
collBalance
string
Coll balance
ptBalance
string
Pt balance
patientCollectionBalance
string
Patient collection balance
guarantorId
string
Guarantor id
fullNameWithSuffix
string
Full name with suffix
lastvmsg
string
Lastvmsg
billingalert
string
Billingalert
givenToColl
string
Given to coll
assignedTo
string
Assigned to
renprovider
string
Renprovider
renproviderid
string
Renproviderid
inactive
string
Inactive
optout
string
Optout
deceasedDate
string
Deceased date
previousName
string
Previous name
preferredName
string
Preferred name
race
string
Race
ethnicity
string
Ethnicity
ethnicityId
string
Ethnicity id
language
string
Language
ssn
string
Ssn
maritalStatus
string
Marital status
sex
string
Sex
country
string
Country
tob
string
Tob
prefix
string
Prefix
deceased
string
Deceased
doctorName
string
Doctor name
namewithsuffix
string
Namewithsuffix
transGender
string
Trans gender
webenabled
string
Webenabled
refPrId
string
Ref pr id
rendPrId
string
Rend pr id
picFileName
string
Pic file name
regdate
string
Regdate
controlNo
string
Control no
languageISOCode1
string
Language isocode1
languageISOCode2
string
Language isocode2
deceasedNotes
string
Deceased notes
insurances
array
List of insurances.
insurances[].name
string
Name
insurances[].state
string
State
insurances[].subscriberNo
string
Subscriber no
insurances[].rel
string
Rel
insurances[].insured
string
Insured
insurances[].coPay
string
Co pay
insurances[].groupNo
string
Group no
insurances[].city
string
City
insurances[].insType
string
Ins type
insurances[].active
string
Active
insurances[].feeSchedName
string
Fee sched name
pharmacies
array
List of pharmacies.
pharmacies[].name
string
Name
pharmacies[].address
string
Address
pharmacies[].city
string
City
pharmacies[].state
string
State
pharmacies[].zip
string
Zip
pharmacies[].tel
string
Tel
pharmacies[].address2
string
Address2
pharmacies[].fax
string
Fax
pharmacies[].ncpdpId
string
Ncpdp id
responsibleParty
object
Responsible party object.
responsibleParty.grId
string
Gr id
responsibleParty.grName
string
Gr name
responsibleParty.grPhone
string
Gr phone
responsibleParty.grRel
string
Gr rel
responsibleParty.isGrPt
string
Is gr pt
demographicsData
object
Demographics data object.
demographicsData.lastAppt
object
Last appt object.
demographicsData.lastAppt.encounterID
string
Encounter id
demographicsData.lastAppt.date
string
Date
demographicsData.lastAppt.startTime
string
Start time
demographicsData.lastAppt.timeZone
string
Time zone
demographicsData.lastAppt.name
string
Name
demographicsData.lastAppt.code
string
Code
demographicsData.nextAppt
object
Next appt object.
demographicsData.nextAppt.encounterID
string
Encounter id
demographicsData.nextAppt.date
string
Date
demographicsData.nextAppt.startTime
string
Start time
demographicsData.nextAppt.timeZone
string
Time zone
demographicsData.nextAppt.name
string
Name
demographicsData.nextAppt.code
string
Code
demographicsData.wcvAppt
string
Wcv appt
demographicsData.advDir
string
Adv dir
demographicsData.billingAlert
string
Billing alert
demographicsData.givenToColl
string
Given to coll
Code
curl --request POST \
  --url https://api.ontross.com/api/integrations/ecw/live-fetch-patient-id \
  --header 'X-API-Key: REPLACE_KEY_VALUE' \
  --header 'content-type: application/json' \
  --data '{"input":{"patientId":"string_id"},"auth_id":"auth_uuid_here"}'
Request BODY
{
  "input": {
    "patientId": "string_id"
  },
  "auth_id": "auth_uuid_here"
}