Lotus AI Logo

Starter Documentation for Lotus AI API

Application Programming Interfaces [APIs] for healthcare interoperability.

/api/teapot

Sample response:

{
    "message": "I'm a teapot"
}

api/healthcheck

Sample response:

{
    "message": "healthy",
    "timestamp": 1699912191951
}

/api/claimpower/patient/:id?

POST to create a new patient in the medplum storage GET and provide an id to retrieve a patient

Headers:
  token [string]
Method: POST|GET

Sample Response:

{
    "resourceType": "Patient",
    "active": true,
    "name": [
        {
            "text": "Daveed Silva",
            "family": "Silva",
            "given": [
                "Daveed"
            ]
        }
    ],
    "gender": "other"
}