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-288: Configured Vitals and Anthropometry form to match original HSC form. #9

Merged
merged 5 commits into from
Sep 23, 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
24 changes: 24 additions & 0 deletions configs/openmrs/frontend_config/ozone-frontend-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -261,5 +261,29 @@
]
},
"disableChangingVisitLocation": true
},
"@openmrs/esm-patient-vitals-app": {
"concepts": {
"systolicBloodPressureUuid": "bc4f2e44-26b0-4f5f-a98f-248601fdf792",
"diastolicBloodPressureUuid": "8bc4016d-88ee-43dc-a943-ad10b8bb211e",
"pulseUuid": "0b9e358e-c9cf-439e-8c00-69f873cec59f",
"temperatureUuid": "0ff962b3-8730-4eb0-9028-82d403b066bf",
"oxygenSaturationUuid": "c642aeb3-95d3-4d1b-aa5b-1273b438d14f",
"heightUuid": "5090AAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"weightUuid": "5089AAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"respiratoryRateUuid": "8130729f-4605-49b3-b7c0-12b19cc10543",
"midUpperArmCircumferenceUuid": "string"
},
"vitals": {
"useFormEngine": true,
"formName": "Vitals and Biometrics",
"formUuid": "895f7868-ca3f-33bb-9336-20f1daf461b3",
"encounterTypeUuid": "a7feb1a0-4bd8-48d1-acfd-ce282d139f06"
},
"biometrics": {
"bmiUnit": "kg / m²",
"heightUnit": "cm",
"weightUnit": "kg"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,239 @@
{
"name": "Vitals and Biometrics",
"pages": [
{
"label": "Vitals",
"sections": [
{
"label": "Vital Signs",
"isExpanded": "true",
"questions": [
{
"label": "Pain Scale",
"type": "obs",
"required": false,
"id": "painScale",
"questionOptions": {
"rendering": "number",
"concept": "3fe6460f-3d37-463e-9fb9-df42ab15aec8",
"disallowDecimals": true
},
"validators": []
},
{
"label": "Pulse (beats/min)",
"type": "obs",
"required": false,
"id": "pulseTest",
"questionOptions": {
"rendering": "number",
"concept": "0b9e358e-c9cf-439e-8c00-69f873cec59f",
"conceptMappings": [
{
"relationship": "SAME-AS",
"type": "CIEL",
"value": "5087"
}
],
"answers": []
}
},
{
"label": "Temperature",
"type": "obs",
"required": false,
"id": "temperatureTest",
"questionOptions": {
"rendering": "number",
"concept": "0ff962b3-8730-4eb0-9028-82d403b066bf",
"conceptMappings": [
{
"relationship": "SAME-AS",
"type": "CIEL",
"value": "5088"
}
],
"answers": []
}
},
{
"label": "Respiratory Rate (breaths/min)",
"type": "obs",
"required": false,
"id": "respiratoryRate",
"questionOptions": {
"rendering": "number",
"concept": "8130729f-4605-49b3-b7c0-12b19cc10543",
"conceptMappings": [
{
"relationship": "SAME-AS",
"type": "CIEL",
"value": "5242"
}
],
"disallowDecimals": true
},
"validators": []
},
{
"label": "Oxygen Saturation (%)",
"type": "obs",
"required": false,
"id": "oxygenSaturation",
"questionOptions": {
"rendering": "number",
"concept": "c642aeb3-95d3-4d1b-aa5b-1273b438d14f",
"conceptMappings": [
{
"relationship": "SAME-AS",
"type": "CIEL",
"value": "5092"
}
],
"disallowDecimals": true
},
"validators": []
}
]
},
{
"label": "Blood Pressure Set",
"isExpanded": "true",
"questions": [
{
"label": "Systolic Blood Pressure (mmHg)",
"type": "obs",
"required": false,
"id": "systolicBloodPressure",
"questionOptions": {
"rendering": "number",
"concept": "bc4f2e44-26b0-4f5f-a98f-248601fdf792",
"conceptMappings": [
{
"relationship": "SAME-AS",
"type": "CIEL",
"value": "5085"
}
]
}
},
{
"label": "Diastolic Blood Pressure (mmHg)",
"type": "obs",
"required": false,
"id": "diastolicBloodPressure",
"questionOptions": {
"rendering": "number",
"concept": "8bc4016d-88ee-43dc-a943-ad10b8bb211e",
"conceptMappings": [
{
"relationship": "SAME-AS",
"type": "CIEL",
"value": "5086"
}
],
"disallowDecimals": true
},
"validators": []
}
]
}
]
},
{
"label": "Biometrics",
"sections": [
{
"label": "Anthropometry",
"isExpanded": "true",
"questions": [
{
"label": "Height (cm)",
"type": "obs",
"required": false,
"id": "height",
"questionOptions": {
"rendering": "number",
"concept": "5090AAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"conceptMappings": [
{
"relationship": "SAME-AS",
"type": "CIEL",
"value": "5090"
}
]
},
"validators": []
},
{
"label": "Weight (kg)",
"type": "obs",
"required": false,
"id": "weight",
"questionOptions": {
"rendering": "number",
"concept": "5089AAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"conceptMappings": [
{
"relationship": "SAME-AS",
"type": "CIEL",
"value": "5089"
}
]
},
"validators": []
},
{
"label": "Head Circumference (cm)",
"type": "obs",
"required": false,
"id": "headCircumference",
"questionOptions": {
"rendering": "number",
"concept": "09313648-8ba0-4480-a3a3-efe2d3b8a769"
},
"validators": []
},
{
"label": "Abdominal Diameter (cm)",
"type": "obs",
"required": false,
"id": "abdominalDiameter",
"questionOptions": {
"rendering": "number",
"concept": "f95a4f13-80f0-4254-a1f2-bc06aea4c9c9"
},
"validators": []
},
{
"label": "Mid-Upper Arm Circumference (cm)",
"type": "obs",
"required": false,
"id": "midUpperArmCircumference",
"questionOptions": {
"rendering": "number",
"concept": "f074942b-666b-4ca3-9f0e-1103128b3ae2",
"conceptMappings": [
{
"relationship": "SAME-AS",
"type": "CIEL",
"value": "1343"
}
]
}
}
]
}
]
}
],
"processor": "EncounterFormProcessor",
"encounterType": "a7feb1a0-4bd8-48d1-acfd-ce282d139f06",
"encounter": "REG",
"referencedForms": [],
"uuid": "895f7868-ca3f-33bb-9336-20f1daf461b3",
"description": "Vitals and Biometrics",
"version": "1",
"published": true,
"retired": false
}
Loading