Skip to content

Commit

Permalink
Dev -> working merge (#113)
Browse files Browse the repository at this point in the history
* Added PTracker Never received ARV prophylaxis[en] concept

* OHRI-1893: Enable the Clinical visit form to save (#111)

* Updated the Clinical visit- radio to toggle

* OHRI-1850:Enable the Clinical visit form to save

* OHRI-1850:Enable the Clinical visit form to save- updating a label

---------

Co-authored-by: Amos Laboso <alaboso@uonbi.ac.ke>
Co-authored-by: lucyjemutai <130601439+lucyjemutai@users.noreply.github.com>
  • Loading branch information
3 people authored Nov 1, 2023
1 parent 1bd2053 commit dbdcff8
Show file tree
Hide file tree
Showing 2 changed files with 122 additions and 75 deletions.
197 changes: 122 additions & 75 deletions distro/configuration/ampathforms/ct_clinical_visit_v2.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -9104,101 +9104,148 @@
"questions": [
{
"label": "CD4 Lab Results",
"type": "obs",
"type": "obsGroup",
"id": "cd4ResultObsGroup",
"questionOptions": {
"rendering": "radio",
"concept": "2dbf01ab-77f6-4b35-aa2c-46dfc14b0af0",
"conceptMappings": [
{
"type": "OCT",
"value": "LabOrdered"
}
],
"answers": [
{
"concept": "cf82933b-3f3f-45e7-a5ab-5d31aaee3da3",
"label": "Yes",
"rendering": "group",
"concept": "c731a01e-7268-11ee-b962-0242ac120002",
"conceptMappings": []
},
"questions": [
{
"label": "CD4 Lab Results",
"type": "obs",
"questionOptions": {
"rendering": "toggle",
"concept": "9674e958-7269-11ee-b962-0242ac120002",
"toggleOptions": {
"labelTrue": "Yes",
"labelFalse": "No"
},
"conceptMappings": [
{
"type": "CIEL",
"value": "1065"
},
{
"type": "AMPATH",
"value": "1065"
},
{
"type": "PIH",
"value": "1065"
},
{
"type": "SNOMED CT",
"value": "CT: 373066001"
"type": "OCT",
"value": "LabOrdered"
}
]
},
{
"concept": "488b58ff-64f5-4f8a-8979-fa79940b1594",
"label": "No",
"conceptMappings": []
}
]
},
"id": "cd4LabResultsToggle",
"behaviours": [
"id": "cd4LabResultsToggle",
"behaviours": [
{
"intent": "*",
"required": "false"
}
]
},
{
"intent": "*",
"required": "false"
"label": "Which form was filled?",
"type": "obs",
"questionOptions": {
"rendering": "fixed-value",
"concept": "5ac76d80-726a-11ee-b962-0242ac120002",
"conceptMappings": []
},
"id": "cd4Lab",
"behaviours": [
{
"intent": "*",
"hide": {
"hideWhenExpression": "false"
},
"value": "CD4 Lab Result"
}
]
}
]
},
}
]
},
{
"label": "Viral Lab Results",
"isExpanded": "true",
"questions": [
{
"label": "Viral Lab Results",
"type": "obs",
"type": "obsGroup",
"id": "viralLabResultObsGroup",
"questionOptions": {
"rendering": "radio",
"concept": "2dbf01ab-77f6-4b35-aa2c-46dfc14b0af0",
"conceptMappings": [
{
"type": "OCT",
"value": "LabOrdered"
}
],
"answers": [
{
"concept": "cf82933b-3f3f-45e7-a5ab-5d31aaee3da3",
"label": "Yes",
"rendering": "group",
"concept": "c731a01e-7268-11ee-b962-0242ac120002",
"conceptMappings": []
},
"questions": [
{
"label": "Viral Lab Results",
"type": "obs",
"questionOptions": {
"rendering": "toggle",
"concept": "9674e958-7269-11ee-b962-0242ac120002",
"toggleOptions": {
"labelTrue": "Yes",
"labelFalse": "No"
},
"conceptMappings": [
{
"type": "CIEL",
"value": "1065"
},
{
"type": "AMPATH",
"value": "1065"
},
"type": "OCT",
"value": "LabOrdered"
}
],
"answers": [
{
"type": "PIH",
"value": "1065"
"concept": "cf82933b-3f3f-45e7-a5ab-5d31aaee3da3",
"label": "Yes",
"conceptMappings": [
{
"type": "CIEL",
"value": "1065"
},
{
"type": "AMPATH",
"value": "1065"
},
{
"type": "PIH",
"value": "1065"
},
{
"type": "SNOMED CT",
"value": "CT: 373066001"
}
]
},
{
"type": "SNOMED CT",
"value": "CT: 373066001"
"concept": "488b58ff-64f5-4f8a-8979-fa79940b1594",
"label": "No",
"conceptMappings": []
}
]
},
{
"concept": "488b58ff-64f5-4f8a-8979-fa79940b1594",
"label": "No",
"conceptMappings": []
}
]
},
"id": "viralLabResultsToggle",
"behaviours": [
"id": "viralLabResultsToggle",
"behaviours": [
{
"intent": "*",
"required": "false"
}
]
},
{
"intent": "*",
"required": "false"
"label": "Which form was filled?",
"type": "obs",
"questionOptions": {
"rendering": "fixed-value",
"concept": "5ac76d80-726a-11ee-b962-0242ac120002",
"conceptMappings": []
},
"id": "viralLoad",
"behaviours": [
{
"intent": "*",
"hide": {
"hideWhenExpression": "false"
},
"value": "Viral Load Lab Result"
}
]
}
]
}
Expand All @@ -9224,7 +9271,7 @@
"behaviours": [
{
"intent": "*",
"hide": {
"hide": {
"hideWhenExpression": "cd4LabResultsToggle == '488b58ff-64f5-4f8a-8979-fa79940b1594'"
}
}
Expand Down
Binary file not shown.

0 comments on commit dbdcff8

Please sign in to comment.