Skip to main content
POST
/
v1
/
assessments
Create a medication safety assessment
curl --request POST \
  --url https://cds.marmar.life/v1/assessments \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "patient": {
    "patientId": null,
    "externalId": null,
    "demographics": null,
    "reproductiveStatus": null,
    "hormonalTherapies": null
  },
  "medications": [
    {
      "name": "<string>",
      "dosage": {
        "amount": 123,
        "unit": null,
        "frequency": "<string>"
      },
      "form": null,
      "route": null,
      "status": null,
      "providedRxNormCode": null,
      "providedDrugbankId": null,
      "source": null,
      "startDate": null,
      "endDate": null
    }
  ],
  "conditions": null,
  "allergies": null,
  "vitals": null,
  "labs": null,
  "socialHistory": null
}
'
{
  "assessmentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "PENDING",
  "createdAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

API key obtained from the Tenant Dashboard. Use as Authorization: Bearer YOUR_API_KEY

Body

application/json
patient
object
required
medications
object[]
required
Minimum array length: 1
conditions
object[] | null
Example:

null

allergies
object[] | null
Example:

null

vitals
object[] | null
Example:

null

labs
object[] | null
Example:

null

socialHistory
object[] | null
Example:

null

Response

Assessment request accepted for processing

assessmentId
string<uuid>
required
status
enum<string>
required
Available options:
PENDING
createdAt
string<date-time>
required