-
Notifications
You must be signed in to change notification settings - Fork 302
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor Auto complete widget (#1398)
* Refactor Auto complete widget * Removed FlexBox layout gradle dependency * Review change, show error message * Fixed failing test
- Loading branch information
Showing
9 changed files
with
199 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
{ | ||
"meta": { | ||
"profile": [ | ||
"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire|2.7" | ||
] | ||
}, | ||
"status": "draft", | ||
"resourceType": "Questionnaire", | ||
"item": [ | ||
{ | ||
"type": "choice", | ||
"code": [], | ||
"extension": [ | ||
{ | ||
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", | ||
"valueCodeableConcept": { | ||
"coding": [ | ||
{ | ||
"system": "http://hl7.org/fhir/questionnaire-item-control", | ||
"code": "autocomplete", | ||
"display": "Auto-complete" | ||
} | ||
], | ||
"text": "Auto-complete" | ||
} | ||
} | ||
], | ||
"required": true, | ||
"repeats": true, | ||
"linkId": "1", | ||
"text": "Do you have any existing conditions", | ||
"answerOption": [ | ||
{ | ||
"valueCoding": { | ||
"code": "asthma", | ||
"display": "Asthma" | ||
} | ||
}, | ||
{ | ||
"valueCoding": { | ||
"code": "copd", | ||
"display": "Chronic Lung Disease" | ||
} | ||
}, | ||
{ | ||
"valueCoding": { | ||
"code": "depression", | ||
"display": "Depression" | ||
} | ||
}, | ||
{ | ||
"valueCoding": { | ||
"code": "t2dm", | ||
"display": "Diabetes" | ||
} | ||
}, | ||
{ | ||
"valueCoding": { | ||
"code": "hypertension", | ||
"display": "Hypertension" | ||
} | ||
}, | ||
{ | ||
"valueCoding": { | ||
"code": "hypertension", | ||
"display": "High Blood Pressure" | ||
} | ||
}, | ||
{ | ||
"valueCoding": { | ||
"code": "hypercholesterolaemia", | ||
"display": "High Cholesterol" | ||
} | ||
} | ||
], | ||
"initial": { | ||
"valueCoding": { | ||
"code": "asthma", | ||
"display": "Asthma" | ||
} | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.