Skip to content

Commit

Permalink
UAN concept updates on forms
Browse files Browse the repository at this point in the history
  • Loading branch information
melkam-mekonnen committed Aug 1, 2024
1 parent cd0fea3 commit 953ed38
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 49 deletions.
57 changes: 22 additions & 35 deletions src/forms/hei-enrollment.json
Original file line number Diff line number Diff line change
Expand Up @@ -940,29 +940,23 @@
]
},
{
"label": "Unique ART number",
"type": "obs",
"required": false,
"id": "artNumber",
"questionOptions": {
"rendering": "text",
"concept": "164402AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"conceptMappings": [
{
"relationship": "SAME-AS",
"type": "CIEL",
"value": "164402"
}
],
"label": "Unique ART number",
"type": "obs",
"questionOptions": {
"rendering": "text",
"calculate": {
"calculateExpression": "getIdentifier(patient, 'UAN')"
},
"concept": "162054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"hide": {
"hideWhenExpression": "mothersPmtct !== '1a259ed4-15b5-4e23-8382-972f89be84c8'"
}
},
},
"hide": {
"hideWhenExpression": "mothersStatus != '6691e136-0289-4d2f-80bf-50ec816e121a'"
},
"validators": []
}
"id": "artNumber"
}
]
},
{
Expand Down Expand Up @@ -1067,27 +1061,20 @@
"validators": []
},
{
"label": "If on ART, Unique ART number",
"type": "obs",
"required": false,
"id": "ifOnArt",
"label": "If on ART, Unique ART number",
"type": "obs",
"questionOptions": {
"rendering": "text",
"calculate": {
"calculateExpression": "getIdentifier(patient, 'UAN')"
},
"concept": "162054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
},
"hide": {
"hideWhenExpression": "ifPositive != '95daa4f8-b45d-4dee-b5d0-5f9446d22c19' || fathersStatus == '160432AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
},
"questionOptions": {
"rendering": "text",
"concept": "164402AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"conceptMappings": [
{
"relationship": "SAME-AS",
"type": "CIEL",
"value": "164402"
}
],
"answers": []
},
"validators": []
}
"id": "ifOnArt"
}
]
},
{
Expand Down
21 changes: 7 additions & 14 deletions src/forms/pre-exposure-screening.json
Original file line number Diff line number Diff line change
Expand Up @@ -1825,22 +1825,15 @@
{
"label": "Unique identification code (UIC)",
"type": "obs",
"required": false,
"id": "uniqueIdentificaitonCode",
"questionOptions": {
"rendering": "number",
"concept": "164402AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"conceptMappings": [
{
"relationship": "SAME-AS",
"type": "CIEL",
"value": "164402"
}
],
"answers": []
"rendering": "text",
"calculate": {
"calculateExpression": "getIdentifier(patient, 'UAN')"
},
"concept": "162054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
},
"validators": []
}
"id": "uniqueIdentificaitonCode"
}
]
}
]
Expand Down

0 comments on commit 953ed38

Please sign in to comment.