-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add date validation using minValue and maxValue extensions (#74)
# Add date validation using minValue and maxValue extensions ## ♻️ Current situation & Problem Currently ResearchKitOnFHIR does not support date validation, although this is supported by [Phoenix](https://github.com/StanfordBDHG/Phoenix) and also implemented in the [Android FHIR SDK](https://github.com/google/android-fhir) via the `http://hl7.org/fhir/StructureDefinition/minValue` and `http://hl7.org/fhir/StructureDefinition/maxValue` extensions. ## ⚙️ Release Notes Adds support for date validation via the `valueDate` property in the `http://hl7.org/fhir/StructureDefinition/minValue` and `http://hl7.org/fhir/StructureDefinition/maxValue` extensions. ## 📚 Documentation Please refer to the official HL7 FHIR extension specification for the minValue and maxValue extensions, which this PR follows to implement date validation: - MinValue: http://hl7.org/fhir/StructureDefinition/minValue - MaxValue: http://hl7.org/fhir/StructureDefinition/maxValue ## ✅ Testing Unit tests and UI tests have been added. ### Code of Conduct & Contributing Guidelines By submitting creating this pull request, you agree to follow our [Code of Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md) and [Contributing Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md): - [X] I agree to follow the [Code of Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md) and [Contributing Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md).
- Loading branch information
1 parent
300fbc0
commit ef35067
Showing
6 changed files
with
133 additions
and
7 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
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