analyzePrescription
2 credits per call
Submit a patient + prescription lines to VIDAL Sécurisation (CE-marked) and receive structured clinical alerts: interactions, contraindications, posology, allergy, pregnancy, physico-chemical, redundancy, food, surveillance, side-effects, regulatory. Resolve inputs with searchDrugs, searchPatientTerms, and calculateRenalFunction.
Try it
kirha tools run vidal_analyzePrescription \
--input '{
"prescriptionLines": [
{
"drugUri": "<drugUri>"
}
]
}'Uses the key saved by kirha auth login.
prescriptionLinesobject[], required, At least 1 itemShow 13 fieldsHide fields
drugUristring, requiredvidal://product|package|ucd|vmp|prescribable/<id>
aldCodestringaldWithinScopebooleandosenumber, Above 0durationTypestringOne of MINUTE, HOUR, DAY, WEEK, MONTH, YEAR
durationValueinteger, Max 9007199254740991, Above 0endDatestringfrequencyTypestringOne of THIS_DAY, PER_DAY, PER_24_HOURS
indicationUrisstring[]routeUristringvidal://route/<id>
startDatestringstatusstringOne of ACTIVE, COMPLETED
unitIdinteger, -9007199254740991 to 9007199254740991
alertTypesstring[]Restrict returned alert types. If omitted, defaults to actionable safety classes (contraindication, interaction, allergy, posology, precaution, warning, surveillance, food, etc.) — SIDE_EFFECT and EXONERATION are excluded by default because they typically add 100+ informational entries. Pass SIDE_EFFECT explicitly to retrieve them.
One of CONTRA_INDICATION, DRUG_INTERACTION, ALLERGY, POSOLOGY, PRECAUTION, PHYSICO_CHEMICAL_INTERACTION, REDUNDANT_ACTIVE_INGREDIENT, SAME_DRUG, WARNING, SURVEILLANCE, SIDE_EFFECT, FOOD_INTERACTION, DISPENSING_RISK, EXONERATION, INDICATOR, PRESCRIPTION_CONTEXT, FOCUS, HAS
patientobject, default {}Show 10 fieldsHide fields
allergyUrisstring[], default []breastFeedingStartDatestringYYYY-MM-DD
creatinineClearanceMlMinnumber, 1 to 300dateOfBirthstringYYYY-MM-DD
genderstringOne of MALE, FEMALE, UNKNOWN
heightCmnumber, 30 to 250hepaticInsufficiencystringOne of NONE, MODERATE, SEVERE
pathologyUrisstring[], default []weeksOfAmenorrheanumber, 0 to 60weightKgnumber, 0.1 to 300