SupportDashboard
Diagnostic EngineStateless

Get medical question

Return the next medical question to ask the patient from a list of findings.

POST
/v1/question
AuthorizationBearer <token>

In: header

inputInput

Current findings.

coding_systemPublicCodingSystem

Coding system used for all finding IDs.

Value in"aut" | "icd10_cm" | "snomed"
patientPatient

Patient demographics.

Response Body

curl -X POST "https://api.avey.ai/ddx/v1/question" \  -H "Content-Type: application/json" \  -d '{    "input": [      {        "id": "R11.0",        "status": "present",        "is_chief": true      },      {        "id": "M25.50",        "status": "absent",        "is_chief": false      },      {        "id": "non-exist",        "status": "present",        "is_chief": false      }    ],    "coding_system": "icd10_cm",    "patient": {      "age": 34,      "sex": "male"    }  }'
{
  "id": "resp_75d4cbf4bad6",
  "output": {
    "type": "question",
    "content": "Do you have abdominal pain/discomfort?",
    "media": []
  }
}
{
  "error": {
    "code": "string",
    "message": "string"
  }
}
{
  "error": {
    "code": "string",
    "message": "string"
  }
}

How is this guide?