Skip to content

Commit

Permalink
Changed temperature into a text field
Browse files Browse the repository at this point in the history
  • Loading branch information
melkam-mekonnen committed Sep 4, 2024
1 parent 7dc476d commit a945c1f
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions src/forms/intake-b.json
Original file line number Diff line number Diff line change
Expand Up @@ -1155,16 +1155,20 @@
{
"label": "Temperature (in degree Celsius)",
"type": "obs",
"required": false,
"questionOptions": {
"rendering": "number",
"concept": "5088AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"max": 43,
"min": 25,
"showDate": ""

"rendering": "text",
"concept": "9ce234b3-bafc-4e82-9709-34b0cb6b7d85"
},
"validators": [
{
"type": "js_expression",
"failsWhenExpression": "!/^(0|[1-9]\\d*)(\\.\\d+)?$/.test(myValue)",
"message": "Temperature should be a numeric value"
}
],
"id": "temperature"
},
},
{
"label": "PULSE/Heart Rate (per minute)",
"type": "obs",
Expand Down

0 comments on commit a945c1f

Please sign in to comment.