Skip to content

Commit

Permalink
added fix to prevent the crash.
Browse files Browse the repository at this point in the history
  • Loading branch information
Santosh Pingle committed Feb 5, 2025
1 parent 66e14ea commit 39235ad
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 12 deletions.
2 changes: 1 addition & 1 deletion catalog/src/main/assets/component_auto_complete.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
},
{
"valueCoding": {
"code": "hypertension",
"code": "hbp",
"display": "High Blood Pressure"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,26 @@
"type": "choice",
"repeats": true,
"required": true,
"item": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/questionnaire-display-category",
"code": "instructions"
}
]
}
}
],
"linkId": "instruction",
"text": "Try typing Asthma, Chronic Lung Disease, Depression, Diabetes, Hypertension, High Blood Pressure, or High Cholesterol",
"type": "display"
}
],
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
Expand All @@ -27,7 +47,8 @@
"valueCoding": {
"code": "asthma",
"display": "Asthma"
}
},
"initialSelected": true
},
{
"valueCoding": {
Expand Down Expand Up @@ -55,7 +76,7 @@
},
{
"valueCoding": {
"code": "hypertension",
"code": "hbp",
"display": "High Blood Pressure"
}
},
Expand All @@ -65,13 +86,7 @@
"display": "High Cholesterol"
}
}
],
"initial": {
"valueCoding": {
"code": "asthma",
"display": "Asthma"
}
}
]
}
]
}
4 changes: 2 additions & 2 deletions catalog/src/main/assets/component_help.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
}
}
],
"linkId": "1.3",
"linkId": "1.1",
"text": "Select one",
"type": "display"
},
Expand All @@ -69,7 +69,7 @@
}
}
],
"linkId": "1.3",
"linkId": "1.2",
"text": "Only one answer can be selected. If none apply, skip the question.",
"type": "display"
}
Expand Down

0 comments on commit 39235ad

Please sign in to comment.