-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NIAD-1615:
PlanStatement
displays 'Earliest Recall Date' text when …
…`ProcedureRequest.occurrencePeriod` has only a `start` date. (#911) * NIAD-1615: `ProcedureRequest` displays 'Earliest Recall Date' text when `occurrencePeriod` has only a start date. Created explict tests to cover the scenarios of when the occurrence period in the input json `ProcedureRequest` resource, contains both and start and an end date, and when it only contains a start date. Removed test files and related entries in parameterized tests as now covered by the explicit tests. Updated functionality to only produce the "Earliest Recall Date" text in the XML `ProcedureRequest` when the input json `ProcedureRequest.occurrencePeriod` has both a start and an end date * NIAD-1615: `ProcedureRequest` displays 'Earliest Recall Date' text when `occurrencePeriod` has only a start date. Created explict tests to cover the scenarios of when the occurrence period in the input json `ProcedureRequest` resource, contains both and start and an end date, and when it only contains a start date. Removed test files and related entries in parameterized tests as now covered by the explicit tests. Updated functionality to only produce the "Earliest Recall Date" text in the XML `ProcedureRequest` when the input json `ProcedureRequest.occurrencePeriod` has both a start and an end date * NIAD-1615: `ProcedureRequest` displays 'Earliest Recall Date' text when `occurrencePeriod` has only a start date. Removed the check for `occurrencePeriod.start` when checking if an end time is present as for the type `Period` the `start` property is mandatory
- Loading branch information
1 parent
c73c7d3
commit cd6c775
Showing
7 changed files
with
83 additions
and
63 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
14 changes: 0 additions & 14 deletions
14
service/src/test/resources/ehr/mapper/procedurerequest/expected-plan-statement-6.xml
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
service/src/test/resources/ehr/mapper/procedurerequest/expected-plan-statement-7.xml
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
service/src/test/resources/ehr/mapper/procedurerequest/procedure-request-resource-6.json
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
service/src/test/resources/ehr/mapper/procedurerequest/procedure-request-resource-7.json
This file was deleted.
Oops, something went wrong.