-
Notifications
You must be signed in to change notification settings - Fork 250
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into add-sync-test-cases
- Loading branch information
Showing
748 changed files
with
41,149 additions
and
1,500 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
77 changes: 77 additions & 0 deletions
77
catalog/src/main/assets/auto_complete_with_validation_questionnaire.json
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,77 @@ | ||
{ | ||
"resourceType": "Questionnaire", | ||
"item": [ | ||
{ | ||
"linkId": "1", | ||
"text": "Do you have any existing conditions", | ||
"type": "choice", | ||
"repeats": true, | ||
"required": true, | ||
"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" | ||
} | ||
} | ||
], | ||
"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" | ||
} | ||
} | ||
} | ||
] | ||
} |
24 changes: 24 additions & 0 deletions
24
catalog/src/main/assets/date_picker_with_validation_questionnaire.json
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,24 @@ | ||
{ | ||
"resourceType": "Questionnaire", | ||
"item": [ | ||
{ | ||
"linkId": "1", | ||
"text": "When was your last menstrual period? (LMP)", | ||
"type": "date", | ||
"required": true, | ||
"extension": [ | ||
{ | ||
"url": "http://hl7.org/fhir/StructureDefinition/entryFormat", | ||
"valueString": "yyyy-mm-dd" | ||
} | ||
], | ||
"item": [ | ||
{ | ||
"linkId": "1-most-recent", | ||
"text": "First day of most recent period", | ||
"type": "display" | ||
} | ||
] | ||
} | ||
] | ||
} |
11 changes: 11 additions & 0 deletions
11
catalog/src/main/assets/date_time_with_validation_questionnaire.json
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,11 @@ | ||
{ | ||
"resourceType": "Questionnaire", | ||
"item": [ | ||
{ | ||
"linkId": "1", | ||
"text": "What date and time was the ultrasound?", | ||
"type": "dateTime", | ||
"required": true | ||
} | ||
] | ||
} |
86 changes: 86 additions & 0 deletions
86
catalog/src/main/assets/dropdown_with_validation_questionnaire.json
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,86 @@ | ||
{ | ||
"resourceType": "Questionnaire", | ||
"item": [ | ||
{ | ||
"linkId": "1", | ||
"type": "choice", | ||
"extension": [ | ||
{ | ||
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", | ||
"valueCodeableConcept": { | ||
"coding": [ | ||
{ | ||
"system": "http://hl7.org/fhir/questionnaire-item-control", | ||
"code": "drop-down", | ||
"display": "Drop down" | ||
} | ||
], | ||
"text": "Drop down" | ||
} | ||
} | ||
], | ||
"text": "Question title", | ||
"required": true, | ||
"answerOption": [ | ||
{ | ||
"valueCoding": { | ||
"code": "option-1", | ||
"display": "Option 1" | ||
} | ||
}, | ||
{ | ||
"valueCoding": { | ||
"code": "option-2", | ||
"display": "Option 2" | ||
} | ||
}, | ||
{ | ||
"valueCoding": { | ||
"code": "option-3", | ||
"display": "Option 3" | ||
} | ||
}, | ||
{ | ||
"valueCoding": { | ||
"code": "mother", | ||
"display": "Mother" | ||
} | ||
}, | ||
{ | ||
"valueCoding": { | ||
"code": "sibling", | ||
"display": "Sibling" | ||
} | ||
}, | ||
{ | ||
"valueCoding": { | ||
"code": "other", | ||
"display": "Other" | ||
} | ||
} | ||
], | ||
"item": [ | ||
{ | ||
"linkId": "1-relationship", | ||
"text": "Relationship", | ||
"type": "display", | ||
"extension": [ | ||
{ | ||
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", | ||
"valueCodeableConcept": { | ||
"coding": [ | ||
{ | ||
"system": "http://hl7.org/fhir/questionnaire-item-control", | ||
"code": "flyover", | ||
"display": "Fly-over" | ||
} | ||
], | ||
"text": "Flyover" | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
74 changes: 74 additions & 0 deletions
74
catalog/src/main/assets/modal_with_validation_questionnaire.json
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,74 @@ | ||
{ | ||
"resourceType": "Questionnaire", | ||
"item": [ | ||
{ | ||
"linkId": "1.1", | ||
"type": "choice", | ||
"repeats": true, | ||
"text": "Specific health concern for today’s visit", | ||
"required": true, | ||
"answerOption": [ | ||
{ | ||
"valueCoding": { | ||
"code": "contractions", | ||
"display": "Contractions" | ||
} | ||
}, | ||
{ | ||
"valueCoding": { | ||
"code": "cough", | ||
"display": "Cough" | ||
} | ||
}, | ||
{ | ||
"valueCoding": { | ||
"code": "diarrhoea", | ||
"display": "Diarrhoea" | ||
} | ||
}, | ||
{ | ||
"valueCoding": { | ||
"code": "fever", | ||
"display": "Fever" | ||
} | ||
}, | ||
{ | ||
"valueCoding": { | ||
"code": "injury", | ||
"display": "Injury" | ||
} | ||
}, | ||
{ | ||
"valueCoding": { | ||
"code": "jaundice", | ||
"display": "Jaundice" | ||
} | ||
}, | ||
{ | ||
"valueCoding": { | ||
"code": "mental-health", | ||
"display": "Mental health" | ||
} | ||
}, | ||
{ | ||
"valueCoding": { | ||
"code": "nausea", | ||
"display": "Nausea" | ||
} | ||
}, | ||
{ | ||
"valueCoding": { | ||
"code": "pain", | ||
"display": "Pain" | ||
} | ||
}, | ||
{ | ||
"valueCoding": { | ||
"code": "bleeding", | ||
"display": "Bleeding" | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
81 changes: 81 additions & 0 deletions
81
catalog/src/main/assets/multi_select_choice_with_validation_questionnaire.json
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,81 @@ | ||
{ | ||
"title": "Multiple choice", | ||
"status": "active", | ||
"version": "0.0.1", | ||
"resourceType": "Questionnaire", | ||
"item": [ | ||
{ | ||
"linkId": "1.0.0", | ||
"text": "Do you have any of the following symptoms?", | ||
"type": "choice", | ||
"repeats": true, | ||
"required": true, | ||
"extension": [ | ||
{ | ||
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", | ||
"valueCodeableConcept": { | ||
"coding": [ | ||
{ | ||
"system": "http://hl7.org/fhir/questionnaire-item-control", | ||
"code": "check-box", | ||
"display": "Checkbox" | ||
} | ||
], | ||
"text": "Checkbox" | ||
} | ||
} | ||
], | ||
"answerOption": [ | ||
{ | ||
"valueCoding": { | ||
"code": "code_1", | ||
"display": "Missed period", | ||
"system": "http://snomed.info/sct" | ||
} | ||
}, | ||
{ | ||
"valueCoding": { | ||
"code": "code_2", | ||
"display": "Tender, swollen breasts", | ||
"system": "http://snomed.info/sct" | ||
} | ||
}, | ||
{ | ||
"valueCoding": { | ||
"code": "code_3", | ||
"display": "Nausea", | ||
"system": "http://snomed.info/sct" | ||
} | ||
}, | ||
{ | ||
"valueCoding": { | ||
"code": "code_4", | ||
"display": "Vomiting", | ||
"system": "http://snomed.info/sct" | ||
} | ||
}, | ||
{ | ||
"valueCoding": { | ||
"code": "code_5", | ||
"display": "Increased urination", | ||
"system": "http://snomed.info/sct" | ||
} | ||
}, | ||
{ | ||
"valueCoding": { | ||
"code": "code_6", | ||
"display": "Fatigue", | ||
"system": "http://snomed.info/sct" | ||
} | ||
} | ||
], | ||
"item": [ | ||
{ | ||
"linkId": "1-select-one", | ||
"text": "Check all that apply", | ||
"type": "display" | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.