forked from google/android-fhir
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor the code for the DatePickerView (google#1880)
* Refactor the code for the date picker view. * clean up. * clean up. * refactor to resemble DateTimePicer * Add tests * parse propah * clean up UiEspresso * fix tests * make function name more accurate * address comments * spotless apply duh * forgot to change names to match new names * add test case based on comment ' --------- Co-authored-by: Santosh Pingle <spingle@google.com> Co-authored-by: omarismail <omarismail@google.com>
- Loading branch information
1 parent
2363c11
commit 409b45f
Showing
10 changed files
with
389 additions
and
610 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,36 @@ | ||
{ | ||
"resourceType": "Questionnaire", | ||
"item": [ | ||
{ | ||
"linkId": "1", | ||
"text": "Enter a date", | ||
"type": "date", | ||
"extension": [ | ||
{ | ||
"url": "http://hl7.org/fhir/StructureDefinition/entryFormat", | ||
"valueString": "yyyy-mm-dd" | ||
} | ||
], | ||
"item": [ | ||
{ | ||
"extension": [ | ||
{ | ||
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory", | ||
"valueCodeableConcept": { | ||
"coding": [ | ||
{ | ||
"system": "http://hl7.org/fhir/questionnaire-display-category", | ||
"code": "instructions" | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"linkId": "1-most-recent", | ||
"text": "Use keyboard entry or date picker", | ||
"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
Oops, something went wrong.