Skip to content

Commit

Permalink
(fix) remove calc expression for UAN in family members during edit/vi…
Browse files Browse the repository at this point in the history
…ew mode
  • Loading branch information
aman-icap committed Aug 16, 2024
1 parent 0f9f594 commit 728dc52
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/forms/family-members.json
Original file line number Diff line number Diff line change
Expand Up @@ -635,13 +635,30 @@
{
"label": "Unique ART Number",
"type": "obs",
"readonly": true,
"questionOptions": {
"rendering": "text",
"calculate": {
"calculateExpression": "getIdentifier(patient, 'UAN')"
},
"concept": "162054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
},
"behaviours": [
{
"intent": "edit",
"questionOptions": {
"rendering": "text",
"concept": "162054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
}
},
{
"intent": "view",
"questionOptions": {
"rendering": "text",
"concept": "162054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
}
}
],
"hide": {
"hideWhenExpression": "artStarted !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
},
Expand Down

0 comments on commit 728dc52

Please sign in to comment.