Skip to content

Commit

Permalink
Merge pull request #35 from kajambiya/dev
Browse files Browse the repository at this point in the history
add ui-select-extended test form
  • Loading branch information
alaboso authored Jul 12, 2023
2 parents 6e07b68 + 42f272c commit 5ec379b
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 0 deletions.
64 changes: 64 additions & 0 deletions distro/configuration/ampathforms/ui_select_extended_test_v1.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"name": "UI-Select-Extended Test",
"version": "1.0",
"published": true,
"retired": false,
"encounter": "UI select extended test",
"pages": [
{
"label": "Page 1",
"sections": [
{
"label": "Section 1",
"isExpanded": "true",
"questions": [
{
"label": "Test Text",
"type": "obs",
"required": false,
"id": "test_text",
"questionOptions": {
"rendering": "text",
"concept": "161011AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"conceptMappings": [
{
"relationship": "SAME-AS",
"type": "CIEL",
"value": "161011"
}
],
"answers": []
},
"validators": []
},
{
"label": "Provider",
"type": "obs",
"id": "encounter_provider",
"questionOptions": {
"concept": "5619AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"rendering": "ui-select-extended",
"datasource": "encounter-provider"
},
"behaviours":[
{
"intent":"*",
"required":"true",
"unspecified":"true",
"hide":{
"hideWhenExpression":"false"
}
}
]
}
]
}
]
}
],
"processor": "EncounterFormProcessor",
"encounterType": "111c2104-991d-4b58-a30e-ce84bb275534",
"referencedForms": [],
"uuid": "4ba0e45a-a614-4b90-9b77-2b7ee26380bb",
"description": "Test"
}
1 change: 1 addition & 0 deletions distro/configuration/encountertypes/encountertypes.csv
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ a221448d-512b-4750-84bf-d29be9f802b3,,HIV Program Status,To hold computed Obs fo
6dc5308d-27c9-4d49-b16f-2c5e3c759757,,Labor and Delivery,Labor and delivery visit by a mother,,,
4362fd2d-1866-4ea0-84ef-5e5da9627440,,Postnatal,Post natal visit by a mother,,,
f3d92c68-27e3-4395-b002-5db5f3ca4ef7,,HIV Exposed Infant,HIV Exposed Infant encounter,,,
f9b52289-3d6d-4a87-ae45-d014d64c8693,,UI select extended test,UI select extended test,,,

0 comments on commit 5ec379b

Please sign in to comment.