get https://api.nabla.com/v1/messages//extract
Extract medical information from messages
Example response
{
"medical_facts": [
{
type: "Contraception",
method: "Pill",
startedAt: {
reference: "2020-05-01T10:00:18.789Z",
granularity: "SAME_MONTH"
},
endedAt: null,
brand: "Cerazette",
mentionedBecause: "JUST_DISCUSSING"
},
{
type: "Condition",
condition: "Headache",
bodyPart: "Head",
startedAt: {
reference: "2020-05-01T10:00:18.789Z",
granularity: "SAME_DAY"
},
idc10Id: "R51.9",
mentionedBecause: "EXPLICIT_PRESENCE"
},
{
type: "Medication",
brand: "Doliprane",
activeIngredients: ["Paracetamol"],
mentionedBecause: "CURRENTLY_TAKEN"
},
]
}