Skip to content

Commit

Permalink
Correct ScCr in screening
Browse files Browse the repository at this point in the history
  • Loading branch information
melkam-mekonnen committed Jul 30, 2024
1 parent 76dac78 commit bc847ae
Showing 1 changed file with 36 additions and 12 deletions.
48 changes: 36 additions & 12 deletions src/forms/pre-exposure-screening.json
Original file line number Diff line number Diff line change
Expand Up @@ -364,21 +364,45 @@
{
"label": "ScCr",
"type": "obs",
"required": false,
"id": "creatinineLevel",
"questionOptions": {
"rendering": "number",
"concept": "164364AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"conceptMappings": [
"rendering": "text",
"concept": "5f39ac9e-7338-4a79-8b40-58dbef9debb0",
"conceptMappings": [
{
"type": "CIEL",
"value": "790"
},
{
"type": "SNOMED-CT",
"value": "113075003"
},
{
"type": "LOINC",
"value": "14682-9"
},
{
"type": "AMPATH",
"value": "790"
},
{
"type": "AMPATH",
"value": "790"
},
{
"type": "CIEL",
"value": "790"
}
]
},
"validators": [
{
"relationship": "SAME-AS",
"type": "CIEL",
"value": "164364"
"type": "js_expression",
"failsWhenExpression": "!/^(0|[1-9]\\d*)(\\.\\d+)?$/.test(myValue)",
"message": "ScCr should be a numeric value"
}
]
},
"validators": []
},
],
"id": "creatinineLevel"
},
{
"label": "eGFR",
"type": "obs",
Expand Down

0 comments on commit bc847ae

Please sign in to comment.