Skip to content

Commit

Permalink
Merge branch 'master' into add-sync-test-cases
Browse files Browse the repository at this point in the history
  • Loading branch information
roywanyaga committed Jul 26, 2022
2 parents 6dbc955 + d715db4 commit d39d9df
Show file tree
Hide file tree
Showing 748 changed files with 41,149 additions and 1,500 deletions.
3 changes: 3 additions & 0 deletions buildSrc/src/main/kotlin/Plugins.kt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ object Plugins {
const val navSafeArgs = "androidx.navigation.safeargs.kotlin"
const val spotless = "com.diffplug.spotless"
const val ruler = "com.spotify.ruler"
const val dokka = "org.jetbrains.dokka"
}

// classpath plugins
Expand All @@ -39,5 +40,7 @@ object Plugins {

object Versions {
const val androidGradlePlugin = "7.0.2"
// Use Dokka 1.6.10 until https://github.com/Kotlin/dokka/issues/2472 is resolved.
const val dokka = "1.6.10"
}
}
1 change: 0 additions & 1 deletion catalog/src/main/assets/auto_complete_questionnaire.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
}
}
],
"required": true,
"repeats": true,
"linkId": "1",
"text": "Do you have any existing conditions",
Expand Down
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"
}
}
}
]
}
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"
}
]
}
]
}
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
}
]
}
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 catalog/src/main/assets/modal_with_validation_questionnaire.json
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"
}
}
]
}
]
}
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"
}
]
}
]
}
Loading

0 comments on commit d39d9df

Please sign in to comment.