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.
Repeated Group Headers (google#1994)
* Repeated Group Headers * spotless check * review comments * isRepeatedGroup unit test * review comment. * repeated group addition and deletion android test. * review comments. * Add readoly attribut support to repeated group item. * unit test for remove answer at index . * remove duplicate test. * update test. * android tests * update response.json --------- Co-authored-by: Santosh Pingle <[email protected]> Co-authored-by: santosh-pingle <[email protected]>
- Loading branch information
1 parent
69e87d7
commit 1016558
Showing
19 changed files
with
504 additions
and
45 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,24 @@ | ||
{ | ||
"resourceType": "Questionnaire", | ||
"item": [ | ||
{ | ||
"linkId": "1", | ||
"type": "group", | ||
"text": "Repeated Group", | ||
"repeats": true, | ||
"item": [ | ||
{ | ||
"linkId": "1-1", | ||
"text": "Sample date question", | ||
"type": "date", | ||
"extension": [ | ||
{ | ||
"url": "http://hl7.org/fhir/StructureDefinition/entryFormat", | ||
"valueString": "yyyy-mm-dd" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
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,20 @@ | ||
{ | ||
"resourceType": "QuestionnaireResponse", | ||
"item": [ | ||
{ | ||
"linkId": "1", | ||
"text": "Repeated Group", | ||
"item": [ | ||
{ | ||
"linkId": "1-1", | ||
"text": "Sample date question", | ||
"answer": [ | ||
{ | ||
"valueDate": "2024-06-03" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
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
Oops, something went wrong.