Lotus AI Logo

Starter Documentation for Lotus Claimpower API

Lotus offers an additional layer of abstraction to Claimpower API. This documentation is a guide to the Claimpower API and the methods we provide as well.

Test environment:

base_url: https://www.claimpowerehr.com/IntakeFHIRAPIServices/

AUTHENTICATION:

To get a token: Send the userid and dbname with POST

url: https://www.claimpowerehr.com/IntakeFHIRAPIServices/User/AuthenticateUser

data
{
      "UserId" : "xxx",
      "DbName" : "xxx"
}

Patient

To get a All Info:

Example : send the PatientId with GET

url: https://www.claimpowerehr.com/IntakeFHIRAPIServices/IntakeFhir/GetIntakeFhirInfo?patientid=00000004

data: {
      "PatientId":"00000004"
}

To save the all information

url: https://www.claimpowerehr.com/IntakeFHIRAPIServices/IntakeFhir/SaveIntakeFhirInfo?patientid=00000004

Above covers - Patient, Coverage, AllergyIntolrance, Document Reference, Organization

And Pass the json of get information with all data

Get UI URL

https://dev.lotuscares.ai/api/claimpower/patient/get_ui_url

headers:

token: XXX

body:

{
   "component": ["chart/vitals"],
   "claimpower_chart_id": "xxxxxxx",
   "claimpower_patient_id": "SHD05723",
   "claimpower_db_name": "PLAZAHLTH"
}

Response:

{
    "url": [
        "https://dev.lotuscares.ai/ui/chart/vitals?claimpower_patient_id=XXX:XXXX&claimpower_chart_id=xxxxxxx&secret=XXX"
    ],
    "error": {
        "message": "",
        "status": 0
    },
    "patient_id": "xxxxx",
    "client_application": "xxx"
}

Get FORM URL

https://dev.lotuscares.ai/api/claimpower/patient/get_form_url

headers:

token: XXX

body:

{
   "claimpower_patient_id": "SHD05723",
   "claimpower_db_name": "PLAZAHLTH"
}

Response:

{
    "url": [
        "https://dev.lotuscares.ai/forms/consent/covid19?claimpower_patient_id=XXX:XXXX&claimpower_chart_id=xxxxxxx&secret=XXX"
    ],
    "error": {
        "message": "",
        "status": 0
    },
}

ASP Classic deployment

A github action executes our build script combining multiple private repos and deploys to our managed VM instance thru web deploy.

Github Action

Patient Calls API

Make a GET or POST request using a token.

To get the patients list on the patient call screen

https://x.claimpower.com/IntakeFHIRAPIServices/PatientCallScreen/GetPatientCallScreen

To get the number of calls done by the user

https://x.claimpower.com/IntakeFHIRAPIServices/PatientCallScreen/PatientCallsDoneCount?user=xxx

Get the user information

https://x.claimpower.com/IntakeFHIRAPIServices/PatientCallScreen/GetUserInfo?user=xxx

Get the 7 note types

https://x.claimpower.com/IntakeFHIRAPIServices/PatientCallScreen/GetPatientNotes

POST the patient call notes

https://x.claimpower.com/IntakeFHIRAPIServices/PatientCallScreen/AddPatientCallsDetails?patientid=xxxx

Body:


{
    "PatientId": "00032852",
    "TranseqNo": "x,x,x,x",
    "BatchNo": "x,x,x,x,",
    "Notes": "Gave patient discount of $0.",
    "NoteType": "P1",
    "Paid": 4000,
    "Discount": 0,
    "User": "xxx"
}