Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HSC-287: Configured Clinical Forms #4

Merged
merged 4 commits into from
Aug 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion configs/openmrs/frontend_config/ozone-frontend-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
{
"id": "email",
"type": "person attribute",
"uuid": "088845f0-3e91-11ef-a5a8-0242ac150005",
"uuid": "b18d72ff-5e26-11ef-b14e-0242ac150002",
"placeholder": "placeholder"
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,11 @@
}
],
"processor": "EncounterFormProcessor",
"encounterType": "dd528487-82a5-4082-9c72-ed246bd49591",
"encounter": "Consultation",
"referencedForms": [],
"uuid": "5512c4aa-b983-4cac-8fa1-de143267719f",
"description": "Anthropométrie",
"version": "1"
"version": "1",
"published": true,
"retired": false
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"name": "Suivi d’urgences",
"pages": [
{
"label": "Suivi d’urgences",
"sections": [
{
"label": "Emergency",
"isExpanded": "true",
"questions": [
{
"label": "Date / Time ",
"type": "encounterDatetime",
"required": false,
"id": "dateTime",
"datePickerFormat": "both",
"questionOptions": {
"rendering": "date"
}
},
{
"label": "Action taken",
"type": "obs",
"required": false,
"id": "actionTaken",
"questionOptions": {
"rendering": "textarea",
"concept": "7d15e31b-021f-9f99-50e6-50ace62f3962",
"conceptMappings": [
{
"relationship": "SAME-AS",
"type": "CIEL",
"value": "164378"
}
]
},
"validators": []
},
{
"label": "Observations",
"type": "obs",
"required": false,
"id": "observations",
"questionOptions": {
"rendering": "textarea",
"concept": "4d1f668f-f9b7-4e95-8436-53f37e8c643e"
},
"validators": []
}
]
}
]
}
],
"processor": "EncounterFormProcessor",
"encounter": "Consultation",
"referencedForms": [],
"uuid": "b11bef46-cb83-47b1-90b7-75ac5dd629e3",
"description": "Suivi d’urgences",
"version": "1",
"published": true,
"retired": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@
}
],
"processor": "EncounterFormProcessor",
"encounterType": "dd528487-82a5-4082-9c72-ed246bd49591",
"encounter": "Consultation",
"referencedForms": [],
"uuid": "d1f43dba-e483-4ded-aedf-40f84de577a2",
"description": "Echographie gynécologique",
"version": "1"
"version": "1",
"published": true,
"retired": false
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"name": "Moyen de transport",
"pages": [
{
"label": "Moyen de transport",
"sections": [
{
"label": "Moyen de transport",
"isExpanded": "true",
"questions": [
{
"label": "Moyen de transport",
"type": "obs",
"required": false,
"id": "moyenDeTransport",
"questionOptions": {
"rendering": "radio",
"concept": "f83eeb93-703a-4dd5-bd95-51a6580b4065",
"answers": [
{
"concept": "8e84e437-35fa-4d31-8be9-9aa999f1ff94",
"label": "Ambulated"
},
{
"concept": "0b290aeb-b4f6-4b37-b114-e7ce2e4c304c",
"label": "Car"
},
{
"concept": "7a5b55b6-4617-42b9-808c-82116a259a6e",
"label": "Minibus"
},
{
"concept": "26c0366b-83e4-4401-9699-e545219b8870",
"label": "Other"
}
]
},
"validators": []
},
{"hide": {
"hideWhenExpression": "isEmpty(moyenDeTransport) || moyenDeTransport !== '26c0366b-83e4-4401-9699-e545219b8870'"
},
"label": "Other observations",
"type": "obs",
"required": false,
"id": "otherObservations",
"questionOptions": {
"rendering": "textarea",
"concept": "4d1f668f-f9b7-4e95-8436-53f37e8c643e"
},
"validators": []
}
]
}
]
}
],
"processor": "EncounterFormProcessor",
"encounter": "Consultation",
"referencedForms": [],
"uuid": "e2d88e5b-6391-4dda-ac2f-4b48b2d1e86b",
"description": "Moyen de transport",
"version": "1",
"published": true,
"retired": false
}
Loading
Loading