-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* help button workflow in catalog app. * differentiate widgets and misc components header section. * Move component help icon to catalog res folder. * add new line to end of the file of questionnaire json * Address review comments. Co-authored-by: Santosh Pingle <[email protected]> Co-authored-by: Omar Ismail <[email protected]> Co-authored-by: Jing Tang <[email protected]>
- Loading branch information
1 parent
9f3fc87
commit 17e704e
Showing
8 changed files
with
220 additions
and
28 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
{ | ||
"resourceType": "Questionnaire", | ||
"item": [ | ||
{ | ||
"linkId": "1", | ||
"text": "Question title", | ||
"type": "choice", | ||
"extension": [ | ||
{ | ||
"url": "http:https://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", | ||
"valueCodeableConcept": { | ||
"coding": [ | ||
{ | ||
"system": "http:https://hl7.org/fhir/questionnaire-item-control", | ||
"code": "radio-button", | ||
"display": "Radio Button" | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"answerOption": [ | ||
{ | ||
"valueCoding": { | ||
"display": "Yes" | ||
} | ||
}, | ||
{ | ||
"valueCoding": { | ||
"display": "No" | ||
} | ||
}, | ||
{ | ||
"valueCoding": { | ||
"display": "Unknown" | ||
} | ||
} | ||
], | ||
"item": [ | ||
{ | ||
"extension": [ | ||
{ | ||
"url": "http:https://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory", | ||
"valueCodeableConcept": { | ||
"coding": [ | ||
{ | ||
"system": "http:https://hl7.org/fhir/questionnaire-display-category", | ||
"code": "instructions" | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"linkId": "1.3", | ||
"text": "Select one", | ||
"type": "display" | ||
}, | ||
{ | ||
"extension": [ | ||
{ | ||
"url": "http:https://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", | ||
"valueCodeableConcept": { | ||
"coding": [ | ||
{ | ||
"system": "http:https://hl7.org/fhir/questionnaire-item-control", | ||
"code": "help" | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"linkId": "1.3", | ||
"text": "Only one answer can be selected. If none apply, skip the question.", | ||
"type": "display" | ||
} | ||
] | ||
} | ||
] | ||
} |
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
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,13 @@ | ||
<vector | ||
android:autoMirrored="true" | ||
android:height="128dp" | ||
android:viewportHeight="128" | ||
android:viewportWidth="194" | ||
android:width="194dp" | ||
xmlns:android="http:https://schemas.android.com/apk/res/android" | ||
> | ||
<path | ||
android:fillColor="#1A73E8" | ||
android:pathData="M97.267,79.533C97.978,79.533 98.578,79.289 99.067,78.8C99.555,78.311 99.8,77.711 99.8,77C99.8,76.289 99.555,75.689 99.067,75.2C98.578,74.711 97.978,74.467 97.267,74.467C96.555,74.467 95.955,74.711 95.467,75.2C94.978,75.689 94.733,76.289 94.733,77C94.733,77.711 94.978,78.311 95.467,78.8C95.955,79.289 96.555,79.533 97.267,79.533ZM94.933,69.8H98.867C98.867,68.644 99,67.6 99.267,66.667C99.578,65.689 100.489,64.578 102,63.333C103.378,62.178 104.356,61.044 104.933,59.933C105.511,58.822 105.8,57.6 105.8,56.267C105.8,53.911 105.022,52.022 103.467,50.6C101.956,49.178 99.933,48.467 97.4,48.467C95.222,48.467 93.289,49.022 91.6,50.133C89.955,51.2 88.756,52.689 88,54.6L91.533,55.933C92.022,54.689 92.756,53.733 93.733,53.067C94.711,52.355 95.867,52 97.2,52C98.711,52 99.933,52.422 100.867,53.267C101.8,54.067 102.267,55.111 102.267,56.4C102.267,57.378 101.978,58.311 101.4,59.2C100.822,60.044 99.978,60.933 98.867,61.867C97.533,63.022 96.533,64.178 95.867,65.333C95.244,66.444 94.933,67.933 94.933,69.8ZM97,90.667C93.355,90.667 89.911,89.978 86.667,88.6C83.422,87.178 80.578,85.267 78.133,82.867C75.733,80.422 73.822,77.578 72.4,74.333C71.022,71.089 70.333,67.644 70.333,64C70.333,60.311 71.022,56.844 72.4,53.6C73.822,50.355 75.733,47.533 78.133,45.133C80.578,42.733 83.422,40.844 86.667,39.467C89.911,38.044 93.355,37.333 97,37.333C100.689,37.333 104.156,38.044 107.4,39.467C110.644,40.844 113.467,42.733 115.867,45.133C118.267,47.533 120.156,50.355 121.533,53.6C122.956,56.844 123.667,60.311 123.667,64C123.667,67.644 122.956,71.089 121.533,74.333C120.156,77.578 118.267,80.422 115.867,82.867C113.467,85.267 110.644,87.178 107.4,88.6C104.156,89.978 100.689,90.667 97,90.667ZM97,86.667C103.311,86.667 108.667,84.467 113.067,80.067C117.467,75.622 119.667,70.267 119.667,64C119.667,57.689 117.467,52.333 113.067,47.933C108.667,43.533 103.311,41.333 97,41.333C90.733,41.333 85.378,43.533 80.933,47.933C76.533,52.333 74.333,57.689 74.333,64C74.333,70.267 76.533,75.622 80.933,80.067C85.378,84.467 90.733,86.667 97,86.667Z" | ||
/> | ||
</vector> |
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,18 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<LinearLayout | ||
xmlns:android="http:https://schemas.android.com/apk/res/android" | ||
android:orientation="vertical" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
> | ||
<TextView | ||
android:id="@+id/tv_component_header" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:textAppearance="?attr/textAppearanceBodyMedium" | ||
android:layout_marginTop="@dimen/component_header_top_margin" | ||
android:layout_marginBottom="@dimen/component_header_bottom_margin" | ||
android:gravity="center_horizontal" | ||
/> | ||
|
||
</LinearLayout> |
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