generated from nhs-england-tools/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 2
fix: DTOSS-11715 BSS rule fixes #1784
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
2caef99
Enhance Rule 45: Current Posting
MWClayson-NHS 6b387b6
unit tests
MWClayson-NHS c66c124
e2e tests
MWClayson-NHS 352abed
Merge branch 'main' into feat/BSS-Rule-Fixes
MWClayson-NHS 5bd0c7f
adressing Comments
MWClayson-NHS 44cf4e2
Update unit tests to HJ
MWClayson-NHS b2cfeab
add test case
MWClayson-NHS 440f786
Merge branch 'main' into feat/BSS-Rule-Fixes
MWClayson-NHS fa213b2
update category
MWClayson-NHS f3cb92b
fixed unit test
MWClayson-NHS File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
87 changes: 87 additions & 0 deletions
87
...ht-tests/src/tests/e2e/testFiles/@DTOSS-11715-01/ADD1_-_CAAS_BREAST_SCREENING_COHORT.json
This file contains hidden or 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,87 @@ | ||
| { | ||
| "validations": [ | ||
| { | ||
| "validations": { | ||
| "apiEndpoint": "api/ExceptionManagementDataService", | ||
| "NhsNumber": "9995272172", | ||
| "RuleId": 45, | ||
| "RuleDescription": "GP practice code does not exist" | ||
| }, | ||
| "meta": { | ||
| "testJiraId": "@DTOSS-11715-01", | ||
| "requirementJiraId": "DTOSS-11715", | ||
| "additionalTags": "@regression @e2e @epic4d-rule8 Verify ADD records with 'HMP' Current Posting is processed a rule 45 Exception for NHS Number 9995272172" | ||
| } | ||
| }, | ||
| { | ||
| "validations": { | ||
| "apiEndpoint": "api/ParticipantManagementDataService", | ||
| "RecordType": "ADD", | ||
| "NHSNumber": 9995272172, | ||
| "expectedCount": 1 | ||
| }, | ||
| "meta": { | ||
| "testJiraId": "@DTOSS-11715-01", | ||
| "requirementJiraId": "DTOSS-11715", | ||
| "additionalTags": "@regression @e2e @epic4d-rule8 Verify ADD records is processed without any Exception and participant is stored on Participant_Management table for NHS Number 9995272172" | ||
| } | ||
| }, | ||
| { | ||
| "validations": { | ||
| "apiEndpoint": "api/ParticipantDemographicDataService", | ||
| "NhsNumber": 9995272172, | ||
| "expectedCount": 1 | ||
| }, | ||
| "meta": { | ||
| "testJiraId": "@DTOSS-11715-01", | ||
| "requirementJiraId": "DTOSS-11715", | ||
| "additionalTags": "@regression @e2e @epic4d-rule8 Verify ADD records is processed without any Exception and participant is stored on Participant_Demographic table for NHS Number 9995272172" | ||
| } | ||
| } | ||
| ], | ||
| "inputParticipantRecord": [ | ||
| { | ||
| "record_type": "ADD", | ||
| "change_time_stamp": null, | ||
| "serial_change_number": 1, | ||
| "nhs_number": 9995272172, | ||
| "superseded_by_nhs_number": null, | ||
| "primary_care_provider": "X99999", | ||
| "primary_care_effective_from_date": null, | ||
| "current_posting": "HMP", | ||
| "current_posting_effective_from_date": "20130319", | ||
| "name_prefix": "Mrs", | ||
| "given_name": "Dalby", | ||
| "other_given_name": "Conners", | ||
| "family_name": "Reg", | ||
| "previous_family_name": "gibbins", | ||
| "date_of_birth": "19720112", | ||
| "gender": 1, | ||
| "address_line_1": "AddressLine1", | ||
| "address_line_2": "AddressLine2", | ||
| "address_line_3": "AddressLine3", | ||
| "address_line_4": "AddressLine4", | ||
| "address_line_5": "AddressLine5", | ||
| "postcode": "AB23 1AF", | ||
| "paf_key": "Z3S4Q5X8", | ||
| "address_effective_from_date": "20250101", | ||
| "reason_for_removal": null, | ||
| "reason_for_removal_effective_from_date": null, | ||
| "date_of_death": null, | ||
| "death_status": null, | ||
| "home_telephone_number": "161999999", | ||
| "home_telephone_effective_from_date": "20240908", | ||
| "mobile_telephone_number": "788888888", | ||
| "mobile_telephone_effective_from_date": "20010101", | ||
| "email_address": "[email protected]", | ||
| "email_address_effective_from_date": "20240101", | ||
| "preferred_language": "en", | ||
| "is_interpreter_required": false, | ||
| "invalid_flag": false, | ||
| "eligibility": true | ||
| } | ||
| ], | ||
| "nhsNumbers": [ | ||
| "9995272172" | ||
| ] | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.