diff --git a/application/CohortManager/src/Functions/ScreeningValidationService/LookupValidation/Breast_Screening_lookupRules.json b/application/CohortManager/src/Functions/ScreeningValidationService/LookupValidation/Breast_Screening_lookupRules.json index 32cef62565..161cf0a8da 100644 --- a/application/CohortManager/src/Functions/ScreeningValidationService/LookupValidation/Breast_Screening_lookupRules.json +++ b/application/CohortManager/src/Functions/ScreeningValidationService/LookupValidation/Breast_Screening_lookupRules.json @@ -24,18 +24,6 @@ } } }, - { - "RuleName": "3601.ValidatePrimaryCareProvider.BSSelect.NonFatal", - "Expression": "ValidPrimaryCareProvider", - "Actions": { - "OnFailure": { - "Name": "OutputExpression", - "Context": { - "Expression": "\"Invalid primary care provider GP practice code\"" - } - } - } - }, { "RuleName": "45.GPPracticeCodeDoesNotExist.BSSelect.NonFatal", "LocalParams": [ diff --git a/tests/UnitTests/ScreeningValidationServiceTests/LookupValidation/LookupValidationTests.cs b/tests/UnitTests/ScreeningValidationServiceTests/LookupValidation/LookupValidationTests.cs index ce0276de0e..7e9b29cd03 100644 --- a/tests/UnitTests/ScreeningValidationServiceTests/LookupValidation/LookupValidationTests.cs +++ b/tests/UnitTests/ScreeningValidationServiceTests/LookupValidation/LookupValidationTests.cs @@ -217,45 +217,6 @@ public async Task Run_CurrentPostingAndPrimaryProvider_ReturnNoContent(string cu Assert.IsFalse(body.Contains("45.GPPracticeCodeDoesNotExist.BSSelect.NonFatal")); } - [TestMethod] - [DataRow("InvalidPCP")] - public async Task Run_ValidatePrimaryCareProvider_ReturnValidationException(string primaryCareProvider) - { - // Arrange - _requestBody.NewParticipant.PrimaryCareProvider = primaryCareProvider; - var json = JsonSerializer.Serialize(_requestBody); - SetUpRequestBody(json); - - _lookupValidation.Setup(x => x.CheckIfPrimaryCareProviderExists(It.IsAny())).Returns(false); - - // Act - var response = await _sut.RunAsync(_request.Object); - string body = await AssertionHelper.ReadResponseBodyAsync(response); - - // Assert - StringAssert.Contains(body, "3601.ValidatePrimaryCareProvider.BSSelect.NonFatal"); - } - - [TestMethod] - [DataRow("ValidPCP")] - [DataRow(null)] - public async Task Run_ValidatePrimaryCareProvider_ReturnNoContent(string primaryCareProvider) - { - // Arrange - _requestBody.NewParticipant.PrimaryCareProvider = primaryCareProvider; - var json = JsonSerializer.Serialize(_requestBody); - SetUpRequestBody(json); - - _lookupValidation.Setup(x => x.CheckIfPrimaryCareProviderExists(It.IsAny())).Returns(primaryCareProvider == "ValidPCP"); - - // Act - var response = await _sut.RunAsync(_request.Object); - string body = await AssertionHelper.ReadResponseBodyAsync(response); - - // Assert - Assert.AreEqual(HttpStatusCode.NoContent, response.StatusCode); - } - #region Validate BSO Code (Rule 54) [TestMethod] [DataRow("RPR", "", "", Actions.Amended)] diff --git a/tests/playwright-tests/src/tests/e2e/epic1-highpriority-tests/epic1-high-priority-testsuite-migrated.ts b/tests/playwright-tests/src/tests/e2e/epic1-highpriority-tests/epic1-high-priority-testsuite-migrated.ts index fa227d1597..e30be97815 100644 --- a/tests/playwright-tests/src/tests/e2e/epic1-highpriority-tests/epic1-high-priority-testsuite-migrated.ts +++ b/tests/playwright-tests/src/tests/e2e/epic1-highpriority-tests/epic1-high-priority-testsuite-migrated.ts @@ -24,6 +24,6 @@ // This equates to "@epic1-" tags, configured in the package.json at the playwright-tests root location. -export const runnerBasedEpic1TestScenariosAdd = "@DTOSS-3648-01|@DTOSS-3661-01|@DTOSS-3662-01|@DTOSS-3197-01|@DTOSS-3744-01|@DTOSS-3660-01"; +export const runnerBasedEpic1TestScenariosAdd = "@DTOSS-3648-01|@DTOSS-3661-01|@DTOSS-3197-01|@DTOSS-3744-01|@DTOSS-3660-01"; export const runnerBasedEpic1TestScenariosAmend = "@DTOSS-3217-01|@DTOSS-3661-02|@DTOSS-3662-02|@DTOSS-3217-02"; diff --git a/tests/playwright-tests/src/tests/e2e/epic123-smoke-tests/epic123-smoke-tests-migrated.ts b/tests/playwright-tests/src/tests/e2e/epic123-smoke-tests/epic123-smoke-tests-migrated.ts index af962a7888..d8d67d5859 100644 --- a/tests/playwright-tests/src/tests/e2e/epic123-smoke-tests/epic123-smoke-tests-migrated.ts +++ b/tests/playwright-tests/src/tests/e2e/epic123-smoke-tests/epic123-smoke-tests-migrated.ts @@ -31,5 +31,5 @@ -export const runnerBasedEpic123TestScenariosAdd = "@DTOSS-6256-01|@DTOSS-6406-01|@DTOSS-7960-01"; +export const runnerBasedEpic123TestScenariosAdd = "@DTOSS-6256-01|@DTOSS-7960-01"; export const runnerBasedEpic123TestScenariosAddAmend = "@DTOSS-6257-01|@DTOSS-6407-01"; diff --git a/tests/playwright-tests/src/tests/e2e/epic2-highpriority-tests/epic2-high-priority-testsuite-migrated.ts b/tests/playwright-tests/src/tests/e2e/epic2-highpriority-tests/epic2-high-priority-testsuite-migrated.ts index 89b59b60a2..0fee3d7368 100644 --- a/tests/playwright-tests/src/tests/e2e/epic2-highpriority-tests/epic2-high-priority-testsuite-migrated.ts +++ b/tests/playwright-tests/src/tests/e2e/epic2-highpriority-tests/epic2-high-priority-testsuite-migrated.ts @@ -24,6 +24,6 @@ // This equates to "@epic2-" tags, configured in the package.json at the playwright-tests root location. // -export const runnerBasedEpic2TestScenariosAdd = "@DTOSS-5104-01|@DTOSS-5613-01|@DTOSS-4395-01|@DTOSS-4397-01|@DTOSS-4562-01|@DTOSS-4563-01|@DTOSS-3206-01|@DTOSS-4089-01|@DTOSS-4102-01|@DTOSS-4088-01|@DTOSS-4103-01|@DTOSS-4092-01|@DTOSS-4099-01"; +export const runnerBasedEpic2TestScenariosAdd = "@DTOSS-5104-01|@DTOSS-5613-01|@DTOSS-4395-01|@DTOSS-4397-01|@DTOSS-4562-01|@DTOSS-4563-01|@DTOSS-3206-01|@DTOSS-4089-01|@DTOSS-4102-01|@DTOSS-4088-01|@DTOSS-4092-01|@DTOSS-4099-01"; -export const runnerBasedEpic2TestScenariosAmend = "@DTOSS-5605-01|@DTOSS-4396-01|@DTOSS-5419-01|@DTOSS-4068-01|@DTOSS-4070-01|@DTOSS-4564-01|@DTOSS-4091-01|@DTOSS-4561-01|@DTOSS-5418-01|@DTOSS-4090-01|@DTOSS-4384-01|@DTOSS-4094-01|@DTOSS-4219-01|@DTOSS-4383-01|@DTOSS-4220-01"; +export const runnerBasedEpic2TestScenariosAmend = "@DTOSS-5605-01|@DTOSS-4396-01|@DTOSS-5419-01|@DTOSS-4068-01|@DTOSS-4070-01|@DTOSS-4564-01|@DTOSS-4561-01|@DTOSS-5418-01|@DTOSS-4090-01|@DTOSS-4094-01|@DTOSS-4219-01|@DTOSS-4383-01|@DTOSS-4220-01"; diff --git a/tests/playwright-tests/src/tests/e2e/epic3-medpriority-tests/epic3-med-priority-testsuite-migrated.ts b/tests/playwright-tests/src/tests/e2e/epic3-medpriority-tests/epic3-med-priority-testsuite-migrated.ts index 9ad5a14661..1f453f1859 100644 --- a/tests/playwright-tests/src/tests/e2e/epic3-medpriority-tests/epic3-med-priority-testsuite-migrated.ts +++ b/tests/playwright-tests/src/tests/e2e/epic3-medpriority-tests/epic3-med-priority-testsuite-migrated.ts @@ -23,7 +23,6 @@ // // This equates to "@epic3-med" tags, configured in the package.json at the playwright-tests root location. +export const runnerBasedEpic3MedTestScenariosAdd = "@DTOSS-4967-01|@DTOSS-4975-01|@DTOSS-6325-01|@DTOSS-5374-01|@DTOSS-6320-01|@DTOSS-5582-01|@DTOSS-9337-01" -export const runnerBasedEpic3MedTestScenariosAdd = "@DTOSS-4967-01|@DTOSS-4975-01|@DTOSS-6325-01|@DTOSS-5374-01|@DTOSS-6320-01|@DTOSS-5578-01|@DTOSS-5582-01|@DTOSS-9337-01" - -export const runnerBasedEpic3MedTestScenariosAmend = "@DTOSS-5286-01|@DTOSS-5579-01|@DTOSS-5799-01|@DTOSS-5800-01|@DTOSS-5583-01|@DTOSS-9337-01" +export const runnerBasedEpic3MedTestScenariosAmend = "@DTOSS-5286-01|@DTOSS-5799-01|@DTOSS-5800-01|@DTOSS-5583-01|@DTOSS-9337-01" diff --git a/tests/playwright-tests/src/tests/e2e/epic4d-validation-tests/epic4d-6045-validation-testsuite-migrated.ts b/tests/playwright-tests/src/tests/e2e/epic4d-validation-tests/epic4d-6045-validation-testsuite-migrated.ts index de467cdc97..f3fb234610 100644 --- a/tests/playwright-tests/src/tests/e2e/epic4d-validation-tests/epic4d-6045-validation-testsuite-migrated.ts +++ b/tests/playwright-tests/src/tests/e2e/epic4d-validation-tests/epic4d-6045-validation-testsuite-migrated.ts @@ -24,5 +24,5 @@ // This equates to "@epic4d-" tags, configured in the package.json at the playwright-tests root location. - export const runnerBasedEpic4dTestScenariosAdd = "@DTOSS-9492-01|@DTOSS-9494-01|@DTOSS-9496-01|@DTOSS-9498-01"; - export const runnerBasedEpic4dTestScenariosAmend = "@DTOSS-9493-01|@DTOSS-9495-01|@DTOSS-9497-01|@DTOSS-9499-01"; + export const runnerBasedEpic4dTestScenariosAdd = "@DTOSS-9492-01|@DTOSS-9496-01|@DTOSS-9498-01"; + export const runnerBasedEpic4dTestScenariosAmend = "@DTOSS-9493-01|@DTOSS-9497-01|@DTOSS-9499-01"; diff --git a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-3662-01/ADD1_-_CAAS_BREAST_SCREENING_COHORT.json b/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-3662-01/ADD1_-_CAAS_BREAST_SCREENING_COHORT.json deleted file mode 100644 index 79cd37338e..0000000000 --- a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-3662-01/ADD1_-_CAAS_BREAST_SCREENING_COHORT.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "validations": [ - { - "validations": { - "apiEndpoint": "api/ExceptionManagementDataService", - "NhsNumber": "9997975677", - "RuleId": 3601, - "RuleDescription": "Invalid primary care provider GP practice code" - }, - "meta": { - "testJiraId": "@DTOSS-3662-01", - "requirementJiraId": "DTOSS-3519", - "additionalTags": "@regression @e2e @epic1-high-priority Verify ADD records that trigger a non-fatal validation rule reach internal participant tables but not Cohort distribution - Exception Management Table for participant 9997975677" - } - }, - { - "validations": { - "apiEndpoint": "api/ParticipantManagementDataService", - "NHSNumber": 9997975677, - "expectedCount": 1 - }, - "meta": { - "testJiraId": "@DTOSS-3662-01", - "requirementJiraId": "DTOSS-3519", - "additionalTags": "@regression @e2e @epic1-high-priority Verify ADD records that trigger a non-fatal validation rule reach internal participant tables but not Cohort distribution - Participant Management table for NHS Number 9997975677" - } - }, - { - "validations": { - "apiEndpoint": "api/ParticipantDemographicDataService", - "NhsNumber": 9997975677, - "expectedCount": 1 - }, - "meta": { - "testJiraId": "@DTOSS-3662-01", - "requirementJiraId": "DTOSS-3519", - "additionalTags": "@regression @e2e @epic1-high-priority Verify ADD records that trigger a non-fatal validation rule reach internal participant tables but not Cohort distribution - Participant Demographic table for NHS Number 9997975677" - } - } - ], - "inputParticipantRecord": [ - { - "record_type": "ADD", - "change_time_stamp": null, - "serial_change_number": 1, - "nhs_number": 9997975677, - "superseded_by_nhs_number": null, - "primary_care_provider": "G82 141", - "primary_care_effective_from_date": "20130319", - "current_posting": "SUN", - "current_posting_effective_from_date": "20130319", - "name_prefix": "A.ML", - "given_name": "NewTest1", - "other_given_name": "Test", - "family_name": "Adani1", - "previous_family_name": "Test2", - "date_of_birth": "19700101", - "gender": 1, - "address_line_1": "247 SpaightSpaightSpTeeeeeeest Road", - "address_line_2": "Eastbourne", - "address_line_3": "Test", - "address_line_4": "Chelmsford", - "address_line_5": "United Kingdom", - "postcode": "AB43 8FJ", - "paf_key": "Z3S4Q5X9", - "address_effective_from_date": null, - "reason_for_removal": null, - "reason_for_removal_effective_from_date": null, - "date_of_death": null, - "death_status": null, - "home_telephone_number": "01619999999", - "home_telephone_effective_from_date": "20240501", - "mobile_telephone_number": "07888888888", - "mobile_telephone_effective_from_date": "20240501", - "email_address": "bturneux0@soup.io", - "email_address_effective_from_date": null, - "preferred_language": "en", - "is_interpreter_required": false, - "invalid_flag": false, - "eligibility": true - } - ], - "nhsNumbers": [ - "9997975677" - ] -} diff --git a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-4091-01/ADD_1B8F53_-_CAAS_BREAST_SCREENING_COHORT.json b/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-4091-01/ADD_1B8F53_-_CAAS_BREAST_SCREENING_COHORT.json deleted file mode 100644 index 8a8500cce6..0000000000 --- a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-4091-01/ADD_1B8F53_-_CAAS_BREAST_SCREENING_COHORT.json +++ /dev/null @@ -1,432 +0,0 @@ -{ - "validations": [ - { - "validations": { - "apiEndpoint": "api/CohortDistributionDataService", - "NHSNumber": 9990032505, - "expectedCount": 1 - }, - "meta": { - "testJiraId": "@DTOSS-4091-01", - "requirementJiraId": "DTOSS-3035", - "additionalTags": "@regression @e2e @epic2-high-priority Validate existing participant's GP_Practice code value for participant with NHS number 9990032505" - } - }, - { - "validations": { - "apiEndpoint": "api/CohortDistributionDataService", - "NHSNumber": 9990040370, - "expectedCount": 1 - }, - "meta": { - "testJiraId": "@DTOSS-4091-01", - "requirementJiraId": "DTOSS-3035", - "additionalTags": "@regression @e2e @epic2-high-priority Validate existing participant's GP_Practice code value for participant with NHS number 9990040370" - } - }, - { - "validations": { - "apiEndpoint": "api/CohortDistributionDataService", - "NHSNumber": 9990057346, - "expectedCount": 1 - }, - "meta": { - "testJiraId": "@DTOSS-4091-01", - "requirementJiraId": "DTOSS-3035", - "additionalTags": "@regression @e2e @epic2-high-priority Validate existing participant's GP_Practice code value for participant with NHS number 9990057346" - } - }, - { - "validations": { - "apiEndpoint": "api/CohortDistributionDataService", - "NHSNumber": 9990067015, - "expectedCount": 1 - }, - "meta": { - "testJiraId": "@DTOSS-4091-01", - "requirementJiraId": "DTOSS-3035", - "additionalTags": "@regression @e2e @epic2-high-priority Validate existing participant's GP_Practice code value for participant with NHS number 9990067015" - } - }, - { - "validations": { - "apiEndpoint": "api/CohortDistributionDataService", - "NHSNumber": 9990103585, - "expectedCount": 1 - }, - "meta": { - "testJiraId": "@DTOSS-4091-01", - "requirementJiraId": "DTOSS-3035", - "additionalTags": "@regression @e2e @epic2-high-priority Validate existing participant's GP_Practice code value for participant with NHS number 9990103585" - } - }, - { - "validations": { - "apiEndpoint": "api/CohortDistributionDataService", - "NHSNumber": 9990123632, - "expectedCount": 1 - }, - "meta": { - "testJiraId": "@DTOSS-4091-01", - "requirementJiraId": "DTOSS-3035", - "additionalTags": "@regression @e2e @epic2-high-priority Validate existing participant's GP_Practice code value for participant with NHS number 9990123632" - } - }, - { - "validations": { - "apiEndpoint": "api/CohortDistributionDataService", - "NHSNumber": 9990149739, - "expectedCount": 1 - }, - "meta": { - "testJiraId": "@DTOSS-4091-01", - "requirementJiraId": "DTOSS-3035", - "additionalTags": "@regression @e2e @epic2-high-priority Validate existing participant's GP_Practice code value for participant with NHS number 9990149739" - } - }, - { - "validations": { - "apiEndpoint": "api/CohortDistributionDataService", - "NHSNumber": 9990171459, - "expectedCount": 1 - }, - "meta": { - "testJiraId": "@DTOSS-4091-01", - "requirementJiraId": "DTOSS-3035", - "additionalTags": "@regression @e2e @epic2-high-priority Validate existing participant's GP_Practice code value for participant with NHS number 9990171459" - } - } - ], - "inputParticipantRecord": [ - { - "record_type": "ADD", - "change_time_stamp": null, - "serial_change_number": 1, - "nhs_number": 9990032505, - "superseded_by_nhs_number": null, - "primary_care_provider": "F83043", - "primary_care_effective_from_date": "20030319", - "current_posting": "CYM", - "current_posting_effective_from_date": "20130419", - "name_prefix": "Miss", - "given_name": "John", - "other_given_name": "Reymond", - "family_name": "Regans", - "previous_family_name": "", - "date_of_birth": "19600112", - "gender": 1, - "address_line_1": "25 Ring Road", - "address_line_2": "Eastend", - "address_line_3": "", - "address_line_4": "Ashford", - "address_line_5": "United Kingdom", - "postcode": "AB43 8JR", - "paf_key": "Z3S4Q5X8", - "address_effective_from_date": "20031118", - "reason_for_removal": "", - "reason_for_removal_effective_from_date": "", - "date_of_death": "", - "death_status": null, - "home_telephone_number": "1619999998", - "home_telephone_effective_from_date": "20200819", - "mobile_telephone_number": "7888888889", - "mobile_telephone_effective_from_date": "20240502", - "email_address": "abc123@soup.io", - "email_address_effective_from_date": "20240502", - "preferred_language": "en", - "is_interpreter_required": true, - "invalid_flag": false, - "eligibility": true - }, - { - "record_type": "ADD", - "change_time_stamp": null, - "serial_change_number": 2, - "nhs_number": 9990040370, - "superseded_by_nhs_number": null, - "primary_care_provider": "E85121", - "primary_care_effective_from_date": "20030319", - "current_posting": "CYM", - "current_posting_effective_from_date": "20130419", - "name_prefix": "Mr", - "given_name": "John", - "other_given_name": "Reymond", - "family_name": "Regans", - "previous_family_name": "", - "date_of_birth": "19600112", - "gender": 1, - "address_line_1": "25 Ring Road", - "address_line_2": "Eastend", - "address_line_3": "", - "address_line_4": "Ashford", - "address_line_5": "United Kingdom", - "postcode": "AB43 8JR", - "paf_key": "Z3S4Q5X8", - "address_effective_from_date": "20031118", - "reason_for_removal": "", - "reason_for_removal_effective_from_date": "", - "date_of_death": "", - "death_status": null, - "home_telephone_number": "1619999999", - "home_telephone_effective_from_date": "20200819", - "mobile_telephone_number": "7888888889", - "mobile_telephone_effective_from_date": "20240502", - "email_address": "abc123@soup.io", - "email_address_effective_from_date": "20240502", - "preferred_language": "en", - "is_interpreter_required": true, - "invalid_flag": false, - "eligibility": true - }, - { - "record_type": "ADD", - "change_time_stamp": null, - "serial_change_number": 3, - "nhs_number": 9990057346, - "superseded_by_nhs_number": null, - "primary_care_provider": "E85121", - "primary_care_effective_from_date": "20030319", - "current_posting": "DO", - "current_posting_effective_from_date": "20130419", - "name_prefix": "Mr", - "given_name": "John", - "other_given_name": "Reymond", - "family_name": "Regans", - "previous_family_name": "", - "date_of_birth": "19600112", - "gender": 1, - "address_line_1": "25 Ring Road", - "address_line_2": "Eastend", - "address_line_3": "", - "address_line_4": "Ashford", - "address_line_5": "United Kingdom", - "postcode": "AB43 8JR", - "paf_key": "Z3S4Q5X8", - "address_effective_from_date": "20031118", - "reason_for_removal": "", - "reason_for_removal_effective_from_date": "", - "date_of_death": "", - "death_status": null, - "home_telephone_number": "1619999999", - "home_telephone_effective_from_date": "20200818", - "mobile_telephone_number": "7888888888", - "mobile_telephone_effective_from_date": "20240502", - "email_address": "abc123@soup.io", - "email_address_effective_from_date": "20240502", - "preferred_language": "en", - "is_interpreter_required": true, - "invalid_flag": false, - "eligibility": true - }, - { - "record_type": "ADD", - "change_time_stamp": null, - "serial_change_number": 4, - "nhs_number": 9990067015, - "superseded_by_nhs_number": null, - "primary_care_provider": "E85121", - "primary_care_effective_from_date": "20030319", - "current_posting": "DR", - "current_posting_effective_from_date": "20130419", - "name_prefix": "Mr", - "given_name": "John", - "other_given_name": "Reymond", - "family_name": "Regans", - "previous_family_name": "", - "date_of_birth": "19600112", - "gender": 1, - "address_line_1": "25 Ring Road", - "address_line_2": "Eastend", - "address_line_3": "", - "address_line_4": "Ashford", - "address_line_5": "United Kingdom", - "postcode": "AB43 8JR", - "paf_key": "Z3S4Q5X8", - "address_effective_from_date": "20031118", - "reason_for_removal": "", - "reason_for_removal_effective_from_date": "", - "date_of_death": "", - "death_status": null, - "home_telephone_number": "1619999998", - "home_telephone_effective_from_date": "20200819", - "mobile_telephone_number": "7888888889", - "mobile_telephone_effective_from_date": "20240502", - "email_address": "abc123@soup.io", - "email_address_effective_from_date": "20240502", - "preferred_language": "en", - "is_interpreter_required": true, - "invalid_flag": false, - "eligibility": true - }, - { - "record_type": "ADD", - "change_time_stamp": null, - "serial_change_number": 5, - "nhs_number": 9990103585, - "superseded_by_nhs_number": null, - "primary_care_provider": "Y03412", - "primary_care_effective_from_date": "20030319", - "current_posting": "DUD", - "current_posting_effective_from_date": "20130419", - "name_prefix": "Mr", - "given_name": "John", - "other_given_name": "Reymond", - "family_name": "Regans", - "previous_family_name": "", - "date_of_birth": "19600112", - "gender": 1, - "address_line_1": "25 Ring Road", - "address_line_2": "Eastend", - "address_line_3": "", - "address_line_4": "Ashford", - "address_line_5": "United Kingdom", - "postcode": "AB43 8JR", - "paf_key": "Z3S4Q5X8", - "address_effective_from_date": "20031118", - "reason_for_removal": "", - "reason_for_removal_effective_from_date": "", - "date_of_death": "", - "death_status": null, - "home_telephone_number": "1619999999", - "home_telephone_effective_from_date": "20200819", - "mobile_telephone_number": "7888888889", - "mobile_telephone_effective_from_date": "20240502", - "email_address": "abc123@soup.io", - "email_address_effective_from_date": "20240502", - "preferred_language": "en", - "is_interpreter_required": true, - "invalid_flag": false, - "eligibility": true - }, - { - "record_type": "ADD", - "change_time_stamp": null, - "serial_change_number": 6, - "nhs_number": 9990123632, - "superseded_by_nhs_number": null, - "primary_care_provider": "E85121", - "primary_care_effective_from_date": "20030319", - "current_posting": "CU", - "current_posting_effective_from_date": "20130419", - "name_prefix": "Mr", - "given_name": "John", - "other_given_name": "Reymond", - "family_name": "Regans", - "previous_family_name": "", - "date_of_birth": "19600112", - "gender": 1, - "address_line_1": "25 Ring Road", - "address_line_2": "Eastend", - "address_line_3": "", - "address_line_4": "Ashford", - "address_line_5": "United Kingdom", - "postcode": "AB43 8JR", - "paf_key": "Z3S4Q5X8", - "address_effective_from_date": "20031118", - "reason_for_removal": "", - "reason_for_removal_effective_from_date": "", - "date_of_death": "", - "death_status": null, - "home_telephone_number": "1619999999", - "home_telephone_effective_from_date": "20200818", - "mobile_telephone_number": "7888888888", - "mobile_telephone_effective_from_date": "20240502", - "email_address": "abc123@soup.io", - "email_address_effective_from_date": "20240502", - "preferred_language": "en", - "is_interpreter_required": true, - "invalid_flag": false, - "eligibility": true - }, - { - "record_type": "ADD", - "change_time_stamp": null, - "serial_change_number": 7, - "nhs_number": 9990149739, - "superseded_by_nhs_number": null, - "primary_care_provider": "E85121", - "primary_care_effective_from_date": "20030319", - "current_posting": "CH", - "current_posting_effective_from_date": "20130419", - "name_prefix": "Mr", - "given_name": "John", - "other_given_name": "Reymond", - "family_name": "Regans", - "previous_family_name": "", - "date_of_birth": "19600112", - "gender": 1, - "address_line_1": "25 Ring Road", - "address_line_2": "Eastend", - "address_line_3": "", - "address_line_4": "Ashford", - "address_line_5": "United Kingdom", - "postcode": "AB43 8JR", - "paf_key": "Z3S4Q5X8", - "address_effective_from_date": "20031118", - "reason_for_removal": "", - "reason_for_removal_effective_from_date": "", - "date_of_death": "", - "death_status": null, - "home_telephone_number": "1619999999", - "home_telephone_effective_from_date": "20200819", - "mobile_telephone_number": "7888888889", - "mobile_telephone_effective_from_date": "20240502", - "email_address": "abc123@soup.io", - "email_address_effective_from_date": "20240502", - "preferred_language": "en", - "is_interpreter_required": true, - "invalid_flag": false, - "eligibility": true - }, - { - "record_type": "ADD", - "change_time_stamp": null, - "serial_change_number": 8, - "nhs_number": 9990171459, - "superseded_by_nhs_number": null, - "primary_care_provider": "", - "primary_care_effective_from_date": "20030319", - "current_posting": "CB", - "current_posting_effective_from_date": "20130419", - "name_prefix": "Mr", - "given_name": "John", - "other_given_name": "Reymond", - "family_name": "Regans", - "previous_family_name": "", - "date_of_birth": "19600112", - "gender": 1, - "address_line_1": "25 Ring Road", - "address_line_2": "Eastend", - "address_line_3": "", - "address_line_4": "Ashford", - "address_line_5": "United Kingdom", - "postcode": "AB43 8JR", - "paf_key": "Z3S4Q5X8", - "address_effective_from_date": "20031118", - "reason_for_removal": "", - "reason_for_removal_effective_from_date": "", - "date_of_death": "", - "death_status": null, - "home_telephone_number": "1619999999", - "home_telephone_effective_from_date": "20200819", - "mobile_telephone_number": "7888888889", - "mobile_telephone_effective_from_date": "20240502", - "email_address": "abc123@soup.io", - "email_address_effective_from_date": "20240502", - "preferred_language": "en", - "is_interpreter_required": true, - "invalid_flag": false, - "eligibility": true - } - ], - "nhsNumbers": [ - "9990032505", - "9990040370", - "9990057346", - "9990067015", - "9990103585", - "9990123632", - "9990149739", - "9990171459" - ] -} diff --git a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-4091-01/AMENDED_1B8F53_-_CAAS_BREAST_SCREENING_COHORT.json b/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-4091-01/AMENDED_1B8F53_-_CAAS_BREAST_SCREENING_COHORT.json deleted file mode 100644 index e10a3f56d0..0000000000 --- a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-4091-01/AMENDED_1B8F53_-_CAAS_BREAST_SCREENING_COHORT.json +++ /dev/null @@ -1,440 +0,0 @@ -{ - "validations": [ - { - "validations": { - "apiEndpoint": "api/ExceptionManagementDataService", - "NhsNumber": "9990032505", - "RuleId": 3601, - "RuleDescription": "Invalid primary care provider GP practice code" - }, - "meta": { - "testJiraId": "@DTOSS-4091-01", - "requirementJiraId": "DTOSS-3035", - "additionalTags": "@regression @e2e @epic2-high-priority Validate existing participant's GP_Practice code value for RuleId 3601 and RuleDescription 'Invalid primary care provider GP practice code' for NHS Number 9990032505" - } - }, - { - "validations": { - "apiEndpoint": "api/ExceptionManagementDataService", - "NhsNumber": "9990040370", - "RuleId": 3601, - "RuleDescription": "Invalid primary care provider GP practice code" - }, - "meta": { - "testJiraId": "@DTOSS-4091-01", - "requirementJiraId": "DTOSS-3035", - "additionalTags": "@regression @e2e @epic2-high-priority Validate existing participant's GP_Practice code value for RuleId 3601 and RuleDescription 'Invalid primary care provider GP practice code' for NHS Number 9990040370" - } - }, - { - "validations": { - "apiEndpoint": "api/ExceptionManagementDataService", - "NhsNumber": "9990057346", - "RuleId": 3601, - "RuleDescription": "Invalid primary care provider GP practice code" - }, - "meta": { - "testJiraId": "@DTOSS-4091-01", - "requirementJiraId": "DTOSS-3035", - "additionalTags": "@regression @e2e @epic2-high-priority Validate existing participant's GP_Practice code value for RuleId 3601 and RuleDescription 'Invalid primary care provider GP practice code' for NHS Number 9990057346" - } - }, - { - "validations": { - "apiEndpoint": "api/ExceptionManagementDataService", - "NhsNumber": "9990067015", - "RuleId": 3601, - "RuleDescription": "Invalid primary care provider GP practice code" - }, - "meta": { - "testJiraId": "@DTOSS-4091-01", - "requirementJiraId": "DTOSS-3035", - "additionalTags": "@regression @e2e @epic2-high-priority Validate existing participant's GP_Practice code value for RuleId 3601 and RuleDescription 'Invalid primary care provider GP practice code' for NHS Number 9990067015" - } - }, - { - "validations": { - "apiEndpoint": "api/ExceptionManagementDataService", - "NhsNumber": "9990103585", - "RuleId": 3601, - "RuleDescription": "Invalid primary care provider GP practice code" - }, - "meta": { - "testJiraId": "@DTOSS-4091-01", - "requirementJiraId": "DTOSS-3035", - "additionalTags": "@regression @e2e @epic2-high-priority Validate existing participant's GP_Practice code value for RuleId 3601 and RuleDescription 'Invalid primary care provider GP practice code' for NHS Number 9990103585" - } - }, - { - "validations": { - "apiEndpoint": "api/ExceptionManagementDataService", - "NhsNumber": "9990123632", - "RuleId": 3601, - "RuleDescription": "Invalid primary care provider GP practice code" - }, - "meta": { - "testJiraId": "@DTOSS-4091-01", - "requirementJiraId": "DTOSS-3035", - "additionalTags": "@regression @e2e @epic2-high-priority Validate existing participant's GP_Practice code value for RuleId 3601 and RuleDescription 'Invalid primary care provider GP practice code' for NHS Number 9990123632" - } - }, - { - "validations": { - "apiEndpoint": "api/ExceptionManagementDataService", - "NhsNumber": "9990149739", - "RuleId": 3601, - "RuleDescription": "Invalid primary care provider GP practice code" - }, - "meta": { - "testJiraId": "@DTOSS-4091-01", - "requirementJiraId": "DTOSS-3035", - "additionalTags": "@regression @e2e @epic2-high-priority Validate existing participant's GP_Practice code value for RuleId 3601 and RuleDescription 'Invalid primary care provider GP practice code' for NHS Number 9990149739" - } - }, - { - "validations": { - "apiEndpoint": "api/ExceptionManagementDataService", - "NhsNumber": "9990171459", - "RuleId": 3601, - "RuleDescription": "Invalid primary care provider GP practice code" - }, - "meta": { - "testJiraId": "@DTOSS-4091-01", - "requirementJiraId": "DTOSS-3035", - "additionalTags": "@regression @e2e @epic2-high-priority Validate existing participant's GP_Practice code value for RuleId 3601 and RuleDescription 'Invalid primary care provider GP practice code' for NHS Number 9990171459" - } - } - ], - "inputParticipantRecord": [ - { - "record_type": "AMENDED", - "change_time_stamp": null, - "serial_change_number": 1, - "nhs_number": 9990032505, - "superseded_by_nhs_number": null, - "primary_care_provider": "ABC123", - "primary_care_effective_from_date": "20030319", - "current_posting": "ENG", - "current_posting_effective_from_date": "20130419", - "name_prefix": "Miss", - "given_name": "John", - "other_given_name": "Reymond", - "family_name": "Regans", - "previous_family_name": "", - "date_of_birth": "19600112", - "gender": 1, - "address_line_1": "25 Ring Road", - "address_line_2": "Eastend", - "address_line_3": "", - "address_line_4": "Ashford", - "address_line_5": "United Kingdom", - "postcode": "AB43 8JR", - "paf_key": "Z3S4Q5X8", - "address_effective_from_date": "20031118", - "reason_for_removal": "", - "reason_for_removal_effective_from_date": "", - "date_of_death": "", - "death_status": null, - "home_telephone_number": "1619999998", - "home_telephone_effective_from_date": "20200819", - "mobile_telephone_number": "7888888889", - "mobile_telephone_effective_from_date": "20240502", - "email_address": "abc123@soup.io", - "email_address_effective_from_date": "20240502", - "preferred_language": "en", - "is_interpreter_required": true, - "invalid_flag": true, - "eligibility": true - }, - { - "record_type": "AMENDED", - "change_time_stamp": null, - "serial_change_number": 2, - "nhs_number": 9990040370, - "superseded_by_nhs_number": null, - "primary_care_provider": "G82 141", - "primary_care_effective_from_date": "20030319", - "current_posting": "ENG", - "current_posting_effective_from_date": "20130419", - "name_prefix": "Mr", - "given_name": "John", - "other_given_name": "Reymond", - "family_name": "Regans", - "previous_family_name": "", - "date_of_birth": "19600112", - "gender": 1, - "address_line_1": "25 Ring Road", - "address_line_2": "Eastend", - "address_line_3": "", - "address_line_4": "Ashford", - "address_line_5": "United Kingdom", - "postcode": "AB43 8JR", - "paf_key": "Z3S4Q5X8", - "address_effective_from_date": "20031118", - "reason_for_removal": "", - "reason_for_removal_effective_from_date": "", - "date_of_death": "", - "death_status": null, - "home_telephone_number": "1619999999", - "home_telephone_effective_from_date": "20200819", - "mobile_telephone_number": "7888888889", - "mobile_telephone_effective_from_date": "20240502", - "email_address": "abc123@soup.io", - "email_address_effective_from_date": "20240502", - "preferred_language": "en", - "is_interpreter_required": true, - "invalid_flag": true, - "eligibility": true - }, - { - "record_type": "AMENDED", - "change_time_stamp": null, - "serial_change_number": 3, - "nhs_number": 9990057346, - "superseded_by_nhs_number": null, - "primary_care_provider": "G62627", - "primary_care_effective_from_date": "20030319", - "current_posting": "DO", - "current_posting_effective_from_date": "20130419", - "name_prefix": "Mr", - "given_name": "John", - "other_given_name": "Reymond", - "family_name": "Regans", - "previous_family_name": "", - "date_of_birth": "19600112", - "gender": 1, - "address_line_1": "25 Ring Road", - "address_line_2": "Eastend", - "address_line_3": "", - "address_line_4": "Ashford", - "address_line_5": "United Kingdom", - "postcode": "AB43 8JR", - "paf_key": "Z3S4Q5X8", - "address_effective_from_date": "20031118", - "reason_for_removal": "", - "reason_for_removal_effective_from_date": "", - "date_of_death": "", - "death_status": null, - "home_telephone_number": "1619999999", - "home_telephone_effective_from_date": "20200818", - "mobile_telephone_number": "7888888888", - "mobile_telephone_effective_from_date": "20240502", - "email_address": "abc123@soup.io", - "email_address_effective_from_date": "20240502", - "preferred_language": "en", - "is_interpreter_required": true, - "invalid_flag": true, - "eligibility": true - }, - { - "record_type": "AMENDED", - "change_time_stamp": null, - "serial_change_number": 4, - "nhs_number": 9990067015, - "superseded_by_nhs_number": null, - "primary_care_provider": "ZZZ", - "primary_care_effective_from_date": "20030319", - "current_posting": "DR", - "current_posting_effective_from_date": "20130419", - "name_prefix": "Mr", - "given_name": "John", - "other_given_name": "Reymond", - "family_name": "Regans", - "previous_family_name": "", - "date_of_birth": "19600112", - "gender": 1, - "address_line_1": "25 Ring Road", - "address_line_2": "Eastend", - "address_line_3": "", - "address_line_4": "Ashford", - "address_line_5": "United Kingdom", - "postcode": "AB43 8JR", - "paf_key": "Z3S4Q5X8", - "address_effective_from_date": "20031118", - "reason_for_removal": "", - "reason_for_removal_effective_from_date": "", - "date_of_death": "", - "death_status": null, - "home_telephone_number": "1619999998", - "home_telephone_effective_from_date": "20200819", - "mobile_telephone_number": "7888888889", - "mobile_telephone_effective_from_date": "20240502", - "email_address": "abc123@soup.io", - "email_address_effective_from_date": "20240502", - "preferred_language": "en", - "is_interpreter_required": true, - "invalid_flag": true, - "eligibility": true - }, - { - "record_type": "AMENDED", - "change_time_stamp": null, - "serial_change_number": 5, - "nhs_number": 9990103585, - "superseded_by_nhs_number": null, - "primary_care_provider": "1234567", - "primary_care_effective_from_date": "20030319", - "current_posting": "DUD", - "current_posting_effective_from_date": "20130419", - "name_prefix": "Mr", - "given_name": "John", - "other_given_name": "Reymond", - "family_name": "Regans", - "previous_family_name": "", - "date_of_birth": "19600112", - "gender": 1, - "address_line_1": "25 Ring Road", - "address_line_2": "Eastend", - "address_line_3": "", - "address_line_4": "Ashford", - "address_line_5": "United Kingdom", - "postcode": "AB43 8JR", - "paf_key": "Z3S4Q5X8", - "address_effective_from_date": "20031118", - "reason_for_removal": "", - "reason_for_removal_effective_from_date": "", - "date_of_death": "", - "death_status": null, - "home_telephone_number": "1619999999", - "home_telephone_effective_from_date": "20200819", - "mobile_telephone_number": "7888888889", - "mobile_telephone_effective_from_date": "20240502", - "email_address": "abc123@soup.io", - "email_address_effective_from_date": "20240502", - "preferred_language": "en", - "is_interpreter_required": true, - "invalid_flag": true, - "eligibility": true - }, - { - "record_type": "AMENDED", - "change_time_stamp": null, - "serial_change_number": 6, - "nhs_number": 9990123632, - "superseded_by_nhs_number": null, - "primary_care_provider": "GPCODE", - "primary_care_effective_from_date": "20030319", - "current_posting": "CU", - "current_posting_effective_from_date": "20130419", - "name_prefix": "Mr", - "given_name": "John", - "other_given_name": "Reymond", - "family_name": "Regans", - "previous_family_name": "", - "date_of_birth": "19600112", - "gender": 1, - "address_line_1": "25 Ring Road", - "address_line_2": "Eastend", - "address_line_3": "", - "address_line_4": "Ashford", - "address_line_5": "United Kingdom", - "postcode": "AB43 8JR", - "paf_key": "Z3S4Q5X8", - "address_effective_from_date": "20031118", - "reason_for_removal": "", - "reason_for_removal_effective_from_date": "", - "date_of_death": "", - "death_status": null, - "home_telephone_number": "1619999999", - "home_telephone_effective_from_date": "20200818", - "mobile_telephone_number": "7888888888", - "mobile_telephone_effective_from_date": "20240502", - "email_address": "abc123@soup.io", - "email_address_effective_from_date": "20240502", - "preferred_language": "en", - "is_interpreter_required": true, - "invalid_flag": true, - "eligibility": true - }, - { - "record_type": "AMENDED", - "change_time_stamp": null, - "serial_change_number": 7, - "nhs_number": 9990149739, - "superseded_by_nhs_number": null, - "primary_care_provider": "WS$ !1", - "primary_care_effective_from_date": "20030319", - "current_posting": "CH", - "current_posting_effective_from_date": "20130419", - "name_prefix": "Mr", - "given_name": "John", - "other_given_name": "Reymond", - "family_name": "Regans", - "previous_family_name": "", - "date_of_birth": "19600112", - "gender": 1, - "address_line_1": "25 Ring Road", - "address_line_2": "Eastend", - "address_line_3": "", - "address_line_4": "Ashford", - "address_line_5": "United Kingdom", - "postcode": "AB43 8JR", - "paf_key": "Z3S4Q5X8", - "address_effective_from_date": "20031118", - "reason_for_removal": "", - "reason_for_removal_effective_from_date": "", - "date_of_death": "", - "death_status": null, - "home_telephone_number": "1619999999", - "home_telephone_effective_from_date": "20200819", - "mobile_telephone_number": "7888888889", - "mobile_telephone_effective_from_date": "20240502", - "email_address": "abc123@soup.io", - "email_address_effective_from_date": "20240502", - "preferred_language": "en", - "is_interpreter_required": true, - "invalid_flag": true, - "eligibility": true - }, - { - "record_type": "AMENDED", - "change_time_stamp": null, - "serial_change_number": 8, - "nhs_number": 9990171459, - "superseded_by_nhs_number": null, - "primary_care_provider": "ABC123", - "primary_care_effective_from_date": "20030319", - "current_posting": "CB", - "current_posting_effective_from_date": "20130419", - "name_prefix": "Mr", - "given_name": "John", - "other_given_name": "Reymond", - "family_name": "Regans", - "previous_family_name": "", - "date_of_birth": "19600112", - "gender": 1, - "address_line_1": "25 Ring Road", - "address_line_2": "Eastend", - "address_line_3": "", - "address_line_4": "Ashford", - "address_line_5": "United Kingdom", - "postcode": "AB43 8JR", - "paf_key": "Z3S4Q5X8", - "address_effective_from_date": "20031118", - "reason_for_removal": "", - "reason_for_removal_effective_from_date": "", - "date_of_death": "", - "death_status": null, - "home_telephone_number": "1619999999", - "home_telephone_effective_from_date": "20200819", - "mobile_telephone_number": "7888888889", - "mobile_telephone_effective_from_date": "20240502", - "email_address": "abc123@soup.io", - "email_address_effective_from_date": "20240502", - "preferred_language": "en", - "is_interpreter_required": true, - "invalid_flag": true, - "eligibility": true - } - ], - "nhsNumbers": [ - "9990032505", - "9990040370", - "9990057346", - "9990067015", - "9990103585", - "9990123632", - "9990149739", - "9990171459" - ] -} diff --git a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-4103-01/ADD7_1B8F53_-_CAAS_BREAST_SCREENING_COHORT.json b/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-4103-01/ADD7_1B8F53_-_CAAS_BREAST_SCREENING_COHORT.json deleted file mode 100644 index fc1d93b5bb..0000000000 --- a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-4103-01/ADD7_1B8F53_-_CAAS_BREAST_SCREENING_COHORT.json +++ /dev/null @@ -1,386 +0,0 @@ -{ - "validations": [ - { - "validations": { - "apiEndpoint": "api/ExceptionManagementDataService", - "NhsNumber": "9990601682", - "RuleId": 3601, - "RuleDescription": "Invalid primary care provider GP practice code" - }, - "meta": { - "testJiraId": "@DTOSS-4103-01", - "requirementJiraId": "DTOSS-3081", - "additionalTags": "@regression @e2e @epic2-high-priority - Validate invalid GP Practice Code for a new participant for nhs number 9990601682 RuleId: 3601" - } - }, - { - "validations": { - "apiEndpoint": "api/ExceptionManagementDataService", - "NhsNumber": "9990744653", - "RuleId": 3601, - "RuleDescription": "Invalid primary care provider GP practice code" - }, - "meta": { - "testJiraId": "@DTOSS-4103-01", - "requirementJiraId": "DTOSS-3081", - "additionalTags": "@regression @e2e @epic2-high-priority - Validate invalid GP Practice Code for a new participant for nhs number 9990744653 RuleId: 3601" - } - }, - { - "validations": { - "apiEndpoint": "api/ExceptionManagementDataService", - "NhsNumber": "9990606544", - "RuleId": 3601, - "RuleDescription": "Invalid primary care provider GP practice code" - }, - "meta": { - "testJiraId": "@DTOSS-4103-01", - "requirementJiraId": "DTOSS-3081", - "additionalTags": "@regression @e2e @epic2-high-priority - Validate invalid GP Practice Code for a new participant for nhs number 9990606544 RuleId: 3601" - } - }, - { - "validations": { - "apiEndpoint": "api/ExceptionManagementDataService", - "NhsNumber": "9990645418", - "RuleId": 3601, - "RuleDescription": "Invalid primary care provider GP practice code" - }, - "meta": { - "testJiraId": "@DTOSS-4103-01", - "requirementJiraId": "DTOSS-3081", - "additionalTags": "@regression @e2e @epic2-high-priority - Validate invalid GP Practice Code for a new participant for nhs number 9990645418 RuleId: 3601" - } - }, - { - "validations": { - "apiEndpoint": "api/ExceptionManagementDataService", - "NhsNumber": "9990684057", - "RuleId": 3601, - "RuleDescription": "Invalid primary care provider GP practice code" - }, - "meta": { - "testJiraId": "@DTOSS-4103-01", - "requirementJiraId": "DTOSS-3081", - "additionalTags": "@regression @e2e @epic2-high-priority - Validate invalid GP Practice Code for a new participant for nhs number 9990684057 RuleId: 3601" - } - }, - { - "validations": { - "apiEndpoint": "api/ExceptionManagementDataService", - "NhsNumber": "9990702985", - "RuleId": 3601, - "RuleDescription": "Invalid primary care provider GP practice code" - }, - "meta": { - "testJiraId": "@DTOSS-4103-01", - "requirementJiraId": "DTOSS-3081", - "additionalTags": "@regression @e2e @epic2-high-priority - Validate invalid GP Practice Code for a new participant for nhs number 9990702985 RuleId: 3601" - } - }, - { - "validations": { - "apiEndpoint": "api/ExceptionManagementDataService", - "NhsNumber": "9990718679", - "RuleId": 3601, - "RuleDescription": "Invalid primary care provider GP practice code" - }, - "meta": { - "testJiraId": "@DTOSS-4103-01", - "requirementJiraId": "DTOSS-3081", - "additionalTags": "@regression @e2e @epic2-high-priority - Validate invalid GP Practice Code for a new participant for nhs number 9990718679 RuleId: 3601" - } - } - ], - "inputParticipantRecord": [ - { - "record_type": "ADD", - "change_time_stamp": null, - "serial_change_number": 1, - "nhs_number": 9990601682, - "superseded_by_nhs_number": null, - "primary_care_provider": "G82 141", - "primary_care_effective_from_date": "20130319", - "current_posting": "CH", - "current_posting_effective_from_date": "20130319", - "name_prefix": "A.ML", - "given_name": "NewTest1", - "other_given_name": "Test", - "family_name": "Adani1", - "previous_family_name": "Test2", - "date_of_birth": "19700101", - "gender": 1, - "address_line_1": "247 SpaightSpaightSpTeeeeeeest Road", - "address_line_2": "Eastbourne", - "address_line_3": "Test", - "address_line_4": "Chelmsford", - "address_line_5": "United Kingdom", - "postcode": "AB43 8FJ", - "paf_key": "Z3S4Q5X9", - "address_effective_from_date": "20240501", - "reason_for_removal": null, - "reason_for_removal_effective_from_date": null, - "date_of_death": null, - "death_status": null, - "home_telephone_number": "01619999999", - "home_telephone_effective_from_date": "20240501", - "mobile_telephone_number": "07888888888", - "mobile_telephone_effective_from_date": "20240501", - "email_address": "bturneux0@soup.io", - "email_address_effective_from_date": "20240501", - "preferred_language": "en", - "is_interpreter_required": false, - "invalid_flag": false, - "eligibility": true - }, - { - "record_type": "ADD", - "change_time_stamp": null, - "serial_change_number": 1, - "nhs_number": 9990744653, - "superseded_by_nhs_number": null, - "primary_care_provider": "G62627", - "primary_care_effective_from_date": "20130319", - "current_posting": "CH", - "current_posting_effective_from_date": "20130319", - "name_prefix": "A.ML", - "given_name": "NewTest1", - "other_given_name": "Test", - "family_name": "Adani1", - "previous_family_name": "Test2", - "date_of_birth": "19700101", - "gender": 1, - "address_line_1": "247 SpaightSpaightSpTeeeeeeest Road", - "address_line_2": "Eastbourne", - "address_line_3": "Test", - "address_line_4": "Chelmsford", - "address_line_5": "United Kingdom", - "postcode": "AB43 8FJ", - "paf_key": "Z3S4Q5X9", - "address_effective_from_date": "20240501", - "reason_for_removal": null, - "reason_for_removal_effective_from_date": null, - "date_of_death": null, - "death_status": null, - "home_telephone_number": "01619999999", - "home_telephone_effective_from_date": "20240501", - "mobile_telephone_number": "07888888888", - "mobile_telephone_effective_from_date": "20240501", - "email_address": "bturneux0@soup.io", - "email_address_effective_from_date": "20240501", - "preferred_language": "en", - "is_interpreter_required": false, - "invalid_flag": false, - "eligibility": true - }, - { - "record_type": "ADD", - "change_time_stamp": null, - "serial_change_number": 1, - "nhs_number": 9990606544, - "superseded_by_nhs_number": null, - "primary_care_provider": "zzz", - "primary_care_effective_from_date": "20130319", - "current_posting": "CH", - "current_posting_effective_from_date": "20130319", - "name_prefix": "A.ML", - "given_name": "Test3", - "other_given_name": "Test", - "family_name": "Adani3", - "previous_family_name": "Test2", - "date_of_birth": "19700101", - "gender": 1, - "address_line_1": "247 SpaightSpaightSpTeeeeeeest Road", - "address_line_2": "Eastbourne", - "address_line_3": "Test", - "address_line_4": "Chelmsford", - "address_line_5": "United Kingdom", - "postcode": "AB43 8FJ", - "paf_key": "Z3S4Q5X9", - "address_effective_from_date": null, - "reason_for_removal": null, - "reason_for_removal_effective_from_date": null, - "date_of_death": null, - "death_status": null, - "home_telephone_number": "01619999999", - "home_telephone_effective_from_date": "20240501", - "mobile_telephone_number": "07888888888", - "mobile_telephone_effective_from_date": "20240501", - "email_address": "bturneux0@soup.io", - "email_address_effective_from_date": null, - "preferred_language": "en", - "is_interpreter_required": false, - "invalid_flag": false, - "eligibility": true - }, - { - "record_type": "ADD", - "change_time_stamp": null, - "serial_change_number": 1, - "nhs_number": 9990645418, - "superseded_by_nhs_number": null, - "primary_care_provider": "1234567", - "primary_care_effective_from_date": "20130319", - "current_posting": "CH", - "current_posting_effective_from_date": "20130319", - "name_prefix": "A.ML", - "given_name": "Test4", - "other_given_name": "Test", - "family_name": "Adani4", - "previous_family_name": "Test2", - "date_of_birth": "19700101", - "gender": 1, - "address_line_1": "247 SpaightSpaightSpTeeeeeeest Road", - "address_line_2": "Eastbourne", - "address_line_3": "Test", - "address_line_4": "Chelmsford", - "address_line_5": "United Kingdom", - "postcode": "AB43 8FJ", - "paf_key": "Z3S4Q5X9", - "address_effective_from_date": null, - "reason_for_removal": null, - "reason_for_removal_effective_from_date": null, - "date_of_death": null, - "death_status": null, - "home_telephone_number": "01619999999", - "home_telephone_effective_from_date": "20240501", - "mobile_telephone_number": "07888888888", - "mobile_telephone_effective_from_date": "20240501", - "email_address": "bturneux0@soup.io", - "email_address_effective_from_date": null, - "preferred_language": "en", - "is_interpreter_required": false, - "invalid_flag": false, - "eligibility": true - }, - { - "record_type": "ADD", - "change_time_stamp": null, - "serial_change_number": 1, - "nhs_number": 9990684057, - "superseded_by_nhs_number": null, - "primary_care_provider": "GPCODE", - "primary_care_effective_from_date": "20130319", - "current_posting": "CH", - "current_posting_effective_from_date": "20130319", - "name_prefix": "A.ML", - "given_name": "NewTest1", - "other_given_name": "Test", - "family_name": "Adani1", - "previous_family_name": "Test5", - "date_of_birth": "19700101", - "gender": 1, - "address_line_1": "247 SpaightSpaightSpTeeeeeeest Road", - "address_line_2": "Eastbourne", - "address_line_3": "Test", - "address_line_4": "Chelmsford", - "address_line_5": "United Kingdom", - "postcode": "AB43 8FJ", - "paf_key": "Z3S4Q5X9", - "address_effective_from_date": "20240501", - "reason_for_removal": null, - "reason_for_removal_effective_from_date": null, - "date_of_death": null, - "death_status": null, - "home_telephone_number": "01619999999", - "home_telephone_effective_from_date": "20240501", - "mobile_telephone_number": "07888888888", - "mobile_telephone_effective_from_date": "20240501", - "email_address": "bturneux0@soup.io", - "email_address_effective_from_date": "20240501", - "preferred_language": "en", - "is_interpreter_required": false, - "invalid_flag": false, - "eligibility": true - }, - { - "record_type": "ADD", - "change_time_stamp": null, - "serial_change_number": 1, - "nhs_number": 9990702985, - "superseded_by_nhs_number": null, - "primary_care_provider": "WS$ !1", - "primary_care_effective_from_date": "20130319", - "current_posting": "CH", - "current_posting_effective_from_date": "20130319", - "name_prefix": "A.ML", - "given_name": "NewTest1", - "other_given_name": "Test", - "family_name": "Adani1", - "previous_family_name": "Test6", - "date_of_birth": "19700101", - "gender": 1, - "address_line_1": "247 SpaightSpaightSpTeeeeeeest Road", - "address_line_2": "Eastbourne", - "address_line_3": "Test", - "address_line_4": "Chelmsford", - "address_line_5": "United Kingdom", - "postcode": "AB43 8FJ", - "paf_key": "Z3S4Q5X9", - "address_effective_from_date": "20240501", - "reason_for_removal": null, - "reason_for_removal_effective_from_date": null, - "date_of_death": null, - "death_status": null, - "home_telephone_number": "01619999999", - "home_telephone_effective_from_date": "20240501", - "mobile_telephone_number": "07888888888", - "mobile_telephone_effective_from_date": "20240501", - "email_address": "bturneux0@soup.io", - "email_address_effective_from_date": "20240501", - "preferred_language": "en", - "is_interpreter_required": false, - "invalid_flag": false, - "eligibility": true - }, - { - "record_type": "ADD", - "change_time_stamp": null, - "serial_change_number": 1, - "nhs_number": 9990718679, - "superseded_by_nhs_number": null, - "primary_care_provider": "''", - "primary_care_effective_from_date": "20130319", - "current_posting": "CH", - "current_posting_effective_from_date": "20130319", - "name_prefix": "A.ML", - "given_name": "NewTest1", - "other_given_name": "Test", - "family_name": "Adani1", - "previous_family_name": "Test7", - "date_of_birth": "19700101", - "gender": 1, - "address_line_1": "247 SpaightSpaightSpTeeeeeeest Road", - "address_line_2": "Eastbourne", - "address_line_3": "Test", - "address_line_4": "Chelmsford", - "address_line_5": "United Kingdom", - "postcode": "AB43 8FJ", - "paf_key": "Z3S4Q5X9", - "address_effective_from_date": "20240501", - "reason_for_removal": null, - "reason_for_removal_effective_from_date": null, - "date_of_death": null, - "death_status": null, - "home_telephone_number": "01619999999", - "home_telephone_effective_from_date": "20240501", - "mobile_telephone_number": "07888888888", - "mobile_telephone_effective_from_date": "20240501", - "email_address": "bturneux0@soup.io", - "email_address_effective_from_date": "20240501", - "preferred_language": "en", - "is_interpreter_required": false, - "invalid_flag": false, - "eligibility": true - } - ], - "nhsNumbers": [ - "9990601682", - "9990744653", - "9990606544", - "9990645418", - "9990684057", - "9990702985", - "9990718679" - ] -} diff --git a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-4384-01/ADD1_1B8F53_-_CAAS_BREAST_SCREENING_COHORT.json b/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-4384-01/ADD1_1B8F53_-_CAAS_BREAST_SCREENING_COHORT.json deleted file mode 100644 index 4baf68f4c6..0000000000 --- a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-4384-01/ADD1_1B8F53_-_CAAS_BREAST_SCREENING_COHORT.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "validations": [ - { - "validations": { - "apiEndpoint": "api/CohortDistributionDataService", - "NHSNumber": 9999111726, - "PrimaryCareProvider": "F83043" - }, - "meta": { - "testJiraId": "@DTOSS-4384-01", - "requirementJiraId": "DTOSS-3081", - "additionalTags": "@regression @e2e @epic2-high-priority @Validate addition of participant with nhs number 9999111726" - } - } - ], - "inputParticipantRecord": [ - { - "record_type": "ADD", - "change_time_stamp": null, - "serial_change_number": 1, - "nhs_number": 9999111726, - "superseded_by_nhs_number": null, - "primary_care_provider": "F83043", - "primary_care_effective_from_date": "20130319", - "current_posting": "CH", - "current_posting_effective_from_date": "20130319", - "name_prefix": "A.ML", - "given_name": "NewTest1", - "other_given_name": "Test", - "family_name": "Adani1", - "previous_family_name": "Test2", - "date_of_birth": "19700101", - "gender": 1, - "address_line_1": "247 SpaightSpaightSpTeeeeeeest Road", - "address_line_2": "Eastbourne", - "address_line_3": "Test", - "address_line_4": "Chelmsford", - "address_line_5": "United Kingdom", - "postcode": "AB43 8FJ", - "paf_key": "Z3S4Q5X9", - "address_effective_from_date": "20240501", - "reason_for_removal": null, - "reason_for_removal_effective_from_date": null, - "date_of_death": null, - "death_status": null, - "home_telephone_number": "01619999999", - "home_telephone_effective_from_date": "20240501", - "mobile_telephone_number": "07888888888", - "mobile_telephone_effective_from_date": "20240501", - "email_address": "bturneux0@soup.io", - "email_address_effective_from_date": "20240501", - "preferred_language": "en", - "is_interpreter_required": false, - "invalid_flag": false, - "eligibility": true - } - ], - "nhsNumbers": [ - "9999111726" - ] -} diff --git a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-4384-01/AMENDED1_1B8F53_-_CAAS_BREAST_SCREENING_COHORT.json b/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-4384-01/AMENDED1_1B8F53_-_CAAS_BREAST_SCREENING_COHORT.json deleted file mode 100644 index d5b1a2f4c4..0000000000 --- a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-4384-01/AMENDED1_1B8F53_-_CAAS_BREAST_SCREENING_COHORT.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "validations": [ - { - "validations": { - "apiEndpoint": "api/ExceptionManagementDataService", - "NhsNumber": "9999111726", - "RuleId": 3601, - "RuleDescription": "Invalid primary care provider GP practice code" - }, - "meta": { - "testJiraId": "@DTOSS-4384-01", - "requirementJiraId": "DTOSS-3081", - "additionalTags": "@regression @e2e @epic2-high-priority @Validate Update a invalid GP Practice Code for a existing participant" - } - } - ], - "inputParticipantRecord": [ - { - "record_type": "AMENDED", - "change_time_stamp": null, - "serial_change_number": 1, - "nhs_number": 9999111726, - "superseded_by_nhs_number": null, - "primary_care_provider": "a12345", - "primary_care_effective_from_date": "20130319", - "current_posting": "CH", - "current_posting_effective_from_date": "20130319", - "name_prefix": "A.ML", - "given_name": "NewTest1", - "other_given_name": "Test", - "family_name": "Adani1", - "previous_family_name": "Test2", - "date_of_birth": "19700101", - "gender": 1, - "address_line_1": "247 SpaightSpaightSpTeeeeeeest Road", - "address_line_2": "Eastbourne", - "address_line_3": "Test", - "address_line_4": "Chelmsford", - "address_line_5": "United Kingdom", - "postcode": "AB43 8FJ", - "paf_key": "Z3S4Q5X9", - "address_effective_from_date": "20240501", - "reason_for_removal": null, - "reason_for_removal_effective_from_date": null, - "date_of_death": null, - "death_status": null, - "home_telephone_number": "01619999999", - "home_telephone_effective_from_date": "20240501", - "mobile_telephone_number": "07888888888", - "mobile_telephone_effective_from_date": "20240501", - "email_address": "bturneux0@soup.io", - "email_address_effective_from_date": "20240501", - "preferred_language": "en", - "is_interpreter_required": false, - "invalid_flag": false, - "eligibility": true - } - ], - "nhsNumbers": [ - "9999111726" - ] -} diff --git a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-5578-01/ADD_-_CAAS_BREAST_SCREENING_COHORT.json b/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-5578-01/ADD_-_CAAS_BREAST_SCREENING_COHORT.json deleted file mode 100644 index 3d604d5f46..0000000000 --- a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-5578-01/ADD_-_CAAS_BREAST_SCREENING_COHORT.json +++ /dev/null @@ -1,188 +0,0 @@ -{ - "validations": [ - { - "validations": { - "apiEndpoint": "api/ParticipantDemographicDataService", - "NhsNumber": 9990755078, - "PrimaryCareProvider": "FB1065" - }, - "meta": { - "testJiraId": "@DTOSS-5578-01", - "requirementJiraId": "DTOSS-3663", - "additionalTags": "@regression @e2e @epic3-med-priority - Exception when Add takes place with incorrect GP practice code - Check Demographic updated with incorrect GP practice code as FB1065 for NHS Participant 9990755078" - } - }, - { - "validations": { - "apiEndpoint": "api/ParticipantDemographicDataService", - "NhsNumber": 9990792909, - "PrimaryCareProvider": "FB1065" - }, - "meta": { - "testJiraId": "@DTOSS-5578-01", - "requirementJiraId": "DTOSS-3663", - "additionalTags": "@regression @e2e @epic3-med-priority - Exception when Add takes place with incorrect GP practice code - Check Demographic updated with incorrect GP practice code as FB1065 for NHS Participant 9990792909" - } - }, - { - "validations": { - "apiEndpoint": "api/ParticipantManagementDataService", - "NHSNumber": 9990792909, - "RecordType": "ADD" - }, - "meta": { - "testJiraId": "@DTOSS-5578-01", - "requirementJiraId": "DTOSS-3663", - "additionalTags": "@regression @e2e @epic3-med-priority - Exception when Add takes place with incorrect GP practice code - Check Participant updated with record type ADD for NHS Participant 9990792909" - } - }, - { - "validations": { - "apiEndpoint": "api/ParticipantManagementDataService", - "NHSNumber": 9990755078, - "RecordType": "ADD" - }, - "meta": { - "testJiraId": "@DTOSS-5578-01", - "requirementJiraId": "DTOSS-3663", - "additionalTags": "@regression @e2e @epic3-med-priority - Exception when Add takes place with incorrect GP practice code - Check Participant updated with record type ADD for NHS Participant 9990755078" - } - }, - { - "validations": { - "apiEndpoint": "api/ExceptionManagementDataService", - "NhsNumber": "9990755078", - "RuleId": 3601, - "RuleDescription": "Invalid primary care provider GP practice code" - }, - "meta": { - "testJiraId": "@DTOSS-5578-01", - "requirementJiraId": "DTOSS-3663", - "additionalTags": "@regression @e2e @epic3-med-priority - Exception when Add takes place with incorrect GP practice code - Check Exception table for NHS Participant 9990755078 with RuleId 3601 and RuleDescription Invalid primary care provider GP practice code" - } - }, - { - "validations": { - "apiEndpoint": "api/ExceptionManagementDataService", - "NhsNumber": "9990792909", - "RuleId": 3601, - "RuleDescription": "Invalid primary care provider GP practice code" - }, - "meta": { - "testJiraId": "@DTOSS-5578-01", - "requirementJiraId": "DTOSS-3663", - "additionalTags": "@regression @e2e @epic3-med-priority - Exception when Add takes place with incorrect GP practice code - Check Exception table for NHS Participant 9990792909 with RuleId 3601 and RuleDescription Invalid primary care provider GP practice code" - } - }, - { - "validations": { - "apiEndpoint": "api/CohortDistributionDataService", - "NHSNumber": "9990755078", - "expectedCount": 0 - }, - "meta": { - "testJiraId": "@DTOSS-5578-01", - "requirementJiraId": "DTOSS-3663", - "additionalTags": "@regression @e2e @epic3-med-priority - Exception when Add takes place with incorrect GP practice code - Check Cohort Distribution table for NHS Participant 9990755078 - Expecting no cohort distribution record" - } - }, - { - "validations": { - "apiEndpoint": "api/CohortDistributionDataService", - "NHSNumber": "9990792909", - "expectedCount": 0 - }, - "meta": { - "testJiraId": "@DTOSS-5578-01", - "requirementJiraId": "DTOSS-3663", - "additionalTags": "@regression @e2e @epic3-med-priority - Exception when Add takes place with incorrect GP practice code - Check Cohort Distribution table for NHS Participant 9990792909 - Expecting no cohort distribution record" - } - } - ], - "inputParticipantRecord": [ - { - "record_type": "ADD", - "change_time_stamp": null, - "serial_change_number": 1, - "nhs_number": 9990755078, - "superseded_by_nhs_number": null, - "primary_care_provider": "FB1065", - "primary_care_effective_from_date": "20130319", - "current_posting": "CH", - "current_posting_effective_from_date": "20130319", - "name_prefix": "WCOM", - "given_name": "NewTest1", - "other_given_name": "Test", - "family_name": "Adani1", - "previous_family_name": "Test2", - "date_of_birth": "19700101", - "gender": 1, - "address_line_1": "247 SpaightSpaightSpTeeeeeeest Road", - "address_line_2": "Eastbourne", - "address_line_3": "Test", - "address_line_4": "Chelmsford", - "address_line_5": "United Kingdom", - "postcode": "AB43 8FJ", - "paf_key": "Z3S4Q5X9", - "address_effective_from_date": "20130319", - "reason_for_removal": null, - "reason_for_removal_effective_from_date": null, - "date_of_death": null, - "death_status": null, - "home_telephone_number": "01619999999", - "home_telephone_effective_from_date": "20130319", - "mobile_telephone_number": "07888888888", - "mobile_telephone_effective_from_date": "20240501", - "email_address": "bturneux0@soup.io", - "email_address_effective_from_date": null, - "preferred_language": "en", - "is_interpreter_required": false, - "invalid_flag": false, - "eligibility": true - }, - { - "record_type": "ADD", - "change_time_stamp": null, - "serial_change_number": 2, - "nhs_number": 9990792909, - "superseded_by_nhs_number": null, - "primary_care_provider": "FB1065", - "primary_care_effective_from_date": "20130319", - "current_posting": "CH", - "current_posting_effective_from_date": "20130319", - "name_prefix": "WCOM", - "given_name": "NewTest2", - "other_given_name": "Test", - "family_name": "Adani2", - "previous_family_name": "Test2", - "date_of_birth": "19700101", - "gender": 1, - "address_line_1": "248 SpaightSpaightSpTeeeeeeest Road", - "address_line_2": "Eastbourne", - "address_line_3": "Test", - "address_line_4": "Chelmsford", - "address_line_5": "United Kingdom", - "postcode": "AB43 8FJ", - "paf_key": "Z3S4Q5X9", - "address_effective_from_date": "20130319", - "reason_for_removal": null, - "reason_for_removal_effective_from_date": null, - "date_of_death": null, - "death_status": null, - "home_telephone_number": "01619999999", - "home_telephone_effective_from_date": "20130319", - "mobile_telephone_number": "07888888888", - "mobile_telephone_effective_from_date": "20240501", - "email_address": "bturneux0@soup.io", - "email_address_effective_from_date": null, - "preferred_language": "en", - "is_interpreter_required": false, - "invalid_flag": false, - "eligibility": true - } - ], - "nhsNumbers": [ - "9990755078", - "9990792909" - ] -} diff --git a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-5579-01/ADD_1B8F53_-_CAAS_BREAST_SCREENING_COHORT.json b/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-5579-01/ADD_1B8F53_-_CAAS_BREAST_SCREENING_COHORT.json deleted file mode 100644 index 3e05020298..0000000000 --- a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-5579-01/ADD_1B8F53_-_CAAS_BREAST_SCREENING_COHORT.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "validations": [ - { - "validations": { - "apiEndpoint": "api/CohortDistributionDataService", - "NHSNumber": 9990267774 - }, - "meta": { - "testJiraId": "@DTOSS-5579-01", - "requirementJiraId": "DTOSS-5579", - "additionalTags": "@regression @e2e @epic3-med-priority - Check Add for Scenario with Exception when Amend takes place with incorrect GP practice code" - } - } - ], - "inputParticipantRecord": [ - { - "record_type": "ADD", - "change_time_stamp": null, - "serial_change_number": 1, - "nhs_number": 9990267774, - "superseded_by_nhs_number": null, - "primary_care_provider": "E85121", - "primary_care_effective_from_date": "20130319", - "current_posting": "CH", - "current_posting_effective_from_date": "20130319", - "name_prefix": "A.ML", - "given_name": "NewTest1", - "other_given_name": "Test", - "family_name": "Adani1", - "previous_family_name": "Test2", - "date_of_birth": "19700101", - "gender": 1, - "address_line_1": "247 SpaightSpaightSpTeeeeeeest Road", - "address_line_2": "Eastbourne", - "address_line_3": "Test", - "address_line_4": "Chelmsford", - "address_line_5": "United Kingdom", - "postcode": "AB43 8FJ", - "paf_key": "Z3S4Q5X9", - "address_effective_from_date": "20240501", - "reason_for_removal": null, - "reason_for_removal_effective_from_date": null, - "date_of_death": null, - "death_status": null, - "home_telephone_number": "01619999999", - "home_telephone_effective_from_date": "20240501", - "mobile_telephone_number": "07888888888", - "mobile_telephone_effective_from_date": "20240501", - "email_address": "bturneux0@soup.io", - "email_address_effective_from_date": "20240501", - "preferred_language": "en", - "is_interpreter_required": false, - "invalid_flag": false, - "eligibility": true - } - ], - "nhsNumbers": [ - "9990267774" - ] -} diff --git a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-5579-01/AMENDED_1B8F53_-_CAAS_BREAST_SCREENING_COHORT.json b/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-5579-01/AMENDED_1B8F53_-_CAAS_BREAST_SCREENING_COHORT.json deleted file mode 100644 index 43e9927aab..0000000000 --- a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-5579-01/AMENDED_1B8F53_-_CAAS_BREAST_SCREENING_COHORT.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "validations": [ - { - "validations": { - "apiEndpoint": "api/ExceptionManagementDataService", - "NhsNumber": "9990267774", - "RuleId": 3, - "RuleDescription": "GP practice code and Reason for Removal fields contain incompatible values" - }, - "meta": { - "testJiraId": "@DTOSS-5579-01", - "requirementJiraId": "DTOSS-5579", - "additionalTags": "@regression @e2e @epic3-med-priority - Exception when Amend takes place with incorrect GP practice code as FB1065 - check Rule Id 3" - } - }, - { - "validations": { - "apiEndpoint": "api/ExceptionManagementDataService", - "NhsNumber": "9990267774", - "RuleId": 3601, - "RuleDescription": "Invalid primary care provider GP practice code" - }, - "meta": { - "testJiraId": "@DTOSS-5579-01", - "requirementJiraId": "DTOSS-5579", - "additionalTags": "@regression @e2e @epic3-med-priority - Exception when Amend takes place with incorrect GP practice code as FB1065 - check Rule Id 3601" - } - }, - { - "validations": { - "apiEndpoint": "api/ExceptionManagementDataService", - "NhsNumber": "9990267774", - "RuleId": -2146233088, - "RuleDescriptionDynamic": "Unable to add to cohort distribution. As participant 14760 has triggered a validation exception" - }, - "meta": { - "testJiraId": "@DTOSS-5579-01", - "requirementJiraId": "DTOSS-5579", - "additionalTags": "@regression @e2e @epic3-med-priority - Exception when Amend takes place with incorrect GP practice code as FB1065 - check Rule Id -2146233088" - } - }, - { - "validations": { - "apiEndpoint": "api/ParticipantDemographicDataService", - "NhsNumber": 9990267774, - "PrimaryCareProvider": "FB1065" - }, - "meta": { - "testJiraId": "@DTOSS-5579-01", - "requirementJiraId": "DTOSS-5579", - "additionalTags": "@regression @e2e @epic3-med-priority - Exception when Amend takes place with incorrect GP practice code - Check Demographic updated with incorrect GP practice code as FB1065" - } - }, - { - "validations": { - "apiEndpoint": "api/ParticipantManagementDataService", - "NHSNumber": 9990267774, - "RecordType": "AMENDED" - }, - "meta": { - "testJiraId": "@DTOSS-5579-01", - "requirementJiraId": "DTOSS-5579", - "additionalTags": "@regression @e2e @epic3-med-priority - Exception when Amend takes place with incorrect GP practice code - Check Participant updated with record type AMENDED" - } - }, - { - "validations": { - "apiEndpoint": "api/CohortDistributionDataService", - "NHSNumber": 9990267774, - "PrimaryCareProvider": "E85121", - "expectedCount": 1 - }, - "meta": { - "testJiraId": "@DTOSS-5579-01", - "requirementJiraId": "DTOSS-5579", - "additionalTags": "@regression @e2e @epic3-med-priority - Exception when Amend takes place with incorrect GP practice code - Check Cohort is not updated with incorrect GP practice code as FB1065" - } - } - ], - "inputParticipantRecord": [ - { - "record_type": "AMENDED", - "change_time_stamp": null, - "serial_change_number": 1, - "nhs_number": 9990267774, - "superseded_by_nhs_number": null, - "primary_care_provider": "FB1065", - "primary_care_effective_from_date": null, - "current_posting": "CH", - "current_posting_effective_from_date": "20130319", - "name_prefix": "A.ML", - "given_name": "NewTest1", - "other_given_name": "Test", - "family_name": "Adani1", - "previous_family_name": "Test2", - "date_of_birth": "19710101", - "gender": 1, - "address_line_1": "247 SpaightSpaightSpTeeeeeeest Road", - "address_line_2": "Eastbourne", - "address_line_3": "Test", - "address_line_4": "Chelmsford", - "address_line_5": "United Kingdom", - "postcode": "AB43 8FJ", - "paf_key": "Z3S4Q5X9", - "address_effective_from_date": "20240501", - "reason_for_removal": "AFL", - "reason_for_removal_effective_from_date": "20200201", - "date_of_death": null, - "death_status": null, - "home_telephone_number": "016199999990", - "home_telephone_effective_from_date": "20240501", - "mobile_telephone_number": "07888888888", - "mobile_telephone_effective_from_date": "20240501", - "email_address": "bturneux0@soup.io", - "email_address_effective_from_date": "20240501", - "preferred_language": "en", - "is_interpreter_required": false, - "invalid_flag": false, - "eligibility": true - } - ], - "nhsNumbers": [ - "9990267774" - ] -} diff --git a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-6406-01/ADD_Exception_1B8F53_-_CAAS_BREAST_SCREENING_COHORT.json b/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-6406-01/ADD_Exception_1B8F53_-_CAAS_BREAST_SCREENING_COHORT.json deleted file mode 100644 index 308160245e..0000000000 --- a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-6406-01/ADD_Exception_1B8F53_-_CAAS_BREAST_SCREENING_COHORT.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "validations": [ - { - "validations": { - "apiEndpoint": "api/ExceptionManagementDataService", - "NhsNumber": "9995446588", - "RuleId": 3601, - "RuleDescription": "Invalid primary care provider GP practice code" - }, - "meta": { - "testJiraId": "@DTOSS-6406-01", - "requirementJiraId": "DTOSS-6256", - "additionalTags": "@smoke @e2e Tests Verify file upload handles invalid GP Practice Code Exception with RuleId 3601" - } - } - ], - "inputParticipantRecord": [ - { - "record_type": "ADD", - "change_time_stamp": null, - "serial_change_number": 1, - "nhs_number": 9995446588, - "superseded_by_nhs_number": null, - "primary_care_provider": "G82 141", - "primary_care_effective_from_date": "20130319", - "current_posting": "SUN", - "current_posting_effective_from_date": "20130319", - "name_prefix": "A.ML", - "given_name": "NewTest1", - "other_given_name": "Test", - "family_name": "Adani1", - "previous_family_name": "Test2", - "date_of_birth": "19700101", - "gender": 1, - "address_line_1": "247 SpaightSpaightSpTeeeeeeest Road", - "address_line_2": "Eastbourne", - "address_line_3": "Test", - "address_line_4": "Chelmsford", - "address_line_5": "United Kingdom", - "postcode": "AB43 8FJ", - "paf_key": "Z3S4Q5X9", - "address_effective_from_date": null, - "reason_for_removal": null, - "reason_for_removal_effective_from_date": null, - "date_of_death": null, - "death_status": null, - "home_telephone_number": "01619999999", - "home_telephone_effective_from_date": "20240501", - "mobile_telephone_number": "07888888888", - "mobile_telephone_effective_from_date": "20240501", - "email_address": "bturneux0@soup.io", - "email_address_effective_from_date": null, - "preferred_language": "en", - "is_interpreter_required": false, - "invalid_flag": false, - "eligibility": true - } - ], - "nhsNumbers": [ - "9995446588" - ] -} diff --git a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-9494-01/ADD_VB9494_-_CAAS_BREAST_SCREENING_COHORT.json b/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-9494-01/ADD_VB9494_-_CAAS_BREAST_SCREENING_COHORT.json deleted file mode 100644 index 969c7c07fa..0000000000 --- a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-9494-01/ADD_VB9494_-_CAAS_BREAST_SCREENING_COHORT.json +++ /dev/null @@ -1,116 +0,0 @@ -{ - "validations": [ - { - "validations": { - "apiEndpoint": "api/ExceptionManagementDataService", - "NhsNumber": "9999111157", - "RuleId": 3601, - "RuleDescription": "Invalid primary care provider GP practice code" - }, - "meta": { - "testJiraId": "@DTOSS-9494-01", - "requirementJiraId": "DTOSS-6045", - "additionalTags": "@regression @e2e @epic4d-validation-tests - Verify that exception is raised if one or more conditions are FALSE (CP - Not English - WGA, PCPC - NOT NULL - TWA123) - AC02 - ADD" - } - }, - { - "validations": { - "apiEndpoint": "api/ExceptionManagementDataService", - "NhsNumber": "9999111165", - "RuleId": 53, - "RuleDescription": "Current posting and Primary Care provider contain incompatible values" - }, - "meta": { - "testJiraId": "@DTOSS-9494-01", - "requirementJiraId": "DTOSS-6045", - "additionalTags": "@regression @e2e @epic4d-validation-tests - Verify that exception is raised if one or more conditions are FALSE (CP - Not English - null, PCPC - NOT NULL - TWA123) - AC02 - ADD" - } - } - ], - "inputParticipantRecord": [ - { - "record_type": "ADD", - "change_time_stamp": null, - "serial_change_number": 98, - "nhs_number": 9999111157, - "superseded_by_nhs_number": null, - "primary_care_provider": "TWA123", - "primary_care_effective_from_date": "20030318", - "current_posting": "WGA", - "current_posting_effective_from_date": "20130319", - "name_prefix": "BRO", - "given_name": "Name", - "other_given_name": "OtherGivenName", - "family_name": "FamiliyName", - "previous_family_name": "PreviousFamilyName", - "date_of_birth": "19700101", - "gender": 1, - "address_line_1": "98 Spaight Road", - "address_line_2": "Eastbourne", - "address_line_3": "Test", - "address_line_4": "Brighton", - "address_line_5": "United Kingdom", - "postcode": "BT1 1NN", - "paf_key": "Z3S4Q5X9", - "address_effective_from_date": "20130319", - "reason_for_removal": null, - "reason_for_removal_effective_from_date": null, - "date_of_death": null, - "death_status": null, - "home_telephone_number": "01619999999", - "home_telephone_effective_from_date": "20200818", - "mobile_telephone_number": "07888888888", - "mobile_telephone_effective_from_date": "20200818", - "email_address": "bturneux0@soup.io", - "email_address_effective_from_date": "20200818", - "preferred_language": "en", - "is_interpreter_required": false, - "invalid_flag": false, - "eligibility": true - }, - { - "record_type": "ADD", - "change_time_stamp": null, - "serial_change_number": 98, - "nhs_number": 9999111165, - "superseded_by_nhs_number": null, - "primary_care_provider": "TWA123", - "primary_care_effective_from_date": "20030318", - "current_posting": null, - "current_posting_effective_from_date": "20130319", - "name_prefix": "BRO", - "given_name": "Name", - "other_given_name": "OtherGivenName", - "family_name": "FamiliyName", - "previous_family_name": "PreviousFamilyName", - "date_of_birth": "19700101", - "gender": 1, - "address_line_1": "98 Spaight Road", - "address_line_2": "Eastbourne", - "address_line_3": "Test", - "address_line_4": "Brighton", - "address_line_5": "United Kingdom", - "postcode": "BT1 1NN", - "paf_key": "Z3S4Q5X9", - "address_effective_from_date": "20130319", - "reason_for_removal": null, - "reason_for_removal_effective_from_date": null, - "date_of_death": null, - "death_status": null, - "home_telephone_number": "01619999999", - "home_telephone_effective_from_date": "20200818", - "mobile_telephone_number": "07888888888", - "mobile_telephone_effective_from_date": "20200818", - "email_address": "bturneux0@soup.io", - "email_address_effective_from_date": "20200818", - "preferred_language": "en", - "is_interpreter_required": false, - "invalid_flag": false, - "eligibility": true - } - ], - "nhsNumbers": [ - "9999111157", - "9999111165" - ] -} diff --git a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-9495-01/ADD_VB9495_-_CAAS_BREAST_SCREENING_COHORT.json b/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-9495-01/ADD_VB9495_-_CAAS_BREAST_SCREENING_COHORT.json deleted file mode 100644 index c441a548f2..0000000000 --- a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-9495-01/ADD_VB9495_-_CAAS_BREAST_SCREENING_COHORT.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "validations": [ - { - "validations": { - "apiEndpoint": "api/CohortDistributionDataService", - "NHSNumber": 9999111262 - }, - "meta": { - "testJiraId": "@DTOSS-9495-01", - "requirementJiraId": "DTOSS-6045", - "additionalTags": "@regression @e2e @epic4d-validation-tests - Verify that exception is raised if one or more conditions are FALSE (CP - not English - WGA, PCPC - NOT NULL - E85121) - AC02- AMENDED" - } - }, - { - "validations": { - "apiEndpoint": "api/CohortDistributionDataService", - "NHSNumber": 9999111254 - }, - "meta": { - "testJiraId": "@DTOSS-9495-01", - "requirementJiraId": "DTOSS-6045", - "additionalTags": "@regression @e2e @epic4d-validation-tests - Verify that exception is raised if one or more conditions are FALSE (CP - Not English - null, PCPC - NOT NULL - TWA123) - AC02- AMENDED" - } - } - ], - "inputParticipantRecord": [ - { - "record_type": "ADD", - "change_time_stamp": null, - "serial_change_number": 98, - "nhs_number": 9999111262, - "superseded_by_nhs_number": null, - "primary_care_provider": "A81623", - "primary_care_effective_from_date": "20030318", - "current_posting": "LA", - "current_posting_effective_from_date": "20130319", - "name_prefix": "BRO", - "given_name": "Name", - "other_given_name": "OtherGivenName", - "family_name": "FamiliyName", - "previous_family_name": "PreviousFamilyName", - "date_of_birth": "19700101", - "gender": 1, - "address_line_1": "98 Spaight Road", - "address_line_2": "Eastbourne", - "address_line_3": "Test", - "address_line_4": "Brighton", - "address_line_5": "United Kingdom", - "postcode": "BT1 1NN", - "paf_key": "Z3S4Q5X9", - "address_effective_from_date": "20130319", - "reason_for_removal": null, - "reason_for_removal_effective_from_date": null, - "date_of_death": null, - "death_status": null, - "home_telephone_number": "01619999999", - "home_telephone_effective_from_date": "20200818", - "mobile_telephone_number": "07888888888", - "mobile_telephone_effective_from_date": "20200818", - "email_address": "bturneux0@soup.io", - "email_address_effective_from_date": "20200818", - "preferred_language": "en", - "is_interpreter_required": false, - "invalid_flag": false, - "eligibility": true - }, - { - "record_type": "ADD", - "change_time_stamp": null, - "serial_change_number": 98, - "nhs_number": 9999111254, - "superseded_by_nhs_number": null, - "primary_care_provider": "A81623", - "primary_care_effective_from_date": "20030318", - "current_posting": "LA", - "current_posting_effective_from_date": "20130319", - "name_prefix": "BRO", - "given_name": "Name", - "other_given_name": "OtherGivenName", - "family_name": "FamiliyName", - "previous_family_name": "PreviousFamilyName", - "date_of_birth": "19700101", - "gender": 1, - "address_line_1": "98 Spaight Road", - "address_line_2": "Eastbourne", - "address_line_3": "Test", - "address_line_4": "Brighton", - "address_line_5": "United Kingdom", - "postcode": "BT1 1NN", - "paf_key": "Z3S4Q5X9", - "address_effective_from_date": "20130319", - "reason_for_removal": null, - "reason_for_removal_effective_from_date": null, - "date_of_death": null, - "death_status": null, - "home_telephone_number": "01619999999", - "home_telephone_effective_from_date": "20200818", - "mobile_telephone_number": "07888888888", - "mobile_telephone_effective_from_date": "20200818", - "email_address": "bturneux0@soup.io", - "email_address_effective_from_date": "20200818", - "preferred_language": "en", - "is_interpreter_required": false, - "invalid_flag": false, - "eligibility": true - } - ], - "nhsNumbers": [ - "9999111262", - "9999111254" - ] -} diff --git a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-9495-01/AMENDED_VB9495_-_CAAS_BREAST_SCREENING_COHORT.json b/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-9495-01/AMENDED_VB9495_-_CAAS_BREAST_SCREENING_COHORT.json deleted file mode 100644 index 840cc3993a..0000000000 --- a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-9495-01/AMENDED_VB9495_-_CAAS_BREAST_SCREENING_COHORT.json +++ /dev/null @@ -1,116 +0,0 @@ -{ - "validations": [ - { - "validations": { - "apiEndpoint": "api/ExceptionManagementDataService", - "NhsNumber": "9999111262", - "RuleId": 3601, - "RuleDescription": "Invalid primary care provider GP practice code" - }, - "meta": { - "testJiraId": "@DTOSS-9495-01", - "requirementJiraId": "DTOSS-6045", - "additionalTags": "@regression @e2e @epic4d-validation-tests - Verify that exception is raised if one or more conditions are FALSE (CP - Not English - WGA, PCPC - NOT NULL - TWA123) - AC02 - ADD" - } - }, - { - "validations": { - "apiEndpoint": "api/ExceptionManagementDataService", - "NhsNumber": "9999111254", - "RuleId": 53, - "RuleDescription": "Current posting and Primary Care provider contain incompatible values" - }, - "meta": { - "testJiraId": "@DTOSS-9495-01", - "requirementJiraId": "DTOSS-6045", - "additionalTags": "@regression @e2e @epic4d-validation-tests - Verify that exception is raised if one or more conditions are FALSE (CP - Not English - null, PCPC - NOT NULL - TWA123) - AC02 - AMENDED" - } - } - ], - "inputParticipantRecord": [ - { - "record_type": "AMENDED", - "change_time_stamp": null, - "serial_change_number": 98, - "nhs_number": 9999111262, - "superseded_by_nhs_number": null, - "primary_care_provider": "TWA123", - "primary_care_effective_from_date": "20030318", - "current_posting": "WGA", - "current_posting_effective_from_date": "20130319", - "name_prefix": "BRO", - "given_name": "Name", - "other_given_name": "OtherGivenName", - "family_name": "FamiliyName", - "previous_family_name": "PreviousFamilyName", - "date_of_birth": "19700101", - "gender": 1, - "address_line_1": "98 Spaight Road", - "address_line_2": "Eastbourne", - "address_line_3": "Test", - "address_line_4": "Brighton", - "address_line_5": "United Kingdom", - "postcode": "BT1 1NN", - "paf_key": "Z3S4Q5X9", - "address_effective_from_date": "20130319", - "reason_for_removal": null, - "reason_for_removal_effective_from_date": null, - "date_of_death": null, - "death_status": null, - "home_telephone_number": "01619999999", - "home_telephone_effective_from_date": "20200818", - "mobile_telephone_number": "07888888888", - "mobile_telephone_effective_from_date": "20200818", - "email_address": "bturneux0@soup.io", - "email_address_effective_from_date": "20200818", - "preferred_language": "en", - "is_interpreter_required": false, - "invalid_flag": false, - "eligibility": true - }, - { - "record_type": "AMENDED", - "change_time_stamp": null, - "serial_change_number": 98, - "nhs_number": 9999111254, - "superseded_by_nhs_number": null, - "primary_care_provider": "TWA123", - "primary_care_effective_from_date": "20030318", - "current_posting": null, - "current_posting_effective_from_date": "20130319", - "name_prefix": "BRO", - "given_name": "Name", - "other_given_name": "OtherGivenName", - "family_name": "FamiliyName", - "previous_family_name": "PreviousFamilyName", - "date_of_birth": "19700101", - "gender": 1, - "address_line_1": "98 Spaight Road", - "address_line_2": "Eastbourne", - "address_line_3": "Test", - "address_line_4": "Brighton", - "address_line_5": "United Kingdom", - "postcode": "BT1 1NN", - "paf_key": "Z3S4Q5X9", - "address_effective_from_date": "20130319", - "reason_for_removal": null, - "reason_for_removal_effective_from_date": null, - "date_of_death": null, - "death_status": null, - "home_telephone_number": "01619999999", - "home_telephone_effective_from_date": "20200818", - "mobile_telephone_number": "07888888888", - "mobile_telephone_effective_from_date": "20200818", - "email_address": "bturneux0@soup.io", - "email_address_effective_from_date": "20200818", - "preferred_language": "en", - "is_interpreter_required": false, - "invalid_flag": false, - "eligibility": true - } - ], - "nhsNumbers": [ - "9999111262", - "9999111254" - ] -}