# POST /v1/medical/query

Part of the HebrewCore documentation. Web: https://hc.itsbaba.com/docs#medical-query · Whole docs: https://hc.itsbaba.com/docs.md · Index: https://hc.itsbaba.com/llms.txt

`POST /v1/medical/query`

Turn a Hebrew question into an English query for your record search. English terms, numbers and dates in the question are kept exactly (Hebrew day-first dates become ISO dates). Hebrew spellings of English drug names are mapped back to English, preferring the patient's own terms from `known_terms`. `text` up to 2,000 characters.

```http
POST /v1/medical/query
{ "text": "האם המטופלת עדיין לוקחת מטפורמין?", "known_terms": ["metformin", "lisinopril"] }

{
  "query": "Is the patient still taking metformin?",
  "terms": [ { "hebrew": "מטפורמין", "english": "metformin", "source": "known_terms" } ],
  "usage": { "characters": 33 }
}
```
