Skip to content

Commit

Permalink
U4X-645: Modifying the VL test order functionality on clinical assess…
Browse files Browse the repository at this point in the history
…ment form (mohuganda#554)
  • Loading branch information
Daphne210 authored Jul 10, 2024
1 parent f94e32a commit 39a34c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -955,24 +955,18 @@
"id": "testsOrdered",
"type": "testOrder",
"questionOptions": {
"rendering": "repeating",
"rendering": "select",
"orderSettingUuid": "INPATIENT",
"orderType": "testorder",
"selectableOrders": [
"answers": [
{
"concept": "1eb05918-f50c-4cad-a827-3c78f296a10a",
"label": "VL",
"conceptMappings": []
}
]
},
"validators": [
{
"type": "js_expression",
"failsWhenExpression": "testsOrdered.map(test => test.concept).filter(item => item === '1eb05918-f50c-4cad-a827-3c78f296a10a').length > 1",
"message": "You cannot add 'VL' more than once."
}
]
"validators": []
},
{
"label": "Indication for viral load testing",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "HMIS LAB 001:GENERAL LABORATORY TEST REQUEST FORM",
"name": "HMIS LAB 001:General Laboratory Test Request Form",
"version": "4.0.0",
"description": "A request for Lab test to Lab",
"encounterType": "cbf01392-ca29-11e9-a32f-2a2ae2dbcce4",
Expand Down

0 comments on commit 39a34c0

Please sign in to comment.