v0.5.1
Pre-release
Pre-release
Changes on this release
medications
support in the rules
A sample rule conditions with medications
:
{
"category": "hypertension, on medication",
"definition": "high blood pressure, on medication",
"conditions": [
{
"medications": {
"anti-hypertensive": true
},
"diabetes": false,
"age": {
"from": 41
},
"sbp": {
"from": 141,
"unit": "mmHg"
},
"target": "120/80"
},
{
"medications": {
"anti-hypertensive": true
},
"diabetes": false,
"dbp": {
"from": 91,
"unit": "mmHg"
},
"target": "120/80"
}
],
"code": "BP-HTN-ON-MEDICATION"
}
The medications
object can hold the following values:
"medications": {
"anti-hypertensive": true,
"oral-hypoglycaemic": true,
"insulin": true,
"lipid-lowering": true,
"anti-platelet": true,
"anti-coagulant": true,
"bronchodilator": true
}
You can provide input like this for medication:
"medications": [
{
"generic": "rampiril",
"category": "anti-hypertensive",
"class": ""
}
],