Decision support (coming soon)
Medication safety
Model: aug-med-safety · Status: Coming soon · Scope: agents:med_safety · Schema: evidence_summary/0.1
Reads a prescription — typed, dictated or as text from a scanned image — normalises each drug (brand names, combinations and Indian generics included), and checks it against the patient for interactions, contraindications, duplicate therapeutic classes, allergy conflicts and required monitoring.
Request
JSON
{
"model": "aug-med-safety",
"messages": [{"role": "user", "content": "Tab Dolo 650 1-1-1 x 5d\nTab Pantocid 40 OD\nTab Brufen 400 SOS"}],
"augsidius": {
"context": {
"patient": {"age": 72, "sex": "female", "pregnant": false},
"conditions": [{"text": "chronic kidney disease stage 3"}],
"medications": [{"text": "warfarin 3 mg"}],
"allergies": [{"text": "sulfonamides"}]
}
}
}Response payload (abridged)
JSON
{
"prescription": [
{"line": 1, "input": "Tab Dolo 650 1-1-1 x 5d", "drug": {"name": "Paracetamol", "concept_id": "…"},
"strength": "650 mg", "frequency": "three times daily", "duration": "5 days"},
{"line": 3, "input": "Tab Brufen 400 SOS", "drug": {"name": "Ibuprofen", "concept_id": "…"},
"strength": "400 mg", "frequency": "as needed"}
],
"cards": [
{"summary": "Ibuprofen with warfarin raises bleeding risk", "indicator": "critical", "decision": {"type": "interaction", "severity": "major", "certainty": "high"}},
{"summary": "NSAIDs can worsen kidney function in CKD", "indicator": "warning", "decision": {"type": "contraindication", "certainty": "moderate"}}
],
"unresolved": []
}Card fields are described on Evidence cards. Dose-range checking appears only where the evidence includes it; the model never invents a dose.
