Drug Adjudication
Adjudicate
sex?Sex | null
Sex of the patient
age?Age
Age of the patient
weight?Weight
Weight of the patient
diagnosesDiagnoses
List of diagnoses
medicationsMedications
List of medications
Response Body
curl -X POST "https://api.avey.ai/drugs/adjudicate" \ -H "Content-Type: application/json" \ -d '{ "diagnoses": [ { "code": "M34", "system": "ICD10cm" } ], "medications": [ { "form": "IM/Intraarticular/Percutaneous", "generic_name": "Methylprednisolone", "ingredients": [ { "concentration": 40, "concentration_unit": "mg/ml", "generic_name": "Methylprednisolone", "package_size": 1, "package_size_unit": "ml" } ], "perscription": { "dosage": { "duration": 1, "duration_unit": "D", "frequency": 1, "frequency_unit": "D", "quantity": 1 }, "quantity": 1 }, "size": 1, "size_unit": "ml", "trade_name": "DEPO - MEDROL", "type": "custom" } ] }'[
{
"rule": "DLE1",
"level": "critical",
"description": "Medication is not justified by the diagnoses",
"medications": [
"43598-006-14"
]
}
]{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}How is this guide?