Skip to content

Commit 9ac69ef

Browse files
committed
Update hide logic in clinical visit form
1 parent 96dff0b commit 9ac69ef

File tree

1 file changed

+8
-22
lines changed

1 file changed

+8
-22
lines changed

configuration/backend_configuration/ampathforms/DRC Clinical Visit Form v2.2.json

Lines changed: 8 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3558,10 +3558,7 @@
35583558
}
35593559
]
35603560
},
3561-
"id": "evaluateForTPT",
3562-
"hide": {
3563-
"hideWhenExpression": "onTBRx === '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || previousTPT !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
3564-
}
3561+
"id": "evaluateForTPT"
35653562
},
35663563
{
35673564
"label": "Tuberculosis prophylaxis plan",
@@ -3731,7 +3728,7 @@
37313728
}
37323729
],
37333730
"hide": {
3734-
"hideWhenExpression": "evaluateForTPT !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || onTBRx === '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || previousTPT !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
3731+
"hideWhenExpression": "evaluateForTPT !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
37353732
},
37363733
"id": "tptProphylaxisPlan"
37373734
},
@@ -3781,7 +3778,7 @@
37813778
}
37823779
],
37833780
"hide": {
3784-
"hideWhenExpression": "tptProphylaxisPlan !== '1256AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || onTBRx === '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || previousTPT !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
3781+
"hideWhenExpression": "tptProphylaxisPlan !== '1256AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
37853782
},
37863783
"id": "currentTPTRegimen"
37873784
},
@@ -3801,9 +3798,6 @@
38013798
"value": "162320"
38023799
}
38033800
]
3804-
},
3805-
"hide": {
3806-
"hideWhenExpression": "onTBRx === '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || previousTPT !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
38073801
}
38083802
},
38093803
{
@@ -3890,7 +3884,7 @@
38903884
}
38913885
],
38923886
"hide": {
3893-
"hideWhenExpression": "tptProphylaxisPlan !== '1257AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || onTBRx === '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || previousTPT !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
3887+
"hideWhenExpression": "tptProphylaxisPlan !== '1257AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
38943888
},
38953889
"id": "tptAdherence"
38963890
},
@@ -3910,9 +3904,6 @@
39103904
"value": "163284"
39113905
}
39123906
]
3913-
},
3914-
"hide": {
3915-
"hideWhenExpression": "onTBRx === '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || previousTPT !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
39163907
}
39173908
},
39183909
{
@@ -4046,19 +4037,14 @@
40464037
}
40474038
],
40484039
"hide": {
4049-
"hideWhenExpression": "tptProphylaxisPlan !== '1260AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || onTBRx === '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || previousTPT !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
4040+
"hideWhenExpression": "tptProphylaxisPlan !== '1260AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
40504041
},
40514042
"id": "reasonTptStopped"
40524043
}
40534044
],
4054-
"behaviours": [
4055-
{
4056-
"intent": "*",
4057-
"hide": {
4058-
"hideWhenExpression": "onTBRx === '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || previousTPT !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
4059-
}
4060-
}
4061-
]
4045+
"hide": {
4046+
"hideWhenExpression": "onTBRx === '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' || previousTPT !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
4047+
}
40624048
},
40634049
{
40644050
"label": "Treatment of TB",

0 commit comments

Comments
 (0)