Skip to content

Commit

Permalink
Merge pull request #848 from synthetichealth/hypertension_meds
Browse files Browse the repository at this point in the history
Hypertension medication module: fix medication tagged as condition and remove redundant logic
  • Loading branch information
dehall authored Feb 9, 2021
2 parents 6435165 + ed5f6e2 commit e15dc21
Showing 1 changed file with 11 additions and 47 deletions.
58 changes: 11 additions & 47 deletions src/main/resources/modules/medications/hypertension_medication.json
Original file line number Diff line number Diff line change
Expand Up @@ -221,34 +221,19 @@
"complex_transition": [
{
"condition": {
"condition_type": "And",
"condition_type": "Or",
"conditions": [
{
"condition_type": "Or",
"conditions": [
{
"condition_type": "Attribute",
"attribute": "microalbuminuria",
"operator": "==",
"value": true
},
{
"condition_type": "Attribute",
"attribute": "proteinuria",
"operator": "==",
"value": true
}
]
"condition_type": "Attribute",
"attribute": "microalbuminuria",
"operator": "==",
"value": true
},
{
"condition_type": "Active Medication",
"codes": [
{
"system": "RxNorm",
"code": 310798,
"display": "Hydrochlorothiazide 25 MG Oral Tablet"
}
]
"condition_type": "Attribute",
"attribute": "proteinuria",
"operator": "==",
"value": true
}
]
},
Expand Down Expand Up @@ -277,27 +262,6 @@
}
]
},
{
"condition": {
"condition_type": "Or",
"conditions": [
{
"condition_type": "Attribute",
"attribute": "microalbuminuria",
"operator": "==",
"value": true
},
{
"condition_type": "Attribute",
"attribute": "proteinuria",
"operator": "==",
"value": true
}
]
},
"distributions": [],
"transition": "Lisinopril_2"
},
{
"distributions": [
{
Expand Down Expand Up @@ -961,10 +925,10 @@
},
{
"condition": {
"condition_type": "Active Condition",
"condition_type": "Active Medication",
"codes": [
{
"system": "SNOMED-CT",
"system": "RxNorm",
"code": 308136,
"display": "amLODIPine 2.5 MG Oral Tablet"
}
Expand Down

0 comments on commit e15dc21

Please sign in to comment.