diff --git a/tests/e2e/.gitignore b/tests/e2e/.gitignore deleted file mode 100644 index c9d29fc72..000000000 --- a/tests/e2e/.gitignore +++ /dev/null @@ -1,46 +0,0 @@ -# Python -__pycache__/ -*.py[cod] -*$py.class -*.so -.Python -env/ -build/ -develop-eggs/ -dist/ -downloads/ -eggs/ -.eggs/ -lib/ -lib64/ -parts/ -sdist/ -var/ -*.egg-info/ -.installed.cfg -*.egg - -# Virtual Environment -venv/ -ENV/ -env/ - -# IDE -.idea/ -.vscode/ -*.swp -*.swo - -# Test reports -report.html -assets/ -.pytest_cache/ - -# Environment variables -.env - -# Logs -*.log -/helpers/output/ -/.hypothesis/unicode_data/15.1.0/charmap.json.gz -/tests/.hypothesis/unicode_data/15.1.0/charmap.json.gz diff --git a/tests/e2e/.hypothesis/unicode_data/15.1.0/charmap.json.gz b/tests/e2e/.hypothesis/unicode_data/15.1.0/charmap.json.gz deleted file mode 100644 index d9cff3e81..000000000 Binary files a/tests/e2e/.hypothesis/unicode_data/15.1.0/charmap.json.gz and /dev/null differ diff --git a/tests/e2e/README.md b/tests/e2e/README.md deleted file mode 100644 index 3804c2863..000000000 --- a/tests/e2e/README.md +++ /dev/null @@ -1,292 +0,0 @@ -# Eligibility Signposting API Test Automation Framework - -This repository contains a Python-based test automation framework for the Eligibility Signposting API. The framework uses pytest and requests to implement API tests that were previously executed manually using Postman. It also includes BDD-style tests using Behave (not pytest-bdd). - -## Framework Structure - -```bash -qa-automation/ -├── tests/ -│ └── eligibility_signposting/ -│ ├── test_eligibility_check.py # Tests for eligibility check endpoint -│ ├── test_eligibility_check_bdd.py # BDD tests for eligibility check -│ └── conftest.py # Pytest fixtures -├── features/ -│ ├── eligibility_check/ -│ │ └── eligibility_check.feature # Behave feature file -│ ├── steps/ -│ │ └── eligibility_check_steps.py # Behave step definitions -│ └── conftest.py # Behave fixtures (if needed) -├── utils/ -│ ├── api_client.py # Reusable HTTP client -│ └── config.py # Environment config and schemas -├── .env # Environment variables (not in version control) -├── pytest.ini # Pytest configuration -└── pyproject.toml # Poetry project file -``` - -## Setup and Installation - -1. Clone the repository: - - ```bash - git clone https://github.com/ivma1-nhs/qa-automation.git - cd qa-automation - ``` - -2. Create a virtual environment (optional but recommended): - - ```bash - python -m venv venv - source venv/bin/activate # On Windows: venv\Scripts\activate - ``` - -3. Install Poetry (if not already installed): - - ```bash - curl -sSL https://install.python-poetry.org | python3 - - # Or see https://python-poetry.org/docs/#installation for details - ``` - -4. Install dependencies: - - ```bash - poetry install - ``` - -5. Configure environment variables: - - Copy the `.env.example` file to `.env` (if not already present) - - Update the values in `.env` with your sandbox credentials - -## Running Tests - -### Running API (pytest) tests - -Run all pytest-based tests: - -```bash -poetry run pytest -``` - -Run a specific pytest test file: - -```bash -poetry run pytest tests/eligibility_signposting/test_eligibility_check.py -``` - -### Running BDD tests with Behave - -Run all Behave feature tests: - -```bash -poetry run behave -``` - -This will discover and run all feature files in the `features/` directory using Behave. - -## Extending the Framework - -### Adding New Test Files - -1. Create a new test file in the appropriate directory: - - ```python - # tests/eligibility_signposting/test_new_feature.py - import pytest - - @pytest.mark.new_feature - class TestNewFeature: - def test_something(self, api_client): - # Test implementation - pass - ``` - -2. Add the new marker to pytest.ini if needed: - - ```ini - markers = - new_feature: marks tests related to the new feature - ``` - -### Adding New BDD Tests (Behave) - -1. Create a new feature file: - - ```gherkin - # features/new_feature/new_feature.feature - Feature: New Feature - As a user of the Eligibility Signposting API - I want to use the new feature - So that I can achieve my goal - - Scenario: Successful use of new feature - Given the API is available - When I make a request to the new feature endpoint - Then the response should be successful - ``` - -2. Create step definitions: - - ```python - # features/steps/new_feature_steps.py - from behave import given, when, then - - @when('I make a request to the new feature endpoint') - def step_impl_make_request(context): - # Implementation - pass - - @then('the response should be successful') - def step_impl_check_success(context): - # Implementation - pass - ``` - -3. Run the BDD tests with: - - ```bash - poetry run behave - ``` - -### Adding New API Endpoints - -1. Update the config.py file with the new endpoint: - - ```python - # utils/config.py - NEW_ENDPOINT = '/new-endpoint' - ``` - -2. Add a new method to the ApiClient class: - - ```python - # utils/api_client.py - def get_new_endpoint(self, param1, param2): - url = f"{self.base_url}/new-endpoint" - params = {"param1": param1, "param2": param2} - response = requests.get(url, headers=self.headers, params=params) - return response - ``` - -### Adding New Response Schemas - -1. Add the new schema to config.py: - - ```python - # utils/config.py - NEW_ENDPOINT_SCHEMA = { - "type": "object", - "properties": { - # Schema definition - } - } - ``` - -2. Use the schema in your tests: - - ```python - from utils.config import NEW_ENDPOINT_SCHEMA - import jsonschema - - def test_new_endpoint_schema(self, api_client): - response = api_client.get_new_endpoint("value1", "value2") - response_json = response.json() - jsonschema.validate(instance=response_json, schema=NEW_ENDPOINT_SCHEMA) - ``` - -### Adding DynamoDB Integration - -When the DynamoDB-backed API is ready, you can extend the framework by: - -1. Adding DynamoDB client configuration: - - ```python - # utils/dynamo_client.py - import boto3 - from utils.config import AWS_REGION, AWS_ACCESS_KEY, AWS_SECRET_KEY - - class DynamoClient: - def __init__(self): - self.client = boto3.client( - 'dynamodb', - region_name=AWS_REGION, - aws_access_key_id=AWS_ACCESS_KEY, - aws_secret_access_key=AWS_SECRET_KEY - ) - - def get_item(self, table_name, key): - response = self.client.get_item( - TableName=table_name, - Key=key - ) - return response - ``` - -2. Adding fixtures in conftest.py: - - ```python - # tests/eligibility_signposting/conftest.py - from utils.dynamo_client import DynamoClient - - @pytest.fixture - def dynamo_client(): - return DynamoClient() - ``` - -3. Using the DynamoDB client in tests: - - ```python - def test_with_dynamodb(self, api_client, dynamo_client): - # Test implementation using both API and DynamoDB - pass - ``` - -## Best Practices - -1. **Test Independence**: Each test should be independent and not rely on the state from other tests. -2. **Fixtures**: Use fixtures for common setup and clean-up operations. -3. **Multiple Test Cases**: Use pytest's parameterize feature for testing multiple scenarios. -4. **Assertions**: Use descriptive assertions to make test failures clear. -5. **Documentation**: Document your tests with docstrings and comments. -6. **Environment Variables**: Use environment variables for sensitive information and configuration. - -## Continuous Integration - -This framework can be integrated with CI/CD pipelines: - -1. Add a GitHub Actions workflow: - - ```yaml - # .github/workflows/test.yml - name: API Tests - - on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - - jobs: - test: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: '3.9' - - name: Install dependencies - run: | - poetry install - - name: Run tests - run: | - poetry run pytest --html=report.html - env: - BASE_URL: ${{ secrets.BASE_URL }} - API_KEY: ${{ secrets.API_KEY }} - - name: Upload test report - uses: actions/upload-artifact@v2 - with: - name: test-report - path: report.html - ``` diff --git a/tests/e2e/__init__.py b/tests/e2e/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/tests/e2e/data/audit/AUTO_RSV_ELI-376-01.json b/tests/e2e/data/audit/AUTO_RSV_ELI-376-01.json deleted file mode 100644 index 37a1a8814..000000000 --- a/tests/e2e/data/audit/AUTO_RSV_ELI-376-01.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "request": { - "requestTimestamp": "2025-08-11 07:43:12.954767+00:00", - "headers": { - "xRequestId": null, - "xCorrelationId": null, - "nhsdEndUserOrganisationOds": null, - "nhsdApplicationId": null - }, - "queryParams": { - "category": null, - "conditions": null, - "includeActions": null - }, - "nhsNumber": "9900376001" - }, - "response": { - "responseId": "0300f1e8-6004-4229-a972-29220f08b8e9", - "lastUpdated": "2025-08-11 07:43:13.267973+00:00", - "condition": [ - { - "campaignId": "AUTO_RSV_ELI-376-01-Campaign-ID", - "campaignVersion": 1, - "iterationId": "AUTO_RSV_ELI-376-01-Iteration-ID", - "iterationVersion": 1, - "conditionName": "RSV", - "status": "actionable", - "statusText": "You should have the RSV vaccine", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_376_cohort_1", - "cohortStatus": "actionable" - }, - { - "cohortCode": "rsv_eli_376_cohort_2", - "cohortStatus": "actionable" - }, - { - "cohortCode": "rsv_eli_376_cohort_3", - "cohortStatus": "actionable" - }, - { - "cohortCode": "rsv_eli_376_cohort_4", - "cohortStatus": "actionable" - } - ], - "eligibilityCohortGroups": [ - { - "cohortCode": "rsv_eli_376_cohort_group", - "cohortText": "are a member of eli_376_cohort_group_0", - "cohortStatus": "actionable" - }, - { - "cohortCode": "rsv_eli_376_cohort_group", - "cohortText": "are a member of eli_376_cohort_group_10", - "cohortStatus": "actionable" - }, - { - "cohortCode": "rsv_eli_376_cohort_group", - "cohortText": "are a member of eli_376_cohort_group_20", - "cohortStatus": "actionable" - }, - { - "cohortCode": "rsv_eli_376_cohort_group_other", - "cohortText": "are a member of eli_376_cohort_group_other", - "cohortStatus": "actionable" - } - ], - "filterRules": null, - "suitabilityRules": null, - "actionRule": null, - "actions": [ - { - "internalActionCode": "TEST_ACTION", - "actionType": "ButtonWithAuthLink", - "actionCode": "TestAction", - "actionDescription": "TestAction Description", - "actionUrl": "http://www.nhs.uk/book-rsv", - "actionUrlLabel": "Continue to booking" - } - ] - } - ] - } -} diff --git a/tests/e2e/data/audit/AUTO_RSV_ELI-376-02.json b/tests/e2e/data/audit/AUTO_RSV_ELI-376-02.json deleted file mode 100644 index 955390d58..000000000 --- a/tests/e2e/data/audit/AUTO_RSV_ELI-376-02.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "request": { - "requestTimestamp": "2025-08-11 07:43:11.974643+00:00", - "headers": { - "xRequestId": null, - "xCorrelationId": null, - "nhsdEndUserOrganisationOds": null, - "nhsdApplicationId": null - }, - "queryParams": { - "category": null, - "conditions": null, - "includeActions": null - }, - "nhsNumber": "9900376002" - }, - "response": { - "responseId": "f09917f7-9f73-472a-b0f3-6cc0c5c86858", - "lastUpdated": "2025-08-11 07:43:12.287543+00:00", - "condition": [ - { - "campaignId": "AUTO_RSV_ELI-376-02-Campaign-ID", - "campaignVersion": 1, - "iterationId": "AUTO_RSV_ELI-376-02-Iteration-ID", - "iterationVersion": 1, - "conditionName": "RSV", - "status": "not_eligible", - "statusText": "We do not believe you can have it", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_376_cohort_1", - "cohortStatus": "not_eligible" - }, - { - "cohortCode": "rsv_eli_376_cohort_2", - "cohortStatus": "not_eligible" - }, - { - "cohortCode": "rsv_eli_376_cohort_3", - "cohortStatus": "not_eligible" - }, - { - "cohortCode": "rsv_eli_376_cohort_4", - "cohortStatus": "not_eligible" - } - ], - "eligibilityCohortGroups": [ - { - "cohortCode": "rsv_eli_376_cohort_group", - "cohortText": "are not a member of eli_376_cohort_group_0", - "cohortStatus": "not_eligible" - }, - { - "cohortCode": "rsv_eli_376_cohort_group", - "cohortText": "are not a member of eli_376_cohort_group_10", - "cohortStatus": "not_eligible" - }, - { - "cohortCode": "rsv_eli_376_cohort_group", - "cohortText": "are not a member of eli_376_cohort_group_20", - "cohortStatus": "not_eligible" - }, - { - "cohortCode": "rsv_eli_376_cohort_group_other", - "cohortText": "are not a member of eli_376_cohort_group_other", - "cohortStatus": "not_eligible" - } - ], - "filterRules": [ - { - "rulePriority": "100", - "ruleName": "NotEligible Reason 1" - } - ], - "suitabilityRules": null, - "actionRule": null, - "actions": [ - { - "internalActionCode": "TEST_NOT_ELI", - "actionType": "", - "actionCode": "TestNotEli", - "actionDescription": "TestNotEli Description", - "actionUrl": null, - "actionUrlLabel": null - } - ] - } - ] - } -} diff --git a/tests/e2e/data/audit/AUTO_RSV_ELI-376-03.json b/tests/e2e/data/audit/AUTO_RSV_ELI-376-03.json deleted file mode 100644 index 7c91d2f68..000000000 --- a/tests/e2e/data/audit/AUTO_RSV_ELI-376-03.json +++ /dev/null @@ -1,96 +0,0 @@ -{ - "request": { - "requestTimestamp": "2025-08-11 06:42:52.595081+00:00", - "headers": { - "xRequestId": null, - "xCorrelationId": null, - "nhsdEndUserOrganisationOds": null, - "nhsdApplicationId": null - }, - "queryParams": { - "category": null, - "conditions": null, - "includeActions": null - }, - "nhsNumber": "9900376003" - }, - "response": { - "responseId": "b3032aeb-fafd-48d0-8d32-1459140ea886", - "lastUpdated": "2025-08-11 06:42:52.942561+00:00", - "condition": [ - { - "campaignId": "AUTO_RSV_ELI-376-03-Campaign-ID", - "campaignVersion": 1, - "iterationId": "AUTO_RSV_ELI-376-03-Iteration-ID", - "iterationVersion": 1, - "conditionName": "RSV", - "status": "not_actionable", - "statusText": "You should have the RSV vaccine", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_376_cohort_1", - "cohortStatus": "not_actionable" - }, - { - "cohortCode": "rsv_eli_376_cohort_2", - "cohortStatus": "not_actionable" - }, - { - "cohortCode": "rsv_eli_376_cohort_3", - "cohortStatus": "not_actionable" - }, - { - "cohortCode": "rsv_eli_376_cohort_4", - "cohortStatus": "not_eligible" - } - ], - "eligibilityCohortGroups": [ - { - "cohortCode": "rsv_eli_376_cohort_group", - "cohortText": "are a member of eli_376_cohort_group_0", - "cohortStatus": "not_actionable" - }, - { - "cohortCode": "rsv_eli_376_cohort_group", - "cohortText": "are a member of eli_376_cohort_group_10", - "cohortStatus": "not_actionable" - }, - { - "cohortCode": "rsv_eli_376_cohort_group", - "cohortText": "are a member of eli_376_cohort_group_20", - "cohortStatus": "not_actionable" - }, - { - "cohortCode": "rsv_eli_376_cohort_group_other", - "cohortText": "are not a member of eli_376_cohort_group_other", - "cohortStatus": "not_eligible" - } - ], - "filterRules": [ - { - "rulePriority": "100", - "ruleName": "NotEligible Reason 1" - } - ], - "suitabilityRules": [ - { - "rulePriority": "200", - "ruleName": "NotActionable Reason 1", - "ruleMessage": "NotActionable Description 1" - } - ], - "actionRule": null, - "actions": [ - { - "internalActionCode": "BOOK_NBS", - "actionType": "ButtonWithAuthLink", - "actionCode": "BookNBS", - "actionDescription": null, - "actionUrl": "http://www.nhs.uk/book-rsv", - "actionUrlLabel": "Continue to booking" - } - ] - } - ] - } -} diff --git a/tests/e2e/data/audit/AUTO_RSV_ELI-376-04.json b/tests/e2e/data/audit/AUTO_RSV_ELI-376-04.json deleted file mode 100644 index 863f219e5..000000000 --- a/tests/e2e/data/audit/AUTO_RSV_ELI-376-04.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "request": { - "requestTimestamp": "2025-08-11 07:13:25.069391+00:00", - "headers": { - "xRequestId": null, - "xCorrelationId": null, - "nhsdEndUserOrganisationOds": null, - "nhsdApplicationId": null - }, - "queryParams": { - "category": null, - "conditions": null, - "includeActions": null - }, - "nhsNumber": "9900376004" - }, - "response": { - "responseId": "f516123d-e985-45a0-bebe-67fe08328db8", - "lastUpdated": "2025-08-11 07:13:25.470782+00:00", - "condition": [ - { - "campaignId": "AUTO_RSV_ELI-376-04-Campaign-ID", - "campaignVersion": 1, - "iterationId": "AUTO_RSV_ELI-376-04-Iteration-ID", - "iterationVersion": 1, - "conditionName": "RSV", - "status": "actionable", - "statusText": "You should have the RSV vaccine", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_376_cohort_1", - "cohortStatus": "not_eligible" - }, - { - "cohortCode": "rsv_eli_376_cohort_2", - "cohortStatus": "actionable" - }, - { - "cohortCode": "rsv_eli_376_cohort_3", - "cohortStatus": "actionable" - }, - { - "cohortCode": "rsv_eli_376_cohort_4", - "cohortStatus": "not_eligible" - } - ], - "eligibilityCohortGroups": [ - { - "cohortCode": "rsv_eli_376_cohort_group", - "cohortText": "are not a member of eli_376_cohort_group_0", - "cohortStatus": "not_eligible" - }, - { - "cohortCode": "rsv_eli_376_cohort_group", - "cohortText": "are a member of eli_376_cohort_group_10", - "cohortStatus": "actionable" - }, - { - "cohortCode": "rsv_eli_376_cohort_group", - "cohortText": "are a member of eli_376_cohort_group_20", - "cohortStatus": "actionable" - }, - { - "cohortCode": "rsv_eli_376_cohort_group_other", - "cohortText": "are not a member of eli_376_cohort_group_other", - "cohortStatus": "not_eligible" - } - ], - "filterRules": [ - { - "rulePriority": "100", - "ruleName": "NotEligible Reason 1" - }, - { - "rulePriority": "110", - "ruleName": "NotEligible Reason 2" - } - ], - "suitabilityRules": null, - "actionRule": null, - "actions": [] - } - ] - } -} diff --git a/tests/e2e/data/audit/AUTO_RSV_ELI-376-05.json b/tests/e2e/data/audit/AUTO_RSV_ELI-376-05.json deleted file mode 100644 index ec271967e..000000000 --- a/tests/e2e/data/audit/AUTO_RSV_ELI-376-05.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "request": { - "requestTimestamp": "2025-08-11 20:46:10.268634+00:00", - "headers": { - "xRequestId": null, - "xCorrelationId": null, - "nhsdEndUserOrganisationOds": null, - "nhsdApplicationId": null - }, - "queryParams": { - "category": null, - "conditions": null, - "includeActions": null - }, - "nhsNumber": "9900376005" - }, - "response": { - "responseId": "762b5ad0-a4fb-4f29-8330-561c98dc60e8", - "lastUpdated": "2025-08-11 20:46:10.693486+00:00", - "condition": [ - { - "campaignId": "AUTO_RSV_ELI-376-05-Campaign-ID", - "campaignVersion": 1, - "iterationId": "AUTO_RSV_ELI-376-05-Iteration-ID", - "iterationVersion": 1, - "conditionName": "RSV", - "status": "not_eligible", - "statusText": "We do not believe you can have it", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_376_cohort_1", - "cohortStatus": "not_eligible" - }, - { - "cohortCode": "rsv_eli_376_cohort_2", - "cohortStatus": "not_eligible" - }, - { - "cohortCode": "rsv_eli_376_cohort_3", - "cohortStatus": "not_eligible" - }, - { - "cohortCode": "rsv_eli_376_cohort_4", - "cohortStatus": "not_eligible" - } - ], - "eligibilityCohortGroups": [ - { - "cohortCode": "rsv_eli_376_cohort_group", - "cohortText": "are not a member of eli_376_cohort_group_0", - "cohortStatus": "not_eligible" - }, - { - "cohortCode": "rsv_eli_376_cohort_group", - "cohortText": "are not a member of eli_376_cohort_group_10", - "cohortStatus": "not_eligible" - }, - { - "cohortCode": "rsv_eli_376_cohort_group", - "cohortText": "are not a member of eli_376_cohort_group_20", - "cohortStatus": "not_eligible" - }, - { - "cohortCode": "rsv_eli_376_cohort_group_other", - "cohortText": "are not a member of eli_376_cohort_group_other", - "cohortStatus": "not_eligible" - } - ], - "filterRules": [ - { - "rulePriority": "100", - "ruleName": "NotEligible Reason 1" - }, - { - "rulePriority": "110", - "ruleName": "NotEligible Reason 2" - }, - { - "rulePriority": "120", - "ruleName": "NotEligible Reason 3" - }, - { - "rulePriority": "130", - "ruleName": "NotEligible Reason 4" - } - ], - "suitabilityRules": null, - "actionRule": null, - "actions": [ - { - "internalActionCode": "TEST_NOT_ELI", - "actionType": "", - "actionCode": "TestNotEli", - "actionDescription": "TestNotEli Description", - "actionUrl": null, - "actionUrlLabel": null - } - ] - } - ] - } -} diff --git a/tests/e2e/data/audit/AUTO_RSV_ELI-376-10.json b/tests/e2e/data/audit/AUTO_RSV_ELI-376-10.json deleted file mode 100644 index 21b363c58..000000000 --- a/tests/e2e/data/audit/AUTO_RSV_ELI-376-10.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "request": { - "requestTimestamp": "2025-08-11 07:13:25.069391+00:00", - "headers": { - "xRequestId": null, - "xCorrelationId": null, - "nhsdEndUserOrganisationOds": null, - "nhsdApplicationId": null - }, - "queryParams": { - "category": null, - "conditions": null, - "includeActions": null - }, - "nhsNumber": "9900376004" - }, - "response": { - "responseId": "f516123d-e985-45a0-bebe-67fe08328db8", - "lastUpdated": "2025-08-11 07:13:25.470782+00:00", - "condition": [ - { - "campaignId": "AUTO_RSV_ELI-376-04-Campaign-ID", - "campaignVersion": 1, - "iterationId": "AUTO_RSV_ELI-376-04-Iteration-ID", - "iterationVersion": 1, - "conditionName": "RSV", - "status": "actionable", - "statusText": "You should have the RSV vaccine", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_376_cohort_1", - "cohortStatus": "not_eligible" - }, - { - "cohortCode": "rsv_eli_376_cohort_2", - "cohortStatus": "actionable" - }, - { - "cohortCode": "rsv_eli_376_cohort_3", - "cohortStatus": "actionable" - }, - { - "cohortCode": "rsv_eli_376_cohort_4", - "cohortStatus": "not_eligible" - } - ], - "eligibilityCohortGroups": [ - { - "cohortCode": "rsv_eli_376_cohort_group", - "cohortText": "are not a member of eli_376_cohort_group_0", - "cohortStatus": "not_eligible" - }, - { - "cohortCode": "rsv_eli_376_cohort_group", - "cohortText": "are a member of eli_376_cohort_group_10", - "cohortStatus": "actionable" - }, - { - "cohortCode": "rsv_eli_376_cohort_group", - "cohortText": "are a member of eli_376_cohort_group_20", - "cohortStatus": "actionable" - }, - { - "cohortCode": "rsv_eli_376_cohort_group_other", - "cohortText": "are not a member of eli_376_cohort_group_other", - "cohortStatus": "not_eligible" - } - ], - "filterRules": null, - "suitabilityRules": null, - "actionRule": null, - "actions": [] - } - ] - } -} diff --git a/tests/e2e/data/configs/inProgressTestConfigs/440/AUTO_RSV_ELI-440-04.json b/tests/e2e/data/configs/inProgressTestConfigs/440/AUTO_RSV_ELI-440-04.json deleted file mode 100644 index 06bbdea5a..000000000 --- a/tests/e2e/data/configs/inProgressTestConfigs/440/AUTO_RSV_ELI-440-04.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "CampaignConfig": { - "ID": "AUTO_RSV_ELI-440-04-Campaign-ID", - "Version": 1, - "Name": "ELI-440-04-Iteration-Config-Name", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "BOOK_NBS", - "Iterations": [ - { - "ID": "AUTO_RSV_ELI-440-04-Iteration-ID", - "DefaultCommsRouting": "TEST_ACTION", - "DefaultNotActionableRouting": "TEST_NOT_ACTION", - "DefaultNotEligibleRouting": "TEST_NOT_ELI", - "Version": 1, - "Name": "ELI-440-04-Iteration-Config-Name", - "IterationDate": "20240808", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "elid_virtual_cohort", - "CohortGroup": "elid_virtual_cohort", - "PositiveDescription": "In elid_virtual_cohort", - "NegativeDescription": "Out elid_virtual_cohort", - "Priority": 1, - "Virtual": "Y" - }, - { - "CohortLabel": "rsv_eli_440_cohort_999", - "CohortGroup": "rsv_eli_440_cohort_999", - "PositiveDescription": "In rsv_eli_440_cohort_999", - "NegativeDescription": "Out rsv_eli_440_cohort_999", - "Priority": 2 - } - ], - "IterationRules": [ - { - "Type": "F", - "Name": "Filter based on cohort membership", - "Description": "Filter based on cohort membership", - "Priority": 100, - "AttributeLevel": "COHORT", - "AttributeName": "COHORT_LABEL", - "Operator": "in", - "Comparator": "elid_virtual_cohort" - } - ], - "ActionsMapper": { - "TEST_ACTION": { - "ExternalRoutingCode": "TestAction", - "ActionDescription": "TestAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - }, - "TEST_NOT_ACTION": { - "ExternalRoutingCode": "TestNotAction", - "ActionDescription": "TestNotAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": null, - "UrlLabel": "" - }, - "TEST_NOT_ELI": { - "ExternalRoutingCode": "TestNotEli", - "ActionDescription": "TestNotEli Description", - "ActionType": "TestNotEliAction", - "UrlLink": "https://www.noteligible.com/440", - "UrlLabel": "not_eli_UrlLabel" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/regressionTestConfigs/AUTO_RSV_REG_001.json b/tests/e2e/data/configs/regressionTestConfigs/AUTO_RSV_REG_001.json deleted file mode 100644 index e8bc72ffa..000000000 --- a/tests/e2e/data/configs/regressionTestConfigs/AUTO_RSV_REG_001.json +++ /dev/null @@ -1,304 +0,0 @@ -{ - "CampaignConfig": { - "ID": "Automation RSV - Regression Test Config - Camp ID", - "Version": 1, - "Name": "Automation RSV - Regression Test Config", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "DefaultCommsRouting": "DEFAULT_ACTION", - "StartDate": "20250601", - "EndDate": "20260601", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Iterations": [ - { - "ID": "Automation RSV - Regression Test Config - It ID", - "DefaultCommsRouting": "DEFAULT_ACTION", - "Version": 1, - "Name": "Automation RSV - Regression Test Config Iteration", - "IterationDate": "20250601", - "IterationNumber": 1, - "CommsType": "I", - "DefaultNotEligibleRouting": "", - "DefaultNotActionableRouting": "", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "M", - "IterationCohorts": [ - { - "CohortLabel": "rsv_cohort_1", - "CohortGroup": "rsv_age_group", - "PositiveDescription": "You are in an age group 1.", - "NegativeDescription": "You are not in an age group 1.", - "Priority": 10 - }, - { - "CohortLabel": "rsv_cohort_2", - "CohortGroup": "rsv_age_group", - "PositiveDescription": "You are in an age group 2.", - "NegativeDescription": "You are not in an age group 2.", - "Priority": 0 - }, - { - "CohortLabel": "rsv_cohort_3", - "CohortGroup": "rsv_other_group", - "PositiveDescription": "You are in an another group.", - "NegativeDescription": "You are not in an other group.", - "Priority": 20 - }, - { - "CohortLabel": "elid_all_people", - "CohortGroup": "elid_all_people", - "PositiveDescription": "", - "NegativeDescription": "", - "Priority": 30 - }, - { - "CohortLabel": "no_group_description", - "CohortGroup": "", - "PositiveDescription": "", - "NegativeDescription": "", - "Priority": 40 - } - ], - "IterationRules": [ - { - "Type": "F", - "Name": "Assure only already vaccinated taken from magic cohort", - "Description": "Exclude anyone who has NOT been given a dose of RSV Vaccination from the magic cohort", - "Operator": "is_empty", - "Comparator": "", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "CohortLabel": "elid_all_people", - "Priority": 100 - }, - { - "Type": "F", - "Name": "Under Age - Under 75 Years on day of execution", - "Description": "Ensure anyone who has a PDS date of birth which determines their age to be less than 75 years is filtered out.", - "Priority": 110, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-75", - "CohortLabel": "rsv_cohort_1" - }, - { - "Type": "F", - "Name": "Exclude Too OLD", - "Description": "Exclude anyone over 80", - "Priority": 111, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "<", - "Comparator": "-80", - "CohortLabel": "rsv_cohort_1" - }, - { - "Type": "F", - "Name": "Under Age - Under 75 Years on day of execution", - "Description": "Ensure anyone who has a PDS date of birth which determines their age to be less than 75 years is filtered out.", - "Priority": 112, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-75", - "CohortLabel": "rsv_cohort_2" - }, - { - "Type": "F", - "Name": "Exclude Too OLD", - "Description": "Exclude anyone over 80", - "Priority": 113, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "<", - "Comparator": "-80", - "CohortLabel": "rsv_cohort_2" - }, - { - "Type": "F", - "Name": "Under Age - Under 75 Years on day of execution", - "Description": "Ensure anyone who has a PDS date of birth which determines their age to be less than 75 years is filtered out.", - "Priority": 114, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-75", - "CohortLabel": "rsv_cohort_3" - }, - { - "Type": "F", - "Name": "Exclude Too OLD", - "Description": "Exclude anyone over 80", - "Priority": 115, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "<", - "Comparator": "-80", - "CohortLabel": "rsv_cohort_3" - }, - { - "Type": "F", - "Name": "Under Age - Under 75 Years on day of execution", - "Description": "Ensure anyone who has a PDS date of birth which determines their age to be less than 75 years is filtered out.", - "Priority": 116, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-75", - "CohortLabel": "no_group_description" - }, - { - "Type": "F", - "Name": "Exclude Too OLD", - "Description": "Exclude anyone over 80", - "Priority": 117, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "<", - "Comparator": "-80", - "CohortLabel": "no_group_description" - }, - { - "Type": "S", - "Name": "AlreadyVaccinated", - "Description": "##You've had your RSV vaccination\nWe believe you had your vaccination on <>.", - "Priority": 500, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "Y>=", - "Comparator": "-25", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "NotAvailable", - "Description": "NotAvailable|Vaccinations are not currently available.", - "Priority": 510, - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "Operator": "=", - "Comparator": "SUPPRESSED_ICB" - }, - { - "Type": "R", - "Name": "Actionable Not Vaccinated", - "Description": "Book An Appointment", - "Priority": 1010, - "Operator": "is_empty", - "Comparator": "", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "CommsRouting": "BOOK_NBS" - }, - { - "Type": "R", - "Name": "Actionable Not Vaccinated", - "Description": "Book An Appointment", - "Priority": 1010, - "Operator": "=", - "Comparator": "LS2", - "AttributeLevel": "PERSON", - "AttributeName": "POSTCODE_SECTOR", - "CommsRouting": "BOOK_NBS" - }, - { - "Type": "R", - "Name": "Actionable Future Booked Appointment", - "Description": "Actionable Future Booked Appointment", - "Priority": 1020, - "Operator": ">=", - "Comparator": "0", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CommsRouting": "AMEND_NBS" - }, - { - "Type": "R", - "Name": "Actionable Future Booked Appointment", - "Description": "Actionable Future Booked Appointment", - "Priority": 1020, - "Operator": "=", - "Comparator": "NBS", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_PROVIDER", - "CommsRouting": "AMEND_NBS" - }, - { - "Type": "R", - "Name": "Actionable Future Booked Appointment", - "Description": "Actionable Future Booked Appointment", - "Priority": 1030, - "Operator": ">=", - "Comparator": "0", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CommsRouting": "MANAGE_LOCAL" - }, - { - "Type": "R", - "Name": "Actionable Future Booked Appointment", - "Description": "Actionable Future Booked Appointment", - "Priority": 1050, - "Operator": "!=", - "Comparator": "NBS", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_PROVIDER", - "CommsRouting": "MANAGE_LOCAL" - } - ], - "ActionsMapper": { - "DEFAULT_ACTION": { - "ExternalRoutingCode": "DefaultAction", - "ActionDescription": "DefaultActionDescription", - "ActionType": "DefaultActionType", - "UrlLink": "https://www.defaultaction.com", - "UrlLabel": "DefaultLabel" - }, - "ANOTHER_ACTION": { - "ExternalRoutingCode": "AnotherAction", - "ActionDescription": "AnotherActionDescription", - "ActionType": "AnotherActionType", - "UrlLink": "https://www.anoteraction.com", - "UrlLabel": "AnotherLabel" - }, - "DEFAULT_X": { - "ExternalRoutingCode": "DefaultX", - "ActionDescription": "DefaultXDescription", - "ActionType": "DefaultXType", - "UrlLink": "https://www.defaultxaction.com", - "UrlLabel": "DefaultXLabel" - }, - "DEFAULT_Y": { - "ExternalRoutingCode": "DefaultY", - "ActionDescription": "DefaultYDescription", - "ActionType": "DefaultYType", - "UrlLink": "https://www.defaultyaction.com", - "UrlLabel": "DefaultYLabel" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/smokeTestConfigs/.temp/AUTO_RSV_SB_001.json b/tests/e2e/data/configs/smokeTestConfigs/.temp/AUTO_RSV_SB_001.json deleted file mode 100644 index efae1b3ee..000000000 --- a/tests/e2e/data/configs/smokeTestConfigs/.temp/AUTO_RSV_SB_001.json +++ /dev/null @@ -1,288 +0,0 @@ -{ - "CampaignConfig": { - "ID": "<>", - "Version": 1, - "Name": "Automation RSV - Smoke Test Config", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "DefaultCommsRouting": "BOOK_LOCAL", - "StartDate": "20250601", - "EndDate": "20260601", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Iterations": [ - { - "ID": ",<>", - "DefaultCommsRouting": "BOOK_LOCAL", - "Version": 1, - "Name": "Automation RSV - Smoke Test Config Iteration", - "IterationDate": "20250601", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "M", - "IterationCohorts": [ - { - "CohortLabel": "rsv_75_rolling", - "CohortGroup": "rsv_age_rolling", - "PositiveDescription": "are aged 75 to 79 years old.", - "NegativeDescription": "are not aged 75 to 79 years old.", - "Priority": 0 - }, - { - "CohortLabel": "rsv_75to79_2024", - "CohortGroup": "rsv_age_catchup", - "PositiveDescription": "turned 80 between 2nd September 2024 and 31st August 2025", - "NegativeDescription": "did not turn 80 after 1 September 2024 and get vaccinated by 31 August 2025", - "Priority": 10 - }, - { - "CohortLabel": "elid_all_people", - "CohortGroup": "elid_all_people", - "PositiveDescription": "", - "NegativeDescription": "", - "Priority": 20 - }, - { - "CohortLabel": "no_group_description", - "CohortGroup": "", - "PositiveDescription": "", - "NegativeDescription": "", - "Priority": 30 - } - ], - "IterationRules": [ - { - "Type": "F", - "Name": "Assure only already vaccinated taken from magic cohort", - "Description": "Exclude anyone who has NOT been given a dose of RSV Vaccination from the magic cohort", - "Operator": "is_empty", - "Comparator": "", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "CohortLabel": "elid_all_people", - "Priority": 100 - }, - { - "Type": "F", - "Name": "Under Age - Under 75 Years on day of execution", - "Description": "Ensure anyone who has a PDS date of birth which determines their age to be less than 75 years is filtered out.", - "Priority": 120, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-75" - }, - { - "Type": "F", - "Name": "Exclude Too OLD", - "Description": "Exclude anyone over 80", - "Priority": 130, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "<", - "Comparator": "-80" - }, - { - "Type": "S", - "Name": "AlreadyVaccinated", - "Description": "##You've had your RSV vaccination\nWe believe you had your vaccination on <>.", - "Priority": 550, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "Y>=", - "Comparator": "-25", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "NotAvailable", - "Description": "NotAvailable|Vaccinations are not currently available.", - "Priority": 510, - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "Operator": "=", - "Comparator": "SUPPRESSED_ICB", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "NotYetDue", - "Description": "NotYetDue|Your next dose is not yet due.", - "Priority": 520, - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "=", - "Comparator": "<>", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "TooClose", - "Description": "TooClose|Your previous vaccination was less than 91 days ago.", - "Priority": 530, - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "D>", - "Comparator": "<>", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "TooClose", - "Description": "TooClose|Your previous vaccination was less than 91 days ago.", - "Priority": 530, - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "D<", - "Comparator": "<>", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "OtherSetting", - "Description": "OtherSetting|## Getting the vaccine\nOur record show you're living in a setting where care is provided.\nIf you think you should have the RSV vaccine, speak to a member of staff where you live.", - "Priority": 540, - "AttributeLevel": "PERSON", - "AttributeName": "CARE_HOME_FLAG", - "Operator": "=", - "Comparator": "Y" - }, - { - "Type": "R", - "Name": "Actionable Not Vaccinated", - "Description": "Book An Appointment", - "Priority": 1010, - "Operator": "is_empty", - "Comparator": "", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "CommsRouting": "BOOK_NBS" - }, - { - "Type": "R", - "Name": "Actionable Not Vaccinated", - "Description": "Book An Appointment", - "Priority": 1010, - "Operator": "=", - "Comparator": "LS2", - "AttributeLevel": "PERSON", - "AttributeName": "POSTCODE_SECTOR", - "CommsRouting": "BOOK_NBS" - }, - { - "Type": "R", - "Name": "Actionable Future Booked Appointment", - "Description": "Actionable Future Booked Appointment", - "Priority": 1020, - "Operator": ">=", - "Comparator": "0", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CommsRouting": "AMEND_NBS" - }, - { - "Type": "R", - "Name": "Actionable Future Booked Appointment", - "Description": "Actionable Future Booked Appointment", - "Priority": 1020, - "Operator": "=", - "Comparator": "NBS", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_PROVIDER", - "CommsRouting": "AMEND_NBS" - }, - { - "Type": "R", - "Name": "Actionable Future Booked Appointment", - "Description": "Actionable Future Booked Appointment", - "Priority": 1030, - "Operator": ">=", - "Comparator": "0", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CommsRouting": "MANAGE_LOCAL" - }, - { - "Type": "R", - "Name": "Actionable Future Booked Appointment", - "Description": "Actionable Future Booked Appointment", - "Priority": 1030, - "Operator": "!=", - "Comparator": "NBS", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_PROVIDER", - "CommsRouting": "MANAGE_LOCAL" - } - ], - "ActionsMapper": { - "BOOK_NBS": { - "ExternalRoutingCode": "BookNBS", - "ActionDescription": "", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - }, - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "##You have an RSV vaccination appointment\nYou can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Manage your appointment" - }, - "CONTACT_GP": { - "ExternalRoutingCode": "ContactGP", - "ActionDescription": "Contact your GP", - "ActionType": "InfoText", - "UrlLink": "", - "UrlLabel": "" - }, - "BOOK_LOCAL": { - "ExternalRoutingCode": "BookLocal", - "ActionDescription": "##Getting the vaccine\nYou can get an RSV vaccination at your GP surgery.\nYour GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination.", - "ActionType": "InfoText", - "UrlLink": "", - "UrlLabel": "" - }, - "MANAGE_LOCAL": { - "ExternalRoutingCode": "ManageLocal", - "ActionDescription": "##You have an RSV vaccination appointment\nContact your healthcare provider to change or cancel your appointment.", - "ActionType": "CardWithText", - "UrlLink": "", - "UrlLabel": "" - }, - "CHECK_CORRECT": { - "ExternalRoutingCode": "CheckCorrect", - "ActionDescription": "##If you think this is incorrect\\nIf you have not had this vaccination and you think you should, speak to your healthcare professional.", - "ActionType": "InfoText", - "UrlLink": "", - "UrlLabel": "" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/smokeTestConfigs/.temp/AUTO_RSV_SB_008.json b/tests/e2e/data/configs/smokeTestConfigs/.temp/AUTO_RSV_SB_008.json deleted file mode 100644 index 7a896ab08..000000000 --- a/tests/e2e/data/configs/smokeTestConfigs/.temp/AUTO_RSV_SB_008.json +++ /dev/null @@ -1,128 +0,0 @@ -{ - "CampaignConfig": { - "ID": "<>", - "Version": 1, - "Name": "Automation RSV - Smoke Test Config", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "DefaultCommsRouting": "BOOK_LOCAL", - "StartDate": "20260601", - "EndDate": "20270601", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Iterations": [ - { - "ID": ",<>", - "DefaultCommsRouting": "BOOK_LOCAL", - "Version": 1, - "Name": "Automation RSV - Smoke Test Config Iteration", - "IterationDate": "20250601", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "M", - "IterationCohorts": [ - { - "CohortLabel": "rsv_75_rolling", - "CohortGroup": "rsv_age_rolling", - "PositiveDescription": "are aged 75 to 79 years old.", - "NegativeDescription": "are not aged 75 to 79 years old.", - "Priority": 0 - }, - { - "CohortLabel": "rsv_75to79_2024", - "CohortGroup": "rsv_age_catchup", - "PositiveDescription": "turned 80 between 2nd September 2024 and 31st August 2025", - "NegativeDescription": "did not turn 80 after 1 September 2024 and get vaccinated by 31 August 2025", - "Priority": 10 - }, - { - "CohortLabel": "elid_all_people", - "CohortGroup": "elid_all_people", - "PositiveDescription": "", - "NegativeDescription": "", - "Priority": 20 - }, - { - "CohortLabel": "no_group_description", - "CohortGroup": "", - "PositiveDescription": "", - "NegativeDescription": "", - "Priority": 30 - } - ], - "IterationRules": [ - { - "Type": "F", - "Name": "Assure only already vaccinated taken from magic cohort", - "Description": "Exclude anyone who has NOT been given a dose of RSV Vaccination from the magic cohort", - "Operator": "is_empty", - "Comparator": "", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "CohortLabel": "elid_all_people", - "Priority": 100 - } - ], - "ActionsMapper": { - "BOOK_NBS": { - "ExternalRoutingCode": "BookNBS", - "ActionDescription": "", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - }, - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "##You have an RSV vaccination appointment\nYou can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Manage your appointment" - }, - "CONTACT_GP": { - "ExternalRoutingCode": "ContactGP", - "ActionDescription": "Contact your GP", - "ActionType": "InfoText", - "UrlLink": "", - "UrlLabel": "" - }, - "BOOK_LOCAL": { - "ExternalRoutingCode": "BookLocal", - "ActionDescription": "##Getting the vaccine\nYou can get an RSV vaccination at your GP surgery.\nYour GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination.", - "ActionType": "InfoText", - "UrlLink": "", - "UrlLabel": "" - }, - "MANAGE_LOCAL": { - "ExternalRoutingCode": "ManageLocal", - "ActionDescription": "##You have an RSV vaccination appointment\nContact your healthcare provider to change or cancel your appointment.", - "ActionType": "CardWithText", - "UrlLink": "", - "UrlLabel": "" - }, - "CHECK_CORRECT": { - "ExternalRoutingCode": "CheckCorrect", - "ActionDescription": "##If you think this is incorrect\\nIf you have not had this vaccination and you think you should, speak to your healthcare professional.", - "ActionType": "InfoText", - "UrlLink": "", - "UrlLabel": "" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/smokeTestConfigs/AUTO_RSV_SB_001.json b/tests/e2e/data/configs/smokeTestConfigs/AUTO_RSV_SB_001.json deleted file mode 100644 index 99db5bd94..000000000 --- a/tests/e2e/data/configs/smokeTestConfigs/AUTO_RSV_SB_001.json +++ /dev/null @@ -1,281 +0,0 @@ -{ - "CampaignConfig": { - "ID": "<>", - "Version": 1, - "Name": "Automation RSV - Smoke Test Config", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "DefaultCommsRouting": "BOOK_LOCAL", - "StartDate": "20250601", - "EndDate": "20260601", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Iterations": [ - { - "ID": ",<>", - "DefaultCommsRouting": "BOOK_LOCAL", - "Version": 1, - "Name": "Automation RSV - Smoke Test Config Iteration", - "IterationDate": "20250601", - "IterationNumber": 1, - "CommsType": "I", - "DefaultNotEligibleRouting": "", - "DefaultNotActionableRouting": "", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_75_rolling", - "CohortGroup": "rsv_age_rolling", - "PositiveDescription": "are aged 75 to 79 years old.", - "NegativeDescription": "are not aged 75 to 79 years old.", - "Priority": 0 - }, - { - "CohortLabel": "rsv_75to79_2024", - "CohortGroup": "rsv_age_catchup", - "PositiveDescription": "turned 80 between 2nd September 2024 and 31st August 2025", - "NegativeDescription": "did not turn 80 between 2nd September 2024 and 31st August 2025", - "Priority": 10 - }, - { - "CohortLabel": "elid_all_people", - "CohortGroup": "elid_all_people", - "PositiveDescription": "", - "NegativeDescription": "", - "Priority": 20 - }, - { - "CohortLabel": "no_group_description", - "CohortGroup": "", - "PositiveDescription": "", - "NegativeDescription": "", - "Priority": 30 - } - ], - "IterationRules": [ - { - "Type": "F", - "Name": "Assure only already vaccinated taken from magic cohort", - "Description": "Exclude anyone who has NOT been given a dose of RSV Vaccination from the magic cohort", - "Operator": "is_empty", - "Comparator": "", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "CohortLabel": "elid_all_people", - "Priority": 100 - }, - { - "Type": "F", - "Name": "Under Age - Under 75 Years on day of execution", - "Description": "Ensure anyone who has a PDS date of birth which determines their age to be less than 75 years is filtered out.", - "Priority": 120, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-75", - "CohortLabel": "rsv_75to79_2024" - }, - { - "Type": "F", - "Name": "Under Age - Under 75 Years on day of execution", - "Description": "Ensure anyone who has a PDS date of birth which determines their age to be less than 75 years is filtered out.", - "Priority": 125, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-75", - "CohortLabel": "rsv_75_rolling" - }, - { - "Type": "F", - "Name": "Exclude Too OLD", - "Description": "Exclude anyone over 80", - "Priority": 130, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "<", - "Comparator": "-80" - }, - { - "Type": "S", - "Name": "AlreadyVaccinated", - "Description": "##You've had your RSV vaccination\nWe believe you had your vaccination on <>.", - "Priority": 550, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "Y>=", - "Comparator": "-25", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "NotAvailable", - "Description": "NotAvailable|Vaccinations are not currently available.", - "Priority": 510, - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "Operator": "=", - "Comparator": "SUPPRESSED_ICB" - }, - { - "Type": "S", - "Name": "NotYetDue", - "Description": "NotYetDue|Your next dose is not yet due.", - "Priority": 520, - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "=", - "Comparator": "20250326", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "TooClose", - "Description": "TooClose|Your previous vaccination was less than 91 days ago.", - "Priority": 530, - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "=", - "Comparator": "20250327", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "OtherSetting", - "Description": "OtherSetting|## Getting the vaccine\n\nOur record show you're living in a setting where care is provided.\n\nIf you think you should have the RSV vaccine, speak to a member of staff where you live.", - "Priority": 540, - "AttributeLevel": "PERSON", - "AttributeName": "CARE_HOME_FLAG", - "Operator": "=", - "Comparator": "Y" - }, - { - "Type": "R", - "Name": "Actionable Not Vaccinated", - "Description": "Book An Appointment", - "Priority": 1010, - "Operator": "is_empty", - "Comparator": "", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "CommsRouting": "BOOK_NBS" - }, - { - "Type": "R", - "Name": "Actionable Not Vaccinated", - "Description": "Book An Appointment", - "Priority": 1010, - "Operator": "=", - "Comparator": "LS2", - "AttributeLevel": "PERSON", - "AttributeName": "POSTCODE_SECTOR", - "CommsRouting": "BOOK_NBS" - }, - { - "Type": "R", - "Name": "Actionable Future Booked Appointment", - "Description": "Actionable Future Booked Appointment", - "Priority": 1020, - "Operator": ">=", - "Comparator": "0", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CommsRouting": "AMEND_NBS" - }, - { - "Type": "R", - "Name": "Actionable Future Booked Appointment", - "Description": "Actionable Future Booked Appointment", - "Priority": 1020, - "Operator": "=", - "Comparator": "NBS", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_PROVIDER", - "CommsRouting": "AMEND_NBS" - }, - { - "Type": "R", - "Name": "Actionable Future Booked Appointment", - "Description": "Actionable Future Booked Appointment", - "Priority": 1030, - "Operator": ">=", - "Comparator": "0", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CommsRouting": "MANAGE_LOCAL" - }, - { - "Type": "R", - "Name": "Actionable Future Booked Appointment", - "Description": "Actionable Future Booked Appointment", - "Priority": 1030, - "Operator": "!=", - "Comparator": "NBS", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_PROVIDER", - "CommsRouting": "MANAGE_LOCAL" - } - ], - "ActionsMapper": { - "BOOK_NBS": { - "ExternalRoutingCode": "BookNBS", - "ActionDescription": "", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - }, - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "##You have an RSV vaccination appointment\nYou can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Manage your appointment" - }, - "CONTACT_GP": { - "ExternalRoutingCode": "ContactGP", - "ActionDescription": "Contact your GP", - "ActionType": "InfoText" - }, - "BOOK_LOCAL": { - "ExternalRoutingCode": "BookLocal", - "ActionDescription": "##Getting the vaccine\nYou can get an RSV vaccination at your GP surgery.\nYour GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination.", - "ActionType": "InfoText" - }, - "MANAGE_LOCAL": { - "ExternalRoutingCode": "ManageLocal", - "ActionDescription": "##You have an RSV vaccination appointment\nContact your healthcare provider to change or cancel your appointment.", - "ActionType": "CardWithText" - }, - "CHECK_CORRECT": { - "ExternalRoutingCode": "CheckCorrect", - "ActionDescription": "##If you think this is incorrect\nIf you have not had this vaccination and you think you should, speak to your healthcare professional.", - "ActionType": "InfoText" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/smokeTestConfigs/AUTO_RSV_SB_008.json b/tests/e2e/data/configs/smokeTestConfigs/AUTO_RSV_SB_008.json deleted file mode 100644 index 73e672d14..000000000 --- a/tests/e2e/data/configs/smokeTestConfigs/AUTO_RSV_SB_008.json +++ /dev/null @@ -1,243 +0,0 @@ -{ - "CampaignConfig": { - "ID": "<>", - "Version": 1, - "Name": "Automation RSV - Smoke Test Config", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "DefaultCommsRouting": "BOOK_LOCAL", - "StartDate": "20260601", - "EndDate": "20270601", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Iterations": [ - { - "ID": ",<>", - "DefaultCommsRouting": "BOOK_LOCAL", - "Version": 1, - "Name": "Automation RSV - Smoke Test Config Iteration", - "IterationDate": "20250601", - "IterationNumber": 1, - "CommsType": "I", - "DefaultNotEligibleRouting": "", - "DefaultNotActionableRouting": "", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_75_rolling", - "CohortGroup": "rsv_age_rolling", - "PositiveDescription": "are aged 75 to 79 years old.", - "NegativeDescription": "are not aged 75 to 79 years old.", - "Priority": 0 - }, - { - "CohortLabel": "rsv_75to79_2024", - "CohortGroup": "rsv_age_catchup", - "PositiveDescription": "turned 80 between 2nd September 2024 and 31st August 2025", - "NegativeDescription": "did not turn 80 after 1 September 2024 and get vaccinated by 31 August 2025", - "Priority": 10 - }, - { - "CohortLabel": "elid_all_people", - "CohortGroup": "elid_all_people", - "PositiveDescription": "", - "NegativeDescription": "", - "Priority": 20 - }, - { - "CohortLabel": "no_group_description", - "CohortGroup": "", - "PositiveDescription": "", - "NegativeDescription": "", - "Priority": 30 - } - ], - "IterationRules": [ - { - "Type": "F", - "Name": "Assure only already vaccinated taken from magic cohort", - "Description": "Exclude anyone who has NOT been given a dose of RSV Vaccination from the magic cohort", - "Operator": "is_empty", - "Comparator": "", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "CohortLabel": "elid_all_people", - "Priority": 100 - }, - { - "Type": "F", - "Name": "Under Age - Under 75 Years on day of execution", - "Description": "Ensure anyone who has a PDS date of birth which determines their age to be less than 75 years is filtered out.", - "Priority": 120, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-75" - }, - { - "Type": "F", - "Name": "Exclude Too OLD", - "Description": "Exclude anyone over 80", - "Priority": 130, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "<", - "Comparator": "-80" - }, - { - "Type": "S", - "Name": "AlreadyVaccinated", - "Description": "##You've had your RSV vaccination\nWe believe you had your vaccination on <>.", - "Priority": 500, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "Y>=", - "Comparator": "-25", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "NotAvailable", - "Description": "NotAvailable|Vaccinations are not currently available.", - "Priority": 510, - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "Operator": "=", - "Comparator": "SUPPRESSED_ICB" - }, - { - "Type": "R", - "Name": "Actionable Not Vaccinated", - "Description": "Book An Appointment", - "Priority": 1010, - "Operator": "is_empty", - "Comparator": "", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "CommsRouting": "BOOK_NBS" - }, - { - "Type": "R", - "Name": "Actionable Not Vaccinated", - "Description": "Book An Appointment", - "Priority": 1010, - "Operator": "=", - "Comparator": "LS2", - "AttributeLevel": "PERSON", - "AttributeName": "POSTCODE_SECTOR", - "CommsRouting": "BOOK_NBS" - }, - { - "Type": "R", - "Name": "Actionable Future Booked Appointment", - "Description": "Actionable Future Booked Appointment", - "Priority": 1020, - "Operator": ">=", - "Comparator": "0", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CommsRouting": "AMEND_NBS" - }, - { - "Type": "R", - "Name": "Actionable Future Booked Appointment", - "Description": "Actionable Future Booked Appointment", - "Priority": 1020, - "Operator": "=", - "Comparator": "NBS", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_PROVIDER", - "CommsRouting": "AMEND_NBS" - }, - { - "Type": "R", - "Name": "Actionable Future Booked Appointment", - "Description": "Actionable Future Booked Appointment", - "Priority": 1030, - "Operator": ">=", - "Comparator": "0", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CommsRouting": "MANAGE_LOCAL" - }, - { - "Type": "R", - "Name": "Actionable Future Booked Appointment", - "Description": "Actionable Future Booked Appointment", - "Priority": 1030, - "Operator": "!=", - "Comparator": "NBS", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_PROVIDER", - "CommsRouting": "MANAGE_LOCAL" - } - ], - "ActionsMapper": { - "BOOK_NBS": { - "ExternalRoutingCode": "BookNBS", - "ActionDescription": "", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - }, - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "##You have an RSV vaccination appointment\nYou can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Manage your appointment" - }, - "CONTACT_GP": { - "ExternalRoutingCode": "ContactGP", - "ActionDescription": "Contact your GP", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "BOOK_LOCAL": { - "ExternalRoutingCode": "BookLocal", - "ActionDescription": "##Getting the vaccine\nYou can get an RSV vaccination at your GP surgery.\nYour GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination.", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "MANAGE_LOCAL": { - "ExternalRoutingCode": "ManageLocal", - "ActionDescription": "##You have an RSV vaccination appointment\nContact your healthcare provider to change or cancel your appointment.", - "ActionType": "CardWithText", - "UrlLink": null, - "UrlLabel": "" - }, - "CHECK_CORRECT": { - "ExternalRoutingCode": "CheckCorrect", - "ActionDescription": "##If you think this is incorrect\\nIf you have not had this vaccination and you think you should, speak to your healthcare professional.", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-155.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-155.json deleted file mode 100644 index 83223a5e7..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-155.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "CampaignConfig": { - "ID": "<>", - "Version": 1, - "Name": "ELI-155 - cohort_label is not supported in R rules", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "DefaultCommsRouting": "CONTACT_GP", - "StartDate": "20250601", - "EndDate": "20260601", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Iterations": [ - { - "ID": ",<>", - "DefaultCommsRouting": "CONTACT_GP", - "Version": 1, - "Name": "ELI-155 - cohort_label is not supported in R rules", - "IterationDate": "20250601", - "IterationNumber": 1, - "CommsType": "I", - "DefaultNotEligibleRouting": "", - "DefaultNotActionableRouting": "", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "eli_155_in", - "CohortGroup": "eli_155_in_group", - "PositiveDescription": "You are currently in eli_155_in", - "NegativeDescription": "You are not currently in eli_155_in", - "Priority": 0 - }, - { - "CohortLabel": "eli_155_out", - "CohortGroup": "eli_155_out_group", - "PositiveDescription": "You are currently in eli_155_out", - "NegativeDescription": "You are not currently in eli_155_out", - "Priority": 1 - } - ], - "IterationRules": [ - { - "Type": "R", - "Name": "Actionable if future appointment is booked", - "Description": "Book An Appointment", - "Priority": 1000, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "D>=", - "Comparator": "0", - "CommsRouting": "AMEND_NBS", - "CohortLabel": "eli_155_out" - } - ], - "ActionsMapper": { - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "##You have an RSV vaccination appointment\\nYou can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Manage your appointment" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-216.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-216.json deleted file mode 100644 index 0fb07fd7b..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-216.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "CampaignConfig": { - "ID": "<>", - "Version": 1, - "Name": "ELI-216 - NHS Number check (NHS login) - 9000000006", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "DefaultCommsRouting": "DEFAULT_ACTION", - "StartDate": "20250601", - "EndDate": "20260601", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Iterations": [ - { - "ID": ",<>", - "DefaultCommsRouting": "DEFAULT_ACTION", - "Version": 1, - "Name": "ELI-155 - Support Actions R Rules", - "IterationDate": "20250601", - "IterationNumber": 1, - "CommsType": "I", - "DefaultNotEligibleRouting": "", - "DefaultNotActionableRouting": "", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "eli_216_cohort", - "CohortGroup": "eli_216_cohort_group", - "PositiveDescription": "You are currently in eli_216_cohort", - "NegativeDescription": "You are not in eli_216_cohort", - "Priority": 0 - } - ], - "IterationRules": [ - { - "Type": "R", - "Name": "Actionable if future appointment is booked with ACC", - "Description": "Book An Appointment", - "Priority": 1000, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "D>=", - "Comparator": "0", - "CommsRouting": "ACTION_ONE" - }, - { - "Type": "R", - "Name": "Actionable if future appointment is booked with ACC", - "Description": "Book An Appointment", - "Priority": 1000, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "is_not_null", - "Comparator": "", - "CommsRouting": "ACTION_ONE" - } - ], - "ActionsMapper": { - "ACTION_ONE": { - "ExternalRoutingCode": "ActionOneRoutingCode", - "ActionDescription": "ActionOneDescription", - "ActionType": "ActionOneActionType", - "UrlLink": "http://www.actiononeurl.com/", - "UrlLabel": "ActionOneUrlLabel" - }, - "ACTION_TWO": { - "ExternalRoutingCode": "ActionTwoRoutingCode", - "ActionDescription": "ActionTwoDescription", - "ActionType": "ActionTwoActionType", - "UrlLink": "http://www.actiontwourl.com/", - "UrlLabel": "ActionTwoUrlLabel" - }, - "DEFAULT_ACTION": { - "ExternalRoutingCode": "DefaultAction", - "ActionDescription": "DefaultActionDescription", - "ActionType": "DefaultActionType", - "UrlLink": "http://www.defaultActionUrl.com/", - "UrlLabel": "DefaultLabel" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-219-1.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-219-1.json deleted file mode 100644 index c487c6a4c..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-219-1.json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "CampaignConfig": { - "ID": "<>", - "Version": 1, - "Name": "ELI-219 - Support Actions R Rules - 9000000002", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "DefaultCommsRouting": "DEFAULT_ACTION", - "StartDate": "20250601", - "EndDate": "20260601", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Iterations": [ - { - "ID": ",<>", - "DefaultCommsRouting": "DEFAULT_ACTION", - "Version": 1, - "Name": "ELI-155 - Support Actions R Rules", - "IterationDate": "20250601", - "IterationNumber": 1, - "CommsType": "I", - "DefaultNotEligibleRouting": "", - "DefaultNotActionableRouting": "", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "eli_291_cohort_1", - "CohortGroup": "eli_291_cohort_1_group", - "PositiveDescription": "You are currently in eli_291_cohort_1", - "NegativeDescription": "You are not in eli_291_cohort_1", - "Priority": 0 - } - ], - "IterationRules": [ - { - "Type": "R", - "Name": "Actionable if future appointment is booked with ACC", - "Description": "Book An Appointment", - "Priority": 1000, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "D>=", - "Comparator": "0", - "CommsRouting": "ACTION_ONE" - }, - { - "Type": "R", - "Name": "Actionable if future appointment is booked with ACC", - "Description": "Book An Appointment", - "Priority": 1000, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "is_not_null", - "Comparator": "", - "CommsRouting": "ACTION_ONE" - }, - { - "Type": "R", - "Name": "Actionable if future appointment is booked with ACC", - "Description": "Book An Appointment", - "Priority": 1000, - "AttributeLevel": "COHORT", - "Operator": "in", - "Comparator": "eli_291_cohort_2", - "CommsRouting": "ACTION_ONE" - } - ], - "ActionsMapper": { - "ACTION_ONE": { - "ExternalRoutingCode": "ActionOneRoutingCode", - "ActionDescription": "ActionOneDescription", - "ActionType": "ActionOneActionType", - "UrlLink": "http://www.actiononeurl.com", - "UrlLabel": "ActionOneUrlLabel" - }, - "ACTION_TWO": { - "ExternalRoutingCode": "ActionTwoRoutingCode", - "ActionDescription": "ActionTwoDescription", - "ActionType": "ActionTwoActionType", - "UrlLink": "http://www.actiontwourl.com", - "UrlLabel": "ActionTwoUrlLabel" - }, - "DEFAULT_ACTION": { - "ExternalRoutingCode": "DefaultAction", - "ActionDescription": "DefaultActionDescription", - "ActionType": "DefaultActionType", - "UrlLink": "https://www.defaultactionurl.com/", - "UrlLabel": "DefaultActionLabel" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-219-2.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-219-2.json deleted file mode 100644 index a693246e8..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-219-2.json +++ /dev/null @@ -1,117 +0,0 @@ -{ - "CampaignConfig": { - "ID": "<>", - "Version": 1, - "Name": "ELI-219 - Support Actions R Rules - 9000000003", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "DefaultCommsRouting": "DEFAULT_ACTION", - "StartDate": "20250601", - "EndDate": "20260601", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Iterations": [ - { - "ID": ",<>", - "DefaultCommsRouting": "DEFAULT_ACTION", - "Version": 1, - "Name": "ELI-155 - Support Actions R Rules", - "IterationDate": "20250601", - "IterationNumber": 1, - "CommsType": "I", - "DefaultNotEligibleRouting": "", - "DefaultNotActionableRouting": "", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "eli_291_cohort_2", - "CohortGroup": "eli_291_cohort_2_group", - "PositiveDescription": "You are currently in eli_291_cohort_2", - "NegativeDescription": "You are not in eli_291_cohort_2", - "Priority": 1 - } - ], - "IterationRules": [ - { - "Type": "R", - "Name": "Actionable if future appointment is booked with ACC", - "Description": "Book An Appointment", - "Priority": 1000, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "D<=", - "Comparator": "0", - "CommsRouting": "ACTION_ONE" - }, - { - "Type": "R", - "Name": "Actionable if future appointment is booked with ACC", - "Description": "Book An Appointment", - "Priority": 1030, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "is_not_null", - "Comparator": "", - "CommsRouting": "ACTION_THREE" - }, - { - "Type": "R", - "Name": "Actionable if future appointment is booked with ACC", - "Description": "Book An Appointment", - "Priority": 1020, - "AttributeLevel": "COHORT", - "Operator": "=", - "Comparator": "eli_291_cohort_2", - "CommsRouting": "ACTION_TWO" - } - ], - "ActionsMapper": { - "ACTION_ONE": { - "ExternalRoutingCode": "ActionOneRoutingCode", - "ActionDescription": "ActionOneDescription", - "ActionType": "ActionOneActionType", - "UrlLink": "http://www.actiononeurl.com", - "UrlLabel": "ActionOneUrlLabel" - }, - "ACTION_TWO": { - "ExternalRoutingCode": "ActionTwoRoutingCode", - "ActionDescription": "ActionTwoDescription", - "ActionType": "ActionTwoActionType", - "UrlLink": "http://www.actiontwourl.com", - "UrlLabel": "ActionTwoUrlLabel" - }, - "ACTION_THREE": { - "ExternalRoutingCode": "ActionThreeRoutingCode", - "ActionDescription": "ActionThreeDescription", - "ActionType": "ActionThreeActionType", - "UrlLink": "http://www.actionthreeurl.com", - "UrlLabel": "ActionThreeUrlLabel" - }, - "DEFAULT_ACTION": { - "ExternalRoutingCode": "DefaultAction", - "ActionDescription": "DefaultActionDescription", - "ActionType": "DefaultActionType", - "UrlLink": "https://www.defaultactionurl.com", - "UrlLabel": "DefaultLabel" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-219-3.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-219-3.json deleted file mode 100644 index 1700f134c..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-219-3.json +++ /dev/null @@ -1,107 +0,0 @@ -{ - "CampaignConfig": { - "ID": "<>", - "Version": 1, - "Name": "ELI-219 - Support Actions R Rules - 9000000004", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "DefaultCommsRouting": "DEFAULT_ACTION", - "StartDate": "20250601", - "EndDate": "20260601", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Iterations": [ - { - "ID": ",<>", - "DefaultCommsRouting": "DEFAULT_ACTION", - "Version": 1, - "Name": "ELI-219 - Support Actions R Rules - 9000000004", - "IterationDate": "20250601", - "IterationNumber": 1, - "CommsType": "I", - "DefaultNotEligibleRouting": "", - "DefaultNotActionableRouting": "", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "eli_291_cohort_3", - "CohortGroup": "eli_291_cohort_3_group", - "PositiveDescription": "You are currently in eli_291_cohort_3", - "NegativeDescription": "You are not in eli_291_cohort_3", - "Priority": 1 - } - ], - "IterationRules": [ - { - "Type": "R", - "Name": "Actionable if future appointment is booked", - "Description": "Book An Appointment", - "Priority": 1000, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "D>=", - "Comparator": "0", - "CommsRouting": "ACTION_ONE" - }, - { - "Type": "R", - "Name": "Actionable if Vaccinated", - "Description": "You are Vaccinated", - "Priority": 1010, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "is_not_null", - "Comparator": "", - "CommsRouting": "ACTION_TWO" - } - ], - "ActionsMapper": { - "ACTION_ONE": { - "ExternalRoutingCode": "ActionOneRoutingCode", - "ActionDescription": "ActionOneDescription", - "ActionType": "ActionOneActionType", - "UrlLink": "http://www.actiononeurl.com", - "UrlLabel": "ActionOneUrlLabel" - }, - "ACTION_TWO": { - "ExternalRoutingCode": "ActionTwoRoutingCode", - "ActionDescription": "ActionTwoDescription", - "ActionType": "ActionTwoActionType", - "UrlLink": "http://www.actiontwourl.com", - "UrlLabel": "ActionTwoUrlLabel" - }, - "ACTION_THREE": { - "ExternalRoutingCode": "ActionThreeRoutingCode", - "ActionDescription": "ActionThreeDescription", - "ActionType": "ActionThreeActionType", - "UrlLink": "http://www.actionthreeurl.com", - "UrlLabel": "ActionThreeUrlLabel" - }, - "DEFAULT_ACTION": { - "ExternalRoutingCode": "DefaultAction", - "ActionDescription": "DefaultActionDescription", - "ActionType": "DefaultActionType", - "UrlLink": "https://www.defaultactionurl.com", - "UrlLabel": "DefaultLabel" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-01.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-01.json deleted file mode 100644 index f2d7de1dc..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-01.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "CampaignConfig": { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d0", - "Version": 1, - "Name": "ELI-220-01-Iteration-Config", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "PLACEHOLDER_COMMS_ROUTING", - "Iterations": [ - { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d1", - "DefaultCommsRouting": "", - "DefaultNotActionableRouting": "", - "DefaultNotEligibleRouting": "", - "Version": 1, - "Name": "ELI-220-01-Iteration-Config", - "IterationDate": "20240808", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_220_cohort_1", - "CohortGroup": "rsv_eli_220_cohort_group", - "PositiveDescription": "are a member of eli_220_cohort_group_10", - "NegativeDescription": "are not a member of eli_220_cohort_group_10", - "Priority": 10 - }, - { - "CohortLabel": "rsv_eli_220_cohort_2", - "CohortGroup": "rsv_eli_220_cohort_group", - "PositiveDescription": "are a member of eli_220_cohort_group_0", - "NegativeDescription": "are not a member of eli_220_cohort_group_0", - "Priority": 0 - }, - { - "CohortLabel": "rsv_eli_220_cohort_3", - "CohortGroup": "rsv_eli_220_cohort_group", - "PositiveDescription": "are a member of eli_220_cohort_group_40", - "NegativeDescription": "are not a member of eli_220_cohort_group_40", - "Priority": 40 - }, - { - "CohortLabel": "rsv_eli_220_cohort_4", - "CohortGroup": "rsv_eli_220_cohort_group_other", - "PositiveDescription": "are a member of eli_220_cohort_group_other", - "NegativeDescription": "are not a member of eli_220_cohort_group_other", - "Priority": 20 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "NotActionable Reason 1", - "Description": "Description 1", - "Operator": "Y>", - "Comparator": "-75", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "CohortLabel": "rsv_eli_220_cohort_1", - "Priority": 100 - } - ], - "ActionsMapper": { - "BOOK_NBS": { - "ExternalRoutingCode": "BookNBS", - "ActionDescription": "", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-02.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-02.json deleted file mode 100644 index 2f4049674..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-02.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "CampaignConfig": { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d0", - "Version": 1, - "Name": "ELI-220-01-Iteration-Config", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "PLACEHOLDER_COMMS_ROUTING", - "Iterations": [ - { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d1", - "DefaultCommsRouting": "", - "DefaultNotActionableRouting": "", - "DefaultNotEligibleRouting": "", - "Version": 1, - "Name": "ELI-220-01-Iteration-Config", - "IterationDate": "20250717", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_220_cohort_1", - "CohortGroup": "rsv_eli_220_cohort_group", - "PositiveDescription": "are a member of eli_220_cohort_group_10", - "NegativeDescription": "are not a member of eli_220_cohort_group_10", - "Priority": 10 - }, - { - "CohortLabel": "rsv_eli_220_cohort_2", - "CohortGroup": "rsv_eli_220_cohort_group", - "PositiveDescription": "", - "NegativeDescription": "are not a member of eli_220_cohort_group_0", - "Priority": 0 - }, - { - "CohortLabel": "rsv_eli_220_cohort_3", - "CohortGroup": "rsv_eli_220_cohort_group", - "PositiveDescription": "are a member of eli_220_cohort_group_40", - "NegativeDescription": "are not a member of eli_220_cohort_group_40", - "Priority": 40 - }, - { - "CohortLabel": "rsv_eli_220_cohort_4", - "CohortGroup": "rsv_eli_220_cohort_group_other", - "PositiveDescription": "are a member of eli_220_cohort_group_other", - "NegativeDescription": "are not a member of eli_220_cohort_group_other", - "Priority": 20 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "NotActionable Reason 1", - "Description": "Description 1", - "Operator": "Y>", - "Comparator": "-75", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "CohortLabel": "rsv_eli_220_cohort_1", - "Priority": 100 - } - ], - "ActionsMapper": { - "BOOK_NBS": { - "ExternalRoutingCode": "BookNBS", - "ActionDescription": "", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-03.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-03.json deleted file mode 100644 index 23ce6e5f5..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-03.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "CampaignConfig": { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d0", - "Version": 1, - "Name": "ELI-220-03-Iteration-Config", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "PLACEHOLDER_COMMS_ROUTING", - "Iterations": [ - { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d1", - "DefaultCommsRouting": "", - "DefaultNotActionableRouting": "", - "DefaultNotEligibleRouting": "", - "Version": 1, - "Name": "ELI-220-03-Iteration-Config", - "IterationDate": "20250717", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_220_cohort_1", - "CohortGroup": "rsv_eli_220_cohort_group", - "PositiveDescription": "are a member of eli_220_cohort_group_10", - "NegativeDescription": "are not a member of eli_220_cohort_group_10", - "Priority": 10 - }, - { - "CohortLabel": "rsv_eli_220_cohort_2", - "CohortGroup": "rsv_eli_220_cohort_group", - "PositiveDescription": "are a member of eli_220_cohort_group_0", - "NegativeDescription": "are not a member of eli_220_cohort_group_0", - "Priority": 0 - }, - { - "CohortLabel": "rsv_eli_220_cohort_3", - "CohortGroup": "rsv_eli_220_cohort_group", - "PositiveDescription": "are a member of eli_220_cohort_group_40", - "NegativeDescription": "are not a member of eli_220_cohort_group_40", - "Priority": 40 - }, - { - "CohortLabel": "rsv_eli_220_cohort_4", - "CohortGroup": "rsv_eli_220_cohort_group_other", - "PositiveDescription": "are a member of eli_220_cohort_group_other", - "NegativeDescription": "are not a member of eli_220_cohort_group_other", - "Priority": 20 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "NotActionable Reason 1", - "Description": "Description 1", - "Operator": "Y>", - "Comparator": "-75", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Priority": 100 - } - ], - "ActionsMapper": { - "BOOK_NBS": { - "ExternalRoutingCode": "BookNBS", - "ActionDescription": "", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-04.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-04.json deleted file mode 100644 index b2043bd7f..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-04.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "CampaignConfig": { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d0", - "Version": 1, - "Name": "ELI-220-04-Iteration-Config", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "PLACEHOLDER_COMMS_ROUTING", - "Iterations": [ - { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d1", - "DefaultCommsRouting": "", - "DefaultNotActionableRouting": "", - "DefaultNotEligibleRouting": "", - "Version": 1, - "Name": "ELI-220-04-Iteration-Config", - "IterationDate": "20250717", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_220_cohort_1", - "CohortGroup": "rsv_eli_220_cohort_group", - "PositiveDescription": "are a member of eli_220_cohort_group_10", - "NegativeDescription": "are not a member of eli_220_cohort_group_10", - "Priority": 10 - }, - { - "CohortLabel": "rsv_eli_220_cohort_2", - "CohortGroup": "rsv_eli_220_cohort_group", - "PositiveDescription": "", - "NegativeDescription": "are not a member of eli_220_cohort_group_0", - "Priority": 0 - }, - { - "CohortLabel": "rsv_eli_220_cohort_3", - "CohortGroup": "rsv_eli_220_cohort_group", - "PositiveDescription": "are a member of eli_220_cohort_group_40", - "NegativeDescription": "are not a member of eli_220_cohort_group_40", - "Priority": 40 - }, - { - "CohortLabel": "rsv_eli_220_cohort_4", - "CohortGroup": "rsv_eli_220_cohort_group_other", - "PositiveDescription": "are a member of eli_220_cohort_group_other", - "NegativeDescription": "are not a member of eli_220_cohort_group_other", - "Priority": 20 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "NotActionable Reason 1", - "Description": "Description 1", - "Operator": "Y>", - "Comparator": "-75", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Priority": 100 - } - ], - "ActionsMapper": { - "BOOK_NBS": { - "ExternalRoutingCode": "BookNBS", - "ActionDescription": "", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-05.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-05.json deleted file mode 100644 index b49084fac..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-05.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "CampaignConfig": { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d0", - "Version": 1, - "Name": "ELI-220-05-Iteration-Config", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "PLACEHOLDER_COMMS_ROUTING", - "Iterations": [ - { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d1", - "DefaultCommsRouting": "", - "DefaultNotActionableRouting": "", - "DefaultNotEligibleRouting": "", - "Version": 1, - "Name": "ELI-220-04-Iteration-Config", - "IterationDate": "20250717", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_220_cohort_1", - "CohortGroup": "rsv_eli_220_cohort_group", - "PositiveDescription": "are a member of eli_220_cohort_group_10", - "NegativeDescription": "are not a member of eli_220_cohort_group_10", - "Priority": 10 - }, - { - "CohortLabel": "rsv_eli_220_cohort_2", - "CohortGroup": "rsv_eli_220_cohort_group", - "PositiveDescription": "are a member of eli_220_cohort_group_0", - "NegativeDescription": "are not a member of eli_220_cohort_group_0", - "Priority": 0 - }, - { - "CohortLabel": "rsv_eli_220_cohort_3", - "CohortGroup": "rsv_eli_220_cohort_group", - "PositiveDescription": "are a member of eli_220_cohort_group_40", - "NegativeDescription": "are not a member of eli_220_cohort_group_40", - "Priority": 40 - }, - { - "CohortLabel": "rsv_eli_220_cohort_4", - "CohortGroup": "rsv_eli_220_cohort_group_other", - "PositiveDescription": "are a member of eli_220_cohort_group_other", - "NegativeDescription": "are not a member of eli_220_cohort_group_other", - "Priority": 20 - } - ], - "IterationRules": [ - { - "Type": "F", - "Name": "NotActionable Reason 1", - "Description": "Description 1", - "Operator": "Y>", - "Comparator": "-75", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Priority": 100 - } - ], - "ActionsMapper": { - "BOOK_NBS": { - "ExternalRoutingCode": "BookNBS", - "ActionDescription": "", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-06.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-06.json deleted file mode 100644 index 71a6495c8..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-06.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "CampaignConfig": { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d0", - "Version": 1, - "Name": "ELI-220-06-Iteration-Config", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "PLACEHOLDER_COMMS_ROUTING", - "Iterations": [ - { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d1", - "DefaultCommsRouting": "", - "DefaultNotActionableRouting": "", - "DefaultNotEligibleRouting": "", - "Version": 1, - "Name": "ELI-220-04-Iteration-Config", - "IterationDate": "20250717", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_220_cohort_1", - "CohortGroup": "rsv_eli_220_cohort_group", - "PositiveDescription": "are a member of eli_220_cohort_group_10", - "NegativeDescription": "are not a member of eli_220_cohort_group_10", - "Priority": 10 - }, - { - "CohortLabel": "rsv_eli_220_cohort_2", - "CohortGroup": "rsv_eli_220_cohort_group", - "PositiveDescription": "are a member of eli_220_cohort_group_0", - "NegativeDescription": "", - "Priority": 0 - }, - { - "CohortLabel": "rsv_eli_220_cohort_3", - "CohortGroup": "rsv_eli_220_cohort_group", - "PositiveDescription": "are a member of eli_220_cohort_group_40", - "NegativeDescription": "are not a member of eli_220_cohort_group_40", - "Priority": 40 - }, - { - "CohortLabel": "rsv_eli_220_cohort_4", - "CohortGroup": "rsv_eli_220_cohort_group_other", - "PositiveDescription": "are a member of eli_220_cohort_group_other", - "NegativeDescription": "are not a member of eli_220_cohort_group_other", - "Priority": 20 - } - ], - "IterationRules": [ - { - "Type": "F", - "Name": "NotActionable Reason 1", - "Description": "Description 1", - "Operator": "Y>", - "Comparator": "-75", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Priority": 100 - } - ], - "ActionsMapper": { - "BOOK_NBS": { - "ExternalRoutingCode": "BookNBS", - "ActionDescription": "", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-221-01.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-221-01.json deleted file mode 100644 index 2dc45815d..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-221-01.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "CampaignConfig": { - "ID": "<>", - "Version": 1, - "Name": "ELI-221 - Create Rule Stop function - Rule Stop on 2nd rule", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "DefaultCommsRouting": "CONTACT_GP", - "StartDate": "20250601", - "EndDate": "20260601", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Iterations": [ - { - "ID": ",<>", - "DefaultCommsRouting": "CONTACT_GP", - "Version": 1, - "Name": "ELI-221 - Create Rule Stop function - Rule Stop on Vaccinated", - "IterationDate": "20250601", - "IterationNumber": 1, - "CommsType": "I", - "DefaultNotEligibleRouting": "", - "DefaultNotActionableRouting": "", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "eli_221_cohort", - "CohortGroup": "eli_221_group", - "PositiveDescription": "You are currently in eli_221_cohort", - "NegativeDescription": "You are not currently in eli_221_cohort", - "Priority": 0 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "Already Vaccinated", - "Description": "Already Vaccinated|We believe that you Are Already Vaccinated", - "Priority": 1000, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "D<", - "Comparator": "0" - }, - { - "Type": "S", - "Name": "Other Setting Care", - "Description": "Other Setting|We believe that you will get the vaccination where you are located", - "Priority": 1001, - "AttributeLevel": "PERSON", - "AttributeName": "CARE_HOME_FLAG", - "Operator": "=", - "Comparator": "Y", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "Other Setting DE", - "Description": "Other Setting|We believe that you will get the vaccination where you are located", - "Priority": 1002, - "AttributeLevel": "PERSON", - "AttributeName": "DE_FLAG", - "Operator": "=", - "Comparator": "Y" - } - ], - "ActionsMapper": { - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "##You have an RSV vaccination appointment\\nYou can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Manage your appointment" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-221-02.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-221-02.json deleted file mode 100644 index ff612086f..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-221-02.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "CampaignConfig": { - "ID": "<>", - "Version": 1, - "Name": "ELI-221 - Create Rule Stop function - Rule Stop on Vaccinated - Rule Stop: N", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "DefaultCommsRouting": "CONTACT_GP", - "StartDate": "20250601", - "EndDate": "20260601", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Iterations": [ - { - "ID": ",<>", - "DefaultCommsRouting": "CONTACT_GP", - "Version": 1, - "Name": "ELI-221 - Create Rule Stop function - Rule Stop on Vaccinated - No Rule Stop", - "IterationDate": "20250601", - "IterationNumber": 1, - "CommsType": "I", - "DefaultNotEligibleRouting": "", - "DefaultNotActionableRouting": "", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "eli_221_cohort", - "CohortGroup": "eli_221_group", - "PositiveDescription": "You are currently in eli_221_cohort", - "NegativeDescription": "You are not currently in eli_221_cohort", - "Priority": 0 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "Already Vaccinated", - "Description": "Already Vaccinated|We believe that you Are Already Vaccinated", - "Priority": 1000, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "D<", - "Comparator": "0", - "RuleStop": "N" - }, - { - "Type": "S", - "Name": "Other Setting Care", - "Description": "Other Setting|We believe that you will get the vaccination where you are located", - "Priority": 1001, - "AttributeLevel": "PERSON", - "AttributeName": "CARE_HOME_FLAG", - "Operator": "=", - "Comparator": "Y", - "RuleStop": "N" - }, - { - "Type": "S", - "Name": "Other Setting DE", - "Description": "Other Setting|We believe that you will get the vaccination where you are located", - "Priority": 1002, - "AttributeLevel": "PERSON", - "AttributeName": "DE_FLAG", - "Operator": "=", - "Comparator": "Y" - } - ], - "ActionsMapper": { - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "##You have an RSV vaccination appointment\\nYou can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Manage your appointment" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-221-03.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-221-03.json deleted file mode 100644 index a4a6b7645..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-221-03.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "CampaignConfig": { - "ID": "<>", - "Version": 1, - "Name": "ELI-221 - Create Rule Stop function - Rule Stop on Vaccinated - No Rule Stop", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "DefaultCommsRouting": "CONTACT_GP", - "StartDate": "20250601", - "EndDate": "20260601", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Iterations": [ - { - "ID": ",<>", - "DefaultCommsRouting": "CONTACT_GP", - "Version": 1, - "Name": "ELI-221 - Create Rule Stop function - Rule Stop on Vaccinated - No Rule Stop", - "IterationDate": "20250601", - "IterationNumber": 1, - "CommsType": "I", - "DefaultNotEligibleRouting": "", - "DefaultNotActionableRouting": "", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "eli_221_cohort", - "CohortGroup": "eli_221_group", - "PositiveDescription": "You are currently in eli_221_cohort", - "NegativeDescription": "You are not currently in eli_221_cohort", - "Priority": 0 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "Already Vaccinated", - "Description": "Already Vaccinated|We believe that you Are Already Vaccinated", - "Priority": 1000, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "D<", - "Comparator": "0" - }, - { - "Type": "S", - "Name": "Other Setting Care", - "Description": "Other Setting|We believe that you will get the vaccination where you are located", - "Priority": 1001, - "AttributeLevel": "PERSON", - "AttributeName": "CARE_HOME_FLAG", - "Operator": "=", - "Comparator": "Y" - }, - { - "Type": "S", - "Name": "Other Setting DE", - "Description": "Other Setting|We believe that you will get the vaccination where you are located", - "Priority": 1002, - "AttributeLevel": "PERSON", - "AttributeName": "DE_FLAG", - "Operator": "=", - "Comparator": "Y" - } - ], - "ActionsMapper": { - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "##You have an RSV vaccination appointment\\nYou can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Manage your appointment" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-222.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-222.json deleted file mode 100644 index e1cee202b..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-222.json +++ /dev/null @@ -1,203 +0,0 @@ -{ - "CampaignConfig": { - "ID": "<>", - "Version": 1, - "Name": "ELI-222 - Implement magic cohort", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "DefaultCommsRouting": "CONTACT_GP", - "StartDate": "20250601", - "EndDate": "20260601", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Iterations": [ - { - "ID": ",<>", - "DefaultCommsRouting": "CONTACT_GP", - "Version": 1, - "Name": "ELI-222 - Implement magic cohort", - "IterationDate": "20250601", - "IterationNumber": 1, - "CommsType": "I", - "DefaultNotEligibleRouting": "", - "DefaultNotActionableRouting": "", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_75to79", - "CohortGroup": "rsv_age", - "PositiveDescription": "are aged 75 to 79 years old.", - "NegativeDescription": "are not aged 75 to 79 years old.", - "Priority": 0 - }, - { - "CohortLabel": "rsv_80_since_02_Sept_2024", - "CohortGroup": "rsv_age_catchup", - "PositiveDescription": "turned 80 after 1st September 2024", - "NegativeDescription": "did not turn 80 after 1 September 2024", - "Priority": 10 - }, - { - "CohortLabel": "elid_all_people", - "CohortGroup": "magic_cohort", - "PositiveDescription": "", - "NegativeDescription": "", - "Priority": 20, - "Virtual": "Y" - } - ], - "IterationRules": [ - { - "Type": "F", - "Name": "Assure only already vaccinated or those with a future booking are included in magic cohort", - "Description": "Exclude anyone who has NOT been given a dose of RSV Vaccination from the magic cohort", - "Operator": "is_empty", - "Comparator": "", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "CohortLabel": "elid_all_people", - "Priority": 100 - }, - { - "Type": "F", - "Name": "Assure only already vaccinated or those with a future booking are included in magic cohort", - "Description": "Exclude anyone from the magic cohort who does not have a future booking", - "Operator": "D<", - "Comparator": "0", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CohortLabel": "elid_all_people", - "Priority": 100 - }, - { - "Type": "F", - "Name": "Assure only already vaccinated or those with a future booking are included in magic cohort", - "Description": "Exclude anyone from the magic cohort who does not have a future booking", - "Operator": "is_empty", - "Comparator": "", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CohortLabel": "elid_all_people", - "Priority": 110 - }, - { - "Type": "F", - "Name": "Assure only already vaccinated or those with a future booking are included in magic cohort", - "Description": "Exclude anyone who has NOT been given a dose of RSV Vaccination from the magic cohort", - "Operator": "is_empty", - "Comparator": "", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "CohortLabel": "elid_all_people", - "Priority": 110 - }, - { - "Type": "F", - "Name": "Filter those with incorrect age from rsv_75to79 cohort", - "Description": "Filter those with incorrect age from rsv_75to79 cohort", - "Operator": "Y>", - "Comparator": "-75", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "CohortLabel": "rsv_75to79", - "Priority": 120 - }, - { - "Type": "S", - "Name": "Already Vaccinated", - "Description": "##You've had your RSV vaccination\nWe believe you had your vaccination.", - "Priority": 200, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "Y>=", - "Comparator": "-25", - "RuleStop": "Y" - }, - { - "Type": "R", - "Name": "Actionable Future Booked Appointment", - "Description": "Actionable Future Booked Appointment", - "Priority": 1030, - "Operator": ">=", - "Comparator": "0", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CommsRouting": "AMEND_NBS" - }, - { - "Type": "R", - "Name": "Actionable Future Booked Appointment", - "Description": "Actionable Future Booked Appointment", - "Priority": 1030, - "Operator": "=", - "Comparator": "NBS", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_PROVIDER", - "CommsRouting": "AMEND_NBS" - }, - { - "Type": "R", - "Name": "Actionable Future Booked Appointment", - "Description": "Actionable Future Booked Appointment", - "Priority": 1040, - "Operator": ">=", - "Comparator": "0", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CommsRouting": "MANAGE_LOCAL" - }, - { - "Type": "R", - "Name": "Actionable Future Booked Appointment", - "Description": "Actionable Future Booked Appointment", - "Priority": 1040, - "Operator": "!=", - "Comparator": "NBS", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_PROVIDER", - "CommsRouting": "MANAGE_LOCAL" - } - ], - "ActionsMapper": { - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "##You have an RSV vaccination appointment\\nYou can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Manage your appointment" - }, - "MANAGE_LOCAL": { - "ExternalRoutingCode": "ManageLocal", - "ActionDescription": "##You have an RSV vaccination appointment\nContact your healthcare provider to change or cancel your appointment.", - "ActionType": "CardWithText", - "UrlLink": null, - "UrlLabel": "" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-01.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-01.json deleted file mode 100644 index f6b25d52f..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-01.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "CampaignConfig": { - "ID": "AUTO_RSV_ELI-223-01-Campaign-ID", - "Version": 1, - "Name": "ELI-223-01-Iteration-Config-Name", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "BOOK_NBS", - "Iterations": [ - { - "ID": "AUTO_RSV_ELI-223-01-Iteration-ID", - "DefaultCommsRouting": "TEST_ACTION", - "DefaultNotActionableRouting": "TEST_NOT_ACTION", - "DefaultNotEligibleRouting": "TEST_NOT_ELI", - "Version": 1, - "Name": "ELI-223-01-Iteration-Config-Name", - "IterationDate": "20240808", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_223_cohort_1", - "CohortGroup": "rsv_eli_223_cohort_group", - "PositiveDescription": "are a member of eli_223_cohort_group", - "NegativeDescription": "are not a member of eli_223_cohort_group", - "Priority": 0 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "Already Vaccinated", - "Description": "## You've had your RSV vaccination\\n\\nWe believe you had the RSV vaccination on [[TARGET.RSV.LAST_SUCCESSFUL_DATE:DATE(%d %B %Y)]]", - "Priority": 200, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "Y>=", - "Comparator": "-25", - "RuleStop": "Y" - } - ], - "ActionsMapper": { - "TEST_ACTION": { - "ExternalRoutingCode": "TestActionDefault", - "ActionDescription": "TestActionDefault Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "TestActionDefault" - }, - "TEST_NOT_ACTION": { - "ExternalRoutingCode": "TestNotAction", - "ActionDescription": "TestNotAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": null, - "UrlLabel": "" - }, - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "## You have an RSV vaccination appointment\n You can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Manage your appointment" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-02.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-02.json deleted file mode 100644 index 14d81b3fc..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-02.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "CampaignConfig": { - "ID": "AUTO_RSV_ELI-223-02-Campaign-ID", - "Version": 1, - "Name": "ELI-223-02-Iteration-Config-Name", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "BOOK_NBS", - "Iterations": [ - { - "ID": "AUTO_RSV_ELI-223-02-Iteration-ID", - "DefaultCommsRouting": "TEST_ACTION", - "DefaultNotActionableRouting": "TEST_NOT_ACTION", - "DefaultNotEligibleRouting": "TEST_NOT_ELI", - "Version": 1, - "Name": "ELI-223-02-Iteration-Config-Name", - "IterationDate": "20240808", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_223_cohort_1", - "CohortGroup": "rsv_eli_223_cohort_group", - "PositiveDescription": "are a member of eli_223_cohort_group", - "NegativeDescription": "are not a member of eli_223_cohort_group", - "Priority": 0 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "Already Vaccinated", - "Description": "We believe you had the RSV vaccination on [[TARGET.RSV.LAST_SUCCESSFUL_DATE:DATE(%d %B %Y)]] and a COVID vaccination on [[TARGET.COVID.LAST_SUCCESSFUL_DATE:DATE(%d %B %Y)]].You also have a Flu Vaccination Booking on [[TARGET.FLU.BOOKED_APPOINTMENT_DATE:DATE(%Y/%m/%d)]] and your date of birth is [[PERSON.DATE_OF_BIRTH]]", - "Priority": 200, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "Y>=", - "Comparator": "-25", - "RuleStop": "Y" - } - ], - "ActionsMapper": { - "TEST_ACTION": { - "ExternalRoutingCode": "TestActionDefault", - "ActionDescription": "ActionDefault Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "TestActionDefault" - }, - "TEST_NOT_ACTION": { - "ExternalRoutingCode": "TestNotAction", - "ActionDescription": "ActionDescription ICB: [[PERSON.ICB]]", - "ActionType": "ActionType PCN: [[PERSON.PCN]]", - "UrlLink": null, - "UrlLabel": "urlLabel MSOA: [[PERSON.MSOA]]" - }, - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "## You have an RSV vaccination appointment\n You can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Manage your appointment" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-03.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-03.json deleted file mode 100644 index 0a6c4a3e2..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-03.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "CampaignConfig": { - "ID": "AUTO_RSV_ELI-223-03-Campaign-ID", - "Version": 1, - "Name": "ELI-223-03-Iteration-Config-Name", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "BOOK_NBS", - "Iterations": [ - { - "ID": "AUTO_RSV_ELI-223-03-Iteration-ID", - "DefaultCommsRouting": "TEST_ACTION", - "DefaultNotActionableRouting": "TEST_NOT_ACTION", - "DefaultNotEligibleRouting": "TEST_NOT_ELI", - "Version": 1, - "Name": "ELI-223-03-Iteration-Config-Name", - "IterationDate": "20240808", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_223_cohort_1", - "CohortGroup": "rsv_eli_223_cohort_group", - "PositiveDescription": "are a member of eli_223_cohort_group", - "NegativeDescription": "are not a member of eli_223_cohort_group", - "Priority": 0 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "Already Vaccinated", - "Description": "We believe you had the RSV vaccination on [[TARGET.RSV.LAST_SUCCESSFUL_DATE:DATE(%d %B %Y)]] and a COVID vaccination on [[TARGET.COVID.LAST_SUCCESSFUL_DATE:DATE(%d %B %Y)]].You also have a Flu Vaccination Booking on [[TARGET.FLU.BOOKED_APPOINTMENT_DATE:DATE(%Y/%m/%d)]] and your date of birth is [[PERSON.DATE_OF_BIRTHS]]", - "Priority": 200, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "Y>=", - "Comparator": "-25", - "RuleStop": "Y" - } - ], - "ActionsMapper": { - "TEST_ACTION": { - "ExternalRoutingCode": "TestActionDefault", - "ActionDescription": "ActionDefault Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "TestActionDefault" - }, - "TEST_NOT_ACTION": { - "ExternalRoutingCode": "TestNotAction", - "ActionDescription": "ActionDescription ICB: [[PERSON.ICB]]", - "ActionType": "ActionType PCN: [[PERSON.PCN]]", - "UrlLink": null, - "UrlLabel": "urlLabel MSOA: [[PERSON.MSOA]]" - }, - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "## You have an RSV vaccination appointment\n You can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Manage your appointment" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-04.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-04.json deleted file mode 100644 index ca197f9a4..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-04.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "CampaignConfig": { - "ID": "AUTO_RSV_ELI-223-04-Campaign-ID", - "Version": 1, - "Name": "ELI-223-04-Iteration-Config-Name", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "BOOK_NBS", - "Iterations": [ - { - "ID": "AUTO_RSV_ELI-223-04-Iteration-ID", - "DefaultCommsRouting": "TEST_ACTION", - "DefaultNotActionableRouting": "TEST_NOT_ACTION", - "DefaultNotEligibleRouting": "TEST_NOT_ELI", - "Version": 1, - "Name": "ELI-223-04-Iteration-Config-Name", - "IterationDate": "20240808", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_223_cohort_1", - "CohortGroup": "rsv_eli_223_cohort_group", - "PositiveDescription": "are a member of eli_223_cohort_group", - "NegativeDescription": "are not a member of eli_223_cohort_group", - "Priority": 0 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "Already Vaccinated", - "Description": "We believe you had the RSV vaccination on [[TARGET.RSV.LAST_SUCCESSFUL_DATE:DATE(%d %B %Y)]].You also have a Flu Vaccination Booking on [[TARGET.FLU.BOOKED_APPOINTMENT_DATE:DATE(%Y/%m/%d)]] and your ICB is [[PERSON.ICB]]", - "Priority": 200, - "AttributeLevel": "TARGET", - "AttributeTarget": "COVID", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "Y>=", - "Comparator": "-25", - "RuleStop": "Y" - } - ], - "ActionsMapper": { - "TEST_ACTION": { - "ExternalRoutingCode": "TestActionDefault", - "ActionDescription": "ActionDefault Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "TestActionDefault" - }, - "TEST_NOT_ACTION": { - "ExternalRoutingCode": "TestNotAction", - "ActionDescription": "ActionDescription ICB: [[PERSON.ICB]]", - "ActionType": "ActionType PCN: [[PERSON.PCN]]", - "UrlLink": null, - "UrlLabel": "urlLabel MSOA: [[PERSON.MSOA]]" - }, - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "## You have an RSV vaccination appointment\n You can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Manage your appointment" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-05.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-05.json deleted file mode 100644 index 7ed59ffea..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-05.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "CampaignConfig": { - "ID": "AUTO_RSV_ELI-223-05-Campaign-ID", - "Version": 1, - "Name": "ELI-223-05-Iteration-Config-Name", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "BOOK_NBS", - "Iterations": [ - { - "ID": "AUTO_RSV_ELI-223-05-Iteration-ID", - "DefaultCommsRouting": "TEST_ACTION", - "DefaultNotActionableRouting": "TEST_NOT_ACTION", - "DefaultNotEligibleRouting": "TEST_NOT_ELI", - "Version": 1, - "Name": "ELI-223-05-Iteration-Config-Name", - "IterationDate": "20240808", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_223_cohort_1", - "CohortGroup": "rsv_eli_223_cohort_group", - "PositiveDescription": "are a member of eli_223_cohort_group", - "NegativeDescription": "are not a member of eli_223_cohort_group", - "Priority": 0 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "Already Vaccinated", - "Description": "We believe you had the RSV vaccination on [[TARGET.RSV.LAST_SUCCESSFUL_DATE:DATE(%A, (%d) %B %Y)]].", - "Priority": 200, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "Y>=", - "Comparator": "-25", - "RuleStop": "Y" - } - ], - "ActionsMapper": { - "TEST_ACTION": { - "ExternalRoutingCode": "TestActionDefault", - "ActionDescription": "TestActionDefault Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "TestActionDefault" - }, - "TEST_NOT_ACTION": { - "ExternalRoutingCode": "TestNotAction", - "ActionDescription": "TestNotAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": null, - "UrlLabel": "" - }, - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "## You have an RSV vaccination appointment\n You can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Manage your appointment" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-06.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-06.json deleted file mode 100644 index 53a96572b..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-06.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "CampaignConfig": { - "ID": "AUTO_RSV_ELI-223-06-Campaign-ID", - "Version": 1, - "Name": "ELI-223-06-Iteration-Config-Name", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "BOOK_NBS", - "Iterations": [ - { - "ID": "AUTO_RSV_ELI-223-06-Iteration-ID", - "DefaultCommsRouting": "TEST_ACTION", - "DefaultNotActionableRouting": "TEST_NOT_ACTION", - "DefaultNotEligibleRouting": "TEST_NOT_ELI", - "Version": 1, - "Name": "ELI-223-06-Iteration-Config-Name", - "IterationDate": "20240808", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_223_cohort_1", - "CohortGroup": "rsv_eli_223_cohort_group", - "PositiveDescription": "are a member of eli_223_cohort_group", - "NegativeDescription": "are not a member of eli_223_cohort_group", - "Priority": 0 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "Already Vaccinated and Booked", - "Description": "## 1You've had your RSV vaccination\\n\\nWe believe you had the RSV vaccination on [[TARGET.RSV.LAST_SUCCESSFUL_DATE:DATE(%d %B %Y)]] and are booked on [[TARGET.RSV.BOOKED_APPOINTMENT_DATE:DATE(%d %B %Y)]]", - "Priority": 200, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "Y>=", - "Comparator": "-25", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "Already Vaccinated and Booked", - "Description": "## 2You've had your RSV vaccination\\n\\nWe believe you had the RSV vaccination on [[TARGET.RSV.LAST_SUCCESSFUL_DATE:DATE(%d %B %Y)]] and are booked on [[TARGET.RSV.BOOKED_APPOINTMENT_DATE:DATE(%d %B %Y)]]", - "Priority": 200, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "is_not_empty", - "Comparator": "", - "RuleStop": "Y" - } - ], - "ActionsMapper": { - "TEST_ACTION": { - "ExternalRoutingCode": "TestActionDefault", - "ActionDescription": "TestActionDefault Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "TestActionDefault" - }, - "TEST_NOT_ACTION": { - "ExternalRoutingCode": "TestNotAction", - "ActionDescription": "TestNotAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": null, - "UrlLabel": "" - }, - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "## You have an RSV vaccination appointment\n You can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Manage your appointment" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-07.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-07.json deleted file mode 100644 index 3c461ea37..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-07.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "CampaignConfig": { - "ID": "AUTO_RSV_ELI-223-07-Campaign-ID", - "Version": 1, - "Name": "ELI-223-07-Iteration-Config-Name", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "BOOK_NBS", - "Iterations": [ - { - "ID": "AUTO_RSV_ELI-223-07-Iteration-ID", - "DefaultCommsRouting": "TEST_ACTION", - "DefaultNotActionableRouting": "TEST_NOT_ACTION", - "DefaultNotEligibleRouting": "TEST_NOT_ELI", - "Version": 1, - "Name": "ELI-223-07-Iteration-Config-Name", - "IterationDate": "20240808", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_223_cohort_1", - "CohortGroup": "rsv_eli_223_cohort_group", - "PositiveDescription": "are a member of eli_223_cohort_group", - "NegativeDescription": "are not a member of eli_223_cohort_group", - "Priority": 0 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "Already Vaccinated", - "Description": "## You've had your RSV vaccination\\n\\nWe believe you had the RSV vaccination on [[TARGET.RSV.LAST_SUCCESSFUL_DATE:DATE(%d %B %Y)]]", - "Priority": 200, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "Y>=", - "Comparator": "-25", - "RuleStop": "N" - }, - { - "Type": "S", - "Name": "Already Booked", - "Description": "## You have a COVID vaccination booking on [[TARGET.COVID.BOOKED_APPOINTMENT_DATE:DATE(%d %B %Y)]]", - "Priority": 210, - "AttributeLevel": "TARGET", - "AttributeTarget": "COVID", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "is_not_empty", - "Comparator": "", - "RuleStop": "Y" - } - ], - "ActionsMapper": { - "TEST_ACTION": { - "ExternalRoutingCode": "TestActionDefault", - "ActionDescription": "TestActionDefault Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "TestActionDefault" - }, - "TEST_NOT_ACTION": { - "ExternalRoutingCode": "TestNotAction", - "ActionDescription": "TestNotAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": null, - "UrlLabel": "" - }, - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "## You have an RSV vaccination appointment\n You can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Manage your appointment" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-08.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-08.json deleted file mode 100644 index 1ec4154b4..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-08.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "CampaignConfig": { - "ID": "AUTO_RSV_ELI-223-08-Campaign-ID", - "Version": 1, - "Name": "ELI-223-08-Iteration-Config-Name", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "BOOK_NBS", - "Iterations": [ - { - "ID": "AUTO_RSV_ELI-223-08-Iteration-ID", - "DefaultCommsRouting": "TEST_ACTION", - "DefaultNotActionableRouting": "TEST_NOT_ACTION", - "DefaultNotEligibleRouting": "TEST_NOT_ELI", - "Version": 1, - "Name": "ELI-223-08-Iteration-Config-Name", - "IterationDate": "20240808", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_223_cohort_1", - "CohortGroup": "rsv_eli_223_cohort_group", - "PositiveDescription": "are a member of eli_223_cohort_group", - "NegativeDescription": "are not a member of eli_223_cohort_group", - "Priority": 0 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "Already Vaccinated", - "Description": "## You've had your RSV vaccination\\n\\nWe believe you had the RSV vaccination on [[TARGET.RSV.LAST_SUCCESSFUL_DATE:DATE(%d %B %Y)]]", - "Priority": 200, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "Y>=", - "Comparator": "-25", - "RuleStop": "N" - }, - { - "Type": "S", - "Name": "Already Booked", - "Description": "## You have a COVID vaccination booking on [[TARGET.COVID.BOOKED_APPOINTMENT_DATE:DATE(%d %B %Y)]]", - "Priority": 210, - "AttributeLevel": "TARGET", - "AttributeTarget": "COVID", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "is_not_empty", - "Comparator": "", - "RuleStop": "Y" - } - ], - "ActionsMapper": { - "TEST_ACTION": { - "ExternalRoutingCode": "TestActionDefault", - "ActionDescription": "TestActionDefault Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "TestActionDefault" - }, - "TEST_NOT_ACTION": { - "ExternalRoutingCode": "TestNotAction", - "ActionDescription": "TestNotAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": null, - "UrlLabel": "" - }, - "TEST_NOT_ELI": { - "ExternalRoutingCode": "TestNotEligible", - "ActionDescription": "## You are not eligible as your dob is [[PERSON.DATE_OF_BIRTH:DATE(%d %B %Y)]].", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "You're not Eligible" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-09.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-09.json deleted file mode 100644 index 1a0de3849..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-09.json +++ /dev/null @@ -1,314 +0,0 @@ -{ - "CampaignConfig": { - "ID": "AUTO_RSV_ELI-223-08-Campaign-ID", - "Version": 1, - "Name": "ELI-223-08-Iteration-Config-Name", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "BOOK_NBS", - "Iterations": [ - { - "ID": "AUTO_RSV_ELI-223-08-Iteration-ID", - "DefaultCommsRouting": "TEST_ACTION", - "DefaultNotActionableRouting": "TEST_NOT_ACTION", - "DefaultNotEligibleRouting": "TEST_NOT_ELI", - "Version": 1, - "Name": "ELI-223-08-Iteration-Config-Name", - "IterationDate": "20240808", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_223_cohort_1", - "CohortGroup": "rsv_eli_223_cohort_group", - "PositiveDescription": "are a member of eli_223_cohort_group", - "NegativeDescription": "are not a member of eli_223_cohort_group", - "Priority": 0 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "Target Substitution LAST_SUCCESSFUL_DATE", - "Description": "Target Substitution LAST_SUCCESSFUL_DATE [[tARGET.RSV.LAST_SUCCESSFUL_DATE:DATE(%d %B %Y)]]", - "Priority": 1, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "is_not_empty", - "Comparator": "" - }, - { - "Type": "S", - "Name": "Target Substitution BOOKED_APPOINTMENT_DATE", - "Description": "Target Substitution BOOKED_APPOINTMENT_DATE [[TARGET.cOVID.BOOKED_APPOINTMENT_DATE:DATE(%d %B %Y)]]", - "Priority": 2, - "AttributeLevel": "TARGET", - "AttributeTarget": "COVID", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "is_not_empty", - "Comparator": "" - }, - { - "Type": "S", - "Name": "Target Substitution BOOKED_APPOINTMENT_PROVIDER", - "Description": "Target Substitution BOOKED_APPOINTMENT_PROVIDER [[TARGET.RSV.bOOKED_APPOINTMENT_PROVIDER]]", - "Priority": 3, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "BOOKED_APPOINTMENT_PROVIDER", - "Operator": "is_not_empty", - "Comparator": "" - }, - { - "Type": "S", - "Name": "Target Substitution INVALID_DOSES_COUNT", - "Description": "Target Substitution INVALID_DOSES_COUNT [[TARGET.COVID.INVALID_DOSES_COUNT]]", - "Priority": 4, - "AttributeLevel": "TARGET", - "AttributeTarget": "COVID", - "AttributeName": "INVALID_DOSES_COUNT", - "Operator": "is_not_empty", - "Comparator": "" - }, - { - "Type": "S", - "Name": "Target Substitution LAST_INVITE_DATE", - "Description": "Target Substitution LAST_INVITE_DATE [[TARGET.RSV.LAST_INVITE_DATE:dATE(%d %B %Y)]]", - "Priority": 5, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_INVITE_DATE", - "Operator": "is_not_empty", - "Comparator": "" - }, - { - "Type": "S", - "Name": "Target Substitution LAST_INVITE_STATUS", - "Description": "Target Substitution LAST_INVITE_STATUS [[TARGET.COVID.LAST_INVITE_STATUS]]", - "Priority": 6, - "AttributeLevel": "TARGET", - "AttributeTarget": "COVID", - "AttributeName": "LAST_INVITE_STATUS", - "Operator": "is_not_empty", - "Comparator": "" - }, - { - "Type": "S", - "Name": "Target Substitution LAST_VALID_DOSE_DATE", - "Description": "Target Substitution LAST_VALID_DOSE_DATE [[TARGET.RSV.LAST_VALID_DOSE_DATE]]", - "Priority": 7, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_VALID_DOSE_DATE", - "Operator": "is_not_empty", - "Comparator": "" - }, - { - "Type": "S", - "Name": "Target Substitution VALID_DOSES_COUNT", - "Description": "Target Substitution VALID_DOSES_COUNT [[TARGET.COVID.VALID_DOSES_COUNT]]", - "Priority": 8, - "AttributeLevel": "TARGET", - "AttributeTarget": "COVID", - "AttributeName": "VALID_DOSES_COUNT", - "Operator": "is_not_empty", - "Comparator": "" - }, - { - "Type": "S", - "Name": "Person Substitution DATE_OF_BIRTH", - "Description": "Target Substitution DATE_OF_BIRTH [[pERSON.DATE_OF_BIRTH:DATE(%d %B %Y)]]", - "Priority": 9, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "is_not_empty", - "Comparator": "" - }, - { - "Type": "S", - "Name": "Person Substitution GENDER", - "Description": "Target Substitution GENDER [[PERSON.GENDER]]", - "Priority": 10, - "AttributeLevel": "PERSON", - "AttributeName": "GENDER", - "Operator": "is_not_empty", - "Comparator": "" - }, - { - "Type": "S", - "Name": "Person Substitution POSTCODE", - "Description": "Target Substitution POSTCODE [[PERSON.pOSTCODE]]", - "Priority": 11, - "AttributeLevel": "PERSON", - "AttributeName": "POSTCODE", - "Operator": "is_not_empty", - "Comparator": "" - }, - { - "Type": "S", - "Name": "Person Substitution POSTCODE_SECTOR", - "Description": "Target Substitution POSTCODE_SECTOR [[PERSON.POSTCODE_SECTOR]]", - "Priority": 12, - "AttributeLevel": "PERSON", - "AttributeName": "POSTCODE_SECTOR", - "Operator": "is_not_empty", - "Comparator": "" - }, - { - "Type": "S", - "Name": "Person Substitution POSTCODE_OUTCODE", - "Description": "Target Substitution POSTCODE_OUTCODE [[PERSON.POSTCODE_OUTCODE]]", - "Priority": 13, - "AttributeLevel": "PERSON", - "AttributeName": "POSTCODE_OUTCODE", - "Operator": "is_not_empty", - "Comparator": "" - }, - { - "Type": "S", - "Name": "Person Substitution MSOA", - "Description": "Target Substitution MSOA [[PERSON.MSOA]]", - "Priority": 14, - "AttributeLevel": "PERSON", - "AttributeName": "MSOA", - "Operator": "is_not_empty", - "Comparator": "" - }, - { - "Type": "S", - "Name": "Person Substitution LSOA", - "Description": "Target Substitution LSOA [[PERSON.LSOA]]", - "Priority": 15, - "AttributeLevel": "PERSON", - "AttributeName": "LSOA", - "Operator": "is_not_empty", - "Comparator": "" - }, - { - "Type": "S", - "Name": "Person Substitution LOCAL_AUTHORITY", - "Description": "Target Substitution LOCAL_AUTHORITY [[PERSON.LOCAL_AUTHORITY]]", - "Priority": 16, - "AttributeLevel": "PERSON", - "AttributeName": "LOCAL_AUTHORITY", - "Operator": "is_not_empty", - "Comparator": "" - }, - { - "Type": "S", - "Name": "Person Substitution GP_PRACTICE_CODE", - "Description": "Target Substitution GP_PRACTICE_CODE [[PERSON.GP_PRACTICE_CODE]]", - "Priority": 17, - "AttributeLevel": "PERSON", - "AttributeName": "GP_PRACTICE_CODE", - "Operator": "is_not_empty", - "Comparator": "" - }, - { - "Type": "S", - "Name": "Person Substitution PCN", - "Description": "Target Substitution PCN [[PERSON.PCN]]", - "Priority": 18, - "AttributeLevel": "PERSON", - "AttributeName": "PCN", - "Operator": "is_not_empty", - "Comparator": "" - }, - { - "Type": "S", - "Name": "Person Substitution ICB", - "Description": "Target Substitution ICB [[PERSON.ICB]]", - "Priority": 19, - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "Operator": "is_not_empty", - "Comparator": "" - }, - { - "Type": "S", - "Name": "Person Substitution COMMISSIONING_REGION", - "Description": "Target Substitution COMMISSIONING_REGION [[PERSON.COMMISSIONING_REGION]]", - "Priority": 20, - "AttributeLevel": "PERSON", - "AttributeName": "COMMISSIONING_REGION", - "Operator": "is_not_empty", - "Comparator": "" - }, - { - "Type": "S", - "Name": "Person Substitution 13Q_FLAG", - "Description": "Target Substitution 13Q_FLAG [[PERSON.13Q_FLAG]]", - "Priority": 21, - "AttributeLevel": "PERSON", - "AttributeName": "13Q_FLAG", - "Operator": "is_not_empty", - "Comparator": "" - }, - { - "Type": "S", - "Name": "Person Substitution CARE_HOME_FLAG", - "Description": "Target Substitution CARE_HOME_FLAG [[PERSON.CARE_HOME_FLAG]]", - "Priority": 22, - "AttributeLevel": "PERSON", - "AttributeName": "CARE_HOME_FLAG", - "Operator": "is_not_empty", - "Comparator": "" - }, - { - "Type": "S", - "Name": "Person Substitution DE_FLAG", - "Description": "Target Substitution DE_FLAG [[PERSON.DE_FLAG]]", - "Priority": 23, - "AttributeLevel": "PERSON", - "AttributeName": "DE_FLAG", - "Operator": "is_not_empty", - "Comparator": "" - } - ], - "ActionsMapper": { - "TEST_ACTION": { - "ExternalRoutingCode": "TestActionDefault", - "ActionDescription": "TestActionDefault Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "TestActionDefault" - }, - "TEST_NOT_ACTION": { - "ExternalRoutingCode": "TestNotAction", - "ActionDescription": "TestNotAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": null, - "UrlLabel": "" - }, - "TEST_NOT_ELI": { - "ExternalRoutingCode": "TestNotEligible", - "ActionDescription": "## You are not eligible as your dob is [[PERSON.DATE_OF_BIRTH]].", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "You're not Eligible" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-10.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-10.json deleted file mode 100644 index 0102b2f2d..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-10.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "CampaignConfig": { - "ID": "AUTO_RSV_ELI-223-10-Campaign-ID", - "Version": 1, - "Name": "ELI-223-10-Iteration-Config-Name", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "BOOK_NBS", - "Iterations": [ - { - "ID": "AUTO_RSV_ELI-223-10-Iteration-ID", - "DefaultCommsRouting": "TEST_ACTION", - "DefaultNotActionableRouting": "TEST_NOT_ACTION", - "DefaultNotEligibleRouting": "TEST_NOT_ELI", - "Version": 1, - "Name": "ELI-223-10-Iteration-Config-Name", - "IterationDate": "20240808", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_223_cohort_1", - "CohortGroup": "rsv_eli_223_cohort_group", - "PositiveDescription": "are a member of eli_223_cohort_group", - "NegativeDescription": "are not a member of eli_223_cohort_group", - "Priority": 0 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "Already Vaccinated", - "Description": "We believe you had the RSV vaccination on [[TARGET.RSV.LAST_SUCCESSFUL_DATE:LOOKUP(%X %Y %Z)]].", - "Priority": 200, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "Y>=", - "Comparator": "-25", - "RuleStop": "Y" - } - ], - "ActionsMapper": { - "TEST_ACTION": { - "ExternalRoutingCode": "TestActionDefault", - "ActionDescription": "TestActionDefault Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "TestActionDefault" - }, - "TEST_NOT_ACTION": { - "ExternalRoutingCode": "TestNotAction", - "ActionDescription": "TestNotAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": null, - "UrlLabel": "" - }, - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "## You have an RSV vaccination appointment\n You can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Manage your appointment" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-11.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-11.json deleted file mode 100644 index 2af5d6927..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-11.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "CampaignConfig": { - "ID": "AUTO_RSV_ELI-223-08-Campaign-ID", - "Version": 1, - "Name": "ELI-223-08-Iteration-Config-Name", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "BOOK_NBS", - "Iterations": [ - { - "ID": "AUTO_RSV_ELI-223-08-Iteration-ID", - "DefaultCommsRouting": "TEST_ACTION", - "DefaultNotActionableRouting": "TEST_NOT_ACTION", - "DefaultNotEligibleRouting": "TEST_NOT_ELI", - "Version": 1, - "Name": "ELI-223-08-Iteration-Config-Name", - "IterationDate": "20240808", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_223_cohort_1", - "CohortGroup": "rsv_eli_223_cohort_group", - "PositiveDescription": "are a member of eli_223_cohort_group", - "NegativeDescription": "are not a member of eli_223_cohort_group", - "Priority": 0 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "Already Booked", - "Description": "## You have a COVID vaccination booking on [[TARGET.COVID.BOOKED_APPOINTMENT_DATE:DATE(%d %B %Y)]]", - "Priority": 210, - "AttributeLevel": "TARGET", - "AttributeTarget": "COVID", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "is_empty", - "Comparator": "", - "RuleStop": "Y" - } - ], - "ActionsMapper": { - "TEST_ACTION": { - "ExternalRoutingCode": "TestActionable", - "ActionDescription": "## You are actionable as your dob is [[PERSON.DATE_OF_BIRTH:DATE(%d %B %Y)]].", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "You're actionable" - }, - "TEST_NOT_ACTION": { - "ExternalRoutingCode": "TestNotAction", - "ActionDescription": "TestNotAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": null, - "UrlLabel": "" - }, - "TEST_NOT_ELI": { - "ExternalRoutingCode": "TestNotEligible", - "ActionDescription": "## You are not eligible as your dob is [[PERSON.DATE_OF_BIRTH:DATE(%d %B %Y)]].", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "You're not Eligible" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-12.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-12.json deleted file mode 100644 index 9d05cc775..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-12.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "CampaignConfig": { - "ID": "AUTO_RSV_ELI-223-12-Campaign-ID", - "Version": 1, - "Name": "ELI-223-12-Iteration-Config-Name", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "BOOK_NBS", - "Iterations": [ - { - "ID": "AUTO_RSV_ELI-223-12-Iteration-ID", - "DefaultCommsRouting": "TEST_ACTION", - "DefaultNotActionableRouting": "TEST_NOT_ACTION", - "DefaultNotEligibleRouting": "TEST_NOT_ELI", - "Version": 1, - "Name": "ELI-223-12-Iteration-Config-Name", - "IterationDate": "20240808", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_223_cohort_1", - "CohortGroup": "rsv_eli_223_cohort_group", - "PositiveDescription": "are a member of eli_223_cohort_group", - "NegativeDescription": "are not a member of eli_223_cohort_group", - "Priority": 0 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "Already Vaccinated", - "Description": "We believe you had the RSV vaccination on [[PERSON.POSTCODE:DATE(%d %B %Y)]]", - "Priority": 200, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "Y>=", - "Comparator": "-25", - "RuleStop": "Y" - } - ], - "ActionsMapper": { - "TEST_ACTION": { - "ExternalRoutingCode": "TestActionDefault", - "ActionDescription": "ActionDefault Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "TestActionDefault" - }, - "TEST_NOT_ACTION": { - "ExternalRoutingCode": "TestNotAction", - "ActionDescription": "ActionDescription ICB: [[PERSON.ICB]]", - "ActionType": "ActionType PCN: [[PERSON.PCN]]", - "UrlLink": null, - "UrlLabel": "urlLabel MSOA: [[PERSON.MSOA]]" - }, - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "## You have an RSV vaccination appointment\n You can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Manage your appointment" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-236.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-236.json deleted file mode 100644 index c1c28aff2..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-236.json +++ /dev/null @@ -1,155 +0,0 @@ -{ - "CampaignConfig": { - "ID": "<>", - "Version": 1, - "Name": "ELI-236 - NVL Functionality", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "DefaultCommsRouting": "CONTACT_GP", - "StartDate": "20250601", - "EndDate": "20260601", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Iterations": [ - { - "ID": ",<>", - "DefaultCommsRouting": "", - "Version": 1, - "Name": "ELI-236 - NVL Functionality", - "IterationDate": "20250601", - "IterationNumber": 1, - "CommsType": "I", - "DefaultNotEligibleRouting": "", - "DefaultNotActionableRouting": "", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "M", - "IterationCohorts": [ - { - "CohortLabel": "eli_236_cohort", - "CohortGroup": "eli_236_group", - "PositiveDescription": "You are currently in eli_236", - "NegativeDescription": "You are not currently in eli_236", - "Priority": 0 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "13Q Flag NVL equal Test", - "Description": "13Q Flag NVL Test|13Q Flag NVL Test", - "Priority": 1000, - "AttributeLevel": "PERSON", - "AttributeName": "13Q_FLAG", - "Operator": "=", - "Comparator": "Y[[NVL:Y]]" - }, - { - "Type": "S", - "Name": "CARE_HOME_FLAG not equal NVL Test", - "Description": "CARE_HOME_FLAG not equal NVL Test", - "Priority": 1001, - "AttributeLevel": "PERSON", - "AttributeName": "CARE_HOME_FLAG", - "Operator": "!=", - "Comparator": "N[[NVL:Y]]" - }, - { - "Type": "S", - "Name": "COMMISSIONING_REGION greater than NVL Test", - "Description": "COMMISSIONING_REGION greater than NVL Test", - "Priority": 1002, - "AttributeLevel": "PERSON", - "AttributeName": "COMMISSIONING_REGION", - "Operator": ">", - "Comparator": "0[[NVL:1]]" - }, - { - "Type": "S", - "Name": "DATE_OF_BIRTH less than NVL Test", - "Description": "DATE_OF_BIRTH less than NVL Test", - "Priority": 1003, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "<", - "Comparator": "19801116[[NVL:19801115]]" - }, - { - "Type": "S", - "Name": "GENDER greater than or equal to NVL Test", - "Description": "GENDER greater than or equal to NVL Test", - "Priority": 1004, - "AttributeLevel": "PERSON", - "AttributeName": "GENDER", - "Operator": ">=", - "Comparator": "1[[NVL:1]]" - }, - { - "Type": "S", - "Name": "GP_PRACTICE_CODE less or equal to NVL Test", - "Description": "GP_PRACTICE_CODE less than or equal to NVL Test", - "Priority": 1005, - "AttributeLevel": "PERSON", - "AttributeName": "GP_PRACTICE_CODE", - "Operator": "<=", - "Comparator": "10563[[NVL:10563]]" - }, - { - "Type": "S", - "Name": "BOOKED_APPOINTMENT_DATE D<= NVL Test", - "Description": "BOOKED_APPOINTMENT_DATE D<= NVL Test", - "Priority": 1006, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "D<=", - "Comparator": "-10[[NVL:<>]]" - }, - { - "Type": "S", - "Name": "LAST_INVITE_DATE W> NVL Test", - "Description": "LAST_INVITE_DATE W> NVL Test", - "Priority": 1007, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_INVITE_DATE", - "Operator": "W>", - "Comparator": "10[[NVL:<>]]" - }, - { - "Type": "S", - "Name": "LAST_VALID_DOSE_DATE Y< NVL Test", - "Description": "LAST_VALID_DOSE_DATE Y< NVL Test", - "Priority": 1008, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_VALID_DOSE_DATE", - "Operator": "Y<", - "Comparator": "-5[[NVL:<>]]" - } - ], - "ActionsMapper": { - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "##You have an RSV vaccination appointment\\nYou can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Manage your appointment" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-274-01.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-274-01.json deleted file mode 100644 index 2334d3619..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-274-01.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "CampaignConfig": { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d0", - "Version": 1, - "Name": "ELI-274-01-Iteration-Config", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "PLACEHOLDER_COMMS_ROUTING", - "Iterations": [ - { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d1", - "DefaultCommsRouting": "", - "DefaultNotActionableRouting": "", - "DefaultNotEligibleRouting": "", - "Version": 1, - "Name": "ELI-274-01-Iteration-Config", - "IterationDate": "20250717", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_274_cohort_1", - "CohortGroup": "rsv_eli_274_cohort_group", - "PositiveDescription": "are a member of eli_274_cohort_group", - "NegativeDescription": "are not a member of eli_274_cohort_group", - "Priority": 0 - }, - { - "CohortLabel": "rsv_eli_274_cohort_2", - "CohortGroup": "rsv_eli_274_cohort_group", - "PositiveDescription": "are a member of eli_274_cohort_group", - "NegativeDescription": "are not a member of eli_274_cohort_group", - "Priority": 10 - }, - { - "CohortLabel": "rsv_eli_274_cohort_3", - "CohortGroup": "rsv_eli_274_cohort_group_other", - "PositiveDescription": "are a member of eli_274_cohort_group_other", - "NegativeDescription": "are not a member of eli_274_cohort_group_other", - "Priority": 20 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "NotActionable Reason 1", - "Description": "Description 1", - "Operator": "Y>", - "Comparator": "-75", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "CohortLabel": "rsv_eli_274_cohort_1", - "Priority": 100 - }, - { - "Type": "S", - "Name": "NotActionable Reason 2", - "Description": "Description 2", - "Operator": "=", - "Comparator": "AAA", - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "CohortLabel": "rsv_eli_274_cohort_2", - "Priority": 110 - }, - { - "Type": "S", - "Name": "NotActionable Reason 3", - "Description": "Description 3", - "Operator": "=", - "Comparator": "ZZZ", - "AttributeLevel": "PERSON", - "AttributeName": "COMMISSIONING_REGION", - "CohortLabel": "rsv_eli_274_cohort_3", - "Priority": 120 - } - ], - "ActionsMapper": { - "BOOK_NBS": { - "ExternalRoutingCode": "BookNBS", - "ActionDescription": "", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-274-05.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-274-05.json deleted file mode 100644 index e7346fc51..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-274-05.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "CampaignConfig": { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d0", - "Version": 1, - "Name": "ELI-274-05-Iteration-Config", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "PLACEHOLDER_COMMS_ROUTING", - "Iterations": [ - { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d1", - "DefaultCommsRouting": "", - "DefaultNotActionableRouting": "", - "DefaultNotEligibleRouting": "", - "Version": 1, - "Name": "ELI-274-05-Iteration-Config", - "IterationDate": "20250717", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_274_cohort_1", - "CohortGroup": "rsv_eli_274_cohort_group", - "PositiveDescription": "are a member of eli_274_cohort_group", - "NegativeDescription": "are not a member of eli_274_cohort_group", - "Priority": 0 - }, - { - "CohortLabel": "rsv_eli_274_cohort_2", - "CohortGroup": "rsv_eli_274_cohort_group", - "PositiveDescription": "are a member of eli_274_cohort_group", - "NegativeDescription": "are not a member of eli_274_cohort_group", - "Priority": 10 - }, - { - "CohortLabel": "rsv_eli_274_cohort_3", - "CohortGroup": "rsv_eli_274_cohort_group_other", - "PositiveDescription": "are a member of eli_274_cohort_group_other", - "NegativeDescription": "are not a member of eli_274_cohort_group_other", - "Priority": 20 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "NotActionable Reason", - "Description": "Description 1", - "Operator": "Y>", - "Comparator": "-75", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "CohortLabel": "rsv_eli_274_cohort_1", - "Priority": 100 - }, - { - "Type": "S", - "Name": "NotActionable Reason", - "Description": "Description 2", - "Operator": "=", - "Comparator": "AAA", - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "CohortLabel": "rsv_eli_274_cohort_2", - "Priority": 110 - }, - { - "Type": "S", - "Name": "NotActionable Reason 3", - "Description": "Description 3", - "Operator": "=", - "Comparator": "ZZZ", - "AttributeLevel": "PERSON", - "AttributeName": "COMMISSIONING_REGION", - "CohortLabel": "rsv_eli_274_cohort_3", - "Priority": 120 - } - ], - "ActionsMapper": { - "BOOK_NBS": { - "ExternalRoutingCode": "BookNBS", - "ActionDescription": "", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-274-06.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-274-06.json deleted file mode 100644 index 43b686186..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-274-06.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "CampaignConfig": { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d0", - "Version": 1, - "Name": "ELI-274-06-Iteration-Config", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "PLACEHOLDER_COMMS_ROUTING", - "Iterations": [ - { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d1", - "DefaultCommsRouting": "", - "DefaultNotActionableRouting": "", - "DefaultNotEligibleRouting": "", - "Version": 1, - "Name": "ELI-274-06-Iteration-Config", - "IterationDate": "20250717", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_274_cohort_1", - "CohortGroup": "rsv_eli_274_cohort_group", - "PositiveDescription": "are a member of eli_274_cohort_group", - "NegativeDescription": "are not a member of eli_274_cohort_group", - "Priority": 0 - }, - { - "CohortLabel": "rsv_eli_274_cohort_2", - "CohortGroup": "rsv_eli_274_cohort_group", - "PositiveDescription": "are a member of eli_274_cohort_group", - "NegativeDescription": "are not a member of eli_274_cohort_group", - "Priority": 10 - }, - { - "CohortLabel": "rsv_eli_274_cohort_3", - "CohortGroup": "rsv_eli_274_cohort_group_other", - "PositiveDescription": "are a member of eli_274_cohort_group_other", - "NegativeDescription": "are not a member of eli_274_cohort_group_other", - "Priority": 20 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "NotActionable Reason", - "Description": "Description 1", - "Operator": "Y>", - "Comparator": "-75", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "CohortLabel": "rsv_eli_274_cohort_1", - "Priority": 100 - }, - { - "Type": "S", - "Name": "NotActionable Reason", - "Description": "Description 2", - "Operator": "=", - "Comparator": "AAA", - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "CohortLabel": "rsv_eli_274_cohort_2", - "Priority": 110 - }, - { - "Type": "S", - "Name": "NotActionable Reason", - "Description": "Description 3", - "Operator": "=", - "Comparator": "ZZZ", - "AttributeLevel": "PERSON", - "AttributeName": "COMMISSIONING_REGION", - "CohortLabel": "rsv_eli_274_cohort_3", - "Priority": 120 - } - ], - "ActionsMapper": { - "BOOK_NBS": { - "ExternalRoutingCode": "BookNBS", - "ActionDescription": "", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-274-07.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-274-07.json deleted file mode 100644 index 9332b871a..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-274-07.json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "CampaignConfig": { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d0", - "Version": 1, - "Name": "ELI-274-07-Iteration-Config", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "PLACEHOLDER_COMMS_ROUTING", - "Iterations": [ - { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d1", - "DefaultCommsRouting": "", - "DefaultNotActionableRouting": "", - "DefaultNotEligibleRouting": "", - "Version": 1, - "Name": "ELI-274-07-Iteration-Config", - "IterationDate": "20250717", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_274_cohort_1", - "CohortGroup": "rsv_eli_274_cohort_group", - "PositiveDescription": "are a member of eli_274_cohort_group", - "NegativeDescription": "are not a member of eli_274_cohort_group", - "Priority": 0 - }, - { - "CohortLabel": "rsv_eli_274_cohort_2", - "CohortGroup": "rsv_eli_274_cohort_group", - "PositiveDescription": "are a member of eli_274_cohort_group", - "NegativeDescription": "are not a member of eli_274_cohort_group", - "Priority": 10 - }, - { - "CohortLabel": "rsv_eli_274_cohort_3", - "CohortGroup": "rsv_eli_274_cohort_group_other", - "PositiveDescription": "are a member of eli_274_cohort_group_other", - "NegativeDescription": "are not a member of eli_274_cohort_group_other", - "Priority": 20 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "NotActionable Reason", - "Description": "", - "Operator": "Y>", - "Comparator": "-75", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "CohortLabel": "rsv_eli_274_cohort_1", - "Priority": 100, - "RuleStop:": "Y" - }, - { - "Type": "S", - "Name": "NotActionable Reason", - "Description": "Description 4", - "Operator": "=", - "Comparator": "AAA", - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "CohortLabel": "rsv_eli_274_cohort_2", - "Priority": 110 - }, - { - "Type": "S", - "Name": "NotActionable Reason", - "Description": "Description 3", - "Operator": "=", - "Comparator": "ZZZ", - "AttributeLevel": "PERSON", - "AttributeName": "COMMISSIONING_REGION", - "CohortLabel": "rsv_eli_274_cohort_3", - "Priority": 120 - } - ], - "ActionsMapper": { - "BOOK_NBS": { - "ExternalRoutingCode": "BookNBS", - "ActionDescription": "", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-295-1.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-295-1.json deleted file mode 100644 index 6b386935b..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-295-1.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "CampaignConfig": { - "ID": "<>", - "Version": 1, - "Name": "ELI-295 - include generic text for Not Eligible (X/Y Rules)", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "DefaultCommsRouting": "CONTACT_GP", - "StartDate": "20250601", - "EndDate": "20260601", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Iterations": [ - { - "ID": ",<>", - "DefaultCommsRouting": "DEFAULT_A", - "DefaultNotEligibleRouting": "", - "DefaultNotActionableRouting": "", - "Version": 1, - "Name": "ELI-295 - Iteration", - "IterationDate": "20250601", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "eli_295_cohort", - "CohortGroup": "eli_295_group", - "PositiveDescription": "You are currently in eli_295", - "NegativeDescription": "You are not currently in eli_295", - "Priority": 0 - } - ], - "IterationRules": [ - { - "Type": "F", - "Name": "Test F Rule", - "Description": "Test F Rule", - "Priority": 100, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-75" - }, - { - "Type": "S", - "Name": "Test S Rule", - "Description": "Test S Rule", - "Priority": 500, - "AttributeLevel": "PERSON", - "AttributeName": "NHS_NUMBER", - "Operator": "=", - "Comparator": "9900029502" - }, - { - "Type": "R", - "Name": "Actionable if future appointment is booked", - "Description": "Book An Appointment", - "Priority": 1000, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "D>=", - "Comparator": "0", - "CommsRouting": "AMEND_NBS" - } - ], - "ActionsMapper": { - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "##You have an RSV vaccination appointment\\nYou can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Manage your appointment" - }, - "DEFAULT_A": { - "ExternalRoutingCode": "DefaultA", - "ActionDescription": "DefaultADescription", - "ActionType": "DefaultAType", - "UrlLink": "https://www.defaultaaction.com", - "UrlLabel": "DefaultALabel" - }, - "DEFAULT_X": { - "ExternalRoutingCode": "DefaultX", - "ActionDescription": "DefaultXDescription", - "ActionType": "DefaultXType", - "UrlLink": "https://www.defaultxaction.com", - "UrlLabel": "DefaultXLabel" - }, - "OTHER_X": { - "ExternalRoutingCode": "OtherX", - "ActionDescription": "OtherXDescription", - "ActionType": "OtherXType", - "UrlLink": "https://www.otherxaction.com", - "UrlLabel": "OtherXLabel" - }, - "OTHER_Y": { - "ExternalRoutingCode": "OtherY", - "ActionDescription": "OtherYDescription", - "ActionType": "OtherYType", - "UrlLink": "https://www.otheryaction.com", - "UrlLabel": "OtherYLabel" - }, - "DEFAULT_Y": { - "ExternalRoutingCode": "DefaultY", - "ActionDescription": "DefaultYDescription", - "ActionType": "DefaultYType", - "UrlLink": "https://www.defaultyaction.com", - "UrlLabel": "DefaultYLabel" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-295-2.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-295-2.json deleted file mode 100644 index dfea9b20b..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-295-2.json +++ /dev/null @@ -1,151 +0,0 @@ -{ - "CampaignConfig": { - "ID": "<>", - "Version": "2", - "Name": "ELI-295 - include generic text for Not Eligible (X/Y Rules)", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "DefaultCommsRouting": "CONTACT_GP", - "StartDate": "20250601", - "EndDate": "20260601", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Iterations": [ - { - "ID": ",<>", - "DefaultCommsRouting": "", - "DefaultNotEligibleRouting": "DEFAULT_X", - "DefaultNotActionableRouting": "DEFAULT_Y", - "Version": 1, - "Name": "ELI-295 - Iteration", - "IterationDate": "20250601", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "eli_295_cohort", - "CohortGroup": "eli_295_group", - "PositiveDescription": "You are currently in eli_295", - "NegativeDescription": "You are not currently in eli_295", - "Priority": 0 - } - ], - "IterationRules": [ - { - "Type": "F", - "Name": "Test F Rule", - "Description": "Test F Rule", - "Priority": 100, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-75" - }, - { - "Type": "S", - "Name": "Test S Rule", - "Description": "Test S Rule", - "Priority": 500, - "AttributeLevel": "PERSON", - "AttributeName": "NHS_NUMBER", - "Operator": "in", - "Comparator": "9900029502,9900029505,9900029508,9900029511" - }, - { - "Type": "R", - "Name": "Actionable if future appointment is booked", - "Description": "Book An Appointment", - "Priority": 1000, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "D>=", - "Comparator": "0", - "CommsRouting": "AMEND_NBS" - }, - { - "Type": "X", - "Name": "Test X Rule", - "Description": "Test X Rule", - "Priority": 2000, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-75", - "CommsRouting": "OTHER_X" - }, - { - "Type": "Y", - "Name": "Test Y Rule", - "Description": "Test Y Rule", - "Priority": 3000, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y<", - "Comparator": "-79", - "CommsRouting": "OTHER_Y" - } - ], - "ActionsMapper": { - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "##You have an RSV vaccination appointment\\nYou can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Manage your appointment" - }, - "DEFAULT_A": { - "ExternalRoutingCode": "DefaultA", - "ActionDescription": "DefaultADescription", - "ActionType": "DefaultAType", - "UrlLink": "https://www.defaultaaction.com", - "UrlLabel": "DefaultALabel" - }, - "DEFAULT_X": { - "ExternalRoutingCode": "DefaultX", - "ActionDescription": "DefaultXDescription", - "ActionType": "DefaultXType", - "UrlLink": "https://www.defaultxaction.com", - "UrlLabel": "DefaultXLabel" - }, - "OTHER_X": { - "ExternalRoutingCode": "OtherX", - "ActionDescription": "OtherXDescription", - "ActionType": "OtherXType", - "UrlLink": "https://www.otherxaction.com", - "UrlLabel": "OtherXLabel" - }, - "OTHER_Y": { - "ExternalRoutingCode": "OtherY", - "ActionDescription": "OtherYDescription", - "ActionType": "OtherYType", - "UrlLink": "https://www.otheryaction.com", - "UrlLabel": "OtherYLabel" - }, - "DEFAULT_Y": { - "ExternalRoutingCode": "DefaultY", - "ActionDescription": "DefaultYDescription", - "ActionType": "DefaultYType", - "UrlLink": "https://www.defaultyaction.com", - "UrlLabel": "DefaultYLabel" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-295-3.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-295-3.json deleted file mode 100644 index 0517bf379..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-295-3.json +++ /dev/null @@ -1,151 +0,0 @@ -{ - "CampaignConfig": { - "ID": "<>", - "Version": 1, - "Name": "ELI-295 - include generic text for Not Eligible (X/Y Rules)", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "DefaultCommsRouting": "CONTACT_GP", - "StartDate": "20250601", - "EndDate": "20260601", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Iterations": [ - { - "ID": ",<>", - "DefaultCommsRouting": "", - "DefaultNotEligibleRouting": "DEFAULT_X", - "DefaultNotActionableRouting": "DEFAULT_Y", - "Version": 1, - "Name": "ELI-295 - Iteration", - "IterationDate": "20250601", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "eli_295_cohort", - "CohortGroup": "eli_295_group", - "PositiveDescription": "You are currently in eli_295", - "NegativeDescription": "You are not currently in eli_295", - "Priority": 0 - } - ], - "IterationRules": [ - { - "Type": "F", - "Name": "Test F Rule", - "Description": "Test F Rule", - "Priority": 100, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-75" - }, - { - "Type": "S", - "Name": "Test S Rule", - "Description": "Test S Rule", - "Priority": 500, - "AttributeLevel": "PERSON", - "AttributeName": "NHS_NUMBER", - "Operator": "in", - "Comparator": "9900029502,9900029505,9900029508,9900029511,9900029514" - }, - { - "Type": "R", - "Name": "Actionable if future appointment is booked", - "Description": "Book An Appointment", - "Priority": 1000, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "D>=", - "Comparator": "0", - "CommsRouting": "AMEND_NBS|DEFAULT_A" - }, - { - "Type": "X", - "Name": "Test X Rule", - "Description": "Test X Rule", - "Priority": 2000, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-75", - "CommsRouting": "DEFAULT_X|OTHER_X" - }, - { - "Type": "Y", - "Name": "Test Y Rule", - "Description": "Test Y Rule", - "Priority": 3000, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y<", - "Comparator": "-79", - "CommsRouting": "DEFAULT_Y|OTHER_Y" - } - ], - "ActionsMapper": { - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "##You have an RSV vaccination appointment\\nYou can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Manage your appointment" - }, - "DEFAULT_A": { - "ExternalRoutingCode": "DefaultA", - "ActionDescription": "DefaultADescription", - "ActionType": "DefaultAType", - "UrlLink": "https://www.defaultaaction.com", - "UrlLabel": "DefaultALabel" - }, - "DEFAULT_X": { - "ExternalRoutingCode": "DefaultX", - "ActionDescription": "DefaultXDescription", - "ActionType": "DefaultXType", - "UrlLink": "https://www.defaultxaction.com", - "UrlLabel": "DefaultXLabel" - }, - "OTHER_X": { - "ExternalRoutingCode": "OtherX", - "ActionDescription": "OtherXDescription", - "ActionType": "OtherXType", - "UrlLink": "https://www.otherxaction.com", - "UrlLabel": "OtherXLabel" - }, - "OTHER_Y": { - "ExternalRoutingCode": "OtherY", - "ActionDescription": "OtherYDescription", - "ActionType": "OtherYType", - "UrlLink": "https://www.otheryaction.com", - "UrlLabel": "OtherYLabel" - }, - "DEFAULT_Y": { - "ExternalRoutingCode": "DefaultY", - "ActionDescription": "DefaultYDescription", - "ActionType": "DefaultYType", - "UrlLink": "https://www.defaultyaction.com", - "UrlLabel": "DefaultYLabel" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-295-4.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-295-4.json deleted file mode 100644 index 598c6ecb9..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-295-4.json +++ /dev/null @@ -1,173 +0,0 @@ -{ - "CampaignConfig": { - "ID": "<>", - "Version": 1, - "Name": "ELI-295 - include generic text for Not Eligible (X/Y Rules)", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "DefaultCommsRouting": "CONTACT_GP", - "StartDate": "20250601", - "EndDate": "20260601", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Iterations": [ - { - "ID": ",<>", - "DefaultCommsRouting": "", - "DefaultNotEligibleRouting": "DEFAULT_X", - "DefaultNotActionableRouting": "DEFAULT_Y", - "Version": 1, - "Name": "ELI-295 - Iteration", - "IterationDate": "20250601", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "eli_295_cohort", - "CohortGroup": "eli_295_group", - "PositiveDescription": "You are currently in eli_295", - "NegativeDescription": "You are not currently in eli_295", - "Priority": 0 - } - ], - "IterationRules": [ - { - "Type": "F", - "Name": "Test F Rule", - "Description": "Test F Rule", - "Priority": 100, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-75" - }, - { - "Type": "S", - "Name": "Test S Rule", - "Description": "Test S Rule", - "Priority": 500, - "AttributeLevel": "PERSON", - "AttributeName": "NHS_NUMBER", - "Operator": "in", - "Comparator": "9900029517" - }, - { - "Type": "R", - "Name": "Actionable if future appointment is booked", - "Description": "Book An Appointment", - "Priority": 1000, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "D>=", - "Comparator": "0", - "CommsRouting": "AMEND_NBS" - }, - { - "Type": "X", - "Name": "Test X Rule", - "Description": "Test X Rule", - "Priority": 2000, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-75", - "CommsRouting": "LOWER_X" - }, - { - "Type": "X", - "Name": "Test X Rule", - "Description": "Test X Rule", - "Priority": 1999, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-75", - "CommsRouting": "HIGHER_X" - }, - { - "Type": "Y", - "Name": "Test Y Rule", - "Description": "Test Y Rule", - "Priority": 3000, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y<", - "Comparator": "-79", - "CommsRouting": "LOWER_Y" - }, - { - "Type": "Y", - "Name": "Test Y Rule", - "Description": "Test Y Rule", - "Priority": 2999, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y<", - "Comparator": "-79", - "CommsRouting": "HIGHER_Y" - } - ], - "ActionsMapper": { - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "##You have an RSV vaccination appointment\\nYou can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Manage your appointment" - }, - "DEFAULT_A": { - "ExternalRoutingCode": "DefaultA", - "ActionDescription": "DefaultADescription", - "ActionType": "DefaultAType", - "UrlLink": "https://www.defaultaaction.com", - "UrlLabel": "DefaultALabel" - }, - "HIGHER_X": { - "ExternalRoutingCode": "HigherX", - "ActionDescription": "HigherXDescription", - "ActionType": "HigherXType", - "UrlLink": "https://www.higherxaction.com", - "UrlLabel": "HigherXLabel" - }, - "LOWER_X": { - "ExternalRoutingCode": "LowerX", - "ActionDescription": "LowerXDescription", - "ActionType": "LowerXType", - "UrlLink": "https://www.lowerxaction.com", - "UrlLabel": "LowerXLabel" - }, - "LOWER_Y": { - "ExternalRoutingCode": "LowerY", - "ActionDescription": "LowerYDescription", - "ActionType": "LowerYType", - "UrlLink": "https://www.loweryaction.com", - "UrlLabel": "LowerYLabel" - }, - "HIGHER_Y": { - "ExternalRoutingCode": "HigherY", - "ActionDescription": "HigherYDescription", - "ActionType": "HigherYType", - "UrlLink": "https://www.higheryaction.com", - "UrlLabel": "HigherYLabel" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-1.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-1.json deleted file mode 100644 index 68bbfdb79..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-1.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "CampaignConfig": { - "ID": "<>", - "Version": 1, - "Name": "ELI-317-1 - Empty Actions - 9000000005", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "DefaultCommsRouting": "DEFAULT_ACTION", - "StartDate": "20250601", - "EndDate": "20260601", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Iterations": [ - { - "ID": ",<>", - "DefaultCommsRouting": "DEFAULT_ACTION", - "Version": 1, - "Name": "ELI-317 - Empty Actions - 9000000005", - "IterationDate": "20250601", - "IterationNumber": 1, - "CommsType": "I", - "DefaultNotEligibleRouting": "", - "DefaultNotActionableRouting": "", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "eli_317_cohort_1", - "CohortGroup": "eli_317_cohort_1_group", - "PositiveDescription": "You are currently in eli_317_cohort_1", - "NegativeDescription": "You are not in eli_317_cohort_1", - "Priority": 1 - } - ], - "IterationRules": [ - { - "Type": "R", - "Name": "Actionable if future appointment is booked", - "Description": "Book An Appointment", - "Priority": 1000, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "D>=", - "Comparator": "0", - "CommsRouting": "EMPTY_ACTION" - } - ], - "ActionsMapper": { - "EMPTY_ACTION": { - "ExternalRoutingCode": "", - "ActionDescription": "", - "ActionType": "" - }, - "ACTION_TWO": { - "ExternalRoutingCode": "ActionTwoRoutingCode", - "ActionDescription": "ActionTwoDescription", - "ActionType": "ActionTwoActionType", - "UrlLink": "http://www.actiontwourl.com", - "UrlLabel": "ActionTwoUrlLabel" - }, - "ACTION_THREE": { - "ExternalRoutingCode": "ActionThreeRoutingCode", - "ActionDescription": "ActionThreeDescription", - "ActionType": "ActionThreeActionType", - "UrlLink": "http://www.actionthreeurl.com", - "UrlLabel": "ActionThreeUrlLabel" - }, - "DEFAULT_ACTION": { - "ExternalRoutingCode": "DefaultAction", - "ActionDescription": "DefaultActionDescription", - "ActionType": "DefaultActionType", - "UrlLink": "https://www.defaultactionurl.com", - "UrlLabel": "DefaultLabel" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-2.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-2.json deleted file mode 100644 index b3e4374fc..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-2.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "CampaignConfig": { - "ID": "<>", - "Version": 1, - "Name": "ELI-317 - Empty Actions - 9000000006", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "DefaultCommsRouting": "DEFAULT_ACTION", - "StartDate": "20250601", - "EndDate": "20260601", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Iterations": [ - { - "ID": ",<>", - "DefaultCommsRouting": "DEFAULT_ACTION", - "Version": 1, - "Name": "ELI-317 - Empty Actions - 9000000006", - "IterationDate": "20250601", - "IterationNumber": 1, - "CommsType": "I", - "DefaultNotEligibleRouting": "", - "DefaultNotActionableRouting": "", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "eli_317_cohort_2", - "CohortGroup": "eli_317_cohort_2_group", - "PositiveDescription": "You are currently in eli_317_cohort_2", - "NegativeDescription": "You are not in eli_317_cohort_2", - "Priority": 1 - } - ], - "IterationRules": [ - { - "Type": "R", - "Name": "Actionable if future appointment is booked", - "Description": "Book An Appointment", - "Priority": 1000, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "D>=", - "Comparator": "0", - "CommsRouting": "EMPTY_ACTION" - } - ], - "ActionsMapper": { - "EMPTY_ACTION": { - "ExternalRoutingCode": "", - "ActionDescription": "", - "ActionType": "", - "UrlLink": null, - "UrlLabel": "" - }, - "ACTION_TWO": { - "ExternalRoutingCode": "ActionTwoRoutingCode", - "ActionDescription": "ActionTwoDescription", - "ActionType": "ActionTwoActionType", - "UrlLink": "http://www.actiontwourl.com", - "UrlLabel": "ActionTwoUrlLabel" - }, - "ACTION_THREE": { - "ExternalRoutingCode": "ActionThreeRoutingCode", - "ActionDescription": "ActionThreeDescription", - "ActionType": "ActionThreeActionType", - "UrlLink": "http://www.actionthreeurl.com", - "UrlLabel": "ActionThreeUrlLabel" - }, - "DEFAULT_ACTION": { - "ExternalRoutingCode": "DefaultAction", - "ActionDescription": "DefaultActionDescription", - "ActionType": "DefaultActionType", - "UrlLink": "https://www.defaultactionurl.com", - "UrlLabel": "DefaultLabel" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-3.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-3.json deleted file mode 100644 index a50ee43e1..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-3.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "CampaignConfig": { - "ID": "<>", - "Version": 1, - "Name": "ELI-317 - includeActions=N - 9000000008", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "DefaultCommsRouting": "DEFAULT_ACTION", - "StartDate": "20250601", - "EndDate": "20260601", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Iterations": [ - { - "ID": ",<>", - "DefaultCommsRouting": "DEFAULT_ACTION", - "Version": 1, - "Name": "ELI-317 - Empty Actions - 9000000006", - "IterationDate": "20250601", - "IterationNumber": 1, - "CommsType": "I", - "DefaultNotEligibleRouting": "", - "DefaultNotActionableRouting": "", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "eli_317_cohort_3", - "CohortGroup": "eli_317_cohort_3_group", - "PositiveDescription": "You are currently in eli_317_cohort_3", - "NegativeDescription": "You are not in eli_317_cohort_3", - "Priority": 1 - } - ], - "IterationRules": [ - { - "Type": "R", - "Name": "Actionable if future appointment is booked", - "Description": "Book An Appointment", - "Priority": 1000, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "D>=", - "Comparator": "0", - "CommsRouting": "ACTION_TWO" - } - ], - "ActionsMapper": { - "EMPTY_ACTION": { - "ExternalRoutingCode": "", - "ActionDescription": "", - "ActionType": "", - "UrlLink": null, - "UrlLabel": "" - }, - "ACTION_TWO": { - "ExternalRoutingCode": "ActionTwoRoutingCode", - "ActionDescription": "ActionTwoDescription", - "ActionType": "ActionTwoActionType", - "UrlLink": "http://www.actiontwourl.com", - "UrlLabel": "ActionTwoUrlLabel" - }, - "ACTION_THREE": { - "ExternalRoutingCode": "ActionThreeRoutingCode", - "ActionDescription": "ActionThreeDescription", - "ActionType": "ActionThreeActionType", - "UrlLink": "http://www.actionthreeurl.com", - "UrlLabel": "ActionThreeUrlLabel" - }, - "DEFAULT_ACTION": { - "ExternalRoutingCode": "DefaultAction", - "ActionDescription": "DefaultActionDescription", - "ActionType": "DefaultActionType", - "UrlLink": "https://www.defaultactionurl.com", - "UrlLabel": "DefaultLabel" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-4.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-4.json deleted file mode 100644 index c76268245..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-4.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "CampaignConfig": { - "ID": "<>", - "Version": 1, - "Name": "ELI-317 - includeActions=N - 9000000009", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "DefaultCommsRouting": "", - "StartDate": "20250601", - "EndDate": "20260601", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Iterations": [ - { - "ID": ",<>", - "DefaultCommsRouting": "", - "Version": 1, - "Name": "ELI-317 - Empty Actions - 9000000006", - "IterationDate": "20250601", - "IterationNumber": 1, - "CommsType": "I", - "DefaultNotEligibleRouting": "", - "DefaultNotActionableRouting": "", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "eli_317_cohort_4", - "CohortGroup": "eli_317_cohort_4_group", - "PositiveDescription": "You are currently in eli_317_cohort_4", - "NegativeDescription": "You are not in eli_317_cohort_4", - "Priority": 1 - } - ], - "IterationRules": [ - { - "Type": "R", - "Name": "Actionable if future appointment is booked", - "Description": "Book An Appointment", - "Priority": 1000, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "D>=", - "Comparator": "0", - "CommsRouting": "ACTION_TWO" - } - ], - "ActionsMapper": { - "EMPTY_ACTION": { - "ExternalRoutingCode": "", - "ActionDescription": "", - "ActionType": "", - "UrlLink": null, - "UrlLabel": "" - }, - "ACTION_TWO": { - "ExternalRoutingCode": "ActionTwoRoutingCode", - "ActionDescription": "ActionTwoDescription", - "ActionType": "ActionTwoActionType", - "UrlLink": "http://www.actiontwourl.com", - "UrlLabel": "ActionTwoUrlLabel" - }, - "ACTION_THREE": { - "ExternalRoutingCode": "ActionThreeRoutingCode", - "ActionDescription": "ActionThreeDescription", - "ActionType": "ActionThreeActionType", - "UrlLink": "http://www.actionthreeurl.com", - "UrlLabel": "ActionThreeUrlLabel" - }, - "DEFAULT_ACTION": { - "ExternalRoutingCode": "DefaultAction", - "ActionDescription": "DefaultActionDescription", - "ActionType": "DefaultActionType", - "UrlLink": "https://www.defaultactionurl.com", - "UrlLabel": "DefaultLabel" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-5.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-5.json deleted file mode 100644 index 8f3423553..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-5.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "CampaignConfig": { - "ID": "<>", - "Version": 1, - "Name": "ELI-317 - Multiple Actions - 9000000010", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "DefaultCommsRouting": "DEFAULT_ACTION", - "StartDate": "20250601", - "EndDate": "20260601", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Iterations": [ - { - "ID": ",<>", - "DefaultCommsRouting": "DEFAULT_ACTION", - "Version": 1, - "Name": "ELI-317 - Multiple Actions - 9000000010", - "IterationDate": "20250601", - "IterationNumber": 1, - "CommsType": "I", - "DefaultNotEligibleRouting": "", - "DefaultNotActionableRouting": "", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "eli_317_cohort_5", - "CohortGroup": "eli_317_cohort_5_group", - "PositiveDescription": "You are currently in eli_317_cohort_5", - "NegativeDescription": "You are not in eli_317_cohort_5", - "Priority": 1 - } - ], - "IterationRules": [ - { - "Type": "R", - "Name": "Actionable if future appointment is booked", - "Description": "Book An Appointment", - "Priority": 1000, - "AttributeLevel": "PERSON", - "AttributeName": "DE_FLAG", - "Operator": "=", - "Comparator": "Y", - "CommsRouting": "ACTION_ONE|ACTION_TWO|ACTION_THREE" - } - ], - "ActionsMapper": { - "ACTION_ONE": { - "ExternalRoutingCode": "ActionOneRoutingCode", - "ActionDescription": "ActionOneDescription", - "ActionType": "ActionOneActionType", - "UrlLink": "http://www.actiononeurl.com", - "UrlLabel": "ActiononeUrlLabel" - }, - "ACTION_TWO": { - "ExternalRoutingCode": "ActionTwoRoutingCode", - "ActionDescription": "ActionTwoDescription", - "ActionType": "ActionTwoActionType", - "UrlLink": "http://www.actiontwourl.com", - "UrlLabel": "ActionTwoUrlLabel" - }, - "ACTION_THREE": { - "ExternalRoutingCode": "ActionThreeRoutingCode", - "ActionDescription": "ActionThreeDescription", - "ActionType": "ActionThreeActionType", - "UrlLink": "http://www.actionthreeurl.com", - "UrlLabel": "ActionThreeUrlLabel" - }, - "DEFAULT_ACTION": { - "ExternalRoutingCode": "DefaultAction", - "ActionDescription": "DefaultActionDescription", - "ActionType": "DefaultActionType", - "UrlLink": "https://www.defaultactionurl.com", - "UrlLabel": "DefaultLabel" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-COVID.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-COVID.json deleted file mode 100644 index b31ff7883..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-COVID.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "CampaignConfig": { - "ID": "CC1234", - "Version": 1, - "Name": "ELI-320 - COVID Config", - "Type": "V", - "Target": "COVID", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "DefaultCommsRouting": "CONTACT_GP", - "StartDate": "20250601", - "EndDate": "20260601", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Iterations": [ - { - "ID": "IC1234", - "DefaultCommsRouting": "CONTACT_GP", - "Version": 1, - "Name": "ELI-320 - COVID Iteration Config", - "IterationDate": "20250601", - "IterationNumber": 1, - "CommsType": "I", - "DefaultNotEligibleRouting": "", - "DefaultNotActionableRouting": "", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "covid_cohort", - "CohortGroup": "covid_cohort_group", - "PositiveDescription": "You are currently in a covid cohort", - "NegativeDescription": "You are not currently in a covid cohort", - "Priority": 0 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "AlreadyVaccinated", - "Description": "##You've had your COVID vaccination\nWe believe you already had your COVID vaccination.", - "Priority": 1000, - "AttributeLevel": "TARGET", - "AttributeTarget": "COVID", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "D<=", - "Comparator": "0" - } - ], - "ActionsMapper": { - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "##You have an COVID vaccination appointment\nYou can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-covid", - "UrlLabel": "Manage your appointment" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-MMR.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-MMR.json deleted file mode 100644 index 27b8282f3..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-MMR.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "CampaignConfig": { - "ID": "CC8901", - "Version": 1, - "Name": "ELI-320 - MMR Config", - "Type": "V", - "Target": "MMR", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "DefaultCommsRouting": "CONTACT_GP", - "StartDate": "20250612", - "EndDate": "20260713", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Iterations": [ - { - "ID": "IC8901", - "DefaultCommsRouting": "CONTACT_GP", - "Version": 1, - "Name": "ELI-320 - MMR Iteration Config", - "IterationDate": "20250601", - "IterationNumber": 1, - "CommsType": "I", - "DefaultNotEligibleRouting": "", - "DefaultNotActionableRouting": "", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "mmr_cohort", - "CohortGroup": "mmr_cohort_group", - "PositiveDescription": "You are currently in a mmr cohort", - "NegativeDescription": "You are not currently in an mmr cohort", - "Priority": 0 - } - ], - "IterationRules": [ - { - "Type": "R", - "Name": "Actionable if future appointment is booked", - "Description": "Book An Appointment", - "Priority": 1000, - "AttributeLevel": "TARGET", - "AttributeTarget": "MMR", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "D>=", - "Comparator": "0", - "CommsRouting": "AMEND_NBS" - } - ], - "ActionsMapper": { - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "##You have an MMR vaccination appointment\nYou can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/amend-mmr", - "UrlLabel": "Manage your appointment" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-RSV.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-RSV.json deleted file mode 100644 index 5576a951e..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-RSV.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "CampaignConfig": { - "ID": "CC5678", - "Version": 1, - "Name": "ELI-320 - RSV Config", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "DefaultCommsRouting": "AmendNBS", - "StartDate": "20250612", - "EndDate": "20260713", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Iterations": [ - { - "ID": "IC5678", - "DefaultCommsRouting": "AmendNBS", - "Version": 1, - "Name": "ELI-320 - RSV Iteration Config", - "IterationDate": "20250601", - "IterationNumber": 1, - "CommsType": "I", - "DefaultNotEligibleRouting": "", - "DefaultNotActionableRouting": "", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_cohort", - "CohortGroup": "rsv_cohort_group", - "PositiveDescription": "You are currently in an RSV cohort", - "NegativeDescription": "You are not currently in an RSV cohort", - "Priority": 0 - } - ], - "IterationRules": [ - { - "Type": "R", - "Name": "Actionable Future Booked Appointment", - "Description": "Actionable Future Booked Appointment", - "Priority": 1000, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "D>=", - "Comparator": "0", - "CommsRouting": "AMEND_NBS" - } - ], - "ActionsMapper": { - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "##You have an RSV vaccination appointment\nYou can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Manage your appointment" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-SCREENING-1.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-SCREENING-1.json deleted file mode 100644 index 2ee8ba910..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-SCREENING-1.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "CampaignConfig": { - "ID": "CC56789", - "Version": 1, - "Name": "ELI-320 - FLU SCREENING Config", - "Type": "S", - "Target": "FLU", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "DefaultCommsRouting": "AmendNBS", - "StartDate": "20250612", - "EndDate": "20260713", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Iterations": [ - { - "ID": "IC56789", - "DefaultCommsRouting": "AmendNBS", - "Version": 1, - "Name": "ELI-320 - FLU Screening Iteration Config", - "IterationDate": "20250601", - "IterationNumber": 1, - "CommsType": "I", - "DefaultNotEligibleRouting": "", - "DefaultNotActionableRouting": "", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "FLU_screening_cohort", - "CohortGroup": "FLU_screening_cohort_group", - "PositiveDescription": "You are currently in an flu SCREENING cohort", - "NegativeDescription": "You are not currently in an flu SCREENING cohort", - "Priority": 0 - } - ], - "IterationRules": [ - { - "Type": "R", - "Name": "Actionable Future Booked Appointment", - "Description": "Actionable Future Booked Appointment", - "Priority": 1000, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "D>=", - "Comparator": "0", - "CommsRouting": "AMEND_NBS" - } - ], - "ActionsMapper": { - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "##You have an flu screening appointment\nYou can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-bs", - "UrlLabel": "Manage your appointment" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-SCREENING-2.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-SCREENING-2.json deleted file mode 100644 index 8502bedc6..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-SCREENING-2.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "CampaignConfig": { - "ID": "CC567891", - "Version": 1, - "Name": "ELI-320 - RSV SCREENING Config", - "Type": "S", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "DefaultCommsRouting": "AmendNBS", - "StartDate": "20250612", - "EndDate": "20260713", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Iterations": [ - { - "ID": "IC567891", - "DefaultCommsRouting": "AmendNBS", - "Version": 1, - "Name": "ELI-320 - RSV SCREENING Iteration Config", - "IterationDate": "20250601", - "IterationNumber": 1, - "CommsType": "I", - "DefaultNotEligibleRouting": "", - "DefaultNotActionableRouting": "", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_screening_cohort", - "CohortGroup": "rsv_screening_cohort_group", - "PositiveDescription": "You are currently in an RSV SCREENING cohort", - "NegativeDescription": "You are not currently in an RSV SCREENING cohort", - "Priority": 0 - } - ], - "IterationRules": [ - { - "Type": "R", - "Name": "Actionable Future Booked Appointment", - "Description": "Actionable Future Booked Appointment", - "Priority": 1000, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "D>=", - "Comparator": "0", - "CommsRouting": "AMEND_NBS" - } - ], - "ActionsMapper": { - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "##You have an bowel screening appointment\nYou can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-bs", - "UrlLabel": "Manage your appointment" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-365.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-365.json deleted file mode 100644 index 70066de88..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-365.json +++ /dev/null @@ -1,458 +0,0 @@ -{ - "CampaignConfig": { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d0", - "Version": 1, - "Name": "EliD RSV example config", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "PLACEHOLDER_COMMS_ROUTING", - "Iterations": [ - { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d1", - "DefaultCommsRouting": "BOOK_LOCAL|HELP_SUPPORT", - "DefaultNotActionableRouting": "", - "DefaultNotEligibleRouting": "CHECK_CORRECT_X", - "Version": 1, - "Name": "EliD RSV example config", - "IterationDate": "20250717", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_75to79", - "CohortGroup": "rsv_age", - "PositiveDescription": "are aged 75 to 79 years old", - "NegativeDescription": "are not aged 75 to 79 years old", - "Priority": 0 - }, - { - "CohortLabel": "rsv_80_since_02_Sept_2024", - "CohortGroup": "rsv_age_catchup", - "PositiveDescription": "turned 80 after 1st September 2024", - "NegativeDescription": "did not turn 80 after 1 September 2024", - "Priority": 10 - }, - { - "CohortLabel": "elid_all_people", - "CohortGroup": "magic_cohort", - "PositiveDescription": "", - "NegativeDescription": "", - "Priority": 20, - "Virtual": "Y" - } - ], - "IterationRules": [ - { - "Type": "F", - "Name": "Remove from magic cohort unless already vaccinated or have future booking", - "Description": "Remove anyone NOT already vaccinated within the last 25 years and do not have a future booking from the magic cohort", - "Operator": "Y<=", - "Comparator": "-25[[NVL:18000101]]", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "CohortLabel": "elid_all_people", - "Priority": 100 - }, - { - "Type": "F", - "Name": "Remove from magic cohort unless already vaccinated or have future booking", - "Description": "Remove anyone without a future booking from magic cohort", - "Operator": "D<", - "Comparator": "0[[NVL:18000101]]", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CohortLabel": "elid_all_people", - "Priority": 100 - }, - { - "Type": "F", - "Name": "Remove under 75 Years on day of execution", - "Description": "Ensure anyone who has a PDS date of birth which determines their age to be less than 75 years is filtered out.", - "Priority": 120, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-75", - "CohortLabel": "rsv_75to79" - }, - { - "Type": "F", - "Name": "Remove over 80 on day of execution", - "Description": "Exclude anyone who turned 80 before 2nd September 2024", - "Priority": 130, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "<", - "Comparator": "19440902", - "CohortLabel": "rsv_75to79" - }, - { - "Type": "F", - "Name": "Remove under 75 Years on day of execution", - "Description": "Ensure anyone who has a PDS date of birth which determines their age to be less than 75 years is filtered out.", - "Priority": 140, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-75", - "CohortLabel": "rsv_80_since_02_Sept_2024" - }, - { - "Type": "F", - "Name": "Remove over 80 on day of execution", - "Description": "Exclude anyone who turned 80 before 2nd September 2024", - "Priority": 150, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "<", - "Comparator": "19440902", - "CohortLabel": "rsv_80_since_02_Sept_2024" - }, - { - "Type": "F", - "Name": "Remove from rsv 80 cohort if already vaccinated", - "Description": "Remove anyone already vaccinated from 80 cohort", - "Operator": "Y>=", - "Comparator": "-25", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "CohortLabel": "rsv_80_since_02_Sept_2024", - "Priority": 160 - }, - { - "Type": "F", - "Name": "Remove from rsv 80 cohort if future booking", - "Description": "Remove anyone with a future booking from RSV 80 cohort", - "Operator": "D>=", - "Comparator": "0", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CohortLabel": "rsv_80_since_02_Sept_2024", - "Priority": 170 - }, - { - "Type": "F", - "Name": "Remove from rsv 75-79 cohort if already vaccinated", - "Description": "Remove anyone already vaccinated from 75-79 cohort", - "Operator": "Y>=", - "Comparator": "-25", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "CohortLabel": "rsv_75to79", - "Priority": 180 - }, - { - "Type": "F", - "Name": "Remove from rsv 75-79 cohort if future booking", - "Description": "Remove anyone with a future booking from RSV 75-79 cohort", - "Operator": "D>=", - "Comparator": "0", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CohortLabel": "rsv_75to79", - "Priority": 190 - }, - { - "Type": "S", - "Name": "Already Vaccinated", - "Description": "## You've had your RSV vaccination\n\nWe believe you had your vaccination.", - "Priority": 200, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "Y>=", - "Comparator": "-25", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "Other Setting", - "Description": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 510, - "AttributeLevel": "PERSON", - "AttributeName": "CARE_HOME_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_80_since_02_Sept_2024", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "Other Setting", - "Description": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 520, - "AttributeLevel": "PERSON", - "AttributeName": "DE_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_80_since_02_Sept_2024", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "Other Setting", - "Description": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 530, - "AttributeLevel": "PERSON", - "AttributeName": "13Q_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_80_since_02_Sept_2024", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "Other Setting", - "Description": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 540, - "AttributeLevel": "PERSON", - "AttributeName": "CARE_HOME_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_75to79", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "Other Setting with no future booking", - "Description": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 550, - "AttributeLevel": "PERSON", - "AttributeName": "DE_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_75to79", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "Other Setting", - "Description": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 560, - "AttributeLevel": "PERSON", - "AttributeName": "13Q_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_75to79", - "RuleStop": "Y" - }, - { - "Type": "R", - "Name": "Actionable Future Booked NBS Appointment", - "Description": "Amend NBS future booking", - "Priority": 1000, - "Operator": "D>=", - "Comparator": "0", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CommsRouting": "AMEND_NBS" - }, - { - "Type": "R", - "Name": "Actionable Future Booked NBS Appointment", - "Description": "Amend NBS future booking", - "Priority": 1000, - "Operator": "=", - "Comparator": "NBS", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_PROVIDER", - "CommsRouting": "AMEND_NBS" - }, - { - "Type": "R", - "Name": "Actionable Future Booked Local Appointment", - "Description": "Amend local future booking", - "Priority": 1100, - "Operator": "D>=", - "Comparator": "0", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CommsRouting": "MANAGE_LOCAL" - }, - { - "Type": "R", - "Name": "Within CP Expansion ICB", - "Description": "Book an appointment on NBS as within CP expansion", - "Priority": 1200, - "Operator": "in", - "Comparator": "QH8,QJG", - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "CommsRouting": "BOOK_LOCAL|BOOK_NBS|HELP_SUPPORT" - }, - { - "Type": "R", - "Name": "Within CP Expansion ICB not 80 plus", - "Description": "Book an appointment on NBS as within CP expansion", - "Priority": 1200, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-80", - "CommsRouting": "BOOK_LOCAL|BOOK_NBS|HELP_SUPPORT" - }, - { - "Type": "R", - "Name": "Within CP Expansion Local Authority", - "Description": "Book an appointment on NBS as within CP expansion", - "Priority": 1300, - "Operator": "in", - "Comparator": "E08000028,E08000031,E08000025,E06000016,E06000008,E07000117,E07000120,E08000011,E08000012,E07000122,E07000123,E08000014,E07000126,E08000013,E07000127,E08000015,E07000128", - "AttributeLevel": "PERSON", - "AttributeName": "LOCAL_AUTHORITY", - "CommsRouting": "BOOK_LOCAL|BOOK_NBS|HELP_SUPPORT" - }, - { - "Type": "R", - "Name": "Within CP Expansion ICB not 80 plus", - "Description": "Book an appointment on NBS as within CP expansion", - "Priority": 1300, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-80", - "CommsRouting": "BOOK_LOCAL|BOOK_NBS|HELP_SUPPORT" - }, - { - "Type": "Y", - "Name": "Already vaccinated default text", - "Description": "Already vaccinated default text", - "Priority": 3000, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "Y>=", - "Comparator": "-25", - "CommsRouting": "CHECK_CORRECT_ALREADY_VACCINATED" - }, - { - "Type": "Y", - "Name": "Other setting default text", - "Description": "Other setting default text", - "Priority": 3100, - "AttributeLevel": "PERSON", - "AttributeName": "CARE_HOME_FLAG", - "Operator": "=", - "Comparator": "Y", - "CommsRouting": "CHECK_CORRECT_OTHER_SETTING" - }, - { - "Type": "Y", - "Name": "Other setting default text", - "Description": "Other setting default text", - "Priority": 3200, - "AttributeLevel": "PERSON", - "AttributeName": "DE_FLAG", - "Operator": "=", - "Comparator": "Y", - "CommsRouting": "CHECK_CORRECT_OTHER_SETTING" - }, - { - "Type": "Y", - "Name": "Other setting default text", - "Description": "Other setting default text", - "Priority": 3300, - "AttributeLevel": "PERSON", - "AttributeName": "13Q_FLAG", - "Operator": "=", - "Comparator": "Y", - "CommsRouting": "CHECK_CORRECT_OTHER_SETTING" - } - ], - "ActionsMapper": { - "BOOK_NBS": { - "ExternalRoutingCode": "BookNBS", - "ActionDescription": "", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - }, - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "##You have an RSV vaccination appointment\nYou can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Manage your appointment" - }, - "CONTACT_GP": { - "ExternalRoutingCode": "ContactGP", - "ActionDescription": "Contact your GP", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "BOOK_LOCAL": { - "ExternalRoutingCode": "BookLocal", - "ActionDescription": "##Getting the vaccine\n\nYou can get an RSV vaccination at your GP surgery.\nYour GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination.", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "MANAGE_LOCAL": { - "ExternalRoutingCode": "ManageLocal", - "ActionDescription": "##You have an RSV vaccination appointment\n\nContact your healthcare provider to change or cancel your appointment.", - "ActionType": "CardWithText", - "UrlLink": null, - "UrlLabel": "" - }, - "HELP_SUPPORT": { - "ExternalRoutingCode": "HelpSupportInfo", - "ActionDescription": "## CONTENT TBC\n\nBlah blah blah.", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "CHECK_CORRECT_X": { - "ExternalRoutingCode": "HealthcareProInfo", - "ActionDescription": "## If you think this is incorrect\n\nSpeak to your healthcare professional if you think you should be offered this vaccine.\n\nFor anything else, visit our help and support page. (ADD LINK)", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "CHECK_CORRECT_ALREADY_VACCINATED": { - "ExternalRoutingCode": "AlreadyVaccinatedInfo", - "ActionDescription": "## If you think this is incorrect\n\nIf you believe you've not been vaccinated against RSV, speak to your healthcare professional.\n\nFor anything else please see our help and support page. (ADD LINK).", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "CHECK_CORRECT_OTHER_SETTING": { - "ExternalRoutingCode": "ManagedSettingInfo", - "ActionDescription": "## If you think this is incorrect\n\nIf you have already had this vaccination or your personal details are wrong, visit our help and support page. (ADD LINK).", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-365v0.5.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-365v0.5.json deleted file mode 100644 index e0deed583..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-365v0.5.json +++ /dev/null @@ -1,457 +0,0 @@ -{ - "CampaignConfig": { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d0", - "Version": 1, - "Name": "EliD RSV example config", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "PLACEHOLDER_COMMS_ROUTING", - "Iterations": [ - { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d1", - "DefaultCommsRouting": "BOOK_LOCAL|HELP_SUPPORT", - "DefaultNotActionableRouting": "", - "DefaultNotEligibleRouting": "CHECK_CORRECT_X", - "Version": 1, - "Name": "EliD RSV example config", - "IterationDate": "20250717", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_75to79", - "CohortGroup": "rsv_age", - "PositiveDescription": "are aged 75 to 79 years old", - "NegativeDescription": "are not aged 75 to 79 years old", - "Priority": 0 - }, - { - "CohortLabel": "rsv_80_since_02_Sept_2024", - "CohortGroup": "rsv_age_catchup", - "PositiveDescription": "turned 80 after 1st September 2024", - "NegativeDescription": "did not turn 80 after 1 September 2024", - "Priority": 10 - }, - { - "CohortLabel": "elid_all_people", - "CohortGroup": "magic_cohort", - "PositiveDescription": "", - "NegativeDescription": "", - "Priority": 20 - } - ], - "IterationRules": [ - { - "Type": "F", - "Name": "Remove from magic cohort unless already vaccinated or have future booking", - "Description": "Remove anyone NOT already vaccinated within the last 25 years and do not have a future booking from the magic cohort", - "Operator": "Y<=", - "Comparator": "-25[[NVL:18000101]]", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "CohortLabel": "elid_all_people", - "Priority": 100 - }, - { - "Type": "F", - "Name": "Remove from magic cohort unless already vaccinated or have future booking", - "Description": "Remove anyone without a future booking from magic cohort", - "Operator": "D<", - "Comparator": "0[[NVL:18000101]]", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CohortLabel": "elid_all_people", - "Priority": 100 - }, - { - "Type": "F", - "Name": "Remove under 75 Years on day of execution", - "Description": "Ensure anyone who has a PDS date of birth which determines their age to be less than 75 years is filtered out.", - "Priority": 120, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-75", - "CohortLabel": "rsv_75to79" - }, - { - "Type": "F", - "Name": "Remove over 80 on day of execution", - "Description": "Exclude anyone who turned 80 before 2nd September 2024", - "Priority": 130, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "<", - "Comparator": "19440902", - "CohortLabel": "rsv_75to79" - }, - { - "Type": "F", - "Name": "Remove under 75 Years on day of execution", - "Description": "Ensure anyone who has a PDS date of birth which determines their age to be less than 75 years is filtered out.", - "Priority": 140, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-75", - "CohortLabel": "rsv_80_since_02_Sept_2024" - }, - { - "Type": "F", - "Name": "Remove over 80 on day of execution", - "Description": "Exclude anyone who turned 80 before 2nd September 2024", - "Priority": 150, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "<", - "Comparator": "19440902", - "CohortLabel": "rsv_80_since_02_Sept_2024" - }, - { - "Type": "F", - "Name": "Remove from rsv 80 cohort if already vaccinated", - "Description": "Remove anyone already vaccinated from 80 cohort", - "Operator": "Y>=", - "Comparator": "-25", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "CohortLabel": "rsv_80_since_02_Sept_2024", - "Priority": 160 - }, - { - "Type": "F", - "Name": "Remove from rsv 80 cohort if future booking", - "Description": "Remove anyone with a future booking from RSV 80 cohort", - "Operator": "D>=", - "Comparator": "0", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CohortLabel": "rsv_80_since_02_Sept_2024", - "Priority": 170 - }, - { - "Type": "F", - "Name": "Remove from rsv 75-79 cohort if already vaccinated", - "Description": "Remove anyone already vaccinated from 75-79 cohort", - "Operator": "Y>=", - "Comparator": "-25", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "CohortLabel": "rsv_75to79", - "Priority": 180 - }, - { - "Type": "F", - "Name": "Remove from rsv 75-79 cohort if future booking", - "Description": "Remove anyone with a future booking from RSV 75-79 cohort", - "Operator": "D>=", - "Comparator": "0", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CohortLabel": "rsv_75to79", - "Priority": 190 - }, - { - "Type": "S", - "Name": "Already Vaccinated", - "Description": "## You've had your RSV vaccination\n\n We believe you had your vaccination.", - "Priority": 200, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "Y>=", - "Comparator": "-25", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "Other Setting", - "Description": "## Getting the vaccine\n\n We believe you're living in a setting where care is provided.\n\n Speak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 510, - "AttributeLevel": "PERSON", - "AttributeName": "CARE_HOME_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_80_since_02_Sept_2024", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "Other Setting", - "Description": "## Getting the vaccine\n\n We believe you're living in a setting where care is provided.\n\n Speak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 520, - "AttributeLevel": "PERSON", - "AttributeName": "DE_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_80_since_02_Sept_2024", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "Other Setting", - "Description": "## Getting the vaccine\n\n We believe you're living in a setting where care is provided.\n\n Speak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 530, - "AttributeLevel": "PERSON", - "AttributeName": "13Q_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_80_since_02_Sept_2024", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "Other Setting", - "Description": "## Getting the vaccine\n\n We believe you're living in a setting where care is provided.\n\n Speak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 540, - "AttributeLevel": "PERSON", - "AttributeName": "CARE_HOME_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_75to79", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "Other Setting with no future booking", - "Description": "## Getting the vaccine\n\n We believe you're living in a setting where care is provided.\n\n Speak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 550, - "AttributeLevel": "PERSON", - "AttributeName": "DE_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_75to79", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "Other Setting", - "Description": "## Getting the vaccine\n\n We believe you're living in a setting where care is provided.\n\n Speak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 560, - "AttributeLevel": "PERSON", - "AttributeName": "13Q_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_75to79", - "RuleStop": "Y" - }, - { - "Type": "R", - "Name": "Actionable Future Booked NBS Appointment", - "Description": "Amend NBS future booking", - "Priority": 1000, - "Operator": "D>=", - "Comparator": "0", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CommsRouting": "AMEND_NBS" - }, - { - "Type": "R", - "Name": "Actionable Future Booked NBS Appointment", - "Description": "Amend NBS future booking", - "Priority": 1000, - "Operator": "=", - "Comparator": "NBS", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_PROVIDER", - "CommsRouting": "AMEND_NBS" - }, - { - "Type": "R", - "Name": "Actionable Future Booked Local Appointment", - "Description": "Amend local future booking", - "Priority": 1100, - "Operator": "D>=", - "Comparator": "0", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CommsRouting": "MANAGE_LOCAL" - }, - { - "Type": "R", - "Name": "Within CP Expansion ICB not 80 plus", - "Description": "Book an appointment on NBS as within CP expansion", - "Priority": 1200, - "Operator": "in", - "Comparator": "QH8,QJG", - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "CommsRouting": "BOOK_LOCAL|BOOK_NBS|HELP_SUPPORT" - }, - { - "Type": "R", - "Name": "Within CP Expansion ICB not 80 plus", - "Description": "Book an appointment on NBS as within CP expansion", - "Priority": 1200, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-80", - "CommsRouting": "BOOK_LOCAL|BOOK_NBS|HELP_SUPPORT" - }, - { - "Type": "R", - "Name": "Within CP Expansion Local Authority", - "Description": "Book an appointment on NBS as within CP expansion", - "Priority": 1300, - "Operator": "in", - "Comparator": "E08000028,E08000031,E08000025,E06000016,E06000008,E07000117,E07000120,E08000011,E08000012,E07000122,E07000123,E08000014,E07000126,E08000013,E07000127,E08000015,E07000128", - "AttributeLevel": "PERSON", - "AttributeName": "LOCAL_AUTHORITY", - "CommsRouting": "BOOK_LOCAL|BOOK_NBS|HELP_SUPPORT" - }, - { - "Type": "R", - "Name": "Within CP Expansion ICB not 80 plus", - "Description": "Book an appointment on NBS as within CP expansion", - "Priority": 1300, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-80", - "CommsRouting": "BOOK_LOCAL|BOOK_NBS|HELP_SUPPORT" - }, - { - "Type": "Y", - "Name": "Already vaccinated default text", - "Description": "Already vaccinated default text", - "Priority": 3000, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "Y>=", - "Comparator": "-25", - "CommsRouting": "CHECK_CORRECT_ALREADY_VACCINATED" - }, - { - "Type": "Y", - "Name": "Other setting default text", - "Description": "Other setting default text", - "Priority": 3100, - "AttributeLevel": "PERSON", - "AttributeName": "CARE_HOME_FLAG", - "Operator": "=", - "Comparator": "Y", - "CommsRouting": "CHECK_CORRECT_OTHER_SETTING" - }, - { - "Type": "Y", - "Name": "Other setting default text", - "Description": "Other setting default text", - "Priority": 3200, - "AttributeLevel": "PERSON", - "AttributeName": "DE_FLAG", - "Operator": "=", - "Comparator": "Y", - "CommsRouting": "CHECK_CORRECT_OTHER_SETTING" - }, - { - "Type": "Y", - "Name": "Other setting default text", - "Description": "Other setting default text", - "Priority": 3300, - "AttributeLevel": "PERSON", - "AttributeName": "13Q_FLAG", - "Operator": "=", - "Comparator": "Y", - "CommsRouting": "CHECK_CORRECT_OTHER_SETTING" - } - ], - "ActionsMapper": { - "BOOK_NBS": { - "ExternalRoutingCode": "BookNBS", - "ActionDescription": "", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - }, - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "## You have an RSV vaccination appointment\n You can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Manage your appointment" - }, - "CONTACT_GP": { - "ExternalRoutingCode": "ContactGP", - "ActionDescription": "Contact your GP", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "BOOK_LOCAL": { - "ExternalRoutingCode": "BookLocal", - "ActionDescription": "## Getting the vaccine\n\n You can get an RSV vaccination at your GP surgery.\n Your GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination.", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "MANAGE_LOCAL": { - "ExternalRoutingCode": "ManageLocal", - "ActionDescription": "## You have an RSV vaccination appointment\n\n Contact your healthcare provider to change or cancel your appointment.", - "ActionType": "CardWithText", - "UrlLink": null, - "UrlLabel": "" - }, - "HELP_SUPPORT": { - "ExternalRoutingCode": "HelpSupportInfo", - "ActionDescription": "## If you think this is incorrect\n\n If you have already had this vaccination or your personal details are wrong, visit our [help and support page](https://digital.nhs.uk/services/eligibility-data-product-elid).", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "CHECK_CORRECT_X": { - "ExternalRoutingCode": "HealthcareProInfo", - "ActionDescription": "## If you think this is incorrect\n\n Speak to your healthcare professional if you think you should be offered this vaccine.\n\nFor anything else, visit our [help and support page](https://digital.nhs.uk/services/eligibility-data-product-elid).", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "CHECK_CORRECT_ALREADY_VACCINATED": { - "ExternalRoutingCode": "AlreadyVaccinatedInfo", - "ActionDescription": "## If you think this is incorrect\n\n If you believe you've not been vaccinated against RSV, speak to your healthcare professional.\n\nFor anything else please see our [help and support page](https://digital.nhs.uk/services/eligibility-data-product-elid).", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "CHECK_CORRECT_OTHER_SETTING": { - "ExternalRoutingCode": "ManagedSettingInfo", - "ActionDescription": "## If you think this is incorrect\n\n If you have already had this vaccination or your personal details are wrong, visit our [help and support page](https://digital.nhs.uk/services/eligibility-data-product-elid).", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-371.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-371.json deleted file mode 100644 index fb60fdf42..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-371.json +++ /dev/null @@ -1,182 +0,0 @@ -{ - "CampaignConfig": { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d0", - "Version": 1, - "Name": "EliD RSV example config", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "PLACEHOLDER_COMMS_ROUTING", - "Iterations": [ - { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d1", - "DefaultCommsRouting": "BOOK_LOCAL|HELP_SUPPORT", - "DefaultNotActionableRouting": "", - "DefaultNotEligibleRouting": "CHECK_CORRECT_X", - "Version": 1, - "Name": "EliD RSV example config", - "IterationDate": "20250717", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_75to79", - "CohortGroup": "rsv_age", - "PositiveDescription": "are aged 75 to 79 years old", - "NegativeDescription": "are not aged 75 to 79 years old", - "Priority": 0 - }, - { - "CohortLabel": "rsv_80_since_02_Sept_2024", - "CohortGroup": "rsv_age_catchup", - "PositiveDescription": "turned 80 after 1st September 2024", - "NegativeDescription": "did not turn 80 after 1 September 2024", - "Priority": 10 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "Testing of AND rules where names are different", - "Description": "Testing of AND rules where names are different", - "Operator": "=", - "Comparator": "19800501", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "CohortLabel": "rsv_75to79", - "Priority": 100 - }, - { - "Type": "S", - "Name": "This name is completely different but should still be AND to the one above", - "Description": "Testing of AND rules where names are different", - "Operator": "=", - "Comparator": "AAA", - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "CohortLabel": "rsv_75to79", - "Priority": 100 - }, - { - "Type": "S", - "Name": "This is a rule on it's own and not part of the AND rules above", - "Description": "Testing of AND rules where names are different", - "Operator": "=", - "Comparator": "19820501", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "CohortLabel": "rsv_75to79", - "Priority": 1000 - }, - { - "Type": "R", - "Name": "Actionable Future Booked NBS Appointment", - "Description": "Amend NBS future booking", - "Priority": 1000, - "Operator": "D>=", - "Comparator": "0", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CommsRouting": "AMEND_NBS" - }, - { - "Type": "R", - "Name": "Actionable Future Booked NBS Appointment", - "Description": "Amend NBS future booking", - "Priority": 1000, - "Operator": "=", - "Comparator": "NBS", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_PROVIDER", - "CommsRouting": "AMEND_NBS" - } - ], - "ActionsMapper": { - "BOOK_NBS": { - "ExternalRoutingCode": "BookNBS", - "ActionDescription": "", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - }, - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "##You have an RSV vaccination appointment\nYou can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Manage your appointment" - }, - "CONTACT_GP": { - "ExternalRoutingCode": "ContactGP", - "ActionDescription": "Contact your GP", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "BOOK_LOCAL": { - "ExternalRoutingCode": "BookLocal", - "ActionDescription": "##Getting the vaccine\n\nYou can get an RSV vaccination at your GP surgery.\nYour GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination.", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "MANAGE_LOCAL": { - "ExternalRoutingCode": "ManageLocal", - "ActionDescription": "##You have an RSV vaccination appointment\n\nContact your healthcare provider to change or cancel your appointment.", - "ActionType": "CardWithText", - "UrlLink": null, - "UrlLabel": "" - }, - "HELP_SUPPORT": { - "ExternalRoutingCode": "HelpSupportInfo", - "ActionDescription": "## CONTENT TBC\n\nBlah blah blah.", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "CHECK_CORRECT_X": { - "ExternalRoutingCode": "HealthcareProInfo", - "ActionDescription": "## If you think this is incorrect\n\nSpeak to your healthcare professional if you think you should be offered this vaccine.\n\nFor anything else, visit our help and support page. (ADD LINK)", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "CHECK_CORRECT_ALREADY_VACCINATED": { - "ExternalRoutingCode": "AlreadyVaccinatedInfo", - "ActionDescription": "## If you think this is incorrect\n\nIf you believe you've not been vaccinated against RSV, speak to your healthcare professional.\n\nFor anything else please see our help and support page. (ADD LINK).", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "CHECK_CORRECT_OTHER_SETTING": { - "ExternalRoutingCode": "ManagedSettingInfo", - "ActionDescription": "## If you think this is incorrect\n\nIf you have already had this vaccination or your personal details are wrong, visit our help and support page. (ADD LINK).", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-373-01.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-373-01.json deleted file mode 100644 index a0d7e8835..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-373-01.json +++ /dev/null @@ -1,459 +0,0 @@ -{ - "CampaignConfig": { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d0", - "Version": 1, - "Name": "EliD RSV example config", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "PLACEHOLDER_COMMS_ROUTING", - "Iterations": [ - { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d1", - "DefaultCommsRouting": "BOOK_LOCAL|HELP_SUPPORT", - "DefaultNotActionableRouting": "", - "DefaultNotEligibleRouting": "CHECK_CORRECT_X", - "Version": 1, - "Name": "EliD RSV example config", - "IterationDate": "20250717", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_75to79", - "CohortGroup": "rsv_age", - "PositiveDescription": "are aged 75 to 79 years old", - "NegativeDescription": "are not aged 75 to 79 years old", - "Priority": 0 - }, - { - "CohortLabel": "rsv_80_since_02_Sept_2024", - "CohortGroup": "rsv_age_catchup", - "PositiveDescription": "turned 80 after 1st September 2024", - "NegativeDescription": "did not turn 80 after 1 September 2024", - "Priority": 10 - }, - { - "CohortLabel": "elid_all_people", - "CohortGroup": "magic_cohort", - "PositiveDescription": "", - "NegativeDescription": "", - "Priority": 20 - } - ], - "IterationRules": [ - { - "Type": "F", - "Name": "Remove anyone NOT already vaccinated within the last 25 years and do not have a future booking from the magic cohort", - "Description": "Remove anyone NOT already vaccinated within the last 25 years and do not have a future booking from the magic cohort", - "Operator": "Y<=", - "Comparator": "-25[[NVL:18000101]]", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "CohortLabel": "elid_all_people", - "Priority": 100 - }, - { - "Type": "F", - "Name": "Remove anyone without a future booking from magic cohort", - "Description": "Remove anyone without a future booking from magic cohort", - "Operator": "D<", - "Comparator": "0[[NVL:18000101]]", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CohortLabel": "elid_all_people", - "Priority": 100 - }, - { - "Type": "F", - "Name": "Under Age - Under 75 Years on day of execution", - "Description": "Ensure anyone who has a PDS date of birth which determines their age to be less than 75 years is filtered out.", - "Priority": 120, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-75", - "CohortLabel": "rsv_75to79" - }, - { - "Type": "F", - "Name": "Exclude Too OLD", - "Description": "Exclude anyone who turned 80 before 2nd September 2024", - "Priority": 130, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "<", - "Comparator": "19440902", - "CohortLabel": "rsv_75to79" - }, - { - "Type": "F", - "Name": "Under Age - Under 75 Years on day of execution", - "Description": "Ensure anyone who has a PDS date of birth which determines their age to be less than 75 years is filtered out.", - "Priority": 140, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-75", - "CohortLabel": "rsv_80_since_02_Sept_2024" - }, - { - "Type": "F", - "Name": "Exclude Too OLD", - "Description": "Exclude anyone who turned 80 before 2nd September 2024", - "Priority": 150, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "<", - "Comparator": "19440902", - "CohortLabel": "rsv_80_since_02_Sept_2024" - }, - { - "Type": "S", - "Name": "Already Vaccinated", - "Description": "## You've had your RSV vaccination\n\nWe believe you had your vaccination.", - "Priority": 200, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "Y>=", - "Comparator": "-25", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "80 plus - Other Setting (Care Home) with no future booking", - "Description": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 510, - "AttributeLevel": "PERSON", - "AttributeName": "CARE_HOME_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_80_since_02_Sept_2024", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "80 plus - Other Setting (Care Home) with no future booking", - "Description": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 510, - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "D<", - "Comparator": "0[[NVL:18000101]]", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "80 plus - Other Setting (Detained Estates) with no future booking", - "Description": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 520, - "AttributeLevel": "PERSON", - "AttributeName": "DE_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_80_since_02_Sept_2024", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "80 plus - Other Setting (Detained Estates) with no future booking", - "Description": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 520, - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "D<", - "Comparator": "0[[NVL:18000101]]", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "80 plus - Other Setting (13Q) with no future booking", - "Description": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 530, - "AttributeLevel": "PERSON", - "AttributeName": "13Q_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_80_since_02_Sept_2024", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "80 plus - Other Setting (13Q) with no future booking - 2", - "Description": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 530, - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "D<", - "Comparator": "0[[NVL:18000101]]", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "75 to 79 - Other Setting (Care Home) with no future booking", - "Description": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 540, - "AttributeLevel": "PERSON", - "AttributeName": "CARE_HOME_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_75to79", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "75 to 79 - Other Setting (Care Home) with no future booking", - "Description": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 540, - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "D<", - "Comparator": "0[[NVL:18000101]]", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "75 to 79 - Other Setting (Detained Estates) with no future booking", - "Description": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 550, - "AttributeLevel": "PERSON", - "AttributeName": "DE_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_75to79", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "75 to 79 - Other Setting (Detained Estates) with no future booking", - "Description": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 550, - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "D<", - "Comparator": "0[[NVL:18000101]]", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "75 to 79 - Other Setting (13Q) with no future booking", - "Description": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 560, - "AttributeLevel": "PERSON", - "AttributeName": "13Q_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_75to79", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "75 to 79 - Other Setting (13Q) with no future booking - 2", - "Description": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 560, - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "D<", - "Comparator": "0[[NVL:18000101]]", - "RuleStop": "Y" - }, - { - "Type": "R", - "Name": "Actionable Future Booked NBS Appointment", - "Description": "Amend NBS future booking", - "Priority": 1000, - "Operator": "D>=", - "Comparator": "0", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CommsRouting": "AMEND_NBS" - }, - { - "Type": "R", - "Name": "Actionable Future Booked NBS Appointment - 2", - "Description": "Amend NBS future booking", - "Priority": 1000, - "Operator": "=", - "Comparator": "NBS", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_PROVIDER", - "CommsRouting": "AMEND_NBS" - }, - { - "Type": "R", - "Name": "Actionable Future Booked Local Appointment", - "Description": "Amend local future booking", - "Priority": 1100, - "Operator": "D>=", - "Comparator": "0", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CommsRouting": "MANAGE_LOCAL" - }, - { - "Type": "R", - "Name": "Within CP Expansion ICB", - "Description": "Book an appointment on NBS as within CP expansion", - "Priority": 1200, - "Operator": "in", - "Comparator": "QH8,QJG", - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "CommsRouting": "BOOK_LOCAL|BOOK_NBS|HELP_SUPPORT" - }, - { - "Type": "R", - "Name": "Within CP Expansion Local Authority", - "Description": "Book an appointment on NBS as within CP expansion", - "Priority": 1300, - "Operator": "in", - "Comparator": "E08000028,E08000031,E08000025,E06000016,E06000008,E07000117,E07000120,E08000011,E08000012,E07000122,E07000123,E08000014,E07000126,E08000013,E07000127,E08000015,E07000128", - "AttributeLevel": "PERSON", - "AttributeName": "LOCAL_AUTHORITY", - "CommsRouting": "BOOK_LOCAL|BOOK_NBS|HELP_SUPPORT" - }, - { - "Type": "Y", - "Name": "Already vaccinated default text", - "Description": "Already vaccinated default text", - "Priority": 3000, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "Y>=", - "Comparator": "-25", - "CommsRouting": "CHECK_CORRECT_ALREADY_VACCINATED" - }, - { - "Type": "Y", - "Name": "Other setting default text", - "Description": "Other setting default text", - "Priority": 3100, - "AttributeLevel": "PERSON", - "AttributeName": "CARE_HOME_FLAG", - "Operator": "=", - "Comparator": "Y", - "CommsRouting": "CHECK_CORRECT_OTHER_SETTING" - }, - { - "Type": "Y", - "Name": "Other setting default text", - "Description": "Other setting default text", - "Priority": 3200, - "AttributeLevel": "PERSON", - "AttributeName": "DE_FLAG", - "Operator": "=", - "Comparator": "Y", - "CommsRouting": "CHECK_CORRECT_OTHER_SETTING" - }, - { - "Type": "Y", - "Name": "Other setting default text", - "Description": "Other setting default text", - "Priority": 3300, - "AttributeLevel": "PERSON", - "AttributeName": "13Q_FLAG", - "Operator": "=", - "Comparator": "Y", - "CommsRouting": "CHECK_CORRECT_OTHER_SETTING" - } - ], - "ActionsMapper": { - "BOOK_NBS": { - "ExternalRoutingCode": "BookNBS", - "ActionDescription": "", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - }, - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "##You have an RSV vaccination appointment\nYou can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Manage your appointment" - }, - "CONTACT_GP": { - "ExternalRoutingCode": "ContactGP", - "ActionDescription": "Contact your GP", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "BOOK_LOCAL": { - "ExternalRoutingCode": "BookLocal", - "ActionDescription": "##Getting the vaccine\n\nYou can get an RSV vaccination at your GP surgery.\nYour GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination.", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "MANAGE_LOCAL": { - "ExternalRoutingCode": "ManageLocal", - "ActionDescription": "##You have an RSV vaccination appointment\n\nContact your healthcare provider to change or cancel your appointment.", - "ActionType": "CardWithText", - "UrlLink": null, - "UrlLabel": "" - }, - "HELP_SUPPORT": { - "ExternalRoutingCode": "HelpSupportInfo", - "ActionDescription": "## CONTENT TBC\n\nBlah blah blah.", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "CHECK_CORRECT_X": { - "ExternalRoutingCode": "HealthcareProInfo", - "ActionDescription": "## If you think this is incorrect\n\nSpeak to your healthcare professional if you think you should be offered this vaccine.\n\nFor anything else, visit our help and support page. (ADD LINK)", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "CHECK_CORRECT_ALREADY_VACCINATED": { - "ExternalRoutingCode": "AlreadyVaccinatedInfo", - "ActionDescription": "## If you think this is incorrect\n\nIf you believe you've not been vaccinated against RSV, speak to your healthcare professional.\n\nFor anything else please see our help and support page. (ADD LINK).", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "CHECK_CORRECT_OTHER_SETTING": { - "ExternalRoutingCode": "ManagedSettingInfo", - "ActionDescription": "## If you think this is incorrect\n\nIf you have already had this vaccination or your personal details are wrong, visit our help and support page. (ADD LINK).", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-373-02.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-373-02.json deleted file mode 100644 index 4c546d253..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-373-02.json +++ /dev/null @@ -1,453 +0,0 @@ -{ - "CampaignConfig": { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d0", - "Version": 1, - "Name": "EliD RSV example config", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "PLACEHOLDER_COMMS_ROUTING", - "Iterations": [ - { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d1", - "DefaultCommsRouting": "BOOK_LOCAL|HELP_SUPPORT", - "DefaultNotActionableRouting": "", - "DefaultNotEligibleRouting": "CHECK_CORRECT_X", - "Version": 1, - "Name": "EliD RSV example config", - "IterationDate": "20250717", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_75to79", - "CohortGroup": "rsv_age", - "PositiveDescription": "are aged 75 to 79 years old", - "NegativeDescription": "are not aged 75 to 79 years old", - "Priority": 0 - }, - { - "CohortLabel": "rsv_80_since_02_Sept_2024", - "CohortGroup": "rsv_age_catchup", - "PositiveDescription": "turned 80 after 1st September 2024", - "NegativeDescription": "did not turn 80 after 1 September 2024", - "Priority": 10 - }, - { - "CohortLabel": "elid_all_people", - "CohortGroup": "magic_cohort", - "PositiveDescription": "", - "NegativeDescription": "", - "Priority": 20 - } - ], - "IterationRules": [ - { - "Type": "F", - "Name": "Remove anyone NOT already vaccinated within the last 25 years and do not have a future booking from the magic cohort", - "Description": "Remove anyone NOT already vaccinated within the last 25 years and do not have a future booking from the magic cohort", - "Operator": "Y<=", - "Comparator": "-25[[NVL:18000101]]", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "CohortLabel": "elid_all_people", - "Priority": 100 - }, - { - "Type": "F", - "Name": "Remove anyone without a future booking from magic cohort", - "Description": "Remove anyone without a future booking from magic cohort", - "Operator": "D<", - "Comparator": "0[[NVL:18000101]]", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CohortLabel": "elid_all_people", - "Priority": 100 - }, - { - "Type": "F", - "Name": "Under Age - Under 75 Years on day of execution", - "Description": "Ensure anyone who has a PDS date of birth which determines their age to be less than 75 years is filtered out.", - "Priority": 120, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-75", - "CohortLabel": "rsv_75to79" - }, - { - "Type": "F", - "Name": "Exclude Too OLD", - "Description": "Exclude anyone who turned 80 before 2nd September 2024", - "Priority": 130, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "<", - "Comparator": "19440902", - "CohortLabel": "rsv_75to79" - }, - { - "Type": "F", - "Name": "Under Age - Under 75 Years on day of execution", - "Description": "Ensure anyone who has a PDS date of birth which determines their age to be less than 75 years is filtered out.", - "Priority": 140, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-75", - "CohortLabel": "rsv_80_since_02_Sept_2024" - }, - { - "Type": "F", - "Name": "Exclude Too OLD", - "Description": "Exclude anyone who turned 80 before 2nd September 2024", - "Priority": 150, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "<", - "Comparator": "19440902", - "CohortLabel": "rsv_80_since_02_Sept_2024" - }, - { - "Type": "S", - "Name": "Already Vaccinated", - "Description": "## You've had your RSV vaccination\n\nWe believe you had your vaccination.", - "Priority": 200, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "Y>=", - "Comparator": "-25", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "80 plus - Other Setting (Care Home) with no future booking", - "Description": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 510, - "AttributeLevel": "PERSON", - "AttributeName": "CARE_HOME_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_80_since_02_Sept_2024", - "RuleStop": "N" - }, - { - "Type": "S", - "Name": "80 plus - Other Setting (Care Home) with no future booking", - "Description": "", - "Priority": 510, - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "D<", - "Comparator": "0[[NVL:18000101]]" - }, - { - "Type": "S", - "Name": "80 plus - Other Setting (Detained Estates) with no future booking", - "Description": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 520, - "AttributeLevel": "PERSON", - "AttributeName": "DE_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_80_since_02_Sept_2024", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "80 plus - Other Setting (Detained Estates) with no future booking", - "Description": "", - "Priority": 520, - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "D<", - "Comparator": "0[[NVL:18000101]]" - }, - { - "Type": "S", - "Name": "80 plus - Other Setting (13Q) with no future booking", - "Description": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 530, - "AttributeLevel": "PERSON", - "AttributeName": "13Q_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_80_since_02_Sept_2024", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "80 plus - Other Setting (13Q) with no future booking", - "Description": "", - "Priority": 530, - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "D<", - "Comparator": "0[[NVL:18000101]]" - }, - { - "Type": "S", - "Name": "75 to 79 - Other Setting (Care Home) with no future booking", - "Description": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 540, - "AttributeLevel": "PERSON", - "AttributeName": "CARE_HOME_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_75to79", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "75 to 79 - Other Setting (Care Home) with no future booking", - "Description": "", - "Priority": 540, - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "D<", - "Comparator": "0[[NVL:18000101]]" - }, - { - "Type": "S", - "Name": "75 to 79 - Other Setting (Detained Estates) with no future booking", - "Description": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 550, - "AttributeLevel": "PERSON", - "AttributeName": "DE_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_75to79" - }, - { - "Type": "S", - "Name": "75 to 79 - Other Setting (Detained Estates) with no future booking", - "Description": "", - "Priority": 550, - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "D<", - "Comparator": "0[[NVL:18000101]]", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "75 to 79 - Other Setting (13Q) with no future booking", - "Description": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 560, - "AttributeLevel": "PERSON", - "AttributeName": "13Q_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_75to79", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "75 to 79 - Other Setting (13Q) with no future booking - 2", - "Description": "", - "Priority": 560, - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "D<", - "Comparator": "0[[NVL:18000101]]" - }, - { - "Type": "R", - "Name": "Actionable Future Booked NBS Appointment", - "Description": "Amend NBS future booking", - "Priority": 1000, - "Operator": "D>=", - "Comparator": "0", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CommsRouting": "AMEND_NBS" - }, - { - "Type": "R", - "Name": "Actionable Future Booked NBS Appointment - 2", - "Description": "Amend NBS future booking", - "Priority": 1000, - "Operator": "=", - "Comparator": "NBS", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_PROVIDER", - "CommsRouting": "AMEND_NBS" - }, - { - "Type": "R", - "Name": "Actionable Future Booked Local Appointment", - "Description": "Amend local future booking", - "Priority": 1100, - "Operator": "D>=", - "Comparator": "0", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CommsRouting": "MANAGE_LOCAL" - }, - { - "Type": "R", - "Name": "Within CP Expansion ICB", - "Description": "Book an appointment on NBS as within CP expansion", - "Priority": 1200, - "Operator": "in", - "Comparator": "QH8,QJG", - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "CommsRouting": "BOOK_LOCAL|BOOK_NBS|HELP_SUPPORT" - }, - { - "Type": "R", - "Name": "Within CP Expansion Local Authority", - "Description": "Book an appointment on NBS as within CP expansion", - "Priority": 1300, - "Operator": "in", - "Comparator": "E08000028,E08000031,E08000025,E06000016,E06000008,E07000117,E07000120,E08000011,E08000012,E07000122,E07000123,E08000014,E07000126,E08000013,E07000127,E08000015,E07000128", - "AttributeLevel": "PERSON", - "AttributeName": "LOCAL_AUTHORITY", - "CommsRouting": "BOOK_LOCAL|BOOK_NBS|HELP_SUPPORT" - }, - { - "Type": "Y", - "Name": "Already vaccinated default text", - "Description": "Already vaccinated default text", - "Priority": 3000, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "Y>=", - "Comparator": "-25", - "CommsRouting": "CHECK_CORRECT_ALREADY_VACCINATED" - }, - { - "Type": "Y", - "Name": "Other setting default text", - "Description": "Other setting default text", - "Priority": 3100, - "AttributeLevel": "PERSON", - "AttributeName": "CARE_HOME_FLAG", - "Operator": "=", - "Comparator": "Y", - "CommsRouting": "CHECK_CORRECT_OTHER_SETTING" - }, - { - "Type": "Y", - "Name": "Other setting default text", - "Description": "Other setting default text", - "Priority": 3200, - "AttributeLevel": "PERSON", - "AttributeName": "DE_FLAG", - "Operator": "=", - "Comparator": "Y", - "CommsRouting": "CHECK_CORRECT_OTHER_SETTING" - }, - { - "Type": "Y", - "Name": "Other setting default text", - "Description": "Other setting default text", - "Priority": 3300, - "AttributeLevel": "PERSON", - "AttributeName": "13Q_FLAG", - "Operator": "=", - "Comparator": "Y", - "CommsRouting": "CHECK_CORRECT_OTHER_SETTING" - } - ], - "ActionsMapper": { - "BOOK_NBS": { - "ExternalRoutingCode": "BookNBS", - "ActionDescription": "", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - }, - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "##You have an RSV vaccination appointment\nYou can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Manage your appointment" - }, - "CONTACT_GP": { - "ExternalRoutingCode": "ContactGP", - "ActionDescription": "Contact your GP", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "BOOK_LOCAL": { - "ExternalRoutingCode": "BookLocal", - "ActionDescription": "##Getting the vaccine\n\nYou can get an RSV vaccination at your GP surgery.\nYour GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination.", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "MANAGE_LOCAL": { - "ExternalRoutingCode": "ManageLocal", - "ActionDescription": "##You have an RSV vaccination appointment\n\nContact your healthcare provider to change or cancel your appointment.", - "ActionType": "CardWithText", - "UrlLink": null, - "UrlLabel": "" - }, - "HELP_SUPPORT": { - "ExternalRoutingCode": "HelpSupportInfo", - "ActionDescription": "## CONTENT TBC\n\nBlah blah blah.", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "CHECK_CORRECT_X": { - "ExternalRoutingCode": "HealthcareProInfo", - "ActionDescription": "## If you think this is incorrect\n\nSpeak to your healthcare professional if you think you should be offered this vaccine.\n\nFor anything else, visit our help and support page. (ADD LINK)", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "CHECK_CORRECT_ALREADY_VACCINATED": { - "ExternalRoutingCode": "AlreadyVaccinatedInfo", - "ActionDescription": "## If you think this is incorrect\n\nIf you believe you've not been vaccinated against RSV, speak to your healthcare professional.\n\nFor anything else please see our help and support page. (ADD LINK).", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "CHECK_CORRECT_OTHER_SETTING": { - "ExternalRoutingCode": "ManagedSettingInfo", - "ActionDescription": "## If you think this is incorrect\n\nIf you have already had this vaccination or your personal details are wrong, visit our help and support page. (ADD LINK).", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-01.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-01.json deleted file mode 100644 index b16724007..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-01.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "CampaignConfig": { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d0", - "Version": 1, - "Name": "ELI-399-01-Iteration-Config", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "<>", - "EndDate": "<>", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "PLACEHOLDER_COMMS_ROUTING", - "Iterations": [ - { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d1", - "DefaultCommsRouting": "", - "DefaultNotActionableRouting": "", - "DefaultNotEligibleRouting": "", - "Version": 1, - "Name": "ELI-399-01-Iteration-Config", - "IterationDate": "<>", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_399_cohort_1", - "CohortGroup": "rsv_eli_399_cohort_group", - "PositiveDescription": "are a member of eli_399_cohort_group_10", - "NegativeDescription": "are not a member of eli_399_cohort_group_10", - "Priority": 10 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "NotActionable Reason 1", - "Description": "Description 1", - "Operator": "Y>", - "Comparator": "-75", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "CohortLabel": "rsv_eli_399_cohort_1", - "Priority": 100 - } - ], - "ActionsMapper": { - "BOOK_NBS": { - "ExternalRoutingCode": "BookNBS", - "ActionDescription": "", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-02.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-02.json deleted file mode 100644 index 32761d36c..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-02.json +++ /dev/null @@ -1,192 +0,0 @@ -{ - "CampaignConfig": { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d0", - "Version": 1, - "Name": "ELI-399-02-Iteration-Config", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "<>", - "EndDate": "<>", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "PLACEHOLDER_COMMS_ROUTING", - "Iterations": [ - { - "ID": "inactive-future-iteration-id", - "DefaultCommsRouting": "", - "DefaultNotActionableRouting": "", - "DefaultNotEligibleRouting": "", - "Version": 1, - "Name": "inactive-future-iteration", - "IterationDate": "<>", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_399_inactive_cohort_1", - "CohortGroup": "rsv_eli_399_inactive_cohort_group", - "PositiveDescription": "are a member of eli_399_inactive_cohort_group", - "NegativeDescription": "are not a member of eli_399_inactive_cohort_group", - "Priority": 0 - }, - { - "CohortLabel": "rsv_eli_399_inactive_cohort_2", - "CohortGroup": "rsv_eli_399_inactive_cohort_group", - "PositiveDescription": "are a member of eli_399_inactive_cohort_group", - "NegativeDescription": "are not a member of eli_399_inactive_cohort_group", - "Priority": 10 - }, - { - "CohortLabel": "rsv_eli_399_inactive_cohort_3", - "CohortGroup": "rsv_eli_399_inactive_cohort_group_other", - "PositiveDescription": "are a member of eli_399_inactive_cohort_group_other", - "NegativeDescription": "are not a member of eli_399_inactive_cohort_group_other", - "Priority": 20 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "NotActionable Reason", - "Description": "", - "Operator": "Y>", - "Comparator": "-75", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "CohortLabel": "rsv_eli_399_inactive_cohort_1", - "Priority": 100, - "RuleStop:": "Y" - }, - { - "Type": "S", - "Name": "NotActionable Reason", - "Description": "Description 4", - "Operator": "=", - "Comparator": "AAB", - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "CohortLabel": "rsv_eli_399_inactive_cohort_2", - "Priority": 110 - }, - { - "Type": "S", - "Name": "NotActionable Reason", - "Description": "Description 3", - "Operator": "=", - "Comparator": "ZZY", - "AttributeLevel": "PERSON", - "AttributeName": "COMMISSIONING_REGION", - "CohortLabel": "rsv_eli_399_inactive_cohort_3", - "Priority": 120 - } - ], - "ActionsMapper": { - "BOOK_NBS": { - "ExternalRoutingCode": "BookNBS", - "ActionDescription": "", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - } - } - }, - { - "ID": "active-current-iteration-id", - "DefaultCommsRouting": "", - "DefaultNotActionableRouting": "", - "DefaultNotEligibleRouting": "", - "Version": 1, - "Name": "active-current-iteration", - "IterationDate": "<>", - "IterationNumber": 2, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_399_active_cohort_1", - "CohortGroup": "rsv_eli_399_active_cohort_group", - "PositiveDescription": "are a member of eli_399_active_cohort_group", - "NegativeDescription": "are not a member of eli_399_active_cohort_group", - "Priority": 0 - }, - { - "CohortLabel": "rsv_eli_399_active_cohort_2", - "CohortGroup": "rsv_eli_399_active_cohort_group", - "PositiveDescription": "are a member of eli_399_active_cohort_group", - "NegativeDescription": "are not a member of eli_399_active_cohort_group", - "Priority": 10 - }, - { - "CohortLabel": "rsv_eli_399_active_cohort_3", - "CohortGroup": "rsv_eli_399_active_cohort_group_other", - "PositiveDescription": "are a member of eli_399_active_cohort_group_other", - "NegativeDescription": "are not a member of eli_399_active_cohort_group_other", - "Priority": 20 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "NotActionable Reason", - "Description": "", - "Operator": "Y>", - "Comparator": "-75", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "CohortLabel": "rsv_eli_399_active_cohort_1", - "Priority": 100, - "RuleStop:": "Y" - }, - { - "Type": "S", - "Name": "NotActionable Reason", - "Description": "Description 4", - "Operator": "=", - "Comparator": "AAB", - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "CohortLabel": "rsv_eli_399_active_cohort_2", - "Priority": 110 - }, - { - "Type": "S", - "Name": "NotActionable Reason", - "Description": "Description 3", - "Operator": "=", - "Comparator": "ZZY", - "AttributeLevel": "PERSON", - "AttributeName": "COMMISSIONING_REGION", - "CohortLabel": "rsv_eli_399_active_cohort_3", - "Priority": 120 - } - ], - "ActionsMapper": { - "BOOK_NBS": { - "ExternalRoutingCode": "BookNBS", - "ActionDescription": "", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-03.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-03.json deleted file mode 100644 index c6e5c25c3..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-03.json +++ /dev/null @@ -1,192 +0,0 @@ -{ - "CampaignConfig": { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d0", - "Version": 1, - "Name": "ELI-399-03-Iteration-Config", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "<>", - "EndDate": "<>", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "PLACEHOLDER_COMMS_ROUTING", - "Iterations": [ - { - "ID": "older-past-iteration-id", - "DefaultCommsRouting": "", - "DefaultNotActionableRouting": "", - "DefaultNotEligibleRouting": "", - "Version": 1, - "Name": "older-past-iteration", - "IterationDate": "<>", - "IterationNumber": 2, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_399_inactive_cohort_1", - "CohortGroup": "rsv_eli_399_inactive_cohort_group", - "PositiveDescription": "are a member of eli_399_inactive_cohort_group", - "NegativeDescription": "are not a member of eli_399_inactive_cohort_group", - "Priority": 0 - }, - { - "CohortLabel": "rsv_eli_399_inactive_cohort_2", - "CohortGroup": "rsv_eli_399_inactive_cohort_group", - "PositiveDescription": "are a member of eli_399_inactive_cohort_group", - "NegativeDescription": "are not a member of eli_399_inactive_cohort_group", - "Priority": 10 - }, - { - "CohortLabel": "rsv_eli_399_inactive_cohort_3", - "CohortGroup": "rsv_eli_399_inactive_cohort_group_other", - "PositiveDescription": "are a member of eli_399_inactive_cohort_group_other", - "NegativeDescription": "are not a member of eli_399_inactive_cohort_group_other", - "Priority": 20 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "NotActionable Reason", - "Description": "", - "Operator": "Y>", - "Comparator": "-75", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "CohortLabel": "rsv_eli_399_inactive_cohort_1", - "Priority": 100, - "RuleStop:": "Y" - }, - { - "Type": "S", - "Name": "NotActionable Reason", - "Description": "Description 4", - "Operator": "=", - "Comparator": "AAB", - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "CohortLabel": "rsv_eli_399_inactive_cohort_2", - "Priority": 110 - }, - { - "Type": "S", - "Name": "NotActionable Reason", - "Description": "Description 3", - "Operator": "=", - "Comparator": "ZZY", - "AttributeLevel": "PERSON", - "AttributeName": "COMMISSIONING_REGION", - "CohortLabel": "rsv_eli_399_inactive_cohort_3", - "Priority": 120 - } - ], - "ActionsMapper": { - "BOOK_NBS": { - "ExternalRoutingCode": "BookNBS", - "ActionDescription": "", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - } - } - }, - { - "ID": "active-current-iteration-id", - "DefaultCommsRouting": "", - "DefaultNotActionableRouting": "", - "DefaultNotEligibleRouting": "", - "Version": 1, - "Name": "active-current-iteration", - "IterationDate": "<>", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_399_active_cohort_1", - "CohortGroup": "rsv_eli_399_active_cohort_group", - "PositiveDescription": "are a member of eli_399_active_cohort_group", - "NegativeDescription": "are not a member of eli_399_active_cohort_group", - "Priority": 0 - }, - { - "CohortLabel": "rsv_eli_399_active_cohort_2", - "CohortGroup": "rsv_eli_399_active_cohort_group", - "PositiveDescription": "are a member of eli_399_active_cohort_group", - "NegativeDescription": "are not a member of eli_399_active_cohort_group", - "Priority": 10 - }, - { - "CohortLabel": "rsv_eli_399_active_cohort_3", - "CohortGroup": "rsv_eli_399_active_cohort_group_other", - "PositiveDescription": "are a member of eli_399_active_cohort_group_other", - "NegativeDescription": "are not a member of eli_399_active_cohort_group_other", - "Priority": 20 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "NotActionable Reason", - "Description": "", - "Operator": "Y>", - "Comparator": "-75", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "CohortLabel": "rsv_eli_399_active_cohort_1", - "Priority": 100, - "RuleStop:": "Y" - }, - { - "Type": "S", - "Name": "NotActionable Reason", - "Description": "Description 4", - "Operator": "=", - "Comparator": "AAB", - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "CohortLabel": "rsv_eli_399_active_cohort_2", - "Priority": 110 - }, - { - "Type": "S", - "Name": "NotActionable Reason", - "Description": "Description 3", - "Operator": "=", - "Comparator": "ZZY", - "AttributeLevel": "PERSON", - "AttributeName": "COMMISSIONING_REGION", - "CohortLabel": "rsv_eli_399_active_cohort_3", - "Priority": 120 - } - ], - "ActionsMapper": { - "BOOK_NBS": { - "ExternalRoutingCode": "BookNBS", - "ActionDescription": "", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-04.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-04.json deleted file mode 100644 index 301a57279..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-04.json +++ /dev/null @@ -1,192 +0,0 @@ -{ - "CampaignConfig": { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d0", - "Version": 1, - "Name": "ELI-399-04-Iteration-Config", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "<>", - "EndDate": "<>", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "PLACEHOLDER_COMMS_ROUTING", - "Iterations": [ - { - "ID": "future-iteration-id", - "DefaultCommsRouting": "", - "DefaultNotActionableRouting": "", - "DefaultNotEligibleRouting": "", - "Version": 1, - "Name": "future-iteration-iteration", - "IterationDate": "<>", - "IterationNumber": 2, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_399_inactive_cohort_1", - "CohortGroup": "rsv_eli_399_inactive_cohort_group", - "PositiveDescription": "are a member of eli_399_inactive_cohort_group", - "NegativeDescription": "are not a member of eli_399_inactive_cohort_group", - "Priority": 0 - }, - { - "CohortLabel": "rsv_eli_399_inactive_cohort_2", - "CohortGroup": "rsv_eli_399_inactive_cohort_group", - "PositiveDescription": "are a member of eli_399_inactive_cohort_group", - "NegativeDescription": "are not a member of eli_399_inactive_cohort_group", - "Priority": 10 - }, - { - "CohortLabel": "rsv_eli_399_inactive_cohort_3", - "CohortGroup": "rsv_eli_399_inactive_cohort_group_other", - "PositiveDescription": "are a member of eli_399_inactive_cohort_group_other", - "NegativeDescription": "are not a member of eli_399_inactive_cohort_group_other", - "Priority": 20 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "NotActionable Reason", - "Description": "", - "Operator": "Y>", - "Comparator": "-75", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "CohortLabel": "rsv_eli_399_inactive_cohort_1", - "Priority": 100, - "RuleStop:": "Y" - }, - { - "Type": "S", - "Name": "NotActionable Reason", - "Description": "Description 4", - "Operator": "=", - "Comparator": "AAB", - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "CohortLabel": "rsv_eli_399_inactive_cohort_2", - "Priority": 110 - }, - { - "Type": "S", - "Name": "NotActionable Reason", - "Description": "Description 3", - "Operator": "=", - "Comparator": "ZZY", - "AttributeLevel": "PERSON", - "AttributeName": "COMMISSIONING_REGION", - "CohortLabel": "rsv_eli_399_inactive_cohort_3", - "Priority": 120 - } - ], - "ActionsMapper": { - "BOOK_NBS": { - "ExternalRoutingCode": "BookNBS", - "ActionDescription": "", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - } - } - }, - { - "ID": "more-future-iteration-id", - "DefaultCommsRouting": "", - "DefaultNotActionableRouting": "", - "DefaultNotEligibleRouting": "", - "Version": 1, - "Name": "more-future-iteration", - "IterationDate": "<>", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_399_active_cohort_1", - "CohortGroup": "rsv_eli_399_active_cohort_group", - "PositiveDescription": "are a member of eli_399_active_cohort_group", - "NegativeDescription": "are not a member of eli_399_active_cohort_group", - "Priority": 0 - }, - { - "CohortLabel": "rsv_eli_399_active_cohort_2", - "CohortGroup": "rsv_eli_399_active_cohort_group_2", - "PositiveDescription": "are a member of eli_399_active_cohort_group", - "NegativeDescription": "are not a member of eli_399_active_cohort_group", - "Priority": 10 - }, - { - "CohortLabel": "rsv_eli_399_active_cohort_3", - "CohortGroup": "rsv_eli_399_active_cohort_group_other", - "PositiveDescription": "are a member of eli_399_active_cohort_group_other", - "NegativeDescription": "are not a member of eli_399_active_cohort_group_other", - "Priority": 20 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "NotActionable Reason", - "Description": "", - "Operator": "Y>", - "Comparator": "-75", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "CohortLabel": "rsv_eli_399_active_cohort_1", - "Priority": 100, - "RuleStop:": "Y" - }, - { - "Type": "S", - "Name": "NotActionable Reason", - "Description": "Description 4", - "Operator": "=", - "Comparator": "AAB", - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "CohortLabel": "rsv_eli_399_active_cohort_2", - "Priority": 110 - }, - { - "Type": "S", - "Name": "NotActionable Reason", - "Description": "Description 3", - "Operator": "=", - "Comparator": "ZZY", - "AttributeLevel": "PERSON", - "AttributeName": "COMMISSIONING_REGION", - "CohortLabel": "rsv_eli_399_active_cohort_3", - "Priority": 120 - } - ], - "ActionsMapper": { - "BOOK_NBS": { - "ExternalRoutingCode": "BookNBS", - "ActionDescription": "", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-05.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-05.json deleted file mode 100644 index f17eb2053..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-05.json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "CampaignConfig": { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d0", - "Version": 1, - "Name": "ELI-399-05-Iteration-Config", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "<>", - "EndDate": "<>", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "PLACEHOLDER_COMMS_ROUTING", - "Iterations": [ - { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d1", - "DefaultCommsRouting": "", - "DefaultNotActionableRouting": "", - "DefaultNotEligibleRouting": "", - "Version": 1, - "Name": "ELI-399-05-Iteration", - "IterationDate": "<>", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_399_cohort_1", - "CohortGroup": "rsv_eli_399_cohort_group", - "PositiveDescription": "are a member of eli_399_cohort_group", - "NegativeDescription": "are not a member of eli_399_cohort_group", - "Priority": 0 - }, - { - "CohortLabel": "rsv_eli_399_cohort_2", - "CohortGroup": "rsv_eli_399_cohort_group", - "PositiveDescription": "are a member of eli_399_cohort_group", - "NegativeDescription": "are not a member of eli_399_cohort_group", - "Priority": 10 - }, - { - "CohortLabel": "rsv_eli_399_cohort_3", - "CohortGroup": "rsv_eli_399_cohort_group_other", - "PositiveDescription": "are a member of eli_399_cohort_group_other", - "NegativeDescription": "are not a member of eli_399_cohort_group_other", - "Priority": 20 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "NotActionable Reason", - "Description": "", - "Operator": "Y>", - "Comparator": "-75", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "CohortLabel": "rsv_eli_399_cohort_1", - "Priority": 100, - "RuleStop:": "Y" - }, - { - "Type": "S", - "Name": "NotActionable Reason", - "Description": "Description 4", - "Operator": "=", - "Comparator": "AAB", - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "CohortLabel": "rsv_eli_399_cohort_2", - "Priority": 110 - }, - { - "Type": "S", - "Name": "NotActionable Reason", - "Description": "Description 3", - "Operator": "=", - "Comparator": "ZZY", - "AttributeLevel": "PERSON", - "AttributeName": "COMMISSIONING_REGION", - "CohortLabel": "rsv_eli_399_cohort_3", - "Priority": 120 - } - ], - "ActionsMapper": { - "BOOK_NBS": { - "ExternalRoutingCode": "BookNBS", - "ActionDescription": "", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-06.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-06.json deleted file mode 100644 index 5c57bb551..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-06.json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "CampaignConfig": { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d0", - "Version": 1, - "Name": "ELI-399-06-Iteration-Config", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20300801", - "EndDate": "20350807", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "PLACEHOLDER_COMMS_ROUTING", - "Iterations": [ - { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d1", - "DefaultCommsRouting": "", - "DefaultNotActionableRouting": "", - "DefaultNotEligibleRouting": "", - "Version": 1, - "Name": "ELI-399-06-Iteration", - "IterationDate": "20300805", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_399_cohort_1", - "CohortGroup": "rsv_eli_399_cohort_group", - "PositiveDescription": "are a member of eli_399_cohort_group", - "NegativeDescription": "are not a member of eli_399_cohort_group", - "Priority": 0 - }, - { - "CohortLabel": "rsv_eli_399_cohort_2", - "CohortGroup": "rsv_eli_399_cohort_group", - "PositiveDescription": "are a member of eli_399_cohort_group", - "NegativeDescription": "are not a member of eli_399_cohort_group", - "Priority": 10 - }, - { - "CohortLabel": "rsv_eli_399_cohort_3", - "CohortGroup": "rsv_eli_399_cohort_group_other", - "PositiveDescription": "are a member of eli_399_cohort_group_other", - "NegativeDescription": "are not a member of eli_399_cohort_group_other", - "Priority": 20 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "NotActionable Reason", - "Description": "", - "Operator": "Y>", - "Comparator": "-75", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "CohortLabel": "rsv_eli_399_cohort_1", - "Priority": 100, - "RuleStop:": "Y" - }, - { - "Type": "S", - "Name": "NotActionable Reason", - "Description": "Description 4", - "Operator": "=", - "Comparator": "AAB", - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "CohortLabel": "rsv_eli_399_cohort_2", - "Priority": 110 - }, - { - "Type": "S", - "Name": "NotActionable Reason", - "Description": "Description 3", - "Operator": "=", - "Comparator": "ZZY", - "AttributeLevel": "PERSON", - "AttributeName": "COMMISSIONING_REGION", - "CohortLabel": "rsv_eli_399_cohort_3", - "Priority": 120 - } - ], - "ActionsMapper": { - "BOOK_NBS": { - "ExternalRoutingCode": "BookNBS", - "ActionDescription": "", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-07.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-07.json deleted file mode 100644 index 4e901dce6..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-07.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "CampaignConfig": { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d0", - "Version": 1, - "Name": "ELI-399-07-Iteration-Config", - "Type": "V", - "Target": "COVID", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "<>", - "EndDate": "<>", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "PLACEHOLDER_COMMS_ROUTING", - "Iterations": [ - { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d1", - "DefaultCommsRouting": "", - "DefaultNotActionableRouting": "", - "DefaultNotEligibleRouting": "", - "Version": 1, - "Name": "Active Covid Iteration", - "IterationDate": "<>", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_399_cohort_1", - "CohortGroup": "rsv_eli_399_cohort_group", - "PositiveDescription": "are a member of eli_399_cohort_group_10", - "NegativeDescription": "are not a member of eli_399_cohort_group_10", - "Priority": 10 - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "NotActionable Reason 1", - "Description": "Description 1", - "Operator": "Y>", - "Comparator": "-75", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "CohortLabel": "rsv_eli_399_cohort_1", - "Priority": 100 - } - ], - "ActionsMapper": { - "BOOK_NBS": { - "ExternalRoutingCode": "BookNBS", - "ActionDescription": "", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-01.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-01.json deleted file mode 100644 index d3d58aa67..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-01.json +++ /dev/null @@ -1,130 +0,0 @@ -{ - "CampaignConfig": { - "ID": "AUTO_RSV_ELI-405-01-Campaign-ID", - "Version": 1, - "Name": "ELI-405-01-Iteration-Config-Name", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "BOOK_NBS", - "Iterations": [ - { - "ID": "AUTO_RSV_ELI-405-01-Iteration-ID", - "DefaultCommsRouting": "TEST_ACTION", - "DefaultNotActionableRouting": "TEST_NOT_ACTION", - "DefaultNotEligibleRouting": "TEST_NOT_ELI", - "Version": 1, - "Name": "ELI-405-01-Iteration-Config-Name", - "IterationDate": "20240808", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_405_cohort_1", - "CohortGroup": "rsv_eli_405_cohort_group", - "PositiveDescription": "are a member of eli_405_cohort_group_0", - "NegativeDescription": "are not a member of eli_405_cohort_group_0", - "Priority": 0 - }, - { - "CohortLabel": "rsv_eli_405_cohort_2", - "CohortGroup": "rsv_eli_405_cohort_group", - "PositiveDescription": "are a member of eli_405_cohort_group_10", - "NegativeDescription": "are not a member of eli_405_cohort_group_10", - "Priority": 10 - }, - { - "CohortLabel": "rsv_eli_405_cohort_3", - "CohortGroup": "rsv_eli_405_cohort_group", - "PositiveDescription": "are a member of eli_405_cohort_group_20", - "NegativeDescription": "are not a member of eli_405_cohort_group_20", - "Priority": 20 - }, - { - "CohortLabel": "rsv_eli_405_cohort_4", - "CohortGroup": "rsv_eli_405_cohort_group_other", - "PositiveDescription": "are a member of eli_405_cohort_group_other", - "NegativeDescription": "are not a member of eli_405_cohort_group_other", - "Priority": 30 - } - ], - "IterationRules": [ - { - "Type": "F", - "Name": "NotEligible Reason 1", - "Description": "NotEligible Description 1", - "Operator": "Y<=", - "Comparator": "-80", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "CohortLabel": "rsv_eli_405_cohort_1", - "Priority": 100 - }, - { - "Type": "S", - "Name": "NotActionable Reason 1", - "Description": "NotActionable Description 1", - "Operator": "Y>", - "Comparator": "-75", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "CohortLabel": "rsv_eli_405_cohort_1", - "Priority": 200 - }, - { - "Type": "S", - "Name": "NotActionable Reason 1", - "Description": "NotActionable Description 1", - "Operator": "Y>", - "Comparator": "-75", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "CohortLabel": "rsv_eli_405_cohort_1", - "Priority": 200 - } - ], - "ActionsMapper": { - "TEST_ACTION": { - "ExternalRoutingCode": "TestAction", - "ActionDescription": "TestAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - }, - "TEST_NOT_ACTION": { - "ExternalRoutingCode": "TestNotAction", - "ActionDescription": "TestNotAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": null, - "UrlLabel": "" - }, - "TEST_NOT_ELI": { - "ExternalRoutingCode": "TestNotEli", - "ActionDescription": "TestNotEli Description", - "ActionType": "", - "UrlLink": null, - "UrlLabel": "" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-02.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-02.json deleted file mode 100644 index 54bb95305..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-02.json +++ /dev/null @@ -1,141 +0,0 @@ -{ - "CampaignConfig": { - "ID": "AUTO_RSV_ELI-405-02-Campaign-ID", - "Version": 1, - "Name": "ELI-405-02-Iteration-Config-Name", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "", - "Iterations": [ - { - "ID": "AUTO_RSV_ELI-405-02-Iteration-ID", - "DefaultCommsRouting": "TEST_ACTION", - "DefaultNotActionableRouting": "TEST_NOT_ACTION", - "DefaultNotEligibleRouting": "TEST_NOT_ELI", - "Version": 1, - "Name": "ELI-405-04-Iteration-Config-Name", - "IterationDate": "20240808", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_405_cohort_1", - "CohortGroup": "rsv_eli_405_cohort_group", - "PositiveDescription": "are a member of eli_405_cohort_group_0", - "NegativeDescription": "are not a member of eli_405_cohort_group_0", - "Priority": 0 - }, - { - "CohortLabel": "rsv_eli_405_cohort_2", - "CohortGroup": "rsv_eli_405_cohort_group", - "PositiveDescription": "are a member of eli_405_cohort_group_10", - "NegativeDescription": "are not a member of eli_405_cohort_group_10", - "Priority": 10 - }, - { - "CohortLabel": "rsv_eli_405_cohort_3", - "CohortGroup": "rsv_eli_405_cohort_group", - "PositiveDescription": "are a member of eli_405_cohort_group_20", - "NegativeDescription": "are not a member of eli_405_cohort_group_20", - "Priority": 20 - }, - { - "CohortLabel": "rsv_eli_405_cohort_4", - "CohortGroup": "rsv_eli_405_cohort_group_other", - "PositiveDescription": "are a member of eli_405_cohort_group_other", - "NegativeDescription": "are not a member of eli_405_cohort_group_other", - "Priority": 30 - } - ], - "IterationRules": [ - { - "Type": "F", - "Name": "NotEligible Reason 1", - "Description": "NotEligible Description 1", - "Operator": "Y<=", - "Comparator": "-80", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "CohortLabel": "rsv_eli_405_cohort_1", - "Priority": 100 - }, - { - "Type": "F", - "Name": "NotEligible Reason 2", - "Description": "NotEligible Description 2", - "Operator": "=", - "Comparator": "ABC", - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "CohortLabel": "rsv_eli_405_cohort_4", - "Priority": 110 - }, - { - "Type": "S", - "Name": "NotActionable Reason 1", - "Description": "NotActionable Description 1", - "Operator": "Y<=", - "Comparator": "-800", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "CohortLabel": "rsv_eli_405_cohort_1", - "Priority": 100 - }, - { - "Type": "S", - "Name": "NotActionable Reason 2", - "Description": "NotActionable Description 2", - "Operator": "=", - "Comparator": "ABCD", - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "CohortLabel": "rsv_eli_405_cohort_4", - "Priority": 110 - } - ], - "ActionsMapper": { - "TEST_ACTION": { - "ExternalRoutingCode": "TestAction", - "ActionDescription": "TestAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - }, - "TEST_NOT_ACTION": { - "ExternalRoutingCode": "TestNotAction", - "ActionDescription": "TestNotAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": null, - "UrlLabel": "" - }, - "TEST_NOT_ELI": { - "ExternalRoutingCode": "TestNotEli", - "ActionDescription": "TestNotEli Description", - "ActionType": "", - "UrlLink": null, - "UrlLabel": "" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-03.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-03.json deleted file mode 100644 index 05f9a70ef..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-03.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "CampaignConfig": { - "ID": "AUTO_RSV_ELI-405-03-Campaign-ID", - "Version": 1, - "Name": "ELI-405-03-Iteration-Config-Name", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "BOOK_NBS", - "Iterations": [ - { - "ID": "AUTO_RSV_ELI-405-03-Iteration-ID", - "DefaultCommsRouting": "TEST_ACTION", - "DefaultNotActionableRouting": "TEST_NOT_ACTION", - "DefaultNotEligibleRouting": "TEST_NOT_ELI", - "Version": 1, - "Name": "ELI-405-03-Iteration-Config-Name", - "IterationDate": "20240808", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_405_cohort_1", - "CohortGroup": "rsv_eli_405_cohort_group", - "PositiveDescription": "are a member of eli_405_cohort_group_0", - "NegativeDescription": "are not a member of eli_405_cohort_group_0", - "Priority": 0 - }, - { - "CohortLabel": "rsv_eli_405_cohort_2", - "CohortGroup": "rsv_eli_405_cohort_group", - "PositiveDescription": "are a member of eli_405_cohort_group_10", - "NegativeDescription": "are not a member of eli_405_cohort_group_10", - "Priority": 10 - }, - { - "CohortLabel": "rsv_eli_405_cohort_4", - "CohortGroup": "rsv_eli_405_cohort_group_other", - "PositiveDescription": "are a member of eli_405_cohort_group_other", - "NegativeDescription": "are not a member of eli_405_cohort_group_other", - "Priority": 30 - } - ], - "IterationRules": [ - { - "Type": "F", - "Name": "NotEligible Reason 1", - "Description": "NotEligible Description 1", - "Operator": "Y<=", - "Comparator": "-800", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "CohortLabel": "rsv_eli_405_cohort_1", - "Priority": 100 - }, - { - "Type": "F", - "Name": "NotEligible Reason 2", - "Description": "NotEligible Description 2", - "Operator": "=", - "Comparator": "ABCD", - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "CohortLabel": "rsv_eli_405_cohort_2", - "Priority": 110 - }, - { - "Type": "S", - "Name": "NotActionable Reason 1", - "Description": "NotActionable Description 1", - "Operator": "Y<=", - "Comparator": "-80", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "CohortLabel": "rsv_eli_405_cohort_1", - "Priority": 200 - }, - { - "Type": "S", - "Name": "NotActionable Reason 2", - "Description": "NotActionable Description 2", - "Operator": "=", - "Comparator": "ABC", - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "CohortLabel": "rsv_eli_405_cohort_2", - "Priority": 210 - } - ], - "ActionsMapper": { - "TEST_ACTION": { - "ExternalRoutingCode": "TestAction", - "ActionDescription": "TestAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - }, - "TEST_NOT_ACTION": { - "ExternalRoutingCode": "TestNotAction", - "ActionDescription": "TestNotAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": null, - "UrlLabel": "" - }, - "TEST_NOT_ELI": { - "ExternalRoutingCode": "TestNotEli", - "ActionDescription": "TestNotEli Description", - "ActionType": "", - "UrlLink": null, - "UrlLabel": "" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-04.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-04.json deleted file mode 100644 index a37589991..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-04.json +++ /dev/null @@ -1,148 +0,0 @@ -{ - "CampaignConfig": { - "ID": "AUTO_RSV_ELI-405-04-Campaign-ID", - "Version": 1, - "Name": "ELI-405-04-Iteration-Config-Name", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "BOOK_NBS", - "Iterations": [ - { - "ID": "AUTO_RSV_ELI-405-04-Iteration-ID", - "DefaultCommsRouting": "TEST_ACTION", - "DefaultNotActionableRouting": "TEST_NOT_ACTION", - "DefaultNotEligibleRouting": "TEST_NOT_ELI", - "Version": 1, - "Name": "ELI-405-04-Iteration-Config-Name", - "IterationDate": "20240808", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_405_cohort_1", - "CohortGroup": "rsv_eli_405_cohort_group", - "PositiveDescription": "are a member of eli_405_cohort_group_0", - "NegativeDescription": "are not a member of eli_405_cohort_group_0", - "Priority": 0 - }, - { - "CohortLabel": "rsv_eli_405_cohort_2", - "CohortGroup": "rsv_eli_405_cohort_group", - "PositiveDescription": "are a member of eli_405_cohort_group_10", - "NegativeDescription": "are not a member of eli_405_cohort_group_10", - "Priority": 10 - }, - { - "CohortLabel": "rsv_eli_405_cohort_3", - "CohortGroup": "rsv_eli_405_cohort_group", - "PositiveDescription": "are a member of eli_405_cohort_group_20", - "NegativeDescription": "are not a member of eli_405_cohort_group_20", - "Priority": 20 - }, - { - "CohortLabel": "rsv_eli_405_cohort_4", - "CohortGroup": "rsv_eli_405_cohort_group_other", - "PositiveDescription": "are a member of eli_405_cohort_group_other", - "NegativeDescription": "are not a member of eli_405_cohort_group_other", - "Priority": 30 - }, - { - "CohortLabel": "rsv_eli_405_cohort_5", - "CohortGroup": "rsv_eli_405_cohort_group_other", - "PositiveDescription": "are a member of eli_405_cohort_group_other", - "NegativeDescription": "are not a member of eli_405_cohort_group_other", - "Priority": 40 - } - ], - "IterationRules": [ - { - "Type": "F", - "Name": "NotEligible Reason 1", - "Description": "NotEligible Description 1", - "Operator": "Y<=", - "Comparator": "-80", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "CohortLabel": "rsv_eli_405_cohort_1", - "Priority": 100 - }, - { - "Type": "F", - "Name": "NotEligible Reason 2", - "Description": "NotEligible Description 2", - "Operator": "=", - "Comparator": "ABC", - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "CohortLabel": "rsv_eli_405_cohort_2", - "Priority": 110 - }, - { - "Type": "S", - "Name": "NotActionable Reason 1", - "Description": "NotActionable Description 1", - "Operator": "Y<=", - "Comparator": "-80", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "CohortLabel": "rsv_eli_405_cohort_3", - "Priority": 200 - }, - { - "Type": "S", - "Name": "NotActionable Reason 2", - "Description": "NotActionable Description 2", - "Operator": "=", - "Comparator": "ABC", - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "CohortLabel": "rsv_eli_405_cohort_4", - "Priority": 210 - } - ], - "ActionsMapper": { - "TEST_ACTION": { - "ExternalRoutingCode": "TestAction", - "ActionDescription": "TestAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - }, - "TEST_NOT_ACTION": { - "ExternalRoutingCode": "TestNotAction", - "ActionDescription": "TestNotAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": null, - "UrlLabel": "" - }, - "TEST_NOT_ELI": { - "ExternalRoutingCode": "TestNotEli", - "ActionDescription": "TestNotEli Description", - "ActionType": "", - "UrlLink": null, - "UrlLabel": "" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-05.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-05.json deleted file mode 100644 index 43285c8df..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-05.json +++ /dev/null @@ -1,151 +0,0 @@ -{ - "CampaignConfig": { - "ID": "AUTO_RSV_ELI-405-05-Campaign-ID", - "Version": 1, - "Name": "ELI-405-05-Iteration-Config-Name", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "BOOK_NBS", - "Iterations": [ - { - "ID": "AUTO_RSV_ELI-405-05-Iteration-ID", - "DefaultCommsRouting": "TEST_ACTION", - "DefaultNotActionableRouting": "TEST_NOT_ACTION", - "DefaultNotEligibleRouting": "TEST_NOT_ELI", - "Version": 1, - "Name": "ELI-405-05-Iteration-Config-Name", - "IterationDate": "20240808", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_405_cohort_1", - "CohortGroup": "rsv_eli_405_cohort_group", - "PositiveDescription": "are a member of eli_405_cohort_group_0", - "NegativeDescription": "are not a member of eli_405_cohort_group_0", - "Priority": 0 - }, - { - "CohortLabel": "rsv_eli_405_cohort_2", - "CohortGroup": "rsv_eli_405_cohort_group", - "PositiveDescription": "are a member of eli_405_cohort_group_10", - "NegativeDescription": "are not a member of eli_405_cohort_group_10", - "Priority": 10 - }, - { - "CohortLabel": "rsv_eli_405_cohort_3", - "CohortGroup": "rsv_eli_405_cohort_group", - "PositiveDescription": "are a member of eli_405_cohort_group_20", - "NegativeDescription": "are not a member of eli_405_cohort_group_20", - "Priority": 20 - }, - { - "CohortLabel": "rsv_eli_405_cohort_4", - "CohortGroup": "rsv_eli_405_cohort_group_other", - "PositiveDescription": "are a member of eli_405_cohort_group_other", - "NegativeDescription": "are not a member of eli_405_cohort_group_other", - "Priority": 30 - } - ], - "IterationRules": [ - { - "Type": "F", - "Name": "NotEligible Reason 1", - "Description": "NotEligible Description 1", - "Operator": "Y<=", - "Comparator": "-80", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "CohortLabel": "rsv_eli_405_cohort_1", - "Priority": 100 - }, - { - "Type": "F", - "Name": "NotEligible Reason 2", - "Description": "NotEligible Description 2", - "Operator": "=", - "Comparator": "ABC", - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "CohortLabel": "rsv_eli_405_cohort_2", - "Priority": 110 - }, - { - "Type": "S", - "Name": "NotActionable Reason 1", - "Description": "NotActionable Description 1", - "Operator": "Y<=", - "Comparator": "-80", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Priority": 200 - }, - { - "Type": "S", - "Name": "NotActionable Reason 2", - "Description": "NotActionable Description 2", - "Operator": "=", - "Comparator": "ABC", - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "Priority": 210, - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "NotActionable Reason 3", - "Description": "NotActionable Description 3", - "Operator": "=", - "Comparator": "U75549", - "AttributeLevel": "PERSON", - "AttributeName": "PCN", - "CohortLabel": "rsv_eli_405_cohort_4", - "Priority": 220 - } - ], - "ActionsMapper": { - "TEST_ACTION": { - "ExternalRoutingCode": "TestAction", - "ActionDescription": "TestAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - }, - "TEST_NOT_ACTION": { - "ExternalRoutingCode": "TestNotAction", - "ActionDescription": "TestNotAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": null, - "UrlLabel": "" - }, - "TEST_NOT_ELI": { - "ExternalRoutingCode": "TestNotEli", - "ActionDescription": "TestNotEli Description", - "ActionType": "", - "UrlLink": null, - "UrlLabel": "" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-06.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-06.json deleted file mode 100644 index 8476e2341..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-06.json +++ /dev/null @@ -1,105 +0,0 @@ -{ - "CampaignConfig": { - "ID": "AUTO_RSV_ELI-405-06-Campaign-ID", - "Version": 1, - "Name": "ELI-405-06-Iteration-Config-Name", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "", - "Iterations": [ - { - "ID": "AUTO_RSV_ELI-405-06-Iteration-ID", - "DefaultCommsRouting": "TEST_ACTION", - "DefaultNotActionableRouting": "TEST_NOT_ACTION", - "DefaultNotEligibleRouting": "TEST_NOT_ELI", - "Version": 1, - "Name": "ELI-405-04-Iteration-Config-Name", - "IterationDate": "20240808", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_405_cohort_1", - "CohortGroup": "rsv_eli_405_cohort_group", - "PositiveDescription": "are a member of eli_405_cohort_group_0", - "NegativeDescription": "are not a member of eli_405_cohort_group_0", - "Priority": 0 - }, - { - "CohortLabel": "rsv_eli_405_cohort_2", - "CohortGroup": "rsv_eli_405_cohort_group", - "PositiveDescription": "are a member of eli_405_cohort_group_10", - "NegativeDescription": "are not a member of eli_405_cohort_group_10", - "Priority": 10 - } - ], - "IterationRules": [ - { - "Type": "F", - "Name": "NotEligible Reason 1", - "Description": "NotEligible Description 1", - "Operator": "Y<=", - "Comparator": "-80", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "CohortLabel": "rsv_eli_405_cohort_1", - "Priority": 100 - }, - { - "Type": "F", - "Name": "NotEligible Reason 2", - "Description": "NotEligible Description 2", - "Operator": "=", - "Comparator": "ABC", - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "CohortLabel": "rsv_eli_405_cohort_2", - "Priority": 110 - } - ], - "ActionsMapper": { - "TEST_ACTION": { - "ExternalRoutingCode": "TestAction", - "ActionDescription": "TestAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - }, - "TEST_NOT_ACTION": { - "ExternalRoutingCode": "TestNotAction", - "ActionDescription": "TestNotAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": null, - "UrlLabel": "" - }, - "TEST_NOT_ELI": { - "ExternalRoutingCode": "TestNotEli", - "ActionDescription": "TestNotEli Description", - "ActionType": "", - "UrlLink": null, - "UrlLabel": "" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-406-01.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-406-01.json deleted file mode 100644 index c189d5350..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-406-01.json +++ /dev/null @@ -1,108 +0,0 @@ -{ - "CampaignConfig": { - "ID": "AUTO_RSV_ELI-376-01-Campaign-ID", - "Version": 1, - "Name": "ELI-376-01-Iteration-Config-Name", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "BOOK_NBS", - "Iterations": [ - { - "ID": "AUTO_RSV_ELI-376-01-Iteration-ID", - "DefaultCommsRouting": "TEST_ACTION", - "DefaultNotActionableRouting": "TEST_NOT_ACTION", - "DefaultNotEligibleRouting": "TEST_NOT_ELI", - "Version": 1, - "Name": "ELI-376-01-Iteration-Config-Name", - "IterationDate": "20240808", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_376_cohort_1", - "CohortGroup": "rsv_eli_376_cohort_group", - "PositiveDescription": "are a member of eli_376_cohort_group_0", - "NegativeDescription": "are not a member of eli_376_cohort_group_0", - "Priority": 0 - }, - { - "CohortLabel": "rsv_eli_376_cohort_2", - "CohortGroup": "rsv_eli_376_cohort_group", - "PositiveDescription": "are a member of eli_376_cohort_group_10", - "NegativeDescription": "are not a member of eli_376_cohort_group_10", - "Priority": 10 - }, - { - "CohortLabel": "rsv_eli_376_cohort_3", - "CohortGroup": "rsv_eli_376_cohort_group", - "PositiveDescription": "are a member of eli_376_cohort_group_20", - "NegativeDescription": "are not a member of eli_376_cohort_group_20", - "Priority": 20 - }, - { - "CohortLabel": "rsv_eli_376_cohort_4", - "CohortGroup": "rsv_eli_376_cohort_group_other", - "PositiveDescription": "are a member of eli_376_cohort_group_other", - "NegativeDescription": "are not a member of eli_376_cohort_group_other", - "Priority": 30 - } - ], - "IterationRules": [ - { - "Type": "F", - "Name": "NotEligible Reason 1", - "Description": "NotEligible Description 1", - "Operator": "Y<=", - "Comparator": "-80", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "CohortLabel": "rsv_eli_376_cohort_1", - "Priority": 100 - } - ], - "ActionsMapper": { - "TEST_ACTION": { - "ExternalRoutingCode": "TestAction", - "ActionDescription": "TestAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - }, - "TEST_NOT_ACTION": { - "ExternalRoutingCode": "TestNotAction", - "ActionDescription": "TestNotAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": null, - "UrlLabel": "" - }, - "TEST_NOT_ELI": { - "ExternalRoutingCode": "TestNotEli", - "ActionDescription": "TestNotEli Description", - "ActionType": "", - "UrlLink": null, - "UrlLabel": "" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-427-01-3.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-427-01-3.json deleted file mode 100644 index 6c85268b1..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-427-01-3.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "CampaignConfig": { - "ID": "AUTO_RSV_ELI-427-01-3-Campaign-ID", - "Version": 1, - "Name": "ELI-427-01-3-Iteration-Config-Name", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "TEST_ACTION", - "Iterations": [ - { - "ID": "AUTO_RSV_ELI-427-01-3-Iteration-ID", - "DefaultCommsRouting": "TEST_ACTION", - "DefaultNotActionableRouting": "TEST_NOT_ACTION", - "DefaultNotEligibleRouting": "TEST_NOT_ELI", - "Version": 1, - "Name": "ELI-427-01-3-Iteration-Config-Name", - "IterationDate": "20240808", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "StatusText": { - "Actionable": "CUSTOM1 - You should have the RSV Vaccine and you have an appointment on [[TARGET.RSV.BOOKED_APPOINTMENT_DATE:DATE(%d %B %Y)]]", - "NotActionable": "CUSTOM2 - You had the RSV Vaccine on [[TARGET.RSV.LAST_SUCCESSFUL_DATE:DATE(%d %B %Y)]]", - "NotEligible": "CUSTOM3 - We do not believe you should have it as you were born on [[TARGET.PERSON.DATE_OF_BIRTH]] and your postcode is [[TARGET.PERSON.POSTCODE]]" - }, - "IterationCohorts": [ - { - "CohortLabel": "eli_427_cohort_1", - "CohortGroup": "eli_427_cohort_group_1", - "PositiveDescription": "In eli_427_cohort_1", - "NegativeDescription": "Not in eli_427_cohort_1", - "Priority": 1 - } - ], - "IterationRules": [ - { - "Type": "F", - "Name": "Remove under 74 Years on day of execution", - "Description": "Filter out anyone who is not 74 years old.", - "Priority": 100, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-74" - }, - { - "Type": "F", - "Name": "Remove under 75 Years on day of execution", - "Description": "Filter out anyone who is not 74 years old.", - "Priority": 101, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y<", - "Comparator": "-74" - }, - { - "Type": "S", - "Name": "AlreadyVaccinated", - "Description": "## You've had your RSV vaccination.", - "Priority": 200, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "is_not_empty", - "Comparator": "" - } - ], - "ActionsMapper": { - "TEST_ACTION": { - "ExternalRoutingCode": "TestAction", - "ActionDescription": "TestAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - }, - "TEST_NOT_ACTION": { - "ExternalRoutingCode": "TestNotAction", - "ActionDescription": "TestNotAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": null, - "UrlLabel": "" - }, - "TEST_NOT_ELI": { - "ExternalRoutingCode": "TestNotEli", - "ActionDescription": "TestNotEli Description", - "ActionType": "", - "UrlLink": null, - "UrlLabel": "" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-427-04-6.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-427-04-6.json deleted file mode 100644 index e3fe6b440..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-427-04-6.json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "CampaignConfig": { - "ID": "AUTO_RSV_ELI-427-04-Campaign-ID", - "Version": 1, - "Name": "ELI-427-04-Iteration-Config-Name", - "Type": "V", - "Target": "FLU", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "TEST_ACTION", - "Iterations": [ - { - "ID": "AUTO_RSV_ELI-427-04-Iteration-ID", - "DefaultCommsRouting": "TEST_ACTION", - "DefaultNotActionableRouting": "TEST_NOT_ACTION", - "DefaultNotEligibleRouting": "TEST_NOT_ELI", - "Version": 1, - "Name": "ELI-427-04-Iteration-Config-Name", - "IterationDate": "20240808", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "StatusText": { - "Actionable": "" - }, - "IterationCohorts": [ - { - "CohortLabel": "eli_427_cohort_1", - "CohortGroup": "eli_427_cohort_group_1", - "PositiveDescription": "In eli_427_cohort_1", - "NegativeDescription": "Not in eli_427_cohort_1", - "Priority": 1 - } - ], - "IterationRules": [ - { - "Type": "F", - "Name": "Remove under 74 Years on day of execution", - "Description": "Filter out anyone who is not 74 years old.", - "Priority": 100, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-74" - }, - { - "Type": "F", - "Name": "Remove under 75 Years on day of execution", - "Description": "Filter out anyone who is not 74 years old.", - "Priority": 101, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y<", - "Comparator": "-74" - }, - { - "Type": "S", - "Name": "AlreadyVaccinated", - "Description": "## You've had your RSV vaccination.", - "Priority": 200, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "is_not_empty", - "Comparator": "" - } - ], - "ActionsMapper": { - "TEST_ACTION": { - "ExternalRoutingCode": "TestAction", - "ActionDescription": "TestAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - }, - "TEST_NOT_ACTION": { - "ExternalRoutingCode": "TestNotAction", - "ActionDescription": "TestNotAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": null, - "UrlLabel": "" - }, - "TEST_NOT_ELI": { - "ExternalRoutingCode": "TestNotEli", - "ActionDescription": "TestNotEli Description", - "ActionType": "", - "UrlLink": null, - "UrlLabel": "" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-01.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-01.json deleted file mode 100644 index 1870bb326..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-01.json +++ /dev/null @@ -1,141 +0,0 @@ -{ - "CampaignConfig": { - "ID": "AUTO_RSV_ELI-440-01-Campaign-ID", - "Version": 1, - "Name": "ELI-440-01-Iteration-Config-Name", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "BOOK_NBS", - "Iterations": [ - { - "ID": "AUTO_RSV_ELI-440-01-Iteration-ID", - "DefaultCommsRouting": "TEST_ACTION", - "DefaultNotActionableRouting": "TEST_NOT_ACTION", - "DefaultNotEligibleRouting": "TEST_NOT_ELI", - "Version": 1, - "Name": "ELI-440-01-Iteration-Config-Name", - "IterationDate": "20240808", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "elid_all_people", - "CohortGroup": "elid_all_people", - "PositiveDescription": "In elid_all_people", - "NegativeDescription": "Not in elid_all_people", - "Priority": 1 - }, - { - "CohortLabel": "elid_virtual_cohort_missing_attribute", - "CohortGroup": "elid_virtual_cohort_missing_attribute", - "PositiveDescription": "In elid_virtual_cohort_missing_attribute", - "NegativeDescription": "Out elid_virtual_cohort_missing_attribute", - "Priority": 2, - "Virtual": "N" - }, - { - "CohortLabel": "elid_virtual_cohort", - "CohortGroup": "elid_virtual_cohort", - "PositiveDescription": "In elid_virtual_cohort", - "NegativeDescription": "Out elid_virtual_cohort", - "Priority": 3, - "Virtual": "Y" - }, - { - "CohortLabel": "elid_virtual_cohort_2", - "CohortGroup": "elid_virtual_cohort", - "PositiveDescription": "In elid_virtual_cohort", - "NegativeDescription": "Out elid_virtual_cohort", - "Priority": 4, - "Virtual": "Y" - }, - { - "CohortLabel": "elid_virtual_cohort_3", - "CohortGroup": "elid_virtual_cohort_3", - "PositiveDescription": "In elid_virtual_cohort_3", - "NegativeDescription": "Out elid_virtual_cohort_3", - "Priority": 5, - "Virtual": "Y" - } - ], - "IterationRules": [ - { - "Type": "F", - "Name": "Remove under 74 Years on day of execution", - "Description": "Filter out anyone from the virtual cohort who is not 74 years old.", - "Priority": 100, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-74", - "CohortLabel": "elid_virtual_cohort" - }, - { - "Type": "F", - "Name": "Remove under 75 Years on day of execution", - "Description": "Filter out anyone from the virtual cohort who is not 74 years old.", - "Priority": 101, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y<", - "Comparator": "-74", - "CohortLabel": "elid_virtual_cohort" - }, - { - "Type": "S", - "Name": "AlreadyVaccinated", - "Description": "## You've had your RSV vaccination.", - "Priority": 200, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "is_not_empty", - "Comparator": "" - } - ], - "ActionsMapper": { - "TEST_ACTION": { - "ExternalRoutingCode": "TestAction", - "ActionDescription": "TestAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - }, - "TEST_NOT_ACTION": { - "ExternalRoutingCode": "TestNotAction", - "ActionDescription": "TestNotAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": null, - "UrlLabel": "" - }, - "TEST_NOT_ELI": { - "ExternalRoutingCode": "TestNotEli", - "ActionDescription": "TestNotEli Description", - "ActionType": "", - "UrlLink": null, - "UrlLabel": "" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-02-3.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-02-3.json deleted file mode 100644 index 5128692eb..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-02-3.json +++ /dev/null @@ -1,143 +0,0 @@ -{ - "CampaignConfig": { - "ID": "AUTO_RSV_ELI-440-02-3-Campaign-ID", - "Version": 1, - "Name": "ELI-440-02-3-Iteration-Config-Name", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "BOOK_NBS", - "Iterations": [ - { - "ID": "AUTO_RSV_ELI-440-02-3-Iteration-ID", - "DefaultCommsRouting": "TEST_ACTION", - "DefaultNotActionableRouting": "TEST_NOT_ACTION", - "DefaultNotEligibleRouting": "TEST_NOT_ELI", - "Version": 1, - "Name": "ELI-440-02-3-Iteration-Config-Name", - "IterationDate": "20240808", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "elid_virtual_cohort", - "CohortGroup": "elid_virtual_cohort", - "PositiveDescription": "In elid_virtual_cohort", - "NegativeDescription": "Out elid_virtual_cohort", - "Priority": 1, - "Virtual": "Y" - }, - { - "CohortLabel": "elid_virtual_cohort_2", - "CohortGroup": "elid_virtual_cohort_2", - "PositiveDescription": "In elid_virtual_cohort_2", - "NegativeDescription": "Out elid_virtual_cohort_2", - "Priority": 2, - "Virtual": "Y" - } - ], - "IterationRules": [ - { - "Type": "F", - "Name": "Remove under 74 Years on day of execution from first virtual cohort", - "Description": "Filter out anyone from the virtual cohort who is not 74 years old.", - "Priority": 100, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-74", - "CohortLabel": "elid_virtual_cohort" - }, - { - "Type": "F", - "Name": "Remove over 74 Years on day of execution from first virtual cohort", - "Description": "Filter out anyone from the virtual cohort who is not 74 years old.", - "Priority": 101, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y<", - "Comparator": "-74", - "CohortLabel": "elid_virtual_cohort" - }, - { - "Type": "F", - "Name": "Remove 75 Years on day of execution from second virtual cohort", - "Description": "Filter out anyone from the virtual cohort who is exactly 75 years old from second virtual cohort.", - "Priority": 102, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "=", - "Comparator": "<>", - "CohortLabel": "elid_virtual_cohort_2" - }, - { - "Type": "S", - "Name": "AlreadyVaccinated", - "Description": "## You've had your RSV vaccination.", - "Priority": 200, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "is_not_empty", - "Comparator": "", - "CohortLabel": "elid_virtual_cohort", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "AlreadyVaccinated", - "Description": "## You've had your RSV vaccination.", - "Priority": 201, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "is_not_empty", - "Comparator": "", - "CohortLabel": "elid_virtual_cohort_2" - } - ], - "ActionsMapper": { - "TEST_ACTION": { - "ExternalRoutingCode": "TestAction", - "ActionDescription": "TestAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - }, - "TEST_NOT_ACTION": { - "ExternalRoutingCode": "TestNotAction", - "ActionDescription": "TestNotAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": null, - "UrlLabel": "" - }, - "TEST_NOT_ELI": { - "ExternalRoutingCode": "TestNotEli", - "ActionDescription": "TestNotEli Description", - "ActionType": "", - "UrlLink": null, - "UrlLabel": "" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-05-6.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-05-6.json deleted file mode 100644 index 6e53312b7..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-05-6.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "CampaignConfig": { - "ID": "AUTO_RSV_ELI-440-01-Campaign-ID", - "Version": 1, - "Name": "ELI-440-01-Iteration-Config-Name", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "BOOK_NBS", - "Iterations": [ - { - "ID": "AUTO_RSV_ELI-440-01-Iteration-ID", - "DefaultCommsRouting": "TEST_ACTION", - "DefaultNotActionableRouting": "TEST_NOT_ACTION", - "DefaultNotEligibleRouting": "TEST_NOT_ELI", - "Version": 1, - "Name": "ELI-440-01-Iteration-Config-Name", - "IterationDate": "20240808", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_real_world", - "CohortGroup": "rsv_eli_real_world", - "PositiveDescription": "In rsv_eli_real_world", - "NegativeDescription": "Out rsv_eli_real_world", - "Priority": 1, - "Virtual": "Y" - } - ], - "IterationRules": [ - { - "Type": "F", - "Name": "Filter anyone who is the the first virtual cohort", - "Description": "Filter anyone who is the the first virtual cohort.", - "Priority": 100, - "AttributeLevel": "COHORT", - "AttributeName": "COHORT_LABEL", - "Operator": "MemberOf", - "Comparator": "elid_virtual_cohort" - } - ], - "ActionsMapper": { - "TEST_ACTION": { - "ExternalRoutingCode": "TestAction", - "ActionDescription": "TestAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - }, - "TEST_NOT_ACTION": { - "ExternalRoutingCode": "TestNotAction", - "ActionDescription": "TestNotAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": null, - "UrlLabel": "" - }, - "TEST_NOT_ELI": { - "ExternalRoutingCode": "TestNotEli", - "ActionDescription": "TestNotEli Description", - "ActionType": "", - "UrlLink": null, - "UrlLabel": "" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-07.json b/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-07.json deleted file mode 100644 index ec55b3147..000000000 --- a/tests/e2e/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-07.json +++ /dev/null @@ -1,116 +0,0 @@ -{ - "CampaignConfig": { - "ID": "AUTO_RSV_ELI-440-07-Campaign-ID", - "Version": 1, - "Name": "ELI-440-07-Iteration-Config-Name", - "Type": "V", - "Target": "RSV", - "Manager": [ - "person1@nhs.net" - ], - "Approver": [ - "person1@nhs.net" - ], - "Reviewer": [ - "person1@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "BOOK_NBS", - "Iterations": [ - { - "ID": "AUTO_RSV_ELI-440-07-Iteration-ID", - "DefaultCommsRouting": "TEST_ACTION", - "DefaultNotActionableRouting": "TEST_NOT_ACTION", - "DefaultNotEligibleRouting": "TEST_NOT_ELI", - "Version": 1, - "Name": "ELI-440-07-Iteration-Config-Name", - "IterationDate": "20240808", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_eli_real_world", - "CohortGroup": "rsv_eli_real_world", - "PositiveDescription": "In rsv_eli_real_world", - "NegativeDescription": "Out rsv_eli_real_world", - "Priority": 1 - }, - { - "CohortLabel": "elid_virtual_cohort_1", - "CohortGroup": "elid_virtual_cohort_1", - "PositiveDescription": "In elid_virtual_cohort_1", - "NegativeDescription": "Out elid_virtual_cohort_1", - "Priority": 2, - "Virtual": "Y" - }, - { - "CohortLabel": "elid_virtual_cohort_2", - "CohortGroup": "elid_virtual_cohort_2", - "PositiveDescription": "In elid_virtual_cohort_2", - "NegativeDescription": "Out elid_virtual_cohort_2", - "Priority": 3, - "Virtual": "Y" - } - ], - "IterationRules": [ - { - "Type": "S", - "Name": "AlreadyVaccinated", - "Description": "## You've had your RSV vaccination.", - "Priority": 200, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "is_not_empty", - "Comparator": "", - "CohortLabel": "elid_virtual_cohort_1" - }, - { - "Type": "S", - "Name": "AlreadyVaccinated", - "Description": "## You've had your RSV vaccination.", - "Priority": 200, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "Operator": "is_not_empty", - "Comparator": "", - "CohortLabel": "elid_virtual_cohort_1" - } - ], - "ActionsMapper": { - "TEST_ACTION": { - "ExternalRoutingCode": "TestAction", - "ActionDescription": "TestAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - }, - "TEST_NOT_ACTION": { - "ExternalRoutingCode": "TestNotAction", - "ActionDescription": "TestNotAction Description", - "ActionType": "ButtonWithAuthLink", - "UrlLink": null, - "UrlLabel": "" - }, - "TEST_NOT_ELI": { - "ExternalRoutingCode": "TestNotEli", - "ActionDescription": "TestNotEli Description", - "ActionType": "", - "UrlLink": null, - "UrlLabel": "" - } - } - } - ] - } -} diff --git a/tests/e2e/data/configs/vitaIntegrationTestConfigs/vita_integration_test_config.json b/tests/e2e/data/configs/vitaIntegrationTestConfigs/vita_integration_test_config.json deleted file mode 100644 index 726a3a625..000000000 --- a/tests/e2e/data/configs/vitaIntegrationTestConfigs/vita_integration_test_config.json +++ /dev/null @@ -1,527 +0,0 @@ -{ - "CampaignConfig": { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d0", - "Version": 1, - "Name": "EliD RSV example config", - "Type": "V", - "Target": "RSV", - "Manager": [ - "example@nhs.net" - ], - "Approver": [ - "example@nhs.net" - ], - "Reviewer": [ - "example@nhs.net" - ], - "IterationFrequency": "X", - "IterationType": "O", - "IterationTime": "07:00:00", - "StartDate": "20250717", - "EndDate": "20350717", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "DefaultCommsRouting": "PLACEHOLDER_COMMS_ROUTING", - "Iterations": [ - { - "ID": "8fcb742b-45fa-4e0d-8f2f-9c2efb1f46d1", - "DefaultCommsRouting": "BOOK_LOCAL|HELP_SUPPORT", - "DefaultNotActionableRouting": "", - "DefaultNotEligibleRouting": "CHECK_CORRECT_X", - "Version": 1, - "Name": "EliD RSV example config", - "IterationDate": "20250717", - "IterationNumber": 1, - "CommsType": "I", - "ApprovalMinimum": 0, - "ApprovalMaximum": 0, - "Type": "O", - "IterationCohorts": [ - { - "CohortLabel": "rsv_75to79", - "CohortGroup": "rsv_age", - "PositiveDescription": "are aged between 75 and 79", - "NegativeDescription": "are not aged 75 to 79", - "Priority": 0 - }, - { - "CohortLabel": "rsv_80_since_02_Sept_2024", - "CohortGroup": "rsv_age_catchup", - "PositiveDescription": "turned 80 after 1st September 2024", - "NegativeDescription": "did not turn 80 after 1 September 2024", - "Priority": 10 - }, - { - "CohortLabel": "elid_all_people", - "CohortGroup": "magic_cohort", - "PositiveDescription": "", - "NegativeDescription": "", - "Priority": 20, - "Virtual": "Y" - } - ], - "IterationRules": [ - { - "Type": "F", - "Name": "Remove from magic cohort unless already vaccinated or have future booking", - "Description": "Remove anyone NOT already vaccinated within the last 25 years and do not have a future booking from the magic cohort", - "Operator": "Y<=", - "Comparator": "-25[[NVL:18000101]]", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "CohortLabel": "elid_all_people", - "Priority": 100 - }, - { - "Type": "F", - "Name": "Remove from magic cohort unless already vaccinated or have future booking", - "Description": "Remove anyone without a future booking from magic cohort", - "Operator": "D<", - "Comparator": "0[[NVL:18000101]]", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CohortLabel": "elid_all_people", - "Priority": 100 - }, - { - "Type": "F", - "Name": "Remove under 75 Years on day of execution", - "Description": "Ensure anyone who has a PDS date of birth which determines their age to be less than 75 years is filtered out.", - "Priority": 120, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-75", - "CohortLabel": "rsv_75to79" - }, - { - "Type": "F", - "Name": "Remove anyone 80 or over on day of execution from the 75 to 79 cohort", - "Description": "Exclude anyone who turned 80 on the day", - "Priority": 130, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y<=", - "Comparator": "-80", - "CohortLabel": "rsv_75to79" - }, - { - "Type": "F", - "Name": "Remove under 80 years on day of execution from the 80 since 2nd Sept 2024 cohort", - "Description": "Ensure anyone who has a PDS date of birth which determines their age to be less than 80 years is filtered out", - "Priority": 140, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-80", - "CohortLabel": "rsv_80_since_02_Sept_2024" - }, - { - "Type": "F", - "Name": "Remove those over 80 before 2nd September 2024 from the 80 since 2nd Sept 2024 cohort", - "Description": "Exclude anyone who turned 80 before 2nd September 2024", - "Priority": 150, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "<", - "Comparator": "19440902", - "CohortLabel": "rsv_80_since_02_Sept_2024" - }, - { - "Type": "F", - "Name": "Remove from rsv 80 cohort if already vaccinated", - "Description": "Remove anyone already vaccinated from 80 cohort", - "Operator": "Y>=", - "Comparator": "-25", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "CohortLabel": "rsv_80_since_02_Sept_2024", - "Priority": 160 - }, - { - "Type": "F", - "Name": "Remove from rsv 80 cohort if future booking", - "Description": "Remove anyone with a future booking from RSV 80 cohort", - "Operator": "D>=", - "Comparator": "0", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CohortLabel": "rsv_80_since_02_Sept_2024", - "Priority": 170 - }, - { - "Type": "F", - "Name": "Remove from rsv 75-79 cohort if already vaccinated", - "Description": "Remove anyone already vaccinated from 75-79 cohort", - "Operator": "Y>=", - "Comparator": "-25", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "CohortLabel": "rsv_75to79", - "Priority": 180 - }, - { - "Type": "F", - "Name": "Remove from rsv 75-79 cohort if future booking", - "Description": "Remove anyone with a future booking from RSV 75-79 cohort", - "Operator": "D>=", - "Comparator": "0", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CohortLabel": "rsv_75to79", - "Priority": 190 - }, - { - "Type": "S", - "Name": "Not Available", - "Description": "##RSV vaccinations are not currently available\n\nPlease try again soon.", - "Priority": 195, - "AttributeLevel": "PERSON", - "AttributeName": "NHS_NUMBER", - "Operator": "=", - "Comparator": "9658218997", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "NotYetDue", - "Description": "##Your RSV vaccination is not yet due\\n\\nYour next dose will be due in 3 months.", - "Priority": 196, - "AttributeLevel": "PERSON", - "AttributeName": "NHS_NUMBER", - "Operator": "=", - "Comparator": "9658219012", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "TooClose", - "Description": "##You have recently have the RSV vaccination\n\nYou must leave 90 days between doses of the RSV vaccine. Please try again soon.", - "Priority": 197, - "AttributeLevel": "PERSON", - "AttributeName": "NHS_NUMBER", - "Operator": "=", - "Comparator": "9658220142", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "EmptySuggestion", - "Description": "", - "Priority": 198, - "AttributeLevel": "PERSON", - "AttributeName": "NHS_NUMBER", - "Operator": "=", - "Comparator": "9658219004", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "AlreadyVaccinated", - "Description": "## You've had your RSV vaccination\n\nWe believe you were vaccinated against RSV on 3 April 2025.", - "Priority": 200, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "Y>=", - "Comparator": "-25", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "OtherSetting", - "Description": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 510, - "AttributeLevel": "PERSON", - "AttributeName": "CARE_HOME_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_80_since_02_Sept_2024", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "OtherSetting", - "Description": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 520, - "AttributeLevel": "PERSON", - "AttributeName": "DE_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_80_since_02_Sept_2024", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "OtherSetting", - "Description": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 530, - "AttributeLevel": "PERSON", - "AttributeName": "13Q_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_80_since_02_Sept_2024", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "OtherSetting", - "Description": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 540, - "AttributeLevel": "PERSON", - "AttributeName": "CARE_HOME_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_75to79", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "OtherSetting", - "Description": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 550, - "AttributeLevel": "PERSON", - "AttributeName": "DE_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_75to79", - "RuleStop": "Y" - }, - { - "Type": "S", - "Name": "OtherSetting", - "Description": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "Priority": 560, - "AttributeLevel": "PERSON", - "AttributeName": "13Q_FLAG", - "Operator": "=", - "Comparator": "Y", - "CohortLabel": "rsv_75to79", - "RuleStop": "Y" - }, - { - "Type": "R", - "Name": "Actionable Future Booked NBS Appointment", - "Description": "Amend NBS future booking", - "Priority": 1000, - "Operator": "D>=", - "Comparator": "0", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CommsRouting": "AMEND_NBS" - }, - { - "Type": "R", - "Name": "Actionable Future Booked NBS Appointment", - "Description": "Amend NBS future booking", - "Priority": 1000, - "Operator": "=", - "Comparator": "NBS", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_PROVIDER", - "CommsRouting": "AMEND_NBS" - }, - { - "Type": "R", - "Name": "Actionable Future Booked Local Appointment", - "Description": "Amend local future booking", - "Priority": 1100, - "Operator": "D>=", - "Comparator": "0", - "AttributeTarget": "RSV", - "AttributeLevel": "TARGET", - "AttributeName": "BOOKED_APPOINTMENT_DATE", - "CommsRouting": "MANAGE_LOCAL" - }, - { - "Type": "R", - "Name": "Within CP Expansion ICB not 80 plus", - "Description": "Book an appointment on NBS as within CP expansion", - "Priority": 1200, - "Operator": "in", - "Comparator": "QH8,QJG", - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "CommsRouting": "CONTACT_GP|BOOK_NBS_INFO|WALKIN|HELP_SUPPORT" - }, - { - "Type": "R", - "Name": "Within CP Expansion ICB not 80 plus", - "Description": "Book an appointment on NBS as within CP expansion", - "Priority": 1200, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-80", - "CommsRouting": "CONTACT_GP|BOOK_NBS_INFO|WALKIN|HELP_SUPPORT" - }, - { - "Type": "R", - "Name": "Within CP Expansion Local Authority", - "Description": "Book an appointment on NBS as within CP expansion", - "Priority": 1300, - "Operator": "in", - "Comparator": "E08000028,E08000031,E08000025,E06000016,E06000008,E07000117,E07000120,E08000011,E08000012,E07000122,E07000123,E08000014,E07000126,E08000013,E07000127,E08000015,E07000128", - "AttributeLevel": "PERSON", - "AttributeName": "LOCAL_AUTHORITY", - "CommsRouting": "CONTACT_GP|BOOK_NBS_INFO|WALKIN|HELP_SUPPORT" - }, - { - "Type": "R", - "Name": "Within CP Expansion ICB not 80 plus", - "Description": "Book an appointment on NBS as within CP expansion", - "Priority": 1300, - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "Operator": "Y>", - "Comparator": "-80", - "CommsRouting": "CONTACT_GP|BOOK_NBS_INFO|WALKIN|HELP_SUPPORT" - }, - { - "Type": "R", - "Name": "Fix for Vita Scenario 2,3", - "Description": "Fix for Vita Scenario 2,3 which forces the response to only show BOOK_LOCAL", - "Priority": 1950, - "AttributeLevel": "PERSON", - "AttributeName": "NHS_NUMBER", - "Operator": "in", - "Comparator": "9686368906,9658218873", - "CommsRouting": "BOOK_LOCAL" - }, - { - "Type": "Y", - "Name": "Already vaccinated default text", - "Description": "Already vaccinated default text", - "Priority": 3000, - "AttributeLevel": "TARGET", - "AttributeTarget": "RSV", - "AttributeName": "LAST_SUCCESSFUL_DATE", - "Operator": "Y>=", - "Comparator": "-25", - "CommsRouting": "CHECK_CORRECT_ALREADY_VACCINATED" - }, - { - "Type": "Y", - "Name": "Other setting default text", - "Description": "Other setting default text", - "Priority": 3100, - "AttributeLevel": "PERSON", - "AttributeName": "CARE_HOME_FLAG", - "Operator": "=", - "Comparator": "Y", - "CommsRouting": "CHECK_CORRECT_OTHER_SETTING" - }, - { - "Type": "Y", - "Name": "Other setting default text", - "Description": "Other setting default text", - "Priority": 3200, - "AttributeLevel": "PERSON", - "AttributeName": "DE_FLAG", - "Operator": "=", - "Comparator": "Y", - "CommsRouting": "CHECK_CORRECT_OTHER_SETTING" - }, - { - "Type": "Y", - "Name": "Other setting default text", - "Description": "Other setting default text", - "Priority": 3300, - "AttributeLevel": "PERSON", - "AttributeName": "13Q_FLAG", - "Operator": "=", - "Comparator": "Y", - "CommsRouting": "CHECK_CORRECT_OTHER_SETTING" - } - ], - "ActionsMapper": { - "BOOK_NBS": { - "ExternalRoutingCode": "BookNBS", - "ActionDescription": "", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Continue to booking" - }, - "BOOK_NBS_INFO": { - "ExternalRoutingCode": "BookNBSInfoText", - "ActionDescription": "## Book an appointment online at a pharmacy\n\nYou can book an appointment online at a pharmacy that offers the RSV vaccination. You need to be registered with a GP to do this.", - "ActionType": "ButtonWithAuthLinkWithInfoText", - "UrlLink": "https://f.nhswebsite-integration.nhs.uk/nbs/nhs-app/rsv", - "UrlLabel": "Continue to booking" - }, - "AMEND_NBS": { - "ExternalRoutingCode": "AmendNBS", - "ActionDescription": "## You have an RSV vaccination appointment booked\n\nYou can view, change or cancel your appointment below.", - "ActionType": "ButtonWithAuthLink", - "UrlLink": "http://www.nhs.uk/book-rsv", - "UrlLabel": "Manage your appointment" - }, - "CONTACT_GP": { - "ExternalRoutingCode": "ContactGP", - "ActionDescription": "## Get vaccinated at your GP practice\n\nContact your GP surgery to book an appointment.", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "BOOK_LOCAL": { - "ExternalRoutingCode": "BookLocal", - "ActionDescription": "## Getting the vaccine\n\nYou can get an RSV vaccination at your GP surgery.\n\nYour GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination.", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "MANAGE_LOCAL": { - "ExternalRoutingCode": "ManageLocal", - "ActionDescription": "## You have an RSV vaccination appointment booked\n\nTo change or cancel your appointment, contact the provider you booked it with.", - "ActionType": "CardWithText", - "UrlLink": null, - "UrlLabel": "" - }, - "HELP_SUPPORT": { - "ExternalRoutingCode": "HelpSupportInfo", - "ActionDescription": "## If you think this is incorrect\n\nIf you have already had this vaccination or your personal details are wrong, visit our [help and support page](https://www.nhs.uk/nhs-app/nhs-app-help-and-support/).", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "CHECK_CORRECT_X": { - "ExternalRoutingCode": "HealthcareProInfo", - "ActionDescription": "## If you think this is incorrect\n\nSpeak to your healthcare professional if you think you should be offered this vaccine.\n\nFor anything else, visit our [help and support page](https://www.nhs.uk/nhs-app/nhs-app-help-and-support/).", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "CHECK_CORRECT_ALREADY_VACCINATED": { - "ExternalRoutingCode": "AlreadyVaccinatedInfo", - "ActionDescription": "## If you think this is incorrect\n\nIf you believe you've not been vaccinated against RSV, speak to your healthcare professional.\n\nFor anything else please see our [help and support page](https://www.nhs.uk/nhs-app/nhs-app-help-and-support/).", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - }, - "WALKIN": { - "ExternalRoutingCode": "WalkIn", - "ActionDescription": "## Get vaccinated without an appointment\n\nYou can get an RSV vaccination at some pharmacies without needing an appointment.\n\nYou do not need to be registered with a GP to do this.", - "ActionType": "ActionLinkWithInfoText", - "UrlLink": "https://www.nhs.uk/service-search/vaccination-and-booking-services/find-a-pharmacy-where-you-can-get-a-free-rsv-vaccination", - "UrlLabel": "Find a pharmacy where you can get a free RSV vaccination" - }, - "CHECK_CORRECT_OTHER_SETTING": { - "ExternalRoutingCode": "ManagedSettingInfo", - "ActionDescription": "## If you think this is incorrect\n\nIf you have already had this vaccination or your personal details are wrong, visit our [help and support page](https://www.nhs.uk/nhs-app/nhs-app-help-and-support/).", - "ActionType": "InfoText", - "UrlLink": null, - "UrlLabel": "" - } - } - } - ] - } -} diff --git a/tests/e2e/data/dynamoDB/inProgressTestData/440/AUTO_RSV_ELI-440_004.json b/tests/e2e/data/dynamoDB/inProgressTestData/440/AUTO_RSV_ELI-440_004.json deleted file mode 100644 index 4bac7dd01..000000000 --- a/tests/e2e/data/dynamoDB/inProgressTestData/440/AUTO_RSV_ELI-440_004.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "scenario_name": "ELI-ELI-440-04 - Filter on virtual cohort Label - NotEligible", - "comment:": "Failing due to issue expected to be fixed in ELI-454- Reintroduce when fixed", - "request_headers": { - "nhs-login-nhs-number": "9900440004" - }, - "config_filenames": [ - "AUTO_RSV_ELI-440-04.json" - ], - "data": [ - { - "NHS_NUMBER": "9900440004", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_440_cohort_999", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900440004", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900440004", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "not_null", - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/integrationTestData/AUTO_RSV_INT_001.json b/tests/e2e/data/dynamoDB/integrationTestData/AUTO_RSV_INT_001.json deleted file mode 100644 index 45f2c6690..000000000 --- a/tests/e2e/data/dynamoDB/integrationTestData/AUTO_RSV_INT_001.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "scenario_name": "RSV - Integration - Actionable due to membership of an Age Cohort including suggested national booking action (actions requested)", - "request_headers": { - "nhs-login-nhs-number": "9735548844" - }, - "config_filename": "AUTO_RSV_INT_001.json", - "data": [ - { - "NHS_NUMBER": "9735548844", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MAP": { - "cohorts": { - "M": { - "rsv_75_rolling": { - "M": { - "dateJoined": { - "S": "20250604" - } - } - } - } - } - } - }, - { - "NHS_NUMBER": "9735548844", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "19500601", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/integrationTestData/AUTO_RSV_INT_002.json b/tests/e2e/data/dynamoDB/integrationTestData/AUTO_RSV_INT_002.json deleted file mode 100644 index fa1bee067..000000000 --- a/tests/e2e/data/dynamoDB/integrationTestData/AUTO_RSV_INT_002.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "scenario_name": "RSV - Integration - Actionable due to membership of an Age Cohort including suggested action (not national booking)", - "request_headers": { - "nhs-login-nhs-number": "9735548852" - }, - "config_filename": "AUTO_RSV_INT_001.json", - "data": [ - { - "NHS_NUMBER": "9735548852", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MAP": { - "cohorts": { - "M": { - "rsv_75_rolling": { - "M": { - "dateJoined": { - "S": "20250604" - } - } - } - } - } - } - }, - { - "NHS_NUMBER": "9735548852", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "19500601", - "GENDER": "2", - "POSTCODE": "CB3 8DX", - "POSTCODE_SECTOR": "CB38", - "POSTCODE_OUTCODE": "CB3", - "MSOA": "E02007085", - "LSOA": "E01018223", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/integrationTestData/AUTO_RSV_INT_003.json b/tests/e2e/data/dynamoDB/integrationTestData/AUTO_RSV_INT_003.json deleted file mode 100644 index ed8db868c..000000000 --- a/tests/e2e/data/dynamoDB/integrationTestData/AUTO_RSV_INT_003.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "scenario_name": "RSV - Integration - Actionable due to membership of an alternative Age Cohort including suggested action (not national booking)", - "request_headers": { - "nhs-login-nhs-number": "9735548860" - }, - "config_filename": "AUTO_RSV_INT_001.json", - "data": [ - { - "NHS_NUMBER": "9735548860", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MAP": { - "cohorts": { - "M": { - "rsv_75to79_2024": { - "M": { - "dateJoined": { - "S": "20250604" - } - } - } - } - } - } - }, - { - "NHS_NUMBER": "9735548860", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "19500601", - "GENDER": "2", - "POSTCODE": "CB3 8DX", - "POSTCODE_SECTOR": "CB38", - "POSTCODE_OUTCODE": "CB3", - "MSOA": "E02007085", - "LSOA": "E01018223", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/regressionTestData/AUTO_RSV_REG_001.json b/tests/e2e/data/dynamoDB/regressionTestData/AUTO_RSV_REG_001.json deleted file mode 100644 index dc4879b1a..000000000 --- a/tests/e2e/data/dynamoDB/regressionTestData/AUTO_RSV_REG_001.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "scenario_name": "RSV - Regression - Actionable, Single Eligible Cohort", - "request_headers": { - "nhs-login-nhs-number": "1000000001" - }, - "config_filenames": [ - "AUTO_RSV_REG_001.json" - ], - "data": [ - { - "NHS_NUMBER": "1000000001", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_cohort_2", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "1000000001", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS2", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/regressionTestData/AUTO_RSV_REG_002.json b/tests/e2e/data/dynamoDB/regressionTestData/AUTO_RSV_REG_002.json deleted file mode 100644 index 8a649222e..000000000 --- a/tests/e2e/data/dynamoDB/regressionTestData/AUTO_RSV_REG_002.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "scenario_name": "RSV - Regression - Actionable, Two Eligible Cohorts, Different Groups", - "request_headers": { - "nhs-login-nhs-number": "1000000002" - }, - "config_filenames": [ - "AUTO_RSV_REG_001.json" - ], - "data": [ - { - "NHS_NUMBER": "1000000002", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_cohort_3", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "1000000002", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS2", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/regressionTestData/AUTO_RSV_REG_003.json b/tests/e2e/data/dynamoDB/regressionTestData/AUTO_RSV_REG_003.json deleted file mode 100644 index 360107070..000000000 --- a/tests/e2e/data/dynamoDB/regressionTestData/AUTO_RSV_REG_003.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "scenario_name": "RSV - Regression - Actionable, Two Eligible Cohorts, Same Group", - "request_headers": { - "nhs-login-nhs-number": "1000000003" - }, - "config_filenames": [ - "AUTO_RSV_REG_001.json" - ], - "data": [ - { - "NHS_NUMBER": "1000000003", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_cohort_1", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "1000000003", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS2", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/regressionTestData/AUTO_RSV_REG_010-1.json b/tests/e2e/data/dynamoDB/regressionTestData/AUTO_RSV_REG_010-1.json deleted file mode 100644 index 542c97dfc..000000000 --- a/tests/e2e/data/dynamoDB/regressionTestData/AUTO_RSV_REG_010-1.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "scenario_name": "RSV - Regression - Not Eligible, In Cohort - Future Date", - "request_headers": { - "nhs-login-nhs-number": "1100000010" - }, - "config_filenames": [ - "AUTO_RSV_REG_001.json" - ], - "data": [ - { - "NHS_NUMBER": "1100000010", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_cohort_2", - "DATE_JOINED": "<>" - } - ] - }, - { - "NHS_NUMBER": "1100000010", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS2", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/regressionTestData/AUTO_RSV_REG_010.json b/tests/e2e/data/dynamoDB/regressionTestData/AUTO_RSV_REG_010.json deleted file mode 100644 index ecf3c2fc7..000000000 --- a/tests/e2e/data/dynamoDB/regressionTestData/AUTO_RSV_REG_010.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "scenario_name": "RSV - Regression - Not Eligible, Not in Cohort", - "request_headers": { - "nhs-login-nhs-number": "1000000010" - }, - "config_filenames": [ - "AUTO_RSV_REG_001.json" - ], - "data": [ - { - "NHS_NUMBER": "1000000010", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_cohort_22", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "1000000010", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS2", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/regressionTestData/AUTO_RSV_REG_011.json b/tests/e2e/data/dynamoDB/regressionTestData/AUTO_RSV_REG_011.json deleted file mode 100644 index 196f37f9f..000000000 --- a/tests/e2e/data/dynamoDB/regressionTestData/AUTO_RSV_REG_011.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "scenario_name": "RSV - Regression - Not Eligible, In Cohort, Filter Rule", - "request_headers": { - "nhs-login-nhs-number": "1000000011" - }, - "config_filenames": [ - "AUTO_RSV_REG_001.json" - ], - "data": [ - { - "NHS_NUMBER": "1000000011", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_cohort_1", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "1000000011", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS2", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/regressionTestData/AUTO_RSV_REG_012.json b/tests/e2e/data/dynamoDB/regressionTestData/AUTO_RSV_REG_012.json deleted file mode 100644 index 8fdd7062c..000000000 --- a/tests/e2e/data/dynamoDB/regressionTestData/AUTO_RSV_REG_012.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "scenario_name": "RSV - Regression - Not Eligible, In Magic Cohort, Filtered out Rule", - "request_headers": { - "nhs-login-nhs-number": "1000000012" - }, - "config_filenames": [ - "AUTO_RSV_REG_001.json" - ], - "data": [ - { - "NHS_NUMBER": "1000000012", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS2", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/regressionTestData/AUTO_RSV_REG_013.json b/tests/e2e/data/dynamoDB/regressionTestData/AUTO_RSV_REG_013.json deleted file mode 100644 index e0abd3e5f..000000000 --- a/tests/e2e/data/dynamoDB/regressionTestData/AUTO_RSV_REG_013.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "scenario_name": "RSV - Regression - Eligible, In Magic Cohort", - "request_headers": { - "nhs-login-nhs-number": "1000000013" - }, - "config_filenames": [ - "AUTO_RSV_REG_001.json" - ], - "data": [ - { - "NHS_NUMBER": "1000000013", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS2", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "1000000013", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/regressionTestData/AUTO_RSV_REG_050.json b/tests/e2e/data/dynamoDB/regressionTestData/AUTO_RSV_REG_050.json deleted file mode 100644 index 940fd5c71..000000000 --- a/tests/e2e/data/dynamoDB/regressionTestData/AUTO_RSV_REG_050.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "scenario_name": "RSV - Regression - NotActionable, Rule Stop Suppression", - "request_headers": { - "nhs-login-nhs-number": "1000000050" - }, - "config_filenames": [ - "AUTO_RSV_REG_001.json" - ], - "data": [ - { - "NHS_NUMBER": "1000000050", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS2", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "1000000050", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_001.json b/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_001.json deleted file mode 100644 index 48e951bbe..000000000 --- a/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_001.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "scenario_name": "RSV - Actionable due to membership of an Age Cohort incl. suggested actions (with booking)", - "request_headers": { - "nhs-login-nhs-number": "5000000001" - }, - "config_filenames": [ - "AUTO_RSV_SB_001.json" - ], - "data": [ - { - "NHS_NUMBER": "5000000001", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_75_rolling", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "5000000001", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS2", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_002.json b/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_002.json deleted file mode 100644 index aab28ffe8..000000000 --- a/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_002.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "scenario_name": "RSV - Actionable due to membership of an Age Cohort incl. suggested action (not booking)", - "request_headers": { - "nhs-login-nhs-number": "5000000002" - }, - "config_filenames": [ - "AUTO_RSV_SB_001.json" - ], - "data": [ - { - "NHS_NUMBER": "5000000002", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_75_rolling", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "5000000002", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS1", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_003.json b/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_003.json deleted file mode 100644 index 2ad4133a7..000000000 --- a/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_003.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "scenario_name": "RSV - Actionable due to membership of an alternative Age Cohort incl. suggested action", - "request_headers": { - "nhs-login-nhs-number": "5000000003" - }, - "config_filenames": [ - "AUTO_RSV_SB_001.json" - ], - "data": [ - { - "NHS_NUMBER": "5000000003", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_75to79_2024", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "5000000003", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS1", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_004.json b/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_004.json deleted file mode 100644 index bff06eff0..000000000 --- a/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_004.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "scenario_name": "RSV - Actionable due to membership of an Age Cohort incl. suggested action (existing national booking)", - "request_headers": { - "nhs-login-nhs-number": "5000000004" - }, - "config_filenames": [ - "AUTO_RSV_SB_001.json" - ], - "data": [ - { - "NHS_NUMBER": "5000000004", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "no_group_description", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "5000000004", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS1", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "5000000004", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_005.json b/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_005.json deleted file mode 100644 index fab88f8be..000000000 --- a/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_005.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "scenario_name": "RSV - Actionable due to membership of an Age Cohort incl. suggested actions (with local booking)", - "request_headers": { - "nhs-login-nhs-number": "5000000005" - }, - "config_filenames": [ - "AUTO_RSV_SB_001.json" - ], - "data": [ - { - "NHS_NUMBER": "5000000005", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "no_group_description", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "5000000005", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS1", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "5000000005", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "ACC" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_006.json b/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_006.json deleted file mode 100644 index 7f5071755..000000000 --- a/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_006.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "scenario_name": "RSV - Not Actionable despite membership of an Age Cohort, already vaccinated", - "request_headers": { - "nhs-login-nhs-number": "5000000006" - }, - "config_filenames": [ - "AUTO_RSV_SB_001.json" - ], - "notes": "actions need updating in the response when the functionality is delivered to provide actions for not_actionable responses", - "data": [ - { - "NHS_NUMBER": "5000000006", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "no_group_description", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "5000000006", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS1", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "5000000006", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_007.json b/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_007.json deleted file mode 100644 index 20516426e..000000000 --- a/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_007.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "scenario_name": "RSV - Not Actionable despite to membership of an Age Cohort with reasoning of no available vaccinations (not available type 1)", - "request_headers": { - "nhs-login-nhs-number": "5000000007" - }, - "config_filenames": [ - "AUTO_RSV_SB_001.json" - ], - "data": [ - { - "NHS_NUMBER": "5000000007", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_75_rolling", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "5000000007", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS1", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "SUPPRESSED_ICB", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_008.json b/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_008.json deleted file mode 100644 index cc1f9289a..000000000 --- a/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_008.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "scenario_name": "RSV - No RSV response as no active campaign (not available type 2)", - "request_headers": { - "nhs-login-nhs-number": "5000000008" - }, - "config_filenames": [ - "AUTO_RSV_SB_008.json" - ], - "data": [ - { - "NHS_NUMBER": "5000000008", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_75_rolling", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "5000000008", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS1", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "5000000008", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_009.json b/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_009.json deleted file mode 100644 index 288e76542..000000000 --- a/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_009.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "scenario_name": "RSV - Not Actionable despite to membership of an Age Cohort with reasoning of dose not yet due", - "request_headers": { - "nhs-login-nhs-number": "5000000009" - }, - "config_filenames": [ - "AUTO_RSV_SB_001.json" - ], - "data": [ - { - "NHS_NUMBER": "5000000009", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_75_rolling", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "5000000009", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS1", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "5000000009", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "20250326" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_010.json b/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_010.json deleted file mode 100644 index aee9d565f..000000000 --- a/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_010.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "scenario_name": "RSV - Not Actionable despite to membership of an Age Cohort with reasoning of dose not far enough apart", - "request_headers": { - "nhs-login-nhs-number": "5000000010" - }, - "config_filenames": [ - "AUTO_RSV_SB_001.json" - ], - "data": [ - { - "NHS_NUMBER": "5000000010", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_75_rolling", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "5000000010", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS1", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "5000000010", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "20250327" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_011.json b/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_011.json deleted file mode 100644 index e19d0428e..000000000 --- a/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_011.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "scenario_name": "RSV - Not Actionable despite to membership of an Age Cohort with reasoning of vaccination given in other setting (e.g. care home)", - "request_headers": { - "nhs-login-nhs-number": "5000000011" - }, - "config_filenames": [ - "AUTO_RSV_SB_001.json" - ], - "data": [ - { - "NHS_NUMBER": "5000000011", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_75_rolling", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "5000000011", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS1", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "Y", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_012.json b/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_012.json deleted file mode 100644 index 533899dff..000000000 --- a/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_012.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "scenario_name": "RSV - Not Actionable despite no cohort membership with reasoning of already vaccinated (type 1 includes unknown cohort)", - "request_headers": { - "nhs-login-nhs-number": "5000000012" - }, - "config_filenames": [ - "AUTO_RSV_SB_001.json" - ], - "data": [ - { - "NHS_NUMBER": "5000000012", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS1", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "5000000012", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_013.json b/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_013.json deleted file mode 100644 index c32b47340..000000000 --- a/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_013.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "scenario_name": "RSV - Not Actionable despite no cohort membership with reasoning of already vaccinated (type 2 includes no cohorts)", - "request_headers": { - "nhs-login-nhs-number": "5000000013" - }, - "config_filenames": [ - "AUTO_RSV_SB_001.json" - ], - "data": [ - { - "NHS_NUMBER": "5000000013", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "covid_16+_immunosuppression", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "5000000013", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS1", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "5000000013", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_014.json b/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_014.json deleted file mode 100644 index 5e9d8f40a..000000000 --- a/tests/e2e/data/dynamoDB/smokeTestData/AUTO_RSV_SB_014.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "scenario_name": "RSV - Not Eligible", - "request_headers": { - "nhs-login-nhs-number": "5000000014" - }, - "config_filenames": [ - "AUTO_RSV_SB_001.json" - ], - "data": [ - { - "NHS_NUMBER": "5000000014", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "covid_16+_immunosuppression", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "5000000014", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS1", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/.ignore_folder/AUTO_RSV_ELI-216-2.json b/tests/e2e/data/dynamoDB/storyTestData/.ignore_folder/AUTO_RSV_ELI-216-2.json deleted file mode 100644 index ce3de9e8b..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/.ignore_folder/AUTO_RSV_ELI-216-2.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "scenario_name": "ELI-216 - NHS Number check (NHS login) - Incorrect NHS_number", - "config_filename": "AUTO_RSV_ELI-216.json", - "request_headers": { - "nhs-login-nhs-number": "9000000001" - }, - "expected_response_code": 403, - "data": [ - { - "NHS_NUMBER": "9000000006", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MAP": { - "cohorts": { - "M": { - "eli_216_cohort": { - "M": { - "dateJoined": { - "S": "20230515" - } - } - } - } - } - } - }, - { - "NHS_NUMBER": "9000000006", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS1", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9000000006", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>", - "LAST_SUCCESSFUL_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/.ignore_folder/AUTO_RSV_ELI-216-3.json b/tests/e2e/data/dynamoDB/storyTestData/.ignore_folder/AUTO_RSV_ELI-216-3.json deleted file mode 100644 index 15e70cdc5..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/.ignore_folder/AUTO_RSV_ELI-216-3.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "scenario_name": "ELI-216 - NHS Number check (NHS login) - No Header", - "config_filename": "AUTO_RSV_ELI-216.json", - "request_headers": {}, - "expected_response_code": 403, - "data": [ - { - "NHS_NUMBER": "9000000006", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MAP": { - "cohorts": { - "M": { - "eli_216_cohort": { - "M": { - "dateJoined": { - "S": "20230515" - } - } - } - } - } - } - }, - { - "NHS_NUMBER": "9000000006", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS1", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9000000006", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>", - "LAST_SUCCESSFUL_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-155.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-155.json deleted file mode 100644 index 5ee21f2ec..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-155.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "scenario_name": "RSV - Actionable due to membership of an Age Cohort incl. suggested actions (with booking)", - "config_filenames": [ - "AUTO_RSV_ELI-155.json" - ], - "request_headers": { - "nhs-login-nhs-number": "9000015501" - }, - "data": [ - { - "NHS_NUMBER": "9000015501", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_155_in", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9000015501", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS1", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9000015501", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-216-1.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-216-1.json deleted file mode 100644 index bb6f90337..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-216-1.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "scenario_name": "ELI-216 - NHS Number check (NHS login) - Correct NHS_number", - "config_filenames": [ - "AUTO_RSV_ELI-216.json" - ], - "request_headers": { - "nhs-login-nhs-number": "9900021601" - }, - "data": [ - { - "NHS_NUMBER": "9900021601", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_216_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900021601", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS1", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900021601", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>", - "LAST_SUCCESSFUL_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-219-1.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-219-1.json deleted file mode 100644 index e2123faa6..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-219-1.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "scenario_name": "ELI-219 - 1 - Fails and Rules and Returns Default", - "config_filenames": [ - "AUTO_RSV_ELI-219-1.json" - ], - "request_headers": { - "nhs-login-nhs-number": "9900021901" - }, - "data": [ - { - "NHS_NUMBER": "9900021901", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_291_cohort_1", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900021901", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS1", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900021901", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>", - "LAST_SUCCESSFUL_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-219-2.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-219-2.json deleted file mode 100644 index d7fb26134..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-219-2.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "scenario_name": "ELI-219 - Returns the highest Priority Action", - "config_filenames": [ - "AUTO_RSV_ELI-219-2.json" - ], - "request_headers": { - "nhs-login-nhs-number": "9900021902" - }, - "data": [ - { - "NHS_NUMBER": "9900021902", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_291_cohort_2", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900021902", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS1", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900021902", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>", - "LAST_SUCCESSFUL_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-219-3.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-219-3.json deleted file mode 100644 index ab3094335..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-219-3.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "scenario_name": "ELI-219 - Returns the highest Priority Action", - "config_filenames": [ - "AUTO_RSV_ELI-219-3.json" - ], - "request_headers": { - "nhs-login-nhs-number": "9900021903" - }, - "data": [ - { - "NHS_NUMBER": "9900021903", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_291_cohort_3", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900021903", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS1", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900021903", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>", - "LAST_SUCCESSFUL_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_001.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_001.json deleted file mode 100644 index 0bd1dab97..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_001.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "scenario_name": "ELI-220 - Actionable Cohort Grouping Text - all have descriptions", - "request_headers": { - "nhs-login-nhs-number": "9900220001" - }, - "config_filenames": [ - "AUTO_RSV_ELI-220-01.json" - ], - "data": [ - { - "NHS_NUMBER": "9900220001", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_220_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_220_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_220_cohort_3", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_220_cohort_4", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900220001", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900220001", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_002.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_002.json deleted file mode 100644 index e648620f6..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_002.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "scenario_name": "ELI-220 - Actionable Cohort Grouping Text - highest prio no description", - "request_headers": { - "nhs-login-nhs-number": "9900220002" - }, - "config_filenames": [ - "AUTO_RSV_ELI-220-02.json" - ], - "data": [ - { - "NHS_NUMBER": "9900220002", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_220_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_220_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_220_cohort_3", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_220_cohort_4", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900220002", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900220002", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_003.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_003.json deleted file mode 100644 index c4f0b32c1..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_003.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "scenario_name": "ELI-220 - NotActionable Cohort Grouping Text - all have descriptions", - "request_headers": { - "nhs-login-nhs-number": "9900220003" - }, - "config_filenames": [ - "AUTO_RSV_ELI-220-03.json" - ], - "data": [ - { - "NHS_NUMBER": "9900220003", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_220_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_220_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_220_cohort_3", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_220_cohort_4", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900220003", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "2209900220003", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_004.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_004.json deleted file mode 100644 index fec870ce3..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_004.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "scenario_name": "ELI-220 - NotActionable Cohort Grouping Text - highest prio has no description", - "request_headers": { - "nhs-login-nhs-number": "9900220004" - }, - "config_filenames": [ - "AUTO_RSV_ELI-220-04.json" - ], - "data": [ - { - "NHS_NUMBER": "9900220004", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_220_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_220_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_220_cohort_3", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_220_cohort_4", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900220004", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "2209900220004", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_005.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_005.json deleted file mode 100644 index d76c98660..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_005.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "scenario_name": "ELI-220 - NotEligible Cohort Grouping - all have descriptions", - "request_headers": { - "nhs-login-nhs-number": "9900220005" - }, - "config_filenames": [ - "AUTO_RSV_ELI-220-05.json" - ], - "data": [ - { - "NHS_NUMBER": "9900220005", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_220_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_220_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_220_cohort_3", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_220_cohort_4", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900220005", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "2209900220005", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_006.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_006.json deleted file mode 100644 index 473a82191..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_006.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "scenario_name": "ELI-220 - NotEligible Cohort Grouping - highest prio has no description", - "request_headers": { - "nhs-login-nhs-number": "9900220006" - }, - "config_filenames": [ - "AUTO_RSV_ELI-220-06.json" - ], - "data": [ - { - "NHS_NUMBER": "9900220006", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_220_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_220_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_220_cohort_3", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_220_cohort_4", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900220006", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "2209900220006", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-221-01.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-221-01.json deleted file mode 100644 index 711c81c38..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-221-01.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "RSV - RuleStop: Y", - "request_headers": { - "nhs-login-nhs-number": "9900022101" - }, - "config_filenames": [ - "AUTO_RSV_ELI-221-01.json" - ], - "data": [ - { - "NHS_NUMBER": "9900022101", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_221_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900022101", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "19500601", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "Y", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900022101", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "<>", - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-221-02.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-221-02.json deleted file mode 100644 index 390ed4621..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-221-02.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "RSV - RuleStop: N", - "request_headers": { - "nhs-login-nhs-number": "9900022102" - }, - "config_filenames": [ - "AUTO_RSV_ELI-221-02.json" - ], - "data": [ - { - "NHS_NUMBER": "9900022102", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_221_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900022102", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "19500601", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "Y", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900022102", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "<>", - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-221-03.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-221-03.json deleted file mode 100644 index 89b1eb68c..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-221-03.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "RSV - RuleStop Not included in rules", - "request_headers": { - "nhs-login-nhs-number": "9900022103" - }, - "config_filenames": [ - "AUTO_RSV_ELI-221-03.json" - ], - "data": [ - { - "NHS_NUMBER": "9900022103", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_221_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900022103", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "19500601", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "Y", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900022103", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "<>", - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-1.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-1.json deleted file mode 100644 index 849c4cc94..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-1.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "RSV - Magic Cohort Has Future booking No Vaccination", - "request_headers": { - "nhs-login-nhs-number": "9900022201" - }, - "config_filenames": [ - "AUTO_RSV_ELI-222.json" - ], - "data": [ - { - "NHS_NUMBER": "9900022201", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "other_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900022201", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900022201", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS", - "LAST_SUCCESSFUL_DATE": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-2.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-2.json deleted file mode 100644 index 41c86b84c..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-2.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "RSV - Magic Cohort Has Past booking No Vaccination", - "request_headers": { - "nhs-login-nhs-number": "9900022202" - }, - "config_filenames": [ - "AUTO_RSV_ELI-222.json" - ], - "data": [ - { - "NHS_NUMBER": "9900022202", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "other_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900022202", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900022202", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS", - "LAST_SUCCESSFUL_DATE": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-3.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-3.json deleted file mode 100644 index 0a64750b4..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-3.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "scenario_name": "RSV - Magic Cohort Has a Past RSV Vaccination - Future Booking", - "request_headers": { - "nhs-login-nhs-number": "9900022203" - }, - "config_filenames": [ - "AUTO_RSV_ELI-222.json" - ], - "data": [ - { - "NHS_NUMBER": "9900022203", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900022203", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "<>", - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "ACC" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-4.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-4.json deleted file mode 100644 index d2c506c1e..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-4.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "scenario_name": "RSV - Magic Cohort Has a Past RSV Vaccination - No Booking", - "request_headers": { - "nhs-login-nhs-number": "9900022204" - }, - "config_filenames": [ - "AUTO_RSV_ELI-222.json" - ], - "data": [ - { - "NHS_NUMBER": "9900022204", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "other_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900022204", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900022204", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "<>", - "BOOKED_APPOINTMENT_DATE": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-5.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-5.json deleted file mode 100644 index 709043a33..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-5.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "RSV - Magic Cohort Has a Past RSV Vaccination -Past Booking", - "request_headers": { - "nhs-login-nhs-number": "9900022205" - }, - "config_filenames": [ - "AUTO_RSV_ELI-222.json" - ], - "data": [ - { - "NHS_NUMBER": "9900022205", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "other_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900022205", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900022205", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "<>", - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-6.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-6.json deleted file mode 100644 index c3f8b6359..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-6.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "scenario_name": "RSV -Magic Cohort No Vaccination - No Booking", - "request_headers": { - "nhs-login-nhs-number": "9900022206" - }, - "config_filenames": [ - "AUTO_RSV_ELI-222.json" - ], - "data": [ - { - "NHS_NUMBER": "9900022206", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "other_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900022206", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-7.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-7.json deleted file mode 100644 index 507ab6c3c..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-7.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "RSV - Magic Cohort - NotEligible - In Eligible Cohort - Filtered by age rule", - "request_headers": { - "nhs-login-nhs-number": "9900002227" - }, - "config_filenames": [ - "AUTO_RSV_ELI-222.json" - ], - "data": [ - { - "NHS_NUMBER": "9900002227", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_75to79", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900002227", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900002227", - "ATTRIBUTE_TYPE": "COVID", - "LAST_SUCCESSFUL_DATE": "<>", - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-8.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-8.json deleted file mode 100644 index 0dbd77f5b..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-8.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "scenario_name": "RSV - Magic Cohort - NotActionable - In Eligible Cohort - Filtered by age, but Vaccinated", - "request_headers": { - "nhs-login-nhs-number": "9900002228" - }, - "config_filenames": [ - "AUTO_RSV_ELI-222.json" - ], - "data": [ - { - "NHS_NUMBER": "9900002228", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_75to79", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900002228", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900002228", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_001.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_001.json deleted file mode 100644 index dfc5c7eb3..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_001.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "scenario_name": "ELI-223-001 - Single S Substitution - Single Target - NotActionable", - "request_headers": { - "nhs-login-nhs-number": "9900223001" - }, - "config_filenames": [ - "AUTO_RSV_ELI-223-01.json" - ], - "data": [ - { - "NHS_NUMBER": "9900223001", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_223_cohort_1", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900223001", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900223001", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "<>", - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null - }, - { - "NHS_NUMBER": "9900223001", - "ATTRIBUTE_TYPE": "COVID", - "LAST_SUCCESSFUL_DATE": "<>", - "BOOKED_APPOINTMENT_DATE": "20350101", - "BOOKED_APPOINTMENT_PROVIDER": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_002.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_002.json deleted file mode 100644 index 860e59e77..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_002.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "scenario_name": "ELI-223-002 - 3 x S Substitution - 3 x Different Targets - date of birth - 3 x Different Formats - NotActionable", - "request_headers": { - "nhs-login-nhs-number": "9900223002" - }, - "config_filenames": [ - "AUTO_RSV_ELI-223-02.json" - ], - "data": [ - { - "NHS_NUMBER": "9900223002", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_223_cohort_1", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900223002", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900223002", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "<>", - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null - }, - { - "NHS_NUMBER": "9900223002", - "ATTRIBUTE_TYPE": "COVID", - "LAST_SUCCESSFUL_DATE": "<>", - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null - }, - { - "NHS_NUMBER": "9900223002", - "ATTRIBUTE_TYPE": "FLU", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "20350101", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_003.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_003.json deleted file mode 100644 index 16578139f..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_003.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "scenario_name": "ELI-223-003 - Error - Invalid Token", - "request_headers": { - "nhs-login-nhs-number": "9900223003" - }, - "config_filenames": [ - "AUTO_RSV_ELI-223-03.json" - ], - "expected_response_code": 500, - "data": [ - { - "NHS_NUMBER": "9900223003", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_223_cohort_1", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900223003", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900223003", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "<>", - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null - }, - { - "NHS_NUMBER": "9900223003", - "ATTRIBUTE_TYPE": "COVID", - "LAST_SUCCESSFUL_DATE": "<>", - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null - }, - { - "NHS_NUMBER": "9900223003", - "ATTRIBUTE_TYPE": "FLU", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "20350101", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_004.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_004.json deleted file mode 100644 index 70c10802c..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_004.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "scenario_name": "ELI-223-004 - Missing Values", - "request_headers": { - "nhs-login-nhs-number": "9900223004" - }, - "config_filenames": [ - "AUTO_RSV_ELI-223-04.json" - ], - "data": [ - { - "NHS_NUMBER": "9900223004", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_223_cohort_1", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900223004", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": null, - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": null, - "ICB": null, - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900223004", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null - }, - { - "NHS_NUMBER": "9900223004", - "ATTRIBUTE_TYPE": "COVID", - "LAST_SUCCESSFUL_DATE": "<>", - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_005.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_005.json deleted file mode 100644 index b84fc95b1..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_005.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "scenario_name": "ELI-223-005 - Invalid Date Formatting", - "request_headers": { - "nhs-login-nhs-number": "9900223005" - }, - "config_filenames": [ - "AUTO_RSV_ELI-223-05.json" - ], - "expected_response_code": 500, - "data": [ - { - "NHS_NUMBER": "9900223005", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_223_cohort_1", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900223005", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": null, - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": null, - "ICB": null, - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900223005", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "20250228", - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_006.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_006.json deleted file mode 100644 index 6d4bf1cfe..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_006.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "scenario_name": "ELI-223-006 - S Substitutions AND Rule - NotActionable", - "request_headers": { - "nhs-login-nhs-number": "9900223006" - }, - "config_filenames": [ - "AUTO_RSV_ELI-223-06.json" - ], - "data": [ - { - "NHS_NUMBER": "9900223006", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_223_cohort_1", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900223006", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900223006", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "<>", - "BOOKED_APPOINTMENT_DATE": "20350101", - "BOOKED_APPOINTMENT_PROVIDER": null - }, - { - "NHS_NUMBER": "9900223006", - "ATTRIBUTE_TYPE": "COVID", - "LAST_SUCCESSFUL_DATE": "<>", - "BOOKED_APPOINTMENT_DATE": "20350102", - "BOOKED_APPOINTMENT_PROVIDER": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_007.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_007.json deleted file mode 100644 index fa7699554..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_007.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "scenario_name": "ELI-223-007 - S Substitutions in 2 Rules - NotActionable", - "request_headers": { - "nhs-login-nhs-number": "9900223007" - }, - "config_filenames": [ - "AUTO_RSV_ELI-223-07.json" - ], - "data": [ - { - "NHS_NUMBER": "9900223007", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_223_cohort_1", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900223007", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900223007", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "<>", - "BOOKED_APPOINTMENT_DATE": "20350101", - "BOOKED_APPOINTMENT_PROVIDER": null - }, - { - "NHS_NUMBER": "9900223007", - "ATTRIBUTE_TYPE": "COVID", - "LAST_SUCCESSFUL_DATE": "<>", - "BOOKED_APPOINTMENT_DATE": "20350102", - "BOOKED_APPOINTMENT_PROVIDER": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_008.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_008.json deleted file mode 100644 index 05e85beae..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_008.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "scenario_name": "ELI-223-008 - Substitution in Action - NotEligible", - "request_headers": { - "nhs-login-nhs-number": "9900223008" - }, - "config_filenames": [ - "AUTO_RSV_ELI-223-08.json" - ], - "data": [ - { - "NHS_NUMBER": "9900223008", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900223008", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "<>", - "BOOKED_APPOINTMENT_DATE": "20350101", - "BOOKED_APPOINTMENT_PROVIDER": null - }, - { - "NHS_NUMBER": "9900223008", - "ATTRIBUTE_TYPE": "COVID", - "LAST_SUCCESSFUL_DATE": "<>", - "BOOKED_APPOINTMENT_DATE": "20350102", - "BOOKED_APPOINTMENT_PROVIDER": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_009.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_009.json deleted file mode 100644 index 786b1149a..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_009.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "scenario_name": "ELI-223-009 - Substitution for all Person and Target attributes plus case insensitive", - "request_headers": { - "nhs-login-nhs-number": "9900223009" - }, - "config_filenames": [ - "AUTO_RSV_ELI-223-09.json" - ], - "data": [ - { - "NHS_NUMBER": "9900223009", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_223_cohort_1", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900223009", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "LOCAL_AUTHORITY": "E08000012", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900223009", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "<>", - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS", - "INVALID_DOSES_COUNT": "1", - "LAST_INVITE_DATE": "<>", - "LAST_INVITE_STATUS": "Created", - "LAST_VALID_DOSE_DATE": "<>", - "VALID_DOSES_COUNT": "3" - }, - { - "NHS_NUMBER": "9900223009", - "ATTRIBUTE_TYPE": "COVID", - "LAST_SUCCESSFUL_DATE": "<>", - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "ABC", - "INVALID_DOSES_COUNT": "10", - "LAST_INVITE_DATE": "<>", - "LAST_INVITE_STATUS": "Read", - "LAST_VALID_DOSE_DATE": "<>", - "VALID_DOSES_COUNT": "30" - }, - { - "NHS_NUMBER": "9900223009", - "ATTRIBUTE_TYPE": "FLU", - "LAST_SUCCESSFUL_DATE": "<>", - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "DEF", - "INVALID_DOSES_COUNT": "100", - "LAST_INVITE_DATE": "<>", - "LAST_INVITE_STATUS": "Read", - "LAST_VALID_DOSE_DATE": "<>", - "VALID_DOSES_COUNT": "300" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_010.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_010.json deleted file mode 100644 index b7f04bd10..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_010.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "scenario_name": "ELI-223-010 - Unknown Formating Function", - "request_headers": { - "nhs-login-nhs-number": "9900223010" - }, - "config_filenames": [ - "AUTO_RSV_ELI-223-10.json" - ], - "expected_response_code": 500, - "data": [ - { - "NHS_NUMBER": "9900223010", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_223_cohort_1", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900223010", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": null, - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": null, - "ICB": null, - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900223010", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "20250228", - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_011.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_011.json deleted file mode 100644 index f201463eb..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_011.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "scenario_name": "ELI-223-011 - Substitution in Action - Actionable", - "request_headers": { - "nhs-login-nhs-number": "9900223011" - }, - "config_filenames": [ - "AUTO_RSV_ELI-223-11.json" - ], - "data": [ - { - "NHS_NUMBER": "9900223011", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_223_cohort_1", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900223011", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900223011", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "<>", - "BOOKED_APPOINTMENT_DATE": "20350101", - "BOOKED_APPOINTMENT_PROVIDER": null - }, - { - "NHS_NUMBER": "9900223011", - "ATTRIBUTE_TYPE": "COVID", - "LAST_SUCCESSFUL_DATE": "<>", - "BOOKED_APPOINTMENT_DATE": "20350102", - "BOOKED_APPOINTMENT_PROVIDER": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_012.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_012.json deleted file mode 100644 index 598432672..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_012.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "scenario_name": "ELI-223-012 - Invalid datatype", - "request_headers": { - "nhs-login-nhs-number": "9900223012" - }, - "config_filenames": [ - "AUTO_RSV_ELI-223-12.json" - ], - "expected_response_code": 500, - "data": [ - { - "NHS_NUMBER": "9900223012", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_223_cohort_1", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900223012", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900223012", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "<>>", - "BOOKED_APPOINTMENT_DATE": "20350101", - "BOOKED_APPOINTMENT_PROVIDER": null - }, - { - "NHS_NUMBER": "9900223012", - "ATTRIBUTE_TYPE": "COVID", - "LAST_SUCCESSFUL_DATE": "<>", - "BOOKED_APPOINTMENT_DATE": "20350102", - "BOOKED_APPOINTMENT_PROVIDER": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-236-01.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-236-01.json deleted file mode 100644 index 734a9ae50..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-236-01.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "scenario_name": "RSV - ELI-236 - Add NVL Default to Operators - All null", - "config_filenames": [ - "AUTO_RSV_ELI-236.json" - ], - "request_headers": { - "nhs-login-nhs-number": "9900023601" - }, - "data": [ - { - "NHS_NUMBER": "9900023601", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_236_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900023601", - "ATTRIBUTE_TYPE": "PERSON", - "13Q_FLAG": null, - "CARE_HOME_FLAG": null, - "COMMISSIONING_REGION": null, - "DATE_OF_BIRTH": null, - "DE_FLAG": null, - "GENDER": null, - "GP_PRACTICE_CODE": null, - "ICB": null, - "LOCAL_AUTHORITY": null, - "LSOA": null, - "MSOA": null, - "PCN": null, - "POSTCODE": null, - "POSTCODE_OUTCODE": null, - "POSTCODE_SECTOR": null - }, - { - "NHS_NUMBER": "9900023601", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null, - "INVALID_DOSES_COUNT": null, - "LAST_INVITE_DATE": null, - "LAST_INVITE_STATUS": null, - "LAST_SUCCESSFUL_DATE": null, - "LAST_VALID_DOSE_DATE": null, - "VALID_DOSES_COUNT": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-236-02.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-236-02.json deleted file mode 100644 index a9180cde0..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-236-02.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "scenario_name": "RSV - ELI-236 - Add NVL Default to Operators - Nulls Filled", - "config_filenames": [ - "AUTO_RSV_ELI-236.json" - ], - "request_headers": { - "nhs-login-nhs-number": "9900023602" - }, - "data": [ - { - "NHS_NUMBER": "9900023602", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_236_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900023602", - "ATTRIBUTE_TYPE": "PERSON", - "13Q_FLAG": "Y", - "CARE_HOME_FLAG": "Y", - "COMMISSIONING_REGION": "1", - "DATE_OF_BIRTH": "19801115", - "DE_FLAG": null, - "GENDER": "1", - "GP_PRACTICE_CODE": "10563", - "ICB": null, - "LOCAL_AUTHORITY": null, - "LSOA": null, - "MSOA": null, - "PCN": null, - "POSTCODE": null, - "POSTCODE_OUTCODE": null, - "POSTCODE_SECTOR": null - }, - { - "NHS_NUMBER": "9900023602", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": null, - "INVALID_DOSES_COUNT": null, - "LAST_INVITE_DATE": "<>", - "LAST_INVITE_STATUS": null, - "LAST_SUCCESSFUL_DATE": null, - "LAST_VALID_DOSE_DATE": "<>", - "VALID_DOSES_COUNT": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_001.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_001.json deleted file mode 100644 index e27daa61a..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_001.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "scenario_name": "ELI-274 - Create/return Not Actionable reasons - Trigger No Suitability Rules - Actionable", - "request_headers": { - "nhs-login-nhs-number": "9900247001" - }, - "config_filenames": [ - "AUTO_RSV_ELI-274-01.json" - ], - "data": [ - { - "NHS_NUMBER": "9900247001", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_274_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_274_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_274_cohort_3", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900247001", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900247001", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_002.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_002.json deleted file mode 100644 index aadf9602c..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_002.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "scenario_name": "ELI-274 - Create/return Not Actionable reasons - Trigger 1 Suitability Rule - Actionable", - "request_headers": { - "nhs-login-nhs-number": "9900247002" - }, - "config_filenames": [ - "AUTO_RSV_ELI-274-01.json" - ], - "data": [ - { - "NHS_NUMBER": "9900247002", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_274_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_274_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_274_cohort_3", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900247002", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900247002", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_003.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_003.json deleted file mode 100644 index 1c4184309..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_003.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "scenario_name": "ELI-274 - Create/return Not Actionable reasons - Trigger 2 Suitability Rules - Actionable", - "request_headers": { - "nhs-login-nhs-number": "9900247003" - }, - "config_filenames": [ - "AUTO_RSV_ELI-274-01.json" - ], - "data": [ - { - "NHS_NUMBER": "9900247003", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_274_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_274_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_274_cohort_3", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900247003", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "AAA", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900247003", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_004.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_004.json deleted file mode 100644 index 472e91fc0..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_004.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "scenario_name": "ELI-274 - Create/return Not Actionable reasons - Trigger 3 Suitability Rules with Different Names - NotActionable", - "request_headers": { - "nhs-login-nhs-number": "9900247004" - }, - "config_filenames": [ - "AUTO_RSV_ELI-274-01.json" - ], - "data": [ - { - "NHS_NUMBER": "9900247004", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_274_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_274_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_274_cohort_3", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900247004", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "AAA", - "COMMISSIONING_REGION": "ZZZ", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900247004", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_005.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_005.json deleted file mode 100644 index b07b7a3ad..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_005.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "scenario_name": "ELI-274 - Create/return Not Actionable reasons - Trigger 3 Suitability Rules 2 with same name 1 with different Name - NotActionable", - "request_headers": { - "nhs-login-nhs-number": "9900247005" - }, - "config_filenames": [ - "AUTO_RSV_ELI-274-05.json" - ], - "data": [ - { - "NHS_NUMBER": "9900247005", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_274_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_274_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_274_cohort_3", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900247005", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "AAA", - "COMMISSIONING_REGION": "ZZZ", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900247005", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_006.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_006.json deleted file mode 100644 index 92f7668e9..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_006.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "scenario_name": "ELI-274 - Create/return Not Actionable reasons - Trigger 3 Suitability Rules all with same names - NotActionable", - "request_headers": { - "nhs-login-nhs-number": "9900247006" - }, - "config_filenames": [ - "AUTO_RSV_ELI-274-06.json" - ], - "data": [ - { - "NHS_NUMBER": "9900247006", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_274_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_274_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_274_cohort_3", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900247006", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "AAA", - "COMMISSIONING_REGION": "ZZZ", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900247006", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_007.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_007.json deleted file mode 100644 index 615a82e60..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_007.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "scenario_name": "ELI-274 - Create/return Not Actionable reasons - Trigger 3 Suitability Rules all with same names - 1st No description - NotActionable", - "request_headers": { - "nhs-login-nhs-number": "9900247007" - }, - "config_filenames": [ - "AUTO_RSV_ELI-274-07.json" - ], - "data": [ - { - "NHS_NUMBER": "9900247007", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_274_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_274_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_274_cohort_3", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900247007", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "AAA", - "COMMISSIONING_REGION": "ZZZ", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900247007", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-01.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-01.json deleted file mode 100644 index 30d6495e7..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-01.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "scenario_name": "ELI-295 - Not Eligible - Blank (\"\") Default X Rule - No Actions", - "request_headers": { - "nhs-login-nhs-number": "9900029501" - }, - "config_filenames": [ - "AUTO_RSV_ELI-295-1.json" - ], - "data": [ - { - "NHS_NUMBER": "9900029501", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_295_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900029501", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-02.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-02.json deleted file mode 100644 index 0fd8fb4b5..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-02.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "scenario_name": "ELI-295 - Not Actionable - Blank (\"\") Default Y Rule - No Actions", - "request_headers": { - "nhs-login-nhs-number": "9900029502" - }, - "config_filenames": [ - "AUTO_RSV_ELI-295-1.json" - ], - "data": [ - { - "NHS_NUMBER": "9900029502", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_295_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900029502", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-03.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-03.json deleted file mode 100644 index 418e0d19c..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-03.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "scenario_name": "ELI-295 - Actionable - Blank (\"\") Default R Rule - No Actions", - "request_headers": { - "nhs-login-nhs-number": "9900029503" - }, - "config_filenames": [ - "AUTO_RSV_ELI-295-2.json" - ], - "data": [ - { - "NHS_NUMBER": "9900029503", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_295_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900029503", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-04.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-04.json deleted file mode 100644 index a049d6a19..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-04.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "scenario_name": "ELI-295 - Not Eligible -Trigger the Default X Rule", - "note": "triggers the default due to being 75", - "request_headers": { - "nhs-login-nhs-number": "9900029504" - }, - "config_filenames": [ - "AUTO_RSV_ELI-295-2.json" - ], - "data": [ - { - "NHS_NUMBER": "9900029504", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "other_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900029504", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-05.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-05.json deleted file mode 100644 index 0de52991d..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-05.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "scenario_name": "ELI-295 - Not Actionable -Trigger the Default Y Rule", - "request_headers": { - "nhs-login-nhs-number": "9900029505" - }, - "config_filenames": [ - "AUTO_RSV_ELI-295-2.json" - ], - "data": [ - { - "NHS_NUMBER": "9900029505", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_295_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900029505", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-06.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-06.json deleted file mode 100644 index 7c91ff9ee..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-06.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "scenario_name": "ELI-295 - Actionable -Trigger the Default R Rule", - "request_headers": { - "nhs-login-nhs-number": "9900029506" - }, - "config_filenames": [ - "AUTO_RSV_ELI-295-1.json" - ], - "data": [ - { - "NHS_NUMBER": "9900029506", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_295_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900029506", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-07.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-07.json deleted file mode 100644 index 14fdd0b20..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-07.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "scenario_name": "ELI-295 - NotEligible -Trigger an X Rule", - "request_headers": { - "nhs-login-nhs-number": "9900029507" - }, - "config_filenames": [ - "AUTO_RSV_ELI-295-2.json" - ], - "data": [ - { - "NHS_NUMBER": "9900029507", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_295_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900029507", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-08.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-08.json deleted file mode 100644 index cf57ec142..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-08.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "scenario_name": "ELI-295 - NotActionable -Trigger the Y Rule", - "request_headers": { - "nhs-login-nhs-number": "9900029508" - }, - "config_filenames": [ - "AUTO_RSV_ELI-295-2.json" - ], - "data": [ - { - "NHS_NUMBER": "9900029508", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_295_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900029508", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-09.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-09.json deleted file mode 100644 index 06bb1f9e4..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-09.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "scenario_name": "ELI-295 - Actionable -Trigger the R Rule", - "request_headers": { - "nhs-login-nhs-number": "9900029509" - }, - "config_filenames": [ - "AUTO_RSV_ELI-295-2.json" - ], - "data": [ - { - "NHS_NUMBER": "9900029509", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_295_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900029509", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900029509", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-10.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-10.json deleted file mode 100644 index 1228230ad..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-10.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "scenario_name": "ELI-295 - NotEligible -Trigger an X Rule - includeActions N", - "request_headers": { - "nhs-login-nhs-number": "9900029510" - }, - "query_params": { - "includeActions": "N" - }, - "config_filenames": [ - "AUTO_RSV_ELI-295-2.json" - ], - "data": [ - { - "NHS_NUMBER": "9900029510", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_295_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900029510", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-11.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-11.json deleted file mode 100644 index 8ef6cdfc9..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-11.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "scenario_name": "ELI-295 - NotActionable -Trigger the Y Rule - includeActions N", - "request_headers": { - "nhs-login-nhs-number": "9900029511" - }, - "query_params": { - "includeActions": "N" - }, - "config_filenames": [ - "AUTO_RSV_ELI-295-2.json" - ], - "data": [ - { - "NHS_NUMBER": "9900029511", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_295_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900029511", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-12.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-12.json deleted file mode 100644 index 0672281d5..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-12.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "scenario_name": "ELI-295 - Actionable -Trigger the R Rule - includeActions N", - "request_headers": { - "nhs-login-nhs-number": "9900029512" - }, - "query_params": { - "includeActions": "N" - }, - "config_filenames": [ - "AUTO_RSV_ELI-295-2.json" - ], - "data": [ - { - "NHS_NUMBER": "9900029512", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_295_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900029512", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900029512", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-13.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-13.json deleted file mode 100644 index ff2d8fde6..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-13.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "scenario_name": "ELI-295 - NotEligible -Trigger an X Rule - Mulitple Actions", - "request_headers": { - "nhs-login-nhs-number": "9900029513" - }, - "config_filenames": [ - "AUTO_RSV_ELI-295-3.json" - ], - "data": [ - { - "NHS_NUMBER": "9900029513", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "other_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900029513", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-14.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-14.json deleted file mode 100644 index 524d8ea13..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-14.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "scenario_name": "ELI-295 - NotActionable -Trigger the Y Rule - Mulitple Actions", - "request_headers": { - "nhs-login-nhs-number": "9900029514" - }, - "config_filenames": [ - "AUTO_RSV_ELI-295-3.json" - ], - "data": [ - { - "NHS_NUMBER": "9900029514", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_295_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900029514", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-15.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-15.json deleted file mode 100644 index a5119e63c..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-15.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "scenario_name": "ELI-295 - Actionable -Trigger the R Rule - Mulitple Actions", - "request_headers": { - "nhs-login-nhs-number": "9900029515" - }, - "config_filenames": [ - "AUTO_RSV_ELI-295-3.json" - ], - "data": [ - { - "NHS_NUMBER": "9900029515", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_295_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900029515", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900029515", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-16.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-16.json deleted file mode 100644 index b308eed7b..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-16.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "scenario_name": "ELI-295 - NotEligible -Trigger an highest prio X Rule", - "request_headers": { - "nhs-login-nhs-number": "9900029516" - }, - "config_filenames": [ - "AUTO_RSV_ELI-295-4.json" - ], - "data": [ - { - "NHS_NUMBER": "9900029516", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_295_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900029516", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-17.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-17.json deleted file mode 100644 index b08c5a223..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-17.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "scenario_name": "ELI-295 - NotActionable -Trigger the highest prio Y Rule", - "request_headers": { - "nhs-login-nhs-number": "9900029517" - }, - "config_filenames": [ - "AUTO_RSV_ELI-295-4.json" - ], - "data": [ - { - "NHS_NUMBER": "9900029517", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_295_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900029517", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-1.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-1.json deleted file mode 100644 index 0c33dfd70..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-1.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "scenario_name": "ELI-317 - Testing the new requirement from Vita around empty actions ", - "config_filenames": [ - "AUTO_RSV_ELI-317-1.json" - ], - "request_headers": { - "nhs-login-nhs-number": "9900031701" - }, - "query_params": { - "includeActions": "Y" - }, - "data": [ - { - "NHS_NUMBER": "9900031701", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_317_cohort_1", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900031701", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS1", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900031701", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>", - "LAST_SUCCESSFUL_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-2.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-2.json deleted file mode 100644 index 299340742..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-2.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "scenario_name": "ELI-317 - Testing the new requirement from Vita around empty actions ", - "config_filenames": [ - "AUTO_RSV_ELI-317-2.json" - ], - "request_headers": { - "nhs-login-nhs-number": "9900031702" - }, - "query_params": { - "includeActions": "Y" - }, - "data": [ - { - "NHS_NUMBER": "9900031702", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_317_cohort_2", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900031702", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS1", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900031702", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>", - "LAST_SUCCESSFUL_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-3.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-3.json deleted file mode 100644 index e9ce9df25..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-3.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "scenario_name": "ELI-317 - includeActions=N ", - "config_filenames": [ - "AUTO_RSV_ELI-317-3.json" - ], - "request_headers": { - "nhs-login-nhs-number": "9900031703" - }, - "query_params": { - "includeActions": "N" - }, - "data": [ - { - "NHS_NUMBER": "9900031703", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_317_cohort_3", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900031703", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS1", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900031703", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>", - "LAST_SUCCESSFUL_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-4.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-4.json deleted file mode 100644 index ce14e995d..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-4.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "scenario_name": "ELI-317 - includeActions=Y, but no actions in response ", - "config_filenames": [ - "AUTO_RSV_ELI-317-4.json" - ], - "request_headers": { - "nhs-login-nhs-number": "9900031704" - }, - "query_params": { - "includeActions": "Y" - }, - "data": [ - { - "NHS_NUMBER": "9900031704", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_317_cohort_4", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900031704", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS1", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-5.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-5.json deleted file mode 100644 index 28f0efa7a..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-5.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "scenario_name": "ELI-317 - Multiple actions", - "config_filenames": [ - "AUTO_RSV_ELI-317-5.json" - ], - "request_headers": { - "nhs-login-nhs-number": "9900031705" - }, - "query_params": { - "includeActions": "Y" - }, - "data": [ - { - "NHS_NUMBER": "9900031705", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_317_cohort_5", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900031705", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "LS1 1AB", - "POSTCODE_SECTOR": "LS1", - "POSTCODE_OUTCODE": "1AB", - "MSOA": "E02001111", - "LSOA": "E01005348", - "GP_PRACTICE_CODE": "B87008", - "PCN": "U43084", - "ICB": "QWO", - "COMMISSIONING_REGION": "Y63", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-1.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-1.json deleted file mode 100644 index 40fef6018..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-1.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "scenario_name": "ELI-320 - Multiple Condition Campaigns - Condition Query - None", - "request_headers": { - "nhs-login-nhs-number": "9990032010" - }, - "config_filenames": [ - "AUTO_RSV_ELI-320-COVID.json", - "AUTO_RSV_ELI-320-RSV.json", - "AUTO_RSV_ELI-320-MMR.json" - ], - "data": [ - { - "NHS_NUMBER": "9990032010", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "covid_cohort", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9990032010", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "19500601", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9990032010", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>", - "LAST_SUCCESSFUL_DATE": "<>" - }, - { - "NHS_NUMBER": "9990032010", - "ATTRIBUTE_TYPE": "COVID", - "BOOKED_APPOINTMENT_DATE": "<>", - "LAST_SUCCESSFUL_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-10.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-10.json deleted file mode 100644 index 458d220f7..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-10.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "scenario_name": "ELI-320 - Multiple Category Campaigns - Category=VACCINATIONS Condition=covid", - "request_headers": { - "nhs-login-nhs-number": "9900032010" - }, - "query_params": { - "category": "VACCINATIONS", - "conditions": "covid" - }, - "config_filenames": [ - "AUTO_RSV_ELI-320-COVID.json", - "AUTO_RSV_ELI-320-MMR.json", - "AUTO_RSV_ELI-320-SCREENING-1.json", - "AUTO_RSV_ELI-320-SCREENING-2.json" - ], - "data": [ - { - "NHS_NUMBER": "9900032010", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "covid_cohort", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_cohort", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "FLU_screening_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900032010", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "19500601", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900032010", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>", - "LAST_SUCCESSFUL_DATE": "<>" - }, - { - "NHS_NUMBER": "9900032010", - "ATTRIBUTE_TYPE": "COVID", - "BOOKED_APPOINTMENT_DATE": "<>", - "LAST_SUCCESSFUL_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-11.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-11.json deleted file mode 100644 index 770ba1830..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-11.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "scenario_name": "ELI-320 - Multiple Category Campaigns - Condition not active", - "request_headers": { - "nhs-login-nhs-number": "9900032011" - }, - "query_params": { - "category": "VACCINATIONS", - "conditions": "HPV" - }, - "config_filenames": [ - "AUTO_RSV_ELI-320-COVID.json", - "AUTO_RSV_ELI-320-MMR.json", - "AUTO_RSV_ELI-320-SCREENING-1.json", - "AUTO_RSV_ELI-320-SCREENING-2.json" - ], - "data": [ - { - "NHS_NUMBER": "9900032011", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "covid_cohort", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_cohort", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "FLU_screening_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900032011", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "19500601", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900032011", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>", - "LAST_SUCCESSFUL_DATE": "<>" - }, - { - "NHS_NUMBER": "9900032011", - "ATTRIBUTE_TYPE": "COVID", - "BOOKED_APPOINTMENT_DATE": "<>", - "LAST_SUCCESSFUL_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-2.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-2.json deleted file mode 100644 index a852a6fb8..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-2.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "scenario_name": "ELI-320 - Multiple Condition Campaigns - Condition Query - ALL", - "request_headers": { - "nhs-login-nhs-number": "9990032020" - }, - "query_params": { - "conditions": "ALL" - }, - "config_filenames": [ - "AUTO_RSV_ELI-320-COVID.json", - "AUTO_RSV_ELI-320-RSV.json", - "AUTO_RSV_ELI-320-MMR.json" - ], - "data": [ - { - "NHS_NUMBER": "9990032020", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "covid_cohort", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9990032020", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "19500601", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9990032020", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>", - "LAST_SUCCESSFUL_DATE": "<>" - }, - { - "NHS_NUMBER": "9990032020", - "ATTRIBUTE_TYPE": "COVID", - "BOOKED_APPOINTMENT_DATE": "<>", - "LAST_SUCCESSFUL_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-3.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-3.json deleted file mode 100644 index beb538c32..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-3.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "scenario_name": "ELI-320 - Multiple Condition Campaigns - Condition Query - Covid", - "request_headers": { - "nhs-login-nhs-number": "9990032030" - }, - "query_params": { - "conditions": "covid" - }, - "config_filenames": [ - "AUTO_RSV_ELI-320-COVID.json", - "AUTO_RSV_ELI-320-RSV.json", - "AUTO_RSV_ELI-320-MMR.json" - ], - "data": [ - { - "NHS_NUMBER": "9990032030", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "covid_cohort", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9990032030", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "19500601", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9990032030", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>", - "LAST_SUCCESSFUL_DATE": "<>" - }, - { - "NHS_NUMBER": "9990032030", - "ATTRIBUTE_TYPE": "COVID", - "BOOKED_APPOINTMENT_DATE": "<>", - "LAST_SUCCESSFUL_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-4.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-4.json deleted file mode 100644 index 26dcebca6..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-4.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "scenario_name": "ELI-320 - Multiple Condition Campaigns - Condition Query - MMR", - "request_headers": { - "nhs-login-nhs-number": "9990032040" - }, - "query_params": { - "conditions": "MMR" - }, - "config_filenames": [ - "AUTO_RSV_ELI-320-COVID.json", - "AUTO_RSV_ELI-320-RSV.json", - "AUTO_RSV_ELI-320-MMR.json" - ], - "data": [ - { - "NHS_NUMBER": "9990032040", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "covid_cohort", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9990032040", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "19500601", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9990032040", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>", - "LAST_SUCCESSFUL_DATE": "<>" - }, - { - "NHS_NUMBER": "9990032040", - "ATTRIBUTE_TYPE": "COVID", - "BOOKED_APPOINTMENT_DATE": "<>", - "LAST_SUCCESSFUL_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-5.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-5.json deleted file mode 100644 index 55e37ebe4..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-5.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "scenario_name": "ELI-320 - Multiple Condition Campaigns - Condition Query - RSV, MMR", - "request_headers": { - "nhs-login-nhs-number": "9990032050" - }, - "query_params": { - "conditions": "RSV,MMR" - }, - "config_filenames": [ - "AUTO_RSV_ELI-320-COVID.json", - "AUTO_RSV_ELI-320-RSV.json", - "AUTO_RSV_ELI-320-MMR.json" - ], - "data": [ - { - "NHS_NUMBER": "9990032050", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "covid_cohort", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9990032050", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "19500601", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9990032050", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>", - "LAST_SUCCESSFUL_DATE": "<>" - }, - { - "NHS_NUMBER": "9990032050", - "ATTRIBUTE_TYPE": "COVID", - "BOOKED_APPOINTMENT_DATE": "<>", - "LAST_SUCCESSFUL_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-6.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-6.json deleted file mode 100644 index dfeba54b7..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-6.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "scenario_name": "ELI-320 - Multiple Category Campaigns - Category missing", - "request_headers": { - "nhs-login-nhs-number": "9990032060" - }, - "query_params": { - "category": null - }, - "config_filenames": [ - "AUTO_RSV_ELI-320-COVID.json", - "AUTO_RSV_ELI-320-MMR.json", - "AUTO_RSV_ELI-320-SCREENING-1.json", - "AUTO_RSV_ELI-320-SCREENING-2.json" - ], - "data": [ - { - "NHS_NUMBER": "9990032060", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "covid_cohort", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_cohort", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "FLU_screening_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9990032060", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "19500601", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9990032060", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>", - "LAST_SUCCESSFUL_DATE": "<>" - }, - { - "NHS_NUMBER": "9990032060", - "ATTRIBUTE_TYPE": "COVID", - "BOOKED_APPOINTMENT_DATE": "<>", - "LAST_SUCCESSFUL_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-7.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-7.json deleted file mode 100644 index 4c4b88da9..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-7.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "scenario_name": "ELI-320 - Multiple Category Campaigns - Category=ALL", - "request_headers": { - "nhs-login-nhs-number": "9990032070" - }, - "query_params": { - "category": "all" - }, - "config_filenames": [ - "AUTO_RSV_ELI-320-COVID.json", - "AUTO_RSV_ELI-320-MMR.json", - "AUTO_RSV_ELI-320-SCREENING-1.json", - "AUTO_RSV_ELI-320-SCREENING-2.json" - ], - "data": [ - { - "NHS_NUMBER": "9990032070", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "covid_cohort", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_cohort", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "FLU_screening_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9990032070", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "19500601", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9990032070", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>", - "LAST_SUCCESSFUL_DATE": "<>" - }, - { - "NHS_NUMBER": "9990032070", - "ATTRIBUTE_TYPE": "COVID", - "BOOKED_APPOINTMENT_DATE": "<>", - "LAST_SUCCESSFUL_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-8.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-8.json deleted file mode 100644 index ed17315b7..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-8.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "scenario_name": "ELI-320 - Multiple Category Campaigns - Category=screening", - "request_headers": { - "nhs-login-nhs-number": "9990032080" - }, - "query_params": { - "category": "screening" - }, - "config_filenames": [ - "AUTO_RSV_ELI-320-COVID.json", - "AUTO_RSV_ELI-320-MMR.json", - "AUTO_RSV_ELI-320-SCREENING-1.json", - "AUTO_RSV_ELI-320-SCREENING-2.json" - ], - "data": [ - { - "NHS_NUMBER": "9990032080", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "covid_cohort", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_cohort", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "FLU_screening_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9990032080", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "19500601", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9990032080", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>", - "LAST_SUCCESSFUL_DATE": "<>" - }, - { - "NHS_NUMBER": "9990032080", - "ATTRIBUTE_TYPE": "COVID", - "BOOKED_APPOINTMENT_DATE": "<>", - "LAST_SUCCESSFUL_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-9.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-9.json deleted file mode 100644 index 64be5dfd3..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-9.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "scenario_name": "ELI-320 - Multiple Category Campaigns - Category=VACCINATIONS", - "request_headers": { - "nhs-login-nhs-number": "9900032090" - }, - "query_params": { - "category": "VACCINATIONS" - }, - "config_filenames": [ - "AUTO_RSV_ELI-320-COVID.json", - "AUTO_RSV_ELI-320-MMR.json", - "AUTO_RSV_ELI-320-SCREENING-1.json", - "AUTO_RSV_ELI-320-SCREENING-2.json" - ], - "data": [ - { - "NHS_NUMBER": "9900032090", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "covid_cohort", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_cohort", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "FLU_screening_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900032090", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "19500601", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900032090", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>", - "LAST_SUCCESSFUL_DATE": "<>" - }, - { - "NHS_NUMBER": "9900032090", - "ATTRIBUTE_TYPE": "COVID", - "BOOKED_APPOINTMENT_DATE": "<>", - "LAST_SUCCESSFUL_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_001.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_001.json deleted file mode 100644 index 0b08b65d5..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_001.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "scenario_name": "RSV - Actionable - Magic Cohort Has Future booking No Vaccination", - "request_headers": { - "nhs-login-nhs-number": "9900036501" - }, - "config_filenames": [ - "AUTO_RSV_ELI-365.json" - ], - "data": [ - { - "NHS_NUMBER": "9900036501", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "other_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900036501", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900036501", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_002.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_002.json deleted file mode 100644 index 0fff27492..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_002.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "RSV - NotEligible -Magic Cohort Has Past booking No Vaccination", - "request_headers": { - "nhs-login-nhs-number": "9900036502" - }, - "config_filenames": [ - "AUTO_RSV_ELI-365.json" - ], - "data": [ - { - "NHS_NUMBER": "9900036502", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "other_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900036502", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900036502", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS", - "LAST_SUCCESSFUL_DATE": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_003.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_003.json deleted file mode 100644 index 51b29ed9c..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_003.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "scenario_name": "RSV - NotActionable - Magic Cohort Has a Past RSV Vaccination - Future Booking", - "request_headers": { - "nhs-login-nhs-number": "9900036503" - }, - "config_filenames": [ - "AUTO_RSV_ELI-365.json" - ], - "data": [ - { - "NHS_NUMBER": "9900036503", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900036503", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "<>", - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "ACC" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_004.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_004.json deleted file mode 100644 index 999c96cac..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_004.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "scenario_name": "RSV - NotActionable - Magic Cohort Has a Past RSV Vaccination - No Booking", - "request_headers": { - "nhs-login-nhs-number": "9900036504" - }, - "config_filenames": [ - "AUTO_RSV_ELI-365.json" - ], - "data": [ - { - "NHS_NUMBER": "9900036504", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "other_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900036504", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900036504", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "<>", - "BOOKED_APPOINTMENT_DATE": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_005.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_005.json deleted file mode 100644 index 57b9d2ed6..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_005.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "RSV - NotActionable - Magic Cohort Has a Past RSV Vaccination - Past Booking", - "request_headers": { - "nhs-login-nhs-number": "9900036505" - }, - "config_filenames": [ - "AUTO_RSV_ELI-365.json" - ], - "data": [ - { - "NHS_NUMBER": "9900036505", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "other_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900036505", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900036505", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "<>", - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_006.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_006.json deleted file mode 100644 index f4a3c24a2..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_006.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "scenario_name": "RSV - NotEligible -Magic Cohort No Vaccination - No Booking", - "request_headers": { - "nhs-login-nhs-number": "9900036506" - }, - "config_filenames": [ - "AUTO_RSV_ELI-365.json" - ], - "data": [ - { - "NHS_NUMBER": "9900036506", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "other_cohort", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900036506", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_007.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_007.json deleted file mode 100644 index 62812795e..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_007.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "RSV - NotEligible - Magic Cohort - In Eligible Cohort - Filtered by age rule", - "request_headers": { - "nhs-login-nhs-number": "9900036507" - }, - "config_filenames": [ - "AUTO_RSV_ELI-365.json" - ], - "data": [ - { - "NHS_NUMBER": "9900036507", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_75to79", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900036507", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900036507", - "ATTRIBUTE_TYPE": "COVID", - "LAST_SUCCESSFUL_DATE": "<>", - "BOOKED_APPOINTMENT_DATES": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_008.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_008.json deleted file mode 100644 index 669b8b55e..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_008.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "scenario_name": "RSV - NotActionable - Magic Cohort - In Eligible Cohort - Filtered by age, but Vaccinated", - "request_headers": { - "nhs-login-nhs-number": "9900036508" - }, - "config_filenames": [ - "AUTO_RSV_ELI-365.json" - ], - "data": [ - { - "NHS_NUMBER": "9900036508", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_75to79", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900036508", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900036508", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_009.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_009.json deleted file mode 100644 index 2201d5b31..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_009.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "RSV - NotEligible - Under Age F Rule - rsv_75to79", - "request_headers": { - "nhs-login-nhs-number": "9900036509" - }, - "config_filenames": [ - "AUTO_RSV_ELI-365.json" - ], - "data": [ - { - "NHS_NUMBER": "9900036509", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_75to79", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900036509", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900036509", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_010.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_010.json deleted file mode 100644 index 96f1a407a..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_010.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "RSV - NotEligible - Over Age F Rule - rsv_75to79", - "request_headers": { - "nhs-login-nhs-number": "9900036510" - }, - "config_filenames": [ - "AUTO_RSV_ELI-365.json" - ], - "data": [ - { - "NHS_NUMBER": "9900036510", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_75to79", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900036510", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "19440901", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900036510", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_011.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_011.json deleted file mode 100644 index fe6b07b59..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_011.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "RSV - NotEligible - Under Age F Rule - rsv_80_since_02_Sept_2024", - "request_headers": { - "nhs-login-nhs-number": "9900036511" - }, - "config_filenames": [ - "AUTO_RSV_ELI-365.json" - ], - "data": [ - { - "NHS_NUMBER": "9900036511", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_80_since_02_Sept_2024", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900036511", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900036511", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_012.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_012.json deleted file mode 100644 index a37e23ee7..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_012.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "RSV - NotEligible - Over Age F Rule - rsv_80_since_02_Sept_2024", - "request_headers": { - "nhs-login-nhs-number": "9900036512" - }, - "config_filenames": [ - "AUTO_RSV_ELI-365.json" - ], - "data": [ - { - "NHS_NUMBER": "9900036512", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_80_since_02_Sept_2024", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900036512", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "19440901", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900036512", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_013.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_013.json deleted file mode 100644 index ca0510b12..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_013.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "RSV - NotActionable - In Eligible Cohort - Already Vaccinated", - "request_headers": { - "nhs-login-nhs-number": "9900036513" - }, - "config_filenames": [ - "AUTO_RSV_ELI-365.json" - ], - "data": [ - { - "NHS_NUMBER": "9900036513", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_80_since_02_Sept_2024", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900036513", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900036513", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "<>", - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_014.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_014.json deleted file mode 100644 index ca394208c..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_014.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "RSV - NotActionable - In rsv_80_since_02_Sept_2024 Cohort - Carehome - No Booking", - "request_headers": { - "nhs-login-nhs-number": "9900036514" - }, - "config_filenames": [ - "AUTO_RSV_ELI-365.json" - ], - "data": [ - { - "NHS_NUMBER": "9900036514", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_80_since_02_Sept_2024", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900036514", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "Y", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900036514", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_015.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_015.json deleted file mode 100644 index 405635d1c..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_015.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "RSV - NotActionable - In rsv_75to79 Cohort - Detained Estates - No Booking", - "request_headers": { - "nhs-login-nhs-number": "9900036515" - }, - "config_filenames": [ - "AUTO_RSV_ELI-365.json" - ], - "data": [ - { - "NHS_NUMBER": "9900036515", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_75to79", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900036515", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900036515", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_016.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_016.json deleted file mode 100644 index 0a84624d8..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_016.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "scenario_name": "RSV - Actionable - In rsv_75to79 Cohort - 13Q - No Booking", - "request_headers": { - "nhs-login-nhs-number": "9900036516" - }, - "config_filenames": [ - "AUTO_RSV_ELI-365.json" - ], - "data": [ - { - "NHS_NUMBER": "9900036516", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_75to79", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900036516", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "Y", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900036516", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null - }, - { - "NHS_NUMBER": "9900036516", - "ATTRIBUTE_TYPE": "COVID", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_017.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_017.json deleted file mode 100644 index 901917b13..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_017.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "RSV - Actionable - In rsv_75to79 Cohort - Carehome - With Local Booking", - "request_headers": { - "nhs-login-nhs-number": "9900036517" - }, - "config_filenames": [ - "AUTO_RSV_ELI-365.json" - ], - "data": [ - { - "NHS_NUMBER": "9900036517", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_75to79", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900036517", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "Y", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900036517", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "ACC" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_018.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_018.json deleted file mode 100644 index dc5de3881..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_018.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "RSV - Actionable - In rsv_80_since_02_Sept_2024 Cohort - Detained Estates - NBS Booking", - "request_headers": { - "nhs-login-nhs-number": "9900036518" - }, - "config_filenames": [ - "AUTO_RSV_ELI-365.json" - ], - "data": [ - { - "NHS_NUMBER": "9900036518", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_80_since_02_Sept_2024", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900036518", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900036518", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_019.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_019.json deleted file mode 100644 index 6f38bac43..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_019.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "RSV - Actionable - In rsv_80_since_02_Sept_2024 Cohort - 13Q - NBS Booking", - "request_headers": { - "nhs-login-nhs-number": "9900036519" - }, - "config_filenames": [ - "AUTO_RSV_ELI-365.json" - ], - "data": [ - { - "NHS_NUMBER": "9900036519", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_80_since_02_Sept_2024", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900036519", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "Y", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900036519", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_020.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_020.json deleted file mode 100644 index 6b8c81428..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_020.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "RSV - Actionable - In rsv_80_since_02_Sept_2024 Cohort - CP Expansion Area - ICB", - "request_headers": { - "nhs-login-nhs-number": "9900036520" - }, - "config_filenames": [ - "AUTO_RSV_ELI-365.json" - ], - "data": [ - { - "NHS_NUMBER": "9900036520", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_80_since_02_Sept_2024", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900036520", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QJG", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900036520", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_021.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_021.json deleted file mode 100644 index 33696fc63..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_021.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "scenario_name": "RSV - Actionable - In rsv_80_since_02_Sept_2024 Cohort - CP Expansion Area - Local Authority", - "request_headers": { - "nhs-login-nhs-number": "9900036521" - }, - "config_filenames": [ - "AUTO_RSV_ELI-365.json" - ], - "data": [ - { - "NHS_NUMBER": "9900036521", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_80_since_02_Sept_2024", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900036521", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "ABC", - "LOCAL_AUTHORITY": "E08000011", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900036521", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_022.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_022.json deleted file mode 100644 index a4286be82..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_022.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "scenario_name": "RSV - Actionable - In rsv_80_since_02_Sept_2024 Cohort - Not in CP Expansion Area", - "request_headers": { - "nhs-login-nhs-number": "9900036522" - }, - "config_filenames": [ - "AUTO_RSV_ELI-365.json" - ], - "data": [ - { - "NHS_NUMBER": "9900036522", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_80_since_02_Sept_2024", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900036522", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "ABC", - "LOCAL_AUTHORITY": "ZZ8000011", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900036522", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_023.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_023.json deleted file mode 100644 index a8d19465a..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_023.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "scenario_name": "RSV - Actionable - In rsv_80_since_02_Sept_2024 and rsv_75to79 Cohorts - Not in CP Expansion Area", - "request_headers": { - "nhs-login-nhs-number": "9900036523" - }, - "config_filenames": [ - "AUTO_RSV_ELI-365.json" - ], - "data": [ - { - "NHS_NUMBER": "9900036523", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_80_since_02_Sept_2024", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_75to79", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900036523", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "ABC", - "LOCAL_AUTHORITY": "ZZ8000011", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900036523", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_024.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_024.json deleted file mode 100644 index 13b4135b9..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_024.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "scenario_name": "RSV - Actionable - In 3 actions - under 80 - Local Authority", - "request_headers": { - "nhs-login-nhs-number": "9900036526" - }, - "config_filenames": [ - "AUTO_RSV_ELI-365.json" - ], - "data": [ - { - "NHS_NUMBER": "9900036526", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_80_since_02_Sept_2024", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900036526", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "zz1", - "LOCAL_AUTHORITY": "E08000014", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900036526", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_025.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_025.json deleted file mode 100644 index 80a5ec4e2..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_025.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "scenario_name": "RSV - Actionable - In 3 actions - under 80 - ICB", - "request_headers": { - "nhs-login-nhs-number": "9900036527" - }, - "config_filenames": [ - "AUTO_RSV_ELI-365.json" - ], - "data": [ - { - "NHS_NUMBER": "9900036527", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_80_since_02_Sept_2024", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900036527", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QH8", - "LOCAL_AUTHORITY": "ZZ8000014", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900036527", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_026.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_026.json deleted file mode 100644 index 892196765..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_026.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "scenario_name": "RSV - Actionable - 2 actions - 80 or over - ICB", - "request_headers": { - "nhs-login-nhs-number": "9900036524" - }, - "config_filenames": [ - "AUTO_RSV_ELI-365.json" - ], - "data": [ - { - "NHS_NUMBER": "9900036524", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_80_since_02_Sept_2024", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900036524", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QH8", - "LOCAL_AUTHORITY": "ZZ8000011", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900036524", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_027.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_027.json deleted file mode 100644 index 0c90eab68..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_027.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "scenario_name": "RSV - Actionable - 2 actions - 80 or over - Local Authority", - "request_headers": { - "nhs-login-nhs-number": "9900036525" - }, - "config_filenames": [ - "AUTO_RSV_ELI-365.json" - ], - "data": [ - { - "NHS_NUMBER": "9900036525", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_80_since_02_Sept_2024", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900036525", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "zz1", - "LOCAL_AUTHORITY": "E08000014", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900036525", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_028.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_028.json deleted file mode 100644 index 083693b2c..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_028.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "scenario_name": "RSV - Actionable - 2 actions - 80 or over - No ICB or Local Authority", - "request_headers": { - "nhs-login-nhs-number": "9900036528" - }, - "config_filenames": [ - "AUTO_RSV_ELI-365.json" - ], - "data": [ - { - "NHS_NUMBER": "9900036528", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_80_since_02_Sept_2024", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900036528", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "zz1", - "LOCAL_AUTHORITY": "ZZ8000014", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900036528", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_001.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_001.json deleted file mode 100644 index ad25ea5bd..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_001.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "scenario_name": "RSV - Ineligible - Suppressed by AND rule with different rule names", - "request_headers": { - "nhs-login-nhs-number": "9900037101" - }, - "config_filenames": [ - "AUTO_RSV_ELI-371.json" - ], - "data": [ - { - "NHS_NUMBER": "9900037101", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_75to79", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900037101", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "19800501", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "AAA", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900037101", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_002.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_002.json deleted file mode 100644 index 29b5a7e9d..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_002.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "scenario_name": "RSV - Ineligible - Suppressed by single rule using a different D.O.B.", - "request_headers": { - "nhs-login-nhs-number": "9900037101" - }, - "config_filenames": [ - "AUTO_RSV_ELI-371.json" - ], - "data": [ - { - "NHS_NUMBER": "9900037101", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_75to79", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900037101", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "19810501", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "AAA", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900037101", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_001.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_001.json deleted file mode 100644 index a591223c8..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_001.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "ELI-373 - Past Booking - Not in Care Home ", - "request_headers": { - "nhs-login-nhs-number": "9900373001" - }, - "config_filenames": [ - "AUTO_RSV_ELI-373-01.json" - ], - "data": [ - { - "NHS_NUMBER": "9900373001", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_75to79", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900373001", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900373001", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_002.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_002.json deleted file mode 100644 index 4a16cd1ef..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_002.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "ELI-373 - No Booking - Not in Care Home ", - "request_headers": { - "nhs-login-nhs-number": "9900373002" - }, - "config_filenames": [ - "AUTO_RSV_ELI-373-01.json" - ], - "data": [ - { - "NHS_NUMBER": "9900373002", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_80_since_02_Sept_2024", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900373002", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900373002", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_003.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_003.json deleted file mode 100644 index ff099b84a..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_003.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "scenario_name": "ELI-373 - Future Booking - Not in Care Home ", - "request_headers": { - "nhs-login-nhs-number": "9900373003" - }, - "config_filenames": [ - "AUTO_RSV_ELI-373-01.json" - ], - "data": [ - { - "NHS_NUMBER": "9900373003", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_80_since_02_Sept_2024", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_75to79", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900373003", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900373003", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_004.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_004.json deleted file mode 100644 index 480b4d2a2..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_004.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "ELI-373 - Past Booking - In Care Home ", - "request_headers": { - "nhs-login-nhs-number": "9900373004" - }, - "config_filenames": [ - "AUTO_RSV_ELI-373-01.json" - ], - "data": [ - { - "NHS_NUMBER": "9900373004", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_75to79", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900373004", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "Y", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900373004", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_005.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_005.json deleted file mode 100644 index 39c5b2be8..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_005.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "ELI-373 - No Booking - In Care Home ", - "request_headers": { - "nhs-login-nhs-number": "9900373005" - }, - "config_filenames": [ - "AUTO_RSV_ELI-373-01.json" - ], - "data": [ - { - "NHS_NUMBER": "9900373005", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_80_since_02_Sept_2024", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900373005", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "Y", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900373005", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_006.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_006.json deleted file mode 100644 index c2fc463d5..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_006.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "scenario_name": "ELI-373 - Future Booking - In Care Home ", - "request_headers": { - "nhs-login-nhs-number": "9900373006" - }, - "config_filenames": [ - "AUTO_RSV_ELI-373-01.json" - ], - "data": [ - { - "NHS_NUMBER": "9900373006", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_80_since_02_Sept_2024", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_75to79", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900373006", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "Y", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900373006", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_007.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_007.json deleted file mode 100644 index 713d3525e..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_007.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "scenario_name": "ELI-373 - No Booking - Not in DE", - "request_headers": { - "nhs-login-nhs-number": "9900373007" - }, - "config_filenames": [ - "AUTO_RSV_ELI-373-01.json" - ], - "data": [ - { - "NHS_NUMBER": "9900373007", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_80_since_02_Sept_2024", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_75to79", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900373007", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9900373007", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_008.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_008.json deleted file mode 100644 index 9271ad755..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_008.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "scenario_name": "ELI-373 - No Booking - In Carehome, DE and 13Q", - "request_headers": { - "nhs-login-nhs-number": "9900373008" - }, - "config_filenames": [ - "AUTO_RSV_ELI-373-02.json" - ], - "data": [ - { - "NHS_NUMBER": "9900373008", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_80_since_02_Sept_2024", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_75to79", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900373008", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "Y", - "CARE_HOME_FLAG": "Y", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900373008", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": null, - "BOOKED_APPOINTMENT_PROVIDER": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_001.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_001.json deleted file mode 100644 index bb63f3ec2..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_001.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "scenario_name": "ELI-339 - Inactive Iteration - 1 Iteration - Future Iteration Date", - "request_headers": { - "nhs-login-nhs-number": "9900339001" - }, - "config_filenames": [ - "AUTO_RSV_ELI-399-01.json" - ], - "data": [ - { - "NHS_NUMBER": "9900339001", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_274_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_274_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_274_cohort_3", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900339001", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "AAA", - "COMMISSIONING_REGION": "ZZZ", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900339001", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_002.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_002.json deleted file mode 100644 index 42beeecfb..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_002.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "scenario_name": "ELI-339 - 1 Active Iteration 1 Inactive Future Iteration", - "request_headers": { - "nhs-login-nhs-number": "9990039902" - }, - "config_filenames": [ - "AUTO_RSV_ELI-399-02.json" - ], - "data": [ - { - "NHS_NUMBER": "9990039902", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_274_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_274_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_274_cohort_3", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9990039902", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "AAA", - "COMMISSIONING_REGION": "ZZZ", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9990039902", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_003.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_003.json deleted file mode 100644 index 86a3f5530..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_003.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "scenario_name": "ELI-339 - 2 iterations in past - most recent iteration chosen", - "request_headers": { - "nhs-login-nhs-number": "9990039903" - }, - "config_filenames": [ - "AUTO_RSV_ELI-399-03.json" - ], - "data": [ - { - "NHS_NUMBER": "9990039903", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_274_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_274_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_274_cohort_3", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9990039903", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "AAA", - "COMMISSIONING_REGION": "ZZZ", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9990039903", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_004.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_004.json deleted file mode 100644 index 7051a7011..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_004.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "scenario_name": "ELI-339 - 2 iterations in future - empty processedsuggestions", - "request_headers": { - "nhs-login-nhs-number": "9990039904" - }, - "config_filenames": [ - "AUTO_RSV_ELI-399-04.json" - ], - "data": [ - { - "NHS_NUMBER": "9990039904", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_274_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_274_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_274_cohort_3", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9990039904", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "AAA", - "COMMISSIONING_REGION": "ZZZ", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9990039904", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_005.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_005.json deleted file mode 100644 index 3e343141b..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_005.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "scenario_name": "ELI-339 - past campaign boundaries processedsuggestions", - "request_headers": { - "nhs-login-nhs-number": "9990039905" - }, - "config_filenames": [ - "AUTO_RSV_ELI-399-05.json" - ], - "data": [ - { - "NHS_NUMBER": "9990039905", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_274_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_274_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_274_cohort_3", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9990039905", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "AAA", - "COMMISSIONING_REGION": "ZZZ", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9990039905", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_006.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_006.json deleted file mode 100644 index 1443aedde..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_006.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "scenario_name": "ELI-339 - future campaign boundaries processedsuggestions", - "request_headers": { - "nhs-login-nhs-number": "9990039906" - }, - "config_filenames": [ - "AUTO_RSV_ELI-399-06.json" - ], - "data": [ - { - "NHS_NUMBER": "9990039906", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_274_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_274_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_274_cohort_3", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9990039906", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "AAA", - "COMMISSIONING_REGION": "ZZZ", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9990039906", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_007.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_007.json deleted file mode 100644 index 5e9c9c4fd..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_007.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "scenario_name": "ELI-339 - Inactive RSV, Active Covid", - "request_headers": { - "nhs-login-nhs-number": "9990039906" - }, - "config_filenames": [ - "AUTO_RSV_ELI-399-01.json", - "AUTO_RSV_ELI-399-07.json" - ], - "data": [ - { - "NHS_NUMBER": "9990039906", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_274_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_274_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_274_cohort_3", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9990039906", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "AAA", - "COMMISSIONING_REGION": "ZZZ", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9990039906", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_001.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_001.json deleted file mode 100644 index 7489221f4..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_001.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "scenario_name": "ELI-405 - Audit Records - F & S rule but not matched - Actionable", - "request_headers": { - "nhs-login-nhs-number": "9900405001" - }, - "config_filenames": [ - "AUTO_RSV_ELI-405-01.json" - ], - "data": [ - { - "NHS_NUMBER": "9900405001", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_405_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_405_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_405_cohort_3", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_405_cohort_4", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900405001", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900405001", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_002.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_002.json deleted file mode 100644 index 92cdd34de..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_002.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "scenario_name": "ELI-405 - Audit Records - 2 Cohort-specific F Rules Matched - Actionable", - "request_headers": { - "nhs-login-nhs-number": "9900405002" - }, - "config_filenames": [ - "AUTO_RSV_ELI-405-02.json" - ], - "data": [ - { - "NHS_NUMBER": "9900405002", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_405_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_405_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_405_cohort_3", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_405_cohort_4", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900405002", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "ABC", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900405002", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_003.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_003.json deleted file mode 100644 index 8bd5d5b38..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_003.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "scenario_name": "ELI-405 - Audit Records - 2 Cohort-specific S Rules Matched - Actionable", - "request_headers": { - "nhs-login-nhs-number": "9900405003" - }, - "config_filenames": [ - "AUTO_RSV_ELI-405-03.json" - ], - "data": [ - { - "NHS_NUMBER": "9900405003", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_405_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_405_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_405_cohort_3", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_405_cohort_4", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_405_cohort_5", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900405003", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "ABC", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900405003", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_004.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_004.json deleted file mode 100644 index 022742c03..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_004.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "scenario_name": "ELI-405 - Audit Records - 2x F & 2x S Rules - Actionable", - "request_headers": { - "nhs-login-nhs-number": "9900405004" - }, - "config_filenames": [ - "AUTO_RSV_ELI-405-04.json" - ], - "data": [ - { - "NHS_NUMBER": "9900405004", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_405_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_405_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_405_cohort_3", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_405_cohort_4", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_405_cohort_5", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900405004", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "ABC", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900405004", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_005.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_005.json deleted file mode 100644 index fd7b6ea4c..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_005.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "scenario_name": "ELI-405 - Audit Records - 2x Cohort-specific F & 3x S rules - not actionable - rule stop on 2nd priority", - "request_headers": { - "nhs-login-nhs-number": "9900405005" - }, - "config_filenames": [ - "AUTO_RSV_ELI-405-05.json" - ], - "data": [ - { - "NHS_NUMBER": "9900405005", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_405_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_405_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_405_cohort_3", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_405_cohort_4", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900405005", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "ABC", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900405005", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_006.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_006.json deleted file mode 100644 index 72c71f730..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_006.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "scenario_name": "ELI-405 - Audit Records - 2 Cohort-specific F rules - not eligible", - "request_headers": { - "nhs-login-nhs-number": "9900405006" - }, - "config_filenames": [ - "AUTO_RSV_ELI-405-06.json" - ], - "data": [ - { - "NHS_NUMBER": "9900405006", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_405_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_405_cohort_2", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900405006", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "ABC", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900405006", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-406_001.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-406_001.json deleted file mode 100644 index 9fb6c6e64..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-406_001.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "scenario_name": "ELI-406 - Missing Person Attribute, Cohort and Target Present", - "request_headers": { - "nhs-login-nhs-number": "9900406001" - }, - "expected_response_code": 404, - "config_filenames": [ - "AUTO_RSV_ELI-406-01.json" - ], - "data": [ - { - "NHS_NUMBER": "9900406001", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_406_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_406_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_406_cohort_3", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_406_cohort_4", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900406001", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-406_002.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-406_002.json deleted file mode 100644 index 16e3ef457..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-406_002.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "scenario_name": "ELI-406 - Missing Person Attribute, Target Present", - "request_headers": { - "nhs-login-nhs-number": "9900406002" - }, - "expected_response_code": 404, - "config_filenames": [ - "AUTO_RSV_ELI-406-01.json" - ], - "data": [ - { - "NHS_NUMBER": "9900406002", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-406_003.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-406_003.json deleted file mode 100644 index 49f89d482..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-406_003.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "scenario_name": "ELI-406 - Missing Person Attribute, Cohort Present", - "request_headers": { - "nhs-login-nhs-number": "9900406003" - }, - "expected_response_code": 404, - "config_filenames": [ - "AUTO_RSV_ELI-406-01.json" - ], - "data": [ - { - "NHS_NUMBER": "9900406003", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_406_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_406_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_406_cohort_3", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_406_cohort_4", - "DATE_JOINED": "20231020" - } - ] - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_001.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_001.json deleted file mode 100644 index 3d441c38e..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_001.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "ELI-427-001 - Custom Status Text - Actionable", - "request_headers": { - "nhs-login-nhs-number": "9900427001" - }, - "config_filenames": [ - "AUTO_RSV_ELI-427-01-3.json" - ], - "data": [ - { - "NHS_NUMBER": "9900427001", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_427_cohort_1", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900427001", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900427001", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_002.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_002.json deleted file mode 100644 index dd0b48075..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_002.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "ELI-427-002 - Custom Status Text - NotActionable", - "request_headers": { - "nhs-login-nhs-number": "9900427002" - }, - "config_filenames": [ - "AUTO_RSV_ELI-427-01-3.json" - ], - "data": [ - { - "NHS_NUMBER": "9900427002", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_427_cohort_1", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900427002", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900427002", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "<>", - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_003.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_003.json deleted file mode 100644 index 377128764..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_003.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "ELI-427-003 - Custom Status Text - NotEligible", - "request_headers": { - "nhs-login-nhs-number": "9900427003" - }, - "config_filenames": [ - "AUTO_RSV_ELI-427-01-3.json" - ], - "data": [ - { - "NHS_NUMBER": "9900427003", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_427_cohort_1", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900427003", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900427003", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "not_null", - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_004.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_004.json deleted file mode 100644 index 2443dc2bc..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_004.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "ELI-427-004 - Empty Actionable Custom Status Text - Use Default - Actionable", - "request_headers": { - "nhs-login-nhs-number": "9900427004" - }, - "config_filenames": [ - "AUTO_RSV_ELI-427-04-6.json" - ], - "data": [ - { - "NHS_NUMBER": "9900427004", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_427_cohort_1", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900427004", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900427004", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_005.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_005.json deleted file mode 100644 index e4361a220..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_005.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "ELI-427-005 - Missing NotActionable Custom Status Text - Use Default - NotActionable", - "request_headers": { - "nhs-login-nhs-number": "9900427005" - }, - "config_filenames": [ - "AUTO_RSV_ELI-427-04-6.json" - ], - "data": [ - { - "NHS_NUMBER": "9900427005", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_427_cohort_1", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900427005", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900427005", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "<>", - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_006.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_006.json deleted file mode 100644 index d6cfd0820..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_006.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "ELI-427-006 - Missing NotEligible Custom Status Text - NotEligible", - "request_headers": { - "nhs-login-nhs-number": "9900427006" - }, - "config_filenames": [ - "AUTO_RSV_ELI-427-04-6.json" - ], - "data": [ - { - "NHS_NUMBER": "9900427006", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "eli_427_cohort_1", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900427006", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900427006", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "not_null", - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_001.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_001.json deleted file mode 100644 index e27c2941b..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_001.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "ELI-440-001 - elid_all_people no longer indicate a cohort is magic/virtual - Missing Virtual Defaults to N - Actionable", - "request_headers": { - "nhs-login-nhs-number": "9900440001" - }, - "config_filenames": [ - "AUTO_RSV_ELI-440-01.json" - ], - "data": [ - { - "NHS_NUMBER": "9900440001", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_440_cohort_999", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900440001", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900440001", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_002.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_002.json deleted file mode 100644 index 9ac427780..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_002.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "ELI-440-002 - virtual cohort filter rule - NotEligible", - "request_headers": { - "nhs-login-nhs-number": "9900440002" - }, - "config_filenames": [ - "AUTO_RSV_ELI-440-02-3.json" - ], - "data": [ - { - "NHS_NUMBER": "9900440002", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_440_cohort_999", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900440002", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900440002", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_003.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_003.json deleted file mode 100644 index bd879f626..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_003.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "ELI-440-003 - virtual cohort suppression rule - NotActionable", - "request_headers": { - "nhs-login-nhs-number": "9900440003" - }, - "config_filenames": [ - "AUTO_RSV_ELI-440-02-3.json" - ], - "data": [ - { - "NHS_NUMBER": "9900440003", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_440_cohort_999", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900440003", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900440003", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "not_null", - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_005.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_005.json deleted file mode 100644 index c720fed17..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_005.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "ELI-ELI-440-05-6 - Backward Compatibility - 'In real world' cohort - Actionable", - "request_headers": { - "nhs-login-nhs-number": "9900440005" - }, - "config_filenames": [ - "AUTO_RSV_ELI-440-05-6.json" - ], - "data": [ - { - "NHS_NUMBER": "9900440005", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_real_world", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900440005", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900440005", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "not_null", - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_006.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_006.json deleted file mode 100644 index 6718c0707..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_006.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "ELI-ELI-440-06 - Backward Compatibility - Not 'In real world' cohort - Actionable", - "request_headers": { - "nhs-login-nhs-number": "9900440006" - }, - "config_filenames": [ - "AUTO_RSV_ELI-440-05-6.json" - ], - "data": [ - { - "NHS_NUMBER": "9900440006", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "not_in_rsv_eli_real_world", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900440006", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900440006", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "not_null", - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_007.json b/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_007.json deleted file mode 100644 index 59c0e5f54..000000000 --- a/tests/e2e/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_007.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "scenario_name": "ELI-ELI-440-07 - And S Rules with Virtual Cohorts using CohortLabel - Actionable", - "request_headers": { - "nhs-login-nhs-number": "9900440007" - }, - "config_filenames": [ - "AUTO_RSV_ELI-440-07.json" - ], - "data": [ - { - "NHS_NUMBER": "9900440007", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_real_world", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900440007", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "Y" - }, - { - "NHS_NUMBER": "9900440007", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "not_null", - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_001.json b/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_001.json deleted file mode 100644 index c744f8e5b..000000000 --- a/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_001.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "scenario_name": "RSV - Vita Integration - Actionable - You should have the RSV vaccine ( in CP area ) - age rolling - BookNBS", - "request_headers": { - "nhs-login-nhs-number": "9686368973" - }, - "config_filenames": [ - "vita_integration_test_config.json" - ], - "data": [ - { - "NHS_NUMBER": "9686368973", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_75to79", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9686368973", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "LOCAL_AUTHORITY": "E08000011", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_002.json b/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_002.json deleted file mode 100644 index e5e1d6bd4..000000000 --- a/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_002.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "scenario_name": "RSV - Vita Integration - Actionable - You should have the RSV vaccine ( out CP area ) - age rolling - age rolling - BookLocal", - "request_headers": { - "nhs-login-nhs-number": "9686368906" - }, - "config_filenames": [ - "vita_integration_test_config.json" - ], - "data": [ - { - "NHS_NUMBER": "9686368906", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_75to79", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9686368906", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "2", - "POSTCODE": "CB3 8DX", - "POSTCODE_SECTOR": "CB38", - "POSTCODE_OUTCODE": "CB3", - "MSOA": "E02007085", - "LSOA": "E01018223", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_003.json b/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_003.json deleted file mode 100644 index 5fda873d5..000000000 --- a/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_003.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "scenario_name": "RSV - Vita Integration - Actionable - You should have the RSV vaccine ( out CP area ) - age catchup - BookLocal", - "request_headers": { - "nhs-login-nhs-number": "9658218873" - }, - "config_filenames": [ - "vita_integration_test_config.json" - ], - "data": [ - { - "NHS_NUMBER": "9658218873", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_80_since_02_Sept_2024", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9658218873", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "2", - "POSTCODE": "CB3 8DX", - "POSTCODE_SECTOR": "CB38", - "POSTCODE_OUTCODE": "CB3", - "MSOA": "E02007085", - "LSOA": "E01018223", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_004.json b/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_004.json deleted file mode 100644 index 01c541a94..000000000 --- a/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_004.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "scenario_name": "RSV - Vita Integration - Actionable - You should have the RSV vaccine ( existing NBS booking ) - empty cohorts - AmendNBS", - "request_headers": { - "nhs-login-nhs-number": "9658218881" - }, - "config_filenames": [ - "vita_integration_test_config.json" - ], - "data": [ - { - "NHS_NUMBER": "9658218881", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "2", - "POSTCODE": "CB3 8DX", - "POSTCODE_SECTOR": "CB38", - "POSTCODE_OUTCODE": "CB3", - "MSOA": "E02007085", - "LSOA": "E01018223", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9658218881", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "20351212", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_005.json b/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_005.json deleted file mode 100644 index f21e77105..000000000 --- a/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_005.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "scenario_name": "RSV - Vita Integration - Actionable - You should have the RSV vaccine ( existing non-NBS booking ) - empty cohorts - ManageLocal", - "request_headers": { - "nhs-login-nhs-number": "9658218903" - }, - "config_filenames": [ - "vita_integration_test_config.json" - ], - "data": [ - { - "NHS_NUMBER": "9658218903", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "2", - "POSTCODE": "CB3 8DX", - "POSTCODE_SECTOR": "CB38", - "POSTCODE_OUTCODE": "CB3", - "MSOA": "E02007085", - "LSOA": "E01018223", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9658218903", - "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "20351212", - "BOOKED_APPOINTMENT_PROVIDER": "ACC" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_006.json b/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_006.json deleted file mode 100644 index 792e78421..000000000 --- a/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_006.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "scenario_name": "RSV - Vita Integration - NotActionable - You should have the RSV vaccine (already vaccd) - AlreadyVaccinated", - "request_headers": { - "nhs-login-nhs-number": "9658218989" - }, - "config_filenames": [ - "vita_integration_test_config.json" - ], - "data": [ - { - "NHS_NUMBER": "9658218989", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "2", - "POSTCODE": "CB3 8DX", - "POSTCODE_SECTOR": "CB38", - "POSTCODE_OUTCODE": "CB3", - "MSOA": "E02007085", - "LSOA": "E01018223", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9658218989", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_007.json b/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_007.json deleted file mode 100644 index 6ed305d6b..000000000 --- a/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_007.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "scenario_name": "RSV - Vita Integration - NotActionable - You should have the RSV vaccine ( not available ) - age rolling - NotAvailable", - "request_headers": { - "nhs-login-nhs-number": "9658218997" - }, - "config_filenames": [ - "vita_integration_test_config.json" - ], - "data": [ - { - "NHS_NUMBER": "9658218997", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_75to79", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9658218997", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "2", - "POSTCODE": "CB3 8DX", - "POSTCODE_SECTOR": "CB38", - "POSTCODE_OUTCODE": "CB3", - "MSOA": "E02007085", - "LSOA": "E01018223", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_009.json b/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_009.json deleted file mode 100644 index aa31df59e..000000000 --- a/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_009.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "scenario_name": "RSV - Vita Integration - NotActionable - You should have the RSV vaccine - age rolling - NotYetDue", - "request_headers": { - "nhs-login-nhs-number": "9658219012" - }, - "config_filenames": [ - "vita_integration_test_config.json" - ], - "data": [ - { - "NHS_NUMBER": "9658219012", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_75to79", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9658219012", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "2", - "POSTCODE": "CB3 8DX", - "POSTCODE_SECTOR": "CB38", - "POSTCODE_OUTCODE": "CB3", - "MSOA": "E02007085", - "LSOA": "E01018223", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_010.json b/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_010.json deleted file mode 100644 index 0234ed453..000000000 --- a/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_010.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "scenario_name": "RSV - Vita Integration - NotActionable - You should have the RSV vaccine - age rolling - TooClose", - "request_headers": { - "nhs-login-nhs-number": "9658220142" - }, - "config_filenames": [ - "vita_integration_test_config.json" - ], - "data": [ - { - "NHS_NUMBER": "9658220142", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_75to79", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9658220142", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "2", - "POSTCODE": "CB3 8DX", - "POSTCODE_SECTOR": "CB38", - "POSTCODE_OUTCODE": "CB3", - "MSOA": "E02007085", - "LSOA": "E01018223", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_011.json b/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_011.json deleted file mode 100644 index 98c575b6c..000000000 --- a/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_011.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "scenario_name": "RSV - Vita Integration - NotActionable - You should have the RSV vaccine ( managed setting ) - age rolling - OtherSetting", - "request_headers": { - "nhs-login-nhs-number": "9658220150" - }, - "config_filenames": [ - "vita_integration_test_config.json" - ], - "data": [ - { - "NHS_NUMBER": "9658220150", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "2", - "POSTCODE": "CB3 8DX", - "POSTCODE_SECTOR": "CB38", - "POSTCODE_OUTCODE": "CB3", - "MSOA": "E02007085", - "LSOA": "E01018223", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "Y", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9658220150", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_75to79", - "DATE_JOINED": "20231020" - } - ] - } - ] -} diff --git a/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_012.json b/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_012.json deleted file mode 100644 index fc806c478..000000000 --- a/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_012.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "scenario_name": "RSV - Vita Integration - NotActionable - You should have the RSV vaccine (already vaccinated) - unknown membership - AlreadyVaccinated", - "request_headers": { - "nhs-login-nhs-number": "9450114080" - }, - "config_filenames": [ - "vita_integration_test_config.json" - ], - "data": [ - { - "NHS_NUMBER": "9450114080", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "2", - "POSTCODE": "CB3 8DX", - "POSTCODE_SECTOR": "CB38", - "POSTCODE_OUTCODE": "CB3", - "MSOA": "E02007085", - "LSOA": "E01018223", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "Y", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9450114080", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "<>" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_013.json b/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_013.json deleted file mode 100644 index a3dff10d5..000000000 --- a/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_013.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "scenario_name": "RSV - Vita Integration - NotActionable - You should have the RSV vaccine (already vaccinated) - empty cohorts - AlreadyVaccinated", - "request_headers": { - "nhs-login-nhs-number": "9466447939" - }, - "config_filenames": [ - "vita_integration_test_config.json" - ], - "data": [ - { - "NHS_NUMBER": "9466447939", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "<>" - }, - { - "NHS_NUMBER": "9466447939", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "2", - "POSTCODE": "CB3 8DX", - "POSTCODE_SECTOR": "CB38", - "POSTCODE_OUTCODE": "CB3", - "MSOA": "E02007085", - "LSOA": "E01018223", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "Y", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_014.json b/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_014.json deleted file mode 100644 index e11d722f6..000000000 --- a/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_014.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "scenario_name": "RSV - Vita Integration - - Not Eligible", - "request_headers": { - "nhs-login-nhs-number": "9657933617" - }, - "config_filenames": [ - "vita_integration_test_config.json" - ], - "data": [ - { - "NHS_NUMBER": "9657933617", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "<>", - "GENDER": "2", - "POSTCODE": "CB3 8DX", - "POSTCODE_SECTOR": "CB38", - "POSTCODE_OUTCODE": "CB3", - "MSOA": "E02007085", - "LSOA": "E01018223", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "Y", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9657933617", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": null - } - ] -} diff --git a/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_500.json b/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_500.json deleted file mode 100644 index 68c385cea..000000000 --- a/tests/e2e/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_500.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "scenario_name": "RSV - Vita Integration - 500", - "request_headers": { - "nhs-login-nhs-number": "9436793375" - }, - "expected_response_code": 500, - "config_filenames": [ - "vita_integration_test_config.json" - ], - "data": [ - { - "NHS_NUMBER": "9436793375", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_80_since_02_Sept_2024", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9436793375", - "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": 19001116, - "GENDER": "0", - "POSTCODE": "SG8 6EG", - "POSTCODE_SECTOR": "SG86", - "POSTCODE_OUTCODE": "SG8", - "MSOA": "E02003792", - "LSOA": "E01018267", - "GP_PRACTICE_CODE": "D81046", - "PCN": "U75549", - "ICB": "QUE", - "COMMISSIONING_REGION": "Y61", - "13Q_FLAG": "N", - "CARE_HOME_FLAG": "N", - "DE_FLAG": "N" - } - ] -} diff --git a/tests/e2e/data/responses/inProgressTestResponses/440/AUTO_RSV_ELI-440_004.json b/tests/e2e/data/responses/inProgressTestResponses/440/AUTO_RSV_ELI-440_004.json deleted file mode 100644 index 604e7f145..000000000 --- a/tests/e2e/data/responses/inProgressTestResponses/440/AUTO_RSV_ELI-440_004.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-09-17T13:22:37.091749+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "TestNotEli", - "actionType": "TestNotEliAction", - "description": "TestNotEli Description", - "urlLabel": "not_eli_UrlLabel", - "urlLink": "https://www.noteligible.com/440" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "elid_virtual_cohort", - "cohortStatus": "NotEligible", - "cohortText": "Out elid_virtual_cohort" - }, - { - "cohortCode": "rsv_eli_440_cohort_999", - "cohortStatus": "NotEligible", - "cohortText": "Out rsv_eli_440_cohort_999" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "24f59fb8-6951-47e9-9a60-c08003f06fb6" -} diff --git a/tests/e2e/data/responses/regressionTestResponses/AUTO_RSV_REG_001.json b/tests/e2e/data/responses/regressionTestResponses/AUTO_RSV_REG_001.json deleted file mode 100644 index e3a66ecda..000000000 --- a/tests/e2e/data/responses/regressionTestResponses/AUTO_RSV_REG_001.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-01T19:52:24.529127+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "DefaultAction", - "description": "DefaultActionDescription", - "actionType": "DefaultActionType", - "urlLabel": "DefaultLabel", - "urlLink": "https://www.defaultaction.com/" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age_group", - "cohortStatus": "Actionable", - "cohortText": "You are in an age group 2." - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "a53d2e37-7e25-4edd-99c1-9f487c95b347" -} diff --git a/tests/e2e/data/responses/regressionTestResponses/AUTO_RSV_REG_002.json b/tests/e2e/data/responses/regressionTestResponses/AUTO_RSV_REG_002.json deleted file mode 100644 index 331ba4e36..000000000 --- a/tests/e2e/data/responses/regressionTestResponses/AUTO_RSV_REG_002.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-01T19:57:39.626808+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "DefaultAction", - "description": "DefaultActionDescription", - "actionType": "DefaultActionType", - "urlLabel": "DefaultLabel", - "urlLink": "https://www.defaultaction.com/" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age_group", - "cohortStatus": "Actionable", - "cohortText": "You are in an age group 2." - }, - { - "cohortCode": "rsv_other_group", - "cohortStatus": "Actionable", - "cohortText": "You are in an another group." - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "c01bcba2-7ae3-4346-bb03-416dd1e307f8" -} diff --git a/tests/e2e/data/responses/regressionTestResponses/AUTO_RSV_REG_003.json b/tests/e2e/data/responses/regressionTestResponses/AUTO_RSV_REG_003.json deleted file mode 100644 index e1b80269b..000000000 --- a/tests/e2e/data/responses/regressionTestResponses/AUTO_RSV_REG_003.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-01T19:57:39.626808+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "DefaultAction", - "description": "DefaultActionDescription", - "actionType": "DefaultActionType", - "urlLabel": "DefaultLabel", - "urlLink": "https://www.defaultaction.com/" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age_group", - "cohortStatus": "Actionable", - "cohortText": "You are in an age group 2." - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "c01bcba2-7ae3-4346-bb03-416dd1e307f8" -} diff --git a/tests/e2e/data/responses/regressionTestResponses/AUTO_RSV_REG_010-1.json b/tests/e2e/data/responses/regressionTestResponses/AUTO_RSV_REG_010-1.json deleted file mode 100644 index 0fdf41d8f..000000000 --- a/tests/e2e/data/responses/regressionTestResponses/AUTO_RSV_REG_010-1.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-01T20:20:47.764973+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age_group", - "cohortStatus": "NotEligible", - "cohortText": "You are not in an age group 2." - }, - { - "cohortCode": "rsv_other_group", - "cohortStatus": "NotEligible", - "cohortText": "You are not in an other group." - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "49db2d41-326f-45d4-afaf-0dd6897413af" -} diff --git a/tests/e2e/data/responses/regressionTestResponses/AUTO_RSV_REG_010.json b/tests/e2e/data/responses/regressionTestResponses/AUTO_RSV_REG_010.json deleted file mode 100644 index 0fdf41d8f..000000000 --- a/tests/e2e/data/responses/regressionTestResponses/AUTO_RSV_REG_010.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-01T20:20:47.764973+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age_group", - "cohortStatus": "NotEligible", - "cohortText": "You are not in an age group 2." - }, - { - "cohortCode": "rsv_other_group", - "cohortStatus": "NotEligible", - "cohortText": "You are not in an other group." - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "49db2d41-326f-45d4-afaf-0dd6897413af" -} diff --git a/tests/e2e/data/responses/regressionTestResponses/AUTO_RSV_REG_011.json b/tests/e2e/data/responses/regressionTestResponses/AUTO_RSV_REG_011.json deleted file mode 100644 index 0fdf41d8f..000000000 --- a/tests/e2e/data/responses/regressionTestResponses/AUTO_RSV_REG_011.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-01T20:20:47.764973+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age_group", - "cohortStatus": "NotEligible", - "cohortText": "You are not in an age group 2." - }, - { - "cohortCode": "rsv_other_group", - "cohortStatus": "NotEligible", - "cohortText": "You are not in an other group." - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "49db2d41-326f-45d4-afaf-0dd6897413af" -} diff --git a/tests/e2e/data/responses/regressionTestResponses/AUTO_RSV_REG_012.json b/tests/e2e/data/responses/regressionTestResponses/AUTO_RSV_REG_012.json deleted file mode 100644 index 0fdf41d8f..000000000 --- a/tests/e2e/data/responses/regressionTestResponses/AUTO_RSV_REG_012.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-01T20:20:47.764973+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age_group", - "cohortStatus": "NotEligible", - "cohortText": "You are not in an age group 2." - }, - { - "cohortCode": "rsv_other_group", - "cohortStatus": "NotEligible", - "cohortText": "You are not in an other group." - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "49db2d41-326f-45d4-afaf-0dd6897413af" -} diff --git a/tests/e2e/data/responses/regressionTestResponses/AUTO_RSV_REG_013.json b/tests/e2e/data/responses/regressionTestResponses/AUTO_RSV_REG_013.json deleted file mode 100644 index 0f2cac110..000000000 --- a/tests/e2e/data/responses/regressionTestResponses/AUTO_RSV_REG_013.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-09T15:16:43.877615+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "AlreadyVaccinated", - "ruleText": "##You've had your RSV vaccination\nWe believe you had your vaccination on <>.", - "ruleType": "S" - } - ] - } - ], - "responseId": "c064aa23-730c-454a-831e-e7299007307d" -} diff --git a/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_001.json b/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_001.json deleted file mode 100644 index 4a6253f15..000000000 --- a/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_001.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "responseId": "<>", - "meta": { - "lastUpdated": "<>" - }, - "processedSuggestions": [ - { - "condition": "RSV", - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age_rolling", - "cohortStatus": "Actionable", - "cohortText": "are aged 75 to 79 years old." - } - ], - "suitabilityRules": [], - "actions": [ - { - "actionType": "ButtonWithAuthLink", - "actionCode": "BookNBS", - "description": "", - "urlLink": "http://www.nhs.uk/book-rsv", - "urlLabel": "Continue to booking" - } - ] - } - ] -} diff --git a/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_002.json b/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_002.json deleted file mode 100644 index 53b88e29c..000000000 --- a/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_002.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "responseId": "<>", - "meta": { - "lastUpdated": "<>" - }, - "processedSuggestions": [ - { - "condition": "RSV", - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age_rolling", - "cohortText": "are aged 75 to 79 years old.", - "cohortStatus": "Actionable" - } - ], - "suitabilityRules": [], - "actions": [ - { - "actionType": "InfoText", - "actionCode": "BookLocal", - "description": "##Getting the vaccine\nYou can get an RSV vaccination at your GP surgery.\nYour GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination.", - "urlLink": "", - "urlLabel": "" - } - ] - } - ] -} diff --git a/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_003.json b/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_003.json deleted file mode 100644 index c02961ada..000000000 --- a/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_003.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "responseId": "<>", - "meta": { - "lastUpdated": "<>" - }, - "processedSuggestions": [ - { - "condition": "RSV", - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age_catchup", - "cohortText": "turned 80 between 2nd September 2024 and 31st August 2025", - "cohortStatus": "Actionable" - } - ], - "suitabilityRules": [], - "actions": [ - { - "actionType": "InfoText", - "actionCode": "BookLocal", - "description": "##Getting the vaccine\nYou can get an RSV vaccination at your GP surgery.\nYour GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination.", - "urlLink": "", - "urlLabel": "" - } - ] - } - ] -} diff --git a/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_004.json b/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_004.json deleted file mode 100644 index 9f1a7ba65..000000000 --- a/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_004.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "responseId": "<>", - "meta": { - "lastUpdated": "<>" - }, - "processedSuggestions": [ - { - "condition": "RSV", - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "eligibilityCohorts": [], - "suitabilityRules": [], - "actions": [ - { - "actionType": "ButtonWithAuthLink", - "actionCode": "AmendNBS", - "description": "##You have an RSV vaccination appointment\nYou can view, change or cancel your appointment below.", - "urlLink": "http://www.nhs.uk/book-rsv", - "urlLabel": "Manage your appointment" - } - ] - } - ] -} diff --git a/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_005.json b/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_005.json deleted file mode 100644 index 7522fb0f2..000000000 --- a/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_005.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "responseId": "<>", - "meta": { - "lastUpdated": "<>" - }, - "processedSuggestions": [ - { - "condition": "RSV", - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "eligibilityCohorts": [], - "suitabilityRules": [], - "actions": [ - { - "actionType": "CardWithText", - "actionCode": "ManageLocal", - "description": "##You have an RSV vaccination appointment\nContact your healthcare provider to change or cancel your appointment.", - "urlLink": "", - "urlLabel": "" - } - ] - } - ] -} diff --git a/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_006.json b/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_006.json deleted file mode 100644 index b52ea12f7..000000000 --- a/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_006.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "responseId": "<>", - "meta": { - "lastUpdated": "<>" - }, - "processedSuggestions": [ - { - "condition": "RSV", - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "eligibilityCohorts": [], - "suitabilityRules": [ - { - "ruleType": "S", - "ruleCode": "AlreadyVaccinated", - "ruleText": "##You've had your RSV vaccination\nWe believe you had your vaccination on <>.", - "urlLink": "", - "urlLabel": "" - } - ], - "actions": [] - } - ] -} diff --git a/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_007.json b/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_007.json deleted file mode 100644 index df94725a6..000000000 --- a/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_007.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "responseId": "<>", - "meta": { - "lastUpdated": "<>" - }, - "processedSuggestions": [ - { - "condition": "RSV", - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age_rolling", - "cohortStatus": "NotActionable", - "cohortText": "are aged 75 to 79 years old." - } - ], - "suitabilityRules": [ - { - "ruleCode": "NotAvailable", - "ruleText": "NotAvailable|Vaccinations are not currently available.", - "ruleType": "S" - } - ], - "actions": [] - } - ] -} diff --git a/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_008.json b/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_008.json deleted file mode 100644 index 01fef4fb6..000000000 --- a/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_008.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "responseId": "<>", - "meta": { - "lastUpdated": "<>" - }, - "processedSuggestions": [] -} diff --git a/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_009.json b/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_009.json deleted file mode 100644 index f3821a053..000000000 --- a/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_009.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "responseId": "<>", - "meta": { - "lastUpdated": "<>" - }, - "processedSuggestions": [ - { - "condition": "RSV", - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age_rolling", - "cohortText": "are aged 75 to 79 years old.", - "cohortStatus": "NotActionable" - } - ], - "suitabilityRules": [ - { - "ruleType": "S", - "ruleCode": "NotYetDue", - "ruleText": "NotYetDue|Your next dose is not yet due." - } - ], - "actions": [] - } - ] -} diff --git a/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_010.json b/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_010.json deleted file mode 100644 index 8993f41d8..000000000 --- a/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_010.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "responseId": "<>", - "meta": { - "lastUpdated": "<>" - }, - "processedSuggestions": [ - { - "condition": "RSV", - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age_rolling", - "cohortText": "are aged 75 to 79 years old.", - "cohortStatus": "NotActionable" - } - ], - "suitabilityRules": [ - { - "ruleType": "S", - "ruleCode": "TooClose", - "ruleText": "TooClose|Your previous vaccination was less than 91 days ago." - } - ], - "actions": [] - } - ] -} diff --git a/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_011.json b/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_011.json deleted file mode 100644 index 509cd71b7..000000000 --- a/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_011.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "responseId": "<>", - "meta": { - "lastUpdated": "<>" - }, - "processedSuggestions": [ - { - "condition": "RSV", - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age_rolling", - "cohortText": "are aged 75 to 79 years old.", - "cohortStatus": "NotActionable" - } - ], - "suitabilityRules": [ - { - "ruleType": "S", - "ruleCode": "OtherSetting", - "ruleText": "OtherSetting|## Getting the vaccine\n\nOur record show you're living in a setting where care is provided.\n\nIf you think you should have the RSV vaccine, speak to a member of staff where you live." - } - ], - "actions": [] - } - ] -} diff --git a/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_012.json b/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_012.json deleted file mode 100644 index 4996198d2..000000000 --- a/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_012.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "responseId": "<>", - "meta": { - "lastUpdated": "<>" - }, - "processedSuggestions": [ - { - "condition": "RSV", - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "eligibilityCohorts": [ - { - "cohortCode": "unknown_cohort_membership", - "cohortText": "Our records do not say why you are eligible", - "cohortStatus": "NotActionable" - } - ], - "suitabilityRules": [ - { - "ruleType": "S", - "ruleCode": "AlreadyVaccinated", - "ruleText": "##You've had your RSV vaccination\nBased on our records, you recently had this vaccination.You do not need to do anything." - } - ], - "actions": [] - } - ] -} diff --git a/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_013.json b/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_013.json deleted file mode 100644 index 3413b999b..000000000 --- a/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_013.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "responseId": "<>", - "meta": { - "lastUpdated": "<>" - }, - "processedSuggestions": [ - { - "condition": "RSV", - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "eligibilityCohorts": [], - "suitabilityRules": [ - { - "ruleType": "S", - "ruleCode": "AlreadyVaccinated", - "ruleText": "##You've had your RSV vaccination\nBased on our records, you recently had this vaccination. You do not need to do anything." - } - ], - "actions": [] - } - ] -} diff --git a/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_014.json b/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_014.json deleted file mode 100644 index 29ba244d7..000000000 --- a/tests/e2e/data/responses/smokeTestResponses/AUTO_RSV_SB_014.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "responseId": "<>", - "meta": { - "lastUpdated": "<>" - }, - "processedSuggestions": [ - { - "condition": "RSV", - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age_rolling", - "cohortText": "are not aged 75 to 79 years old.", - "cohortStatus": "NotEligible" - }, - { - "cohortCode": "rsv_age_catchup", - "cohortText": "did not turn 80 between 2nd September 2024 and 31st August 2025", - "cohortStatus": "NotEligible" - } - ], - "suitabilityRules": [], - "actions": [ - { - "actionType": "CardWithText", - "actionCode": "HealtchareProInfo", - "description": "##If you think you need this vaccine\nSpeak to your healthcare professional if you think you should be offered this vaccination." - } - ] - } - ] -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-155.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-155.json deleted file mode 100644 index 6cb46fb63..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-155.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "responseId": "<>", - "meta": { - "lastUpdated": "<>" - }, - "processedSuggestions": [ - { - "condition": "RSV", - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "eligibilityCohorts": [ - { - "cohortCode": "eli_155_in_group", - "cohortStatus": "Actionable", - "cohortText": "You are currently in eli_155_in" - } - ], - "suitabilityRules": [], - "actions": [ - { - "actionCode": "AmendNBS", - "description": "##You have an RSV vaccination appointment\\nYou can view, change or cancel your appointment below.", - "actionType": "ButtonWithAuthLink", - "urlLink": "http://www.nhs.uk/book-rsv", - "urlLabel": "Manage your appointment" - } - ] - } - ] -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-216-1.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-216-1.json deleted file mode 100644 index b1c43974f..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-216-1.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "responseId": "<>", - "meta": { - "lastUpdated": "<>" - }, - "processedSuggestions": [ - { - "condition": "RSV", - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "eligibilityCohorts": [ - { - "cohortCode": "eli_216_cohort_group", - "cohortStatus": "Actionable", - "cohortText": "You are currently in eli_216_cohort" - } - ], - "suitabilityRules": [], - "actions": [ - { - "actionCode": "ActionOneRoutingCode", - "description": "ActionOneDescription", - "actionType": "ActionOneActionType", - "urlLabel": "ActionOneUrlLabel", - "urlLink": "http://www.actiononeurl.com/" - } - ] - } - ] -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-216-2.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-216-2.json deleted file mode 100644 index 4f3339882..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-216-2.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "resourceType": "OperationOutcome", - "id": "e158b107-4283-43ee-8a4e-8e68cd15d26f", - "meta": { - "lastUpdated": "2025-08-12T08:09:01.662728Z" - }, - "issue": [ - { - "severity": "error", - "code": "processing", - "details": { - "coding": [ - { - "system": "https://fhir.nhs.uk/STU3/ValueSet/Spine-ErrorOrWarningCode-1", - "code": "REFERENCE_NOT_FOUND", - "display": "The given NHS number was not found in our datasets. This could be because the number is incorrect or some other reason we cannot process that number." - } - ] - }, - "diagnostics": "NHS Number '9686368' was not recognised by the Eligibility Signposting API", - "location": [ - "parameters/id" - ] - } - ] -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-216-3.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-216-3.json deleted file mode 100644 index d959499f3..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-216-3.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "response_items": "NHS number mismatch" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-219-1.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-219-1.json deleted file mode 100644 index 754b65de9..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-219-1.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "responseId": "<>", - "meta": { - "lastUpdated": "<>" - }, - "processedSuggestions": [ - { - "condition": "RSV", - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "eligibilityCohorts": [ - { - "cohortCode": "eli_291_cohort_1_group", - "cohortStatus": "Actionable", - "cohortText": "You are currently in eli_291_cohort_1" - } - ], - "suitabilityRules": [], - "actions": [ - { - "actionType": "DefaultActionType", - "actionCode": "DefaultAction", - "description": "DefaultActionDescription", - "urlLabel": "DefaultActionLabel", - "urlLink": "https://www.defaultactionurl.com/" - } - ] - } - ] -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-219-2.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-219-2.json deleted file mode 100644 index 8d29be962..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-219-2.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "responseId": "<>", - "meta": { - "lastUpdated": "<>" - }, - "processedSuggestions": [ - { - "condition": "RSV", - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "eligibilityCohorts": [ - { - "cohortCode": "eli_291_cohort_2_group", - "cohortStatus": "Actionable", - "cohortText": "You are currently in eli_291_cohort_2" - } - ], - "suitabilityRules": [], - "actions": [ - { - "actionType": "ActionTwoActionType", - "actionCode": "ActionTwoRoutingCode", - "description": "ActionTwoDescription", - "urlLink": "http://www.actiontwourl.com/", - "urlLabel": "ActionTwoUrlLabel" - } - ] - } - ] -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-219-3.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-219-3.json deleted file mode 100644 index 5657c9940..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-219-3.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "responseId": "<>", - "meta": { - "lastUpdated": "<>" - }, - "processedSuggestions": [ - { - "condition": "RSV", - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "eligibilityCohorts": [ - { - "cohortCode": "eli_291_cohort_3_group", - "cohortStatus": "Actionable", - "cohortText": "You are currently in eli_291_cohort_3" - } - ], - "suitabilityRules": [], - "actions": [ - { - "actionCode": "ActionOneRoutingCode", - "description": "ActionOneDescription", - "actionType": "ActionOneActionType", - "urlLabel": "ActionOneUrlLabel", - "urlLink": "http://www.actiononeurl.com/" - } - ] - } - ] -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-220_001.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-220_001.json deleted file mode 100644 index 230b4da39..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-220_001.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-06T14:44:56.294924+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_220_cohort_group", - "cohortStatus": "Actionable", - "cohortText": "are a member of eli_220_cohort_group_0" - }, - { - "cohortCode": "rsv_eli_220_cohort_group_other", - "cohortStatus": "Actionable", - "cohortText": "are a member of eli_220_cohort_group_other" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "6e7d0d6a-1a1f-4238-a7ae-2911414c1536" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-220_002.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-220_002.json deleted file mode 100644 index 944211f08..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-220_002.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-06T14:44:56.294924+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_220_cohort_group", - "cohortStatus": "Actionable", - "cohortText": "are a member of eli_220_cohort_group_10" - }, - { - "cohortCode": "rsv_eli_220_cohort_group_other", - "cohortStatus": "Actionable", - "cohortText": "are a member of eli_220_cohort_group_other" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "6e7d0d6a-1a1f-4238-a7ae-2911414c1536" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-220_003.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-220_003.json deleted file mode 100644 index cf4a88e42..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-220_003.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-08T06:57:31.196189+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_220_cohort_group", - "cohortStatus": "NotActionable", - "cohortText": "are a member of eli_220_cohort_group_0" - }, - { - "cohortCode": "rsv_eli_220_cohort_group_other", - "cohortStatus": "NotActionable", - "cohortText": "are a member of eli_220_cohort_group_other" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "NotActionable Reason 1", - "ruleText": "Description 1", - "ruleType": "S" - } - ] - } - ], - "responseId": "331c56ff-9c97-47be-8781-34cea44d400b" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-220_004.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-220_004.json deleted file mode 100644 index a19d23777..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-220_004.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-08T06:56:33.768243+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_220_cohort_group", - "cohortStatus": "NotActionable", - "cohortText": "are a member of eli_220_cohort_group_10" - }, - { - "cohortCode": "rsv_eli_220_cohort_group_other", - "cohortStatus": "NotActionable", - "cohortText": "are a member of eli_220_cohort_group_other" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "NotActionable Reason 1", - "ruleText": "Description 1", - "ruleType": "S" - } - ] - } - ], - "responseId": "ec8a1a74-5505-4391-a2ca-093499377d34" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-220_005.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-220_005.json deleted file mode 100644 index 9e0d07f0a..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-220_005.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-08T06:57:31.196189+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_220_cohort_group", - "cohortStatus": "NotEligible", - "cohortText": "are not a member of eli_220_cohort_group_0" - }, - { - "cohortCode": "rsv_eli_220_cohort_group_other", - "cohortStatus": "NotEligible", - "cohortText": "are not a member of eli_220_cohort_group_other" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "331c56ff-9c97-47be-8781-34cea44d400b" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-220_006.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-220_006.json deleted file mode 100644 index 8fb9c4a89..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-220_006.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-08T06:57:31.196189+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_220_cohort_group", - "cohortStatus": "NotEligible", - "cohortText": "are not a member of eli_220_cohort_group_10" - }, - { - "cohortCode": "rsv_eli_220_cohort_group_other", - "cohortStatus": "NotEligible", - "cohortText": "are not a member of eli_220_cohort_group_other" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "331c56ff-9c97-47be-8781-34cea44d400b" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-221-01.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-221-01.json deleted file mode 100644 index 3dc537ca7..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-221-01.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-22T07:29:26.220684+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "eli_221_group", - "cohortStatus": "NotActionable", - "cohortText": "You are currently in eli_221_cohort" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "Already Vaccinated", - "ruleText": "Already Vaccinated|We believe that you Are Already Vaccinated", - "ruleType": "S" - }, - { - "ruleCode": "Other Setting Care", - "ruleText": "Other Setting|We believe that you will get the vaccination where you are located", - "ruleType": "S" - } - ] - } - ], - "responseId": "47a0b0cb-a5b4-457c-966f-294321f5c1c7" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-221-02.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-221-02.json deleted file mode 100644 index 4f3234878..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-221-02.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-22T07:35:17.550067+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "eli_221_group", - "cohortStatus": "NotActionable", - "cohortText": "You are currently in eli_221_cohort" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "Already Vaccinated", - "ruleText": "Already Vaccinated|We believe that you Are Already Vaccinated", - "ruleType": "S" - }, - { - "ruleCode": "Other Setting Care", - "ruleText": "Other Setting|We believe that you will get the vaccination where you are located", - "ruleType": "S" - }, - { - "ruleCode": "Other Setting DE", - "ruleText": "Other Setting|We believe that you will get the vaccination where you are located", - "ruleType": "S" - } - ] - } - ], - "responseId": "ae6577f5-ddd5-4199-b387-35b9fdb15172" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-221-03.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-221-03.json deleted file mode 100644 index 4f3234878..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-221-03.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-22T07:35:17.550067+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "eli_221_group", - "cohortStatus": "NotActionable", - "cohortText": "You are currently in eli_221_cohort" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "Already Vaccinated", - "ruleText": "Already Vaccinated|We believe that you Are Already Vaccinated", - "ruleType": "S" - }, - { - "ruleCode": "Other Setting Care", - "ruleText": "Other Setting|We believe that you will get the vaccination where you are located", - "ruleType": "S" - }, - { - "ruleCode": "Other Setting DE", - "ruleText": "Other Setting|We believe that you will get the vaccination where you are located", - "ruleType": "S" - } - ] - } - ], - "responseId": "ae6577f5-ddd5-4199-b387-35b9fdb15172" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-222-1.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-222-1.json deleted file mode 100644 index 9b5387504..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-222-1.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-16T10:32:10.803638+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "AmendNBS", - "actionType": "ButtonWithAuthLink", - "description": "##You have an RSV vaccination appointment\\nYou can view, change or cancel your appointment below.", - "urlLabel": "Manage your appointment", - "urlLink": "http://www.nhs.uk/book-rsv" - } - ], - "condition": "RSV", - "eligibilityCohorts": [], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "9b11bdb0-afa8-4ff7-994c-ee7738313d76" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-222-2.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-222-2.json deleted file mode 100644 index afcbcfb43..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-222-2.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-16T09:58:29.799271+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age", - "cohortStatus": "NotEligible", - "cohortText": "are not aged 75 to 79 years old." - }, - { - "cohortCode": "rsv_age_catchup", - "cohortStatus": "NotEligible", - "cohortText": "did not turn 80 after 1 September 2024" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "3eb44989-523d-48c5-a59d-011fbc7425a6" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-222-3.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-222-3.json deleted file mode 100644 index 398df9eee..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-222-3.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-16T10:32:59.478617+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "Already Vaccinated", - "ruleText": "##You've had your RSV vaccination\nWe believe you had your vaccination.", - "ruleType": "S" - } - ] - } - ], - "responseId": "652229c3-0df6-4224-a41e-8482fe274bf5" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-222-4.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-222-4.json deleted file mode 100644 index 398df9eee..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-222-4.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-16T10:32:59.478617+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "Already Vaccinated", - "ruleText": "##You've had your RSV vaccination\nWe believe you had your vaccination.", - "ruleType": "S" - } - ] - } - ], - "responseId": "652229c3-0df6-4224-a41e-8482fe274bf5" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-222-5.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-222-5.json deleted file mode 100644 index 398df9eee..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-222-5.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-16T10:32:59.478617+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "Already Vaccinated", - "ruleText": "##You've had your RSV vaccination\nWe believe you had your vaccination.", - "ruleType": "S" - } - ] - } - ], - "responseId": "652229c3-0df6-4224-a41e-8482fe274bf5" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-222-6.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-222-6.json deleted file mode 100644 index afcbcfb43..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-222-6.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-16T09:58:29.799271+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age", - "cohortStatus": "NotEligible", - "cohortText": "are not aged 75 to 79 years old." - }, - { - "cohortCode": "rsv_age_catchup", - "cohortStatus": "NotEligible", - "cohortText": "did not turn 80 after 1 September 2024" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "3eb44989-523d-48c5-a59d-011fbc7425a6" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-222-7.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-222-7.json deleted file mode 100644 index 99d6cd6a0..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-222-7.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-25T15:00:10.943057+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age", - "cohortStatus": "NotEligible", - "cohortText": "are not aged 75 to 79 years old." - }, - { - "cohortCode": "rsv_age_catchup", - "cohortStatus": "NotEligible", - "cohortText": "did not turn 80 after 1 September 2024" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "526cbf5b-7049-4870-85c5-23c58b48973d" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-222-8.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-222-8.json deleted file mode 100644 index 663d20f03..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-222-8.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-25T15:07:17.633204+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "Already Vaccinated", - "ruleText": "##You've had your RSV vaccination\nWe believe you had your vaccination.", - "ruleType": "S" - } - ] - } - ], - "responseId": "85ef07db-b5d8-4451-8f63-e3229a424332" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_001.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_001.json deleted file mode 100644 index 909db2b32..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_001.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-09-01T12:14:03.956690+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "TestNotAction", - "actionType": "ButtonWithAuthLink", - "description": "TestNotAction Description", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_223_cohort_group", - "cohortStatus": "NotActionable", - "cohortText": "are a member of eli_223_cohort_group" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "Already Vaccinated", - "ruleText": "## You've had your RSV vaccination\\n\\nWe believe you had the RSV vaccination on <>", - "ruleType": "S" - } - ] - } - ], - "responseId": "d3ee2545-836b-47ff-8906-0420037b26aa" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_002.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_002.json deleted file mode 100644 index 73254727e..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_002.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-09-01T15:34:26.148961+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "TestNotAction", - "actionType": "ActionType PCN: U75549", - "description": "ActionDescription ICB: QUE", - "urlLabel": "urlLabel MSOA: E02003792", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_223_cohort_group", - "cohortStatus": "NotActionable", - "cohortText": "are a member of eli_223_cohort_group" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "Already Vaccinated", - "ruleText": "We believe you had the RSV vaccination on <> and a COVID vaccination on <>.You also have a Flu Vaccination Booking on 2035/01/01 and your date of birth is <>", - "ruleType": "S" - } - ] - } - ], - "responseId": "d7671622-8269-4660-82ff-4d909da183dc" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_003.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_003.json deleted file mode 100644 index b985424eb..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_003.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "resourceType": "OperationOutcome", - "id": "606b9a26-d487-456b-99c9-b99b3e87908a", - "meta": { - "lastUpdated": "2025-09-01T15:45:05.443303Z" - }, - "issue": [ - { - "severity": "error", - "code": "processing", - "details": { - "coding": [ - { - "system": "https://fhir.nhs.uk/STU3/ValueSet/Spine-ErrorOrWarningCode-1", - "code": "INTERNAL_SERVER_ERROR", - "display": "An unexpected internal server error occurred." - } - ] - }, - "diagnostics": "An unexpected error occurred." - } - ] -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_004.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_004.json deleted file mode 100644 index e415b077b..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_004.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-09-01T15:34:26.148961+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "TestNotAction", - "actionType": "ActionType PCN: ", - "description": "ActionDescription ICB: ", - "urlLabel": "urlLabel MSOA: ", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_223_cohort_group", - "cohortStatus": "NotActionable", - "cohortText": "are a member of eli_223_cohort_group" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "Already Vaccinated", - "ruleText": "We believe you had the RSV vaccination on .You also have a Flu Vaccination Booking on and your ICB is ", - "ruleType": "S" - } - ] - } - ], - "responseId": "d7671622-8269-4660-82ff-4d909da183dc" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_005.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_005.json deleted file mode 100644 index b985424eb..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_005.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "resourceType": "OperationOutcome", - "id": "606b9a26-d487-456b-99c9-b99b3e87908a", - "meta": { - "lastUpdated": "2025-09-01T15:45:05.443303Z" - }, - "issue": [ - { - "severity": "error", - "code": "processing", - "details": { - "coding": [ - { - "system": "https://fhir.nhs.uk/STU3/ValueSet/Spine-ErrorOrWarningCode-1", - "code": "INTERNAL_SERVER_ERROR", - "display": "An unexpected internal server error occurred." - } - ] - }, - "diagnostics": "An unexpected error occurred." - } - ] -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_006.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_006.json deleted file mode 100644 index df6c8e5a7..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_006.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-09-02T15:32:31.480934+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "TestNotAction", - "actionType": "ButtonWithAuthLink", - "description": "TestNotAction Description", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_223_cohort_group", - "cohortStatus": "NotActionable", - "cohortText": "are a member of eli_223_cohort_group" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "Already Vaccinated and Booked", - "ruleText": "## 1You've had your RSV vaccination\\n\\nWe believe you had the RSV vaccination on <> and are booked on 01 January 2035", - "ruleType": "S" - } - ] - } - ], - "responseId": "1692cb9d-9804-4405-91f4-dcb544ae5af1" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_007.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_007.json deleted file mode 100644 index cbf5094a0..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_007.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-09-02T15:42:30.916497+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "TestNotAction", - "actionType": "ButtonWithAuthLink", - "description": "TestNotAction Description", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_223_cohort_group", - "cohortStatus": "NotActionable", - "cohortText": "are a member of eli_223_cohort_group" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "Already Vaccinated", - "ruleText": "## You've had your RSV vaccination\\n\\nWe believe you had the RSV vaccination on <>", - "ruleType": "S" - }, - { - "ruleCode": "Already Booked", - "ruleText": "## You have a COVID vaccination booking on 02 January 2035", - "ruleType": "S" - } - ] - } - ], - "responseId": "62f8b582-deee-4a3c-9798-1553d60024b6" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_008.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_008.json deleted file mode 100644 index 893b1effa..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_008.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-09-03T10:29:20.078600+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "TestNotEligible", - "actionType": "ButtonWithAuthLink", - "description": "## You are not eligible as your dob is <>.", - "urlLabel": "You're not Eligible", - "urlLink": "http://www.nhs.uk/book-rsv" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_223_cohort_group", - "cohortStatus": "NotEligible", - "cohortText": "are not a member of eli_223_cohort_group" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "a9feb039-5b9c-48d3-a7f7-f923e30550a6" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_009.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_009.json deleted file mode 100644 index fa17173ee..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_009.json +++ /dev/null @@ -1,146 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-09-03T11:57:45.194604+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "TestNotAction", - "actionType": "ButtonWithAuthLink", - "description": "TestNotAction Description", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_223_cohort_group", - "cohortStatus": "NotActionable", - "cohortText": "are a member of eli_223_cohort_group" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "Target Substitution LAST_SUCCESSFUL_DATE", - "ruleText": "Target Substitution LAST_SUCCESSFUL_DATE <>", - "ruleType": "S" - }, - { - "ruleCode": "Target Substitution BOOKED_APPOINTMENT_DATE", - "ruleText": "Target Substitution BOOKED_APPOINTMENT_DATE <>", - "ruleType": "S" - }, - { - "ruleCode": "Target Substitution BOOKED_APPOINTMENT_PROVIDER", - "ruleText": "Target Substitution BOOKED_APPOINTMENT_PROVIDER NBS", - "ruleType": "S" - }, - { - "ruleCode": "Target Substitution INVALID_DOSES_COUNT", - "ruleText": "Target Substitution INVALID_DOSES_COUNT 10", - "ruleType": "S" - }, - { - "ruleCode": "Target Substitution LAST_INVITE_DATE", - "ruleText": "Target Substitution LAST_INVITE_DATE <>", - "ruleType": "S" - }, - { - "ruleCode": "Target Substitution LAST_INVITE_STATUS", - "ruleText": "Target Substitution LAST_INVITE_STATUS Read", - "ruleType": "S" - }, - { - "ruleCode": "Target Substitution LAST_VALID_DOSE_DATE", - "ruleText": "Target Substitution LAST_VALID_DOSE_DATE <>", - "ruleType": "S" - }, - { - "ruleCode": "Target Substitution VALID_DOSES_COUNT", - "ruleText": "Target Substitution VALID_DOSES_COUNT 30", - "ruleType": "S" - }, - { - "ruleCode": "Person Substitution DATE_OF_BIRTH", - "ruleText": "Target Substitution DATE_OF_BIRTH <>", - "ruleType": "S" - }, - { - "ruleCode": "Person Substitution GENDER", - "ruleText": "Target Substitution GENDER 0", - "ruleType": "S" - }, - { - "ruleCode": "Person Substitution POSTCODE", - "ruleText": "Target Substitution POSTCODE SG8 6EG", - "ruleType": "S" - }, - { - "ruleCode": "Person Substitution POSTCODE_SECTOR", - "ruleText": "Target Substitution POSTCODE_SECTOR SG86", - "ruleType": "S" - }, - { - "ruleCode": "Person Substitution POSTCODE_OUTCODE", - "ruleText": "Target Substitution POSTCODE_OUTCODE SG8", - "ruleType": "S" - }, - { - "ruleCode": "Person Substitution MSOA", - "ruleText": "Target Substitution MSOA E02003792", - "ruleType": "S" - }, - { - "ruleCode": "Person Substitution LSOA", - "ruleText": "Target Substitution LSOA E01018267", - "ruleType": "S" - }, - { - "ruleCode": "Person Substitution LOCAL_AUTHORITY", - "ruleText": "Target Substitution LOCAL_AUTHORITY E08000012", - "ruleType": "S" - }, - { - "ruleCode": "Person Substitution GP_PRACTICE_CODE", - "ruleText": "Target Substitution GP_PRACTICE_CODE D81046", - "ruleType": "S" - }, - { - "ruleCode": "Person Substitution PCN", - "ruleText": "Target Substitution PCN U75549", - "ruleType": "S" - }, - { - "ruleCode": "Person Substitution ICB", - "ruleText": "Target Substitution ICB QUE", - "ruleType": "S" - }, - { - "ruleCode": "Person Substitution COMMISSIONING_REGION", - "ruleText": "Target Substitution COMMISSIONING_REGION Y61", - "ruleType": "S" - }, - { - "ruleCode": "Person Substitution 13Q_FLAG", - "ruleText": "Target Substitution 13Q_FLAG N", - "ruleType": "S" - }, - { - "ruleCode": "Person Substitution CARE_HOME_FLAG", - "ruleText": "Target Substitution CARE_HOME_FLAG N", - "ruleType": "S" - }, - { - "ruleCode": "Person Substitution DE_FLAG", - "ruleText": "Target Substitution DE_FLAG Y", - "ruleType": "S" - } - ] - } - ], - "responseId": "35c424aa-bf7a-42d8-b533-b33a09f8524f" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_010.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_010.json deleted file mode 100644 index b985424eb..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_010.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "resourceType": "OperationOutcome", - "id": "606b9a26-d487-456b-99c9-b99b3e87908a", - "meta": { - "lastUpdated": "2025-09-01T15:45:05.443303Z" - }, - "issue": [ - { - "severity": "error", - "code": "processing", - "details": { - "coding": [ - { - "system": "https://fhir.nhs.uk/STU3/ValueSet/Spine-ErrorOrWarningCode-1", - "code": "INTERNAL_SERVER_ERROR", - "display": "An unexpected internal server error occurred." - } - ] - }, - "diagnostics": "An unexpected error occurred." - } - ] -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_011.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_011.json deleted file mode 100644 index 2dc74b4ad..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_011.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-09-03T10:29:20.078600+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "TestActionable", - "actionType": "ButtonWithAuthLink", - "description": "## You are actionable as your dob is <>.", - "urlLabel": "You're actionable", - "urlLink": "http://www.nhs.uk/book-rsv" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_223_cohort_group", - "cohortStatus": "Actionable", - "cohortText": "are a member of eli_223_cohort_group" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "a9feb039-5b9c-48d3-a7f7-f923e30550a6" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_012.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_012.json deleted file mode 100644 index b985424eb..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-223_012.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "resourceType": "OperationOutcome", - "id": "606b9a26-d487-456b-99c9-b99b3e87908a", - "meta": { - "lastUpdated": "2025-09-01T15:45:05.443303Z" - }, - "issue": [ - { - "severity": "error", - "code": "processing", - "details": { - "coding": [ - { - "system": "https://fhir.nhs.uk/STU3/ValueSet/Spine-ErrorOrWarningCode-1", - "code": "INTERNAL_SERVER_ERROR", - "display": "An unexpected internal server error occurred." - } - ] - }, - "diagnostics": "An unexpected error occurred." - } - ] -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-236-01.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-236-01.json deleted file mode 100644 index aa9cc296e..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-236-01.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-22T21:07:51.351855+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "eli_236_group", - "cohortStatus": "NotActionable", - "cohortText": "You are currently in eli_236" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "13Q Flag NVL equal Test", - "ruleText": "13Q Flag NVL Test|13Q Flag NVL Test", - "ruleType": "S" - }, - { - "ruleCode": "CARE_HOME_FLAG not equal NVL Test", - "ruleText": "CARE_HOME_FLAG not equal NVL Test", - "ruleType": "S" - }, - { - "ruleCode": "COMMISSIONING_REGION greater than NVL Test", - "ruleText": "COMMISSIONING_REGION greater than NVL Test", - "ruleType": "S" - }, - { - "ruleCode": "DATE_OF_BIRTH less than NVL Test", - "ruleText": "DATE_OF_BIRTH less than NVL Test", - "ruleType": "S" - }, - { - "ruleCode": "GENDER greater than or equal to NVL Test", - "ruleText": "GENDER greater than or equal to NVL Test", - "ruleType": "S" - }, - { - "ruleCode": "GP_PRACTICE_CODE less or equal to NVL Test", - "ruleText": "GP_PRACTICE_CODE less than or equal to NVL Test", - "ruleType": "S" - }, - { - "ruleCode": "BOOKED_APPOINTMENT_DATE D<= NVL Test", - "ruleText": "BOOKED_APPOINTMENT_DATE D<= NVL Test", - "ruleType": "S" - }, - { - "ruleCode": "LAST_INVITE_DATE W> NVL Test", - "ruleText": "LAST_INVITE_DATE W> NVL Test", - "ruleType": "S" - }, - { - "ruleCode": "LAST_VALID_DOSE_DATE Y< NVL Test", - "ruleText": "LAST_VALID_DOSE_DATE Y< NVL Test", - "ruleType": "S" - } - ] - } - ], - "responseId": "edb0e191-897e-41c0-b632-eef98d484867" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-236-02.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-236-02.json deleted file mode 100644 index aa9cc296e..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-236-02.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-22T21:07:51.351855+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "eli_236_group", - "cohortStatus": "NotActionable", - "cohortText": "You are currently in eli_236" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "13Q Flag NVL equal Test", - "ruleText": "13Q Flag NVL Test|13Q Flag NVL Test", - "ruleType": "S" - }, - { - "ruleCode": "CARE_HOME_FLAG not equal NVL Test", - "ruleText": "CARE_HOME_FLAG not equal NVL Test", - "ruleType": "S" - }, - { - "ruleCode": "COMMISSIONING_REGION greater than NVL Test", - "ruleText": "COMMISSIONING_REGION greater than NVL Test", - "ruleType": "S" - }, - { - "ruleCode": "DATE_OF_BIRTH less than NVL Test", - "ruleText": "DATE_OF_BIRTH less than NVL Test", - "ruleType": "S" - }, - { - "ruleCode": "GENDER greater than or equal to NVL Test", - "ruleText": "GENDER greater than or equal to NVL Test", - "ruleType": "S" - }, - { - "ruleCode": "GP_PRACTICE_CODE less or equal to NVL Test", - "ruleText": "GP_PRACTICE_CODE less than or equal to NVL Test", - "ruleType": "S" - }, - { - "ruleCode": "BOOKED_APPOINTMENT_DATE D<= NVL Test", - "ruleText": "BOOKED_APPOINTMENT_DATE D<= NVL Test", - "ruleType": "S" - }, - { - "ruleCode": "LAST_INVITE_DATE W> NVL Test", - "ruleText": "LAST_INVITE_DATE W> NVL Test", - "ruleType": "S" - }, - { - "ruleCode": "LAST_VALID_DOSE_DATE Y< NVL Test", - "ruleText": "LAST_VALID_DOSE_DATE Y< NVL Test", - "ruleType": "S" - } - ] - } - ], - "responseId": "edb0e191-897e-41c0-b632-eef98d484867" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-274_001.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-274_001.json deleted file mode 100644 index b04d907a4..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-274_001.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-06T14:44:56.294924+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_274_cohort_group", - "cohortStatus": "Actionable", - "cohortText": "are a member of eli_274_cohort_group" - }, - { - "cohortCode": "rsv_eli_274_cohort_group_other", - "cohortStatus": "Actionable", - "cohortText": "are a member of eli_274_cohort_group_other" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "6e7d0d6a-1a1f-4238-a7ae-2911414c1536" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-274_002.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-274_002.json deleted file mode 100644 index b04d907a4..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-274_002.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-06T14:44:56.294924+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_274_cohort_group", - "cohortStatus": "Actionable", - "cohortText": "are a member of eli_274_cohort_group" - }, - { - "cohortCode": "rsv_eli_274_cohort_group_other", - "cohortStatus": "Actionable", - "cohortText": "are a member of eli_274_cohort_group_other" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "6e7d0d6a-1a1f-4238-a7ae-2911414c1536" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-274_003.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-274_003.json deleted file mode 100644 index 134a01f3d..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-274_003.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-06T15:07:37.517048+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_274_cohort_group_other", - "cohortStatus": "Actionable", - "cohortText": "are a member of eli_274_cohort_group_other" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "d07cf694-db14-4289-bd10-3ca365b943d7" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-274_004.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-274_004.json deleted file mode 100644 index b2b2e610b..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-274_004.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-06T15:15:45.231568+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_274_cohort_group", - "cohortStatus": "NotActionable", - "cohortText": "are a member of eli_274_cohort_group" - }, - { - "cohortCode": "rsv_eli_274_cohort_group_other", - "cohortStatus": "NotActionable", - "cohortText": "are a member of eli_274_cohort_group_other" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "NotActionable Reason 1", - "ruleText": "Description 1", - "ruleType": "S" - }, - { - "ruleCode": "NotActionable Reason 2", - "ruleText": "Description 2", - "ruleType": "S" - }, - { - "ruleCode": "NotActionable Reason 3", - "ruleText": "Description 3", - "ruleType": "S" - } - ] - } - ], - "responseId": "f6dfcae4-32c4-493a-a0cd-5faf83f3da64" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-274_005.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-274_005.json deleted file mode 100644 index 6a4226a7f..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-274_005.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-06T15:15:45.231568+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_274_cohort_group", - "cohortStatus": "NotActionable", - "cohortText": "are a member of eli_274_cohort_group" - }, - { - "cohortCode": "rsv_eli_274_cohort_group_other", - "cohortStatus": "NotActionable", - "cohortText": "are a member of eli_274_cohort_group_other" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "NotActionable Reason", - "ruleText": "Description 1", - "ruleType": "S" - }, - { - "ruleCode": "NotActionable Reason", - "ruleText": "Description 2", - "ruleType": "S" - }, - { - "ruleCode": "NotActionable Reason 3", - "ruleText": "Description 3", - "ruleType": "S" - } - ] - } - ], - "responseId": "f6dfcae4-32c4-493a-a0cd-5faf83f3da64" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-274_006.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-274_006.json deleted file mode 100644 index bc6611d67..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-274_006.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-06T15:15:45.231568+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_274_cohort_group", - "cohortStatus": "NotActionable", - "cohortText": "are a member of eli_274_cohort_group" - }, - { - "cohortCode": "rsv_eli_274_cohort_group_other", - "cohortStatus": "NotActionable", - "cohortText": "are a member of eli_274_cohort_group_other" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "NotActionable Reason", - "ruleText": "Description 1", - "ruleType": "S" - }, - { - "ruleCode": "NotActionable Reason", - "ruleText": "Description 2", - "ruleType": "S" - }, - { - "ruleCode": "NotActionable Reason", - "ruleText": "Description 3", - "ruleType": "S" - } - ] - } - ], - "responseId": "f6dfcae4-32c4-493a-a0cd-5faf83f3da64" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-274_007.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-274_007.json deleted file mode 100644 index 2fcb5243e..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-274_007.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-06T15:15:45.231568+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_274_cohort_group", - "cohortStatus": "NotActionable", - "cohortText": "are a member of eli_274_cohort_group" - }, - { - "cohortCode": "rsv_eli_274_cohort_group_other", - "cohortStatus": "NotActionable", - "cohortText": "are a member of eli_274_cohort_group_other" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "NotActionable Reason", - "ruleText": "Description 4", - "ruleType": "S" - }, - { - "ruleCode": "NotActionable Reason", - "ruleText": "Description 3", - "ruleType": "S" - } - ] - } - ], - "responseId": "f6dfcae4-32c4-493a-a0cd-5faf83f3da64" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-01.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-01.json deleted file mode 100644 index b0fa0933e..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-01.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-18T13:44:33.140529+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "eli_295_group", - "cohortStatus": "NotEligible", - "cohortText": "You are not currently in eli_295" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "fc6a6876-0ad8-45fb-85b3-9db42116d61b" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-02.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-02.json deleted file mode 100644 index 6ef823be4..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-02.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-18T13:54:13.465387+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "eli_295_group", - "cohortStatus": "NotActionable", - "cohortText": "You are currently in eli_295" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "Test S Rule", - "ruleText": "Test S Rule", - "ruleType": "S" - } - ] - } - ], - "responseId": "81213bbe-8a5d-47be-8868-eb03bb37bb49" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-03.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-03.json deleted file mode 100644 index 0d4be9f79..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-03.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-18T13:54:13.465387+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "eli_295_group", - "cohortStatus": "Actionable", - "cohortText": "You are currently in eli_295" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - ] - } - ], - "responseId": "81213bbe-8a5d-47be-8868-eb03bb37bb49" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-04.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-04.json deleted file mode 100644 index 24103b438..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-04.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-18T13:44:33.140529+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "DefaultX", - "actionType": "DefaultXType", - "description": "DefaultXDescription", - "urlLabel": "DefaultXLabel", - "urlLink": "https://www.defaultxaction.com/" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "eli_295_group", - "cohortStatus": "NotEligible", - "cohortText": "You are not currently in eli_295" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "fc6a6876-0ad8-45fb-85b3-9db42116d61b" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-05.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-05.json deleted file mode 100644 index 02a3d5f8f..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-05.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-18T13:54:13.465387+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "DefaultY", - "actionType": "DefaultYType", - "description": "DefaultYDescription", - "urlLabel": "DefaultYLabel", - "urlLink": "https://www.defaultyaction.com/" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "eli_295_group", - "cohortStatus": "NotActionable", - "cohortText": "You are currently in eli_295" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "Test S Rule", - "ruleText": "Test S Rule", - "ruleType": "S" - } - ] - } - ], - "responseId": "81213bbe-8a5d-47be-8868-eb03bb37bb49" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-06.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-06.json deleted file mode 100644 index 2dcd834ed..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-06.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-18T13:54:13.465387+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "DefaultA", - "actionType": "DefaultAType", - "description": "DefaultADescription", - "urlLabel": "DefaultALabel", - "urlLink": "https://www.defaultaaction.com/" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "eli_295_group", - "cohortStatus": "Actionable", - "cohortText": "You are currently in eli_295" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "81213bbe-8a5d-47be-8868-eb03bb37bb49" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-07.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-07.json deleted file mode 100644 index 3eeb4318e..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-07.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-18T14:29:05.049816+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "OtherX", - "actionType": "OtherXType", - "description": "OtherXDescription", - "urlLabel": "OtherXLabel", - "urlLink": "https://www.otherxaction.com/" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "eli_295_group", - "cohortStatus": "NotEligible", - "cohortText": "You are not currently in eli_295" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "5a263695-083e-4218-bbdf-969427913aa7" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-08.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-08.json deleted file mode 100644 index 7fee15448..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-08.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-18T14:33:55.562448+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "OtherY", - "actionType": "OtherYType", - "description": "OtherYDescription", - "urlLabel": "OtherYLabel", - "urlLink": "https://www.otheryaction.com/" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "eli_295_group", - "cohortStatus": "NotActionable", - "cohortText": "You are currently in eli_295" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "Test S Rule", - "ruleText": "Test S Rule", - "ruleType": "S" - } - ] - } - ], - "responseId": "7e7578a6-cddf-4d9e-8552-9d5502bb4d4c" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-09.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-09.json deleted file mode 100644 index 3e391df5c..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-09.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-18T14:46:44.985757+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "AmendNBS", - "actionType": "ButtonWithAuthLink", - "description": "##You have an RSV vaccination appointment\\nYou can view, change or cancel your appointment below.", - "urlLabel": "Manage your appointment", - "urlLink": "http://www.nhs.uk/book-rsv" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "eli_295_group", - "cohortStatus": "Actionable", - "cohortText": "You are currently in eli_295" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "65e95ff6-11e4-45e7-8844-d2242a422b88" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-10.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-10.json deleted file mode 100644 index 68f3ce5cb..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-10.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-18T14:29:05.049816+00:00" - }, - "processedSuggestions": [ - { - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "eli_295_group", - "cohortStatus": "NotEligible", - "cohortText": "You are not currently in eli_295" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "5a263695-083e-4218-bbdf-969427913aa7" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-11.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-11.json deleted file mode 100644 index 810c543d1..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-11.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-18T14:33:55.562448+00:00" - }, - "processedSuggestions": [ - { - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "eli_295_group", - "cohortStatus": "NotActionable", - "cohortText": "You are currently in eli_295" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "Test S Rule", - "ruleText": "Test S Rule", - "ruleType": "S" - } - ] - } - ], - "responseId": "7e7578a6-cddf-4d9e-8552-9d5502bb4d4c" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-12.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-12.json deleted file mode 100644 index a4f3e6b98..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-12.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-18T14:46:44.985757+00:00" - }, - "processedSuggestions": [ - { - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "eli_295_group", - "cohortStatus": "Actionable", - "cohortText": "You are currently in eli_295" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "65e95ff6-11e4-45e7-8844-d2242a422b88" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-13.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-13.json deleted file mode 100644 index 2b95f2473..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-13.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-18T15:34:56.695680+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "DefaultX", - "actionType": "DefaultXType", - "description": "DefaultXDescription", - "urlLabel": "DefaultXLabel", - "urlLink": "https://www.defaultxaction.com/" - }, - { - "actionCode": "OtherX", - "actionType": "OtherXType", - "description": "OtherXDescription", - "urlLabel": "OtherXLabel", - "urlLink": "https://www.otherxaction.com/" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "eli_295_group", - "cohortStatus": "NotEligible", - "cohortText": "You are not currently in eli_295" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "6dbcf04d-9ae6-415d-b54f-6677c175dc6b" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-14.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-14.json deleted file mode 100644 index a215f55e0..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-14.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-18T15:33:08.084080+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "DefaultY", - "actionType": "DefaultYType", - "description": "DefaultYDescription", - "urlLabel": "DefaultYLabel", - "urlLink": "https://www.defaultyaction.com/" - }, - { - "actionCode": "OtherY", - "actionType": "OtherYType", - "description": "OtherYDescription", - "urlLabel": "OtherYLabel", - "urlLink": "https://www.otheryaction.com/" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "eli_295_group", - "cohortStatus": "NotActionable", - "cohortText": "You are currently in eli_295" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "Test S Rule", - "ruleText": "Test S Rule", - "ruleType": "S" - } - ] - } - ], - "responseId": "299ff75e-4d02-4f23-81ca-6bfbf1e075a5" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-15.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-15.json deleted file mode 100644 index a436c06b1..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-15.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-18T15:31:37.704738+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "AmendNBS", - "actionType": "ButtonWithAuthLink", - "description": "##You have an RSV vaccination appointment\\nYou can view, change or cancel your appointment below.", - "urlLabel": "Manage your appointment", - "urlLink": "http://www.nhs.uk/book-rsv" - }, - { - "actionCode": "DefaultA", - "actionType": "DefaultAType", - "description": "DefaultADescription", - "urlLabel": "DefaultALabel", - "urlLink": "https://www.defaultaaction.com/" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "eli_295_group", - "cohortStatus": "Actionable", - "cohortText": "You are currently in eli_295" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "65479e78-ee1d-4690-b29e-d75af4273d18" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-16.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-16.json deleted file mode 100644 index 1841f2b43..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-16.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-18T16:14:39.133500+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "HigherX", - "actionType": "HigherXType", - "description": "HigherXDescription", - "urlLabel": "HigherXLabel", - "urlLink": "https://www.higherxaction.com/" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "eli_295_group", - "cohortStatus": "NotEligible", - "cohortText": "You are not currently in eli_295" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "906fdcee-63f4-4585-a133-a3ee87c48d24" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-17.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-17.json deleted file mode 100644 index 2be0d2099..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-295-17.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-18T16:15:15.028078+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "HigherY", - "actionType": "HigherYType", - "description": "HigherYDescription", - "urlLabel": "HigherYLabel", - "urlLink": "https://www.higheryaction.com/" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "eli_295_group", - "cohortStatus": "NotActionable", - "cohortText": "You are currently in eli_295" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "Test S Rule", - "ruleText": "Test S Rule", - "ruleType": "S" - } - ] - } - ], - "responseId": "33b7a6a5-3961-4e73-ad90-89dc5d61b219" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-317-1.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-317-1.json deleted file mode 100644 index 2d56cbf08..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-317-1.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "responseId": "<>", - "meta": { - "lastUpdated": "<>" - }, - "processedSuggestions": [ - { - "condition": "RSV", - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "eligibilityCohorts": [ - { - "cohortCode": "eli_317_cohort_1_group", - "cohortStatus": "Actionable", - "cohortText": "You are currently in eli_317_cohort_1" - } - ], - "suitabilityRules": [], - "actions": [ - { - "actionCode": "", - "description": "", - "actionType": "", - "urlLabel": "", - "urlLink": "" - } - ] - } - ] -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-317-2.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-317-2.json deleted file mode 100644 index d832085ad..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-317-2.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "responseId": "<>", - "meta": { - "lastUpdated": "<>" - }, - "processedSuggestions": [ - { - "condition": "RSV", - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "eligibilityCohorts": [ - { - "cohortCode": "eli_317_cohort_2_group", - "cohortStatus": "Actionable", - "cohortText": "You are currently in eli_317_cohort_2" - } - ], - "suitabilityRules": [], - "actions": [ - { - "actionCode": "", - "description": "", - "actionType": "", - "urlLabel": "", - "urlLink": "" - } - ] - } - ] -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-317-3.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-317-3.json deleted file mode 100644 index ebca2e682..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-317-3.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "responseId": "<>", - "meta": { - "lastUpdated": "<>" - }, - "processedSuggestions": [ - { - "condition": "RSV", - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "eligibilityCohorts": [ - { - "cohortCode": "eli_317_cohort_3_group", - "cohortStatus": "Actionable", - "cohortText": "You are currently in eli_317_cohort_3" - } - ], - "suitabilityRules": [] - } - ] -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-317-4.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-317-4.json deleted file mode 100644 index d053d6e8e..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-317-4.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "responseId": "<>", - "meta": { - "lastUpdated": "<>" - }, - "processedSuggestions": [ - { - "condition": "RSV", - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "eligibilityCohorts": [ - { - "cohortCode": "eli_317_cohort_4_group", - "cohortStatus": "Actionable", - "cohortText": "You are currently in eli_317_cohort_4" - } - ], - "suitabilityRules": [], - "actions": [] - } - ] -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-317-5.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-317-5.json deleted file mode 100644 index c9e5aa9b2..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-317-5.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "responseId": "<>", - "meta": { - "lastUpdated": "<>" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "ActionOneRoutingCode", - "actionType": "ActionOneActionType", - "description": "ActionOneDescription", - "urlLabel": "ActiononeUrlLabel", - "urlLink": "http://www.actiononeurl.com/" - }, - { - "actionCode": "ActionTwoRoutingCode", - "actionType": "ActionTwoActionType", - "description": "ActionTwoDescription", - "urlLabel": "ActionTwoUrlLabel", - "urlLink": "http://www.actiontwourl.com/" - }, - { - "actionCode": "ActionThreeRoutingCode", - "actionType": "ActionThreeActionType", - "description": "ActionThreeDescription", - "urlLabel": "ActionThreeUrlLabel", - "urlLink": "http://www.actionthreeurl.com/" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "eli_317_cohort_5_group", - "cohortStatus": "Actionable", - "cohortText": "You are currently in eli_317_cohort_5" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ] -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-320-1.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-320-1.json deleted file mode 100644 index 306ee5b66..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-320-1.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-14T20:34:22.263070+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "COVID", - "eligibilityCohorts": [ - { - "cohortCode": "covid_cohort_group", - "cohortStatus": "NotActionable", - "cohortText": "You are currently in a covid cohort" - } - ], - "status": "NotActionable", - "statusText": "You should have the COVID vaccine", - "suitabilityRules": [ - { - "ruleCode": "AlreadyVaccinated", - "ruleText": "##You've had your COVID vaccination\nWe believe you already had your COVID vaccination.", - "ruleType": "S" - } - ] - }, - { - "actions": [], - "condition": "MMR", - "eligibilityCohorts": [ - { - "cohortCode": "mmr_cohort_group", - "cohortStatus": "NotEligible", - "cohortText": "You are not currently in an mmr cohort" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - }, - { - "actions": [ - { - "actionCode": "AmendNBS", - "actionType": "ButtonWithAuthLink", - "description": "##You have an RSV vaccination appointment\nYou can view, change or cancel your appointment below.", - "urlLabel": "Manage your appointment", - "urlLink": "http://www.nhs.uk/book-rsv" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_cohort_group", - "cohortStatus": "Actionable", - "cohortText": "You are currently in an RSV cohort" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "d5255fb5-ec34-46c0-8177-d54c3bcbb5d1" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-320-10.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-320-10.json deleted file mode 100644 index 8b30871c9..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-320-10.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-15T14:52:52.785698+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "COVID", - "eligibilityCohorts": [ - { - "cohortCode": "covid_cohort_group", - "cohortStatus": "NotActionable", - "cohortText": "You are currently in a covid cohort" - } - ], - "status": "NotActionable", - "statusText": "You should have the COVID vaccine", - "suitabilityRules": [ - { - "ruleCode": "AlreadyVaccinated", - "ruleText": "##You've had your COVID vaccination\nWe believe you already had your COVID vaccination.", - "ruleType": "S" - } - ] - } - ], - "responseId": "5c8d1cb3-8326-40b1-93ad-1b7fa24c2595" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-320-11.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-320-11.json deleted file mode 100644 index 9f936928c..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-320-11.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-15T14:52:52.785698+00:00" - }, - "processedSuggestions": [], - "responseId": "5c8d1cb3-8326-40b1-93ad-1b7fa24c2595" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-320-2.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-320-2.json deleted file mode 100644 index 306ee5b66..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-320-2.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-14T20:34:22.263070+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "COVID", - "eligibilityCohorts": [ - { - "cohortCode": "covid_cohort_group", - "cohortStatus": "NotActionable", - "cohortText": "You are currently in a covid cohort" - } - ], - "status": "NotActionable", - "statusText": "You should have the COVID vaccine", - "suitabilityRules": [ - { - "ruleCode": "AlreadyVaccinated", - "ruleText": "##You've had your COVID vaccination\nWe believe you already had your COVID vaccination.", - "ruleType": "S" - } - ] - }, - { - "actions": [], - "condition": "MMR", - "eligibilityCohorts": [ - { - "cohortCode": "mmr_cohort_group", - "cohortStatus": "NotEligible", - "cohortText": "You are not currently in an mmr cohort" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - }, - { - "actions": [ - { - "actionCode": "AmendNBS", - "actionType": "ButtonWithAuthLink", - "description": "##You have an RSV vaccination appointment\nYou can view, change or cancel your appointment below.", - "urlLabel": "Manage your appointment", - "urlLink": "http://www.nhs.uk/book-rsv" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_cohort_group", - "cohortStatus": "Actionable", - "cohortText": "You are currently in an RSV cohort" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "d5255fb5-ec34-46c0-8177-d54c3bcbb5d1" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-320-3.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-320-3.json deleted file mode 100644 index 658cd5c04..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-320-3.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-14T20:34:22.263070+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "COVID", - "eligibilityCohorts": [ - { - "cohortCode": "covid_cohort_group", - "cohortStatus": "NotActionable", - "cohortText": "You are currently in a covid cohort" - } - ], - "status": "NotActionable", - "statusText": "You should have the COVID vaccine", - "suitabilityRules": [ - { - "ruleCode": "AlreadyVaccinated", - "ruleText": "##You've had your COVID vaccination\nWe believe you already had your COVID vaccination.", - "ruleType": "S" - } - ] - } - ], - "responseId": "d5255fb5-ec34-46c0-8177-d54c3bcbb5d1" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-320-4.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-320-4.json deleted file mode 100644 index ec373e2a9..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-320-4.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-14T20:34:22.263070+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "MMR", - "eligibilityCohorts": [ - { - "cohortCode": "mmr_cohort_group", - "cohortStatus": "NotEligible", - "cohortText": "You are not currently in an mmr cohort" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "d5255fb5-ec34-46c0-8177-d54c3bcbb5d1" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-320-5.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-320-5.json deleted file mode 100644 index 7fb1ab894..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-320-5.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-14T20:34:22.263070+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "MMR", - "eligibilityCohorts": [ - { - "cohortCode": "mmr_cohort_group", - "cohortStatus": "NotEligible", - "cohortText": "You are not currently in an mmr cohort" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - }, - { - "actions": [ - { - "actionCode": "AmendNBS", - "actionType": "ButtonWithAuthLink", - "description": "##You have an RSV vaccination appointment\nYou can view, change or cancel your appointment below.", - "urlLabel": "Manage your appointment", - "urlLink": "http://www.nhs.uk/book-rsv" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_cohort_group", - "cohortStatus": "Actionable", - "cohortText": "You are currently in an RSV cohort" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "d5255fb5-ec34-46c0-8177-d54c3bcbb5d1" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-320-6.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-320-6.json deleted file mode 100644 index a3dc37c19..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-320-6.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-15T13:05:26.936847+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "COVID", - "eligibilityCohorts": [ - { - "cohortCode": "covid_cohort_group", - "cohortStatus": "NotActionable", - "cohortText": "You are currently in a covid cohort" - } - ], - "status": "NotActionable", - "statusText": "You should have the COVID vaccine", - "suitabilityRules": [ - { - "ruleCode": "AlreadyVaccinated", - "ruleText": "##You've had your COVID vaccination\nWe believe you already had your COVID vaccination.", - "ruleType": "S" - } - ] - }, - { - "actions": [ - { - "actionCode": "AmendNBS", - "actionType": "ButtonWithAuthLink", - "description": "##You have an flu screening appointment\nYou can view, change or cancel your appointment below.", - "urlLabel": "Manage your appointment", - "urlLink": "http://www.nhs.uk/book-bs" - } - ], - "condition": "FLU", - "eligibilityCohorts": [ - { - "cohortCode": "FLU_screening_cohort_group", - "cohortStatus": "Actionable", - "cohortText": "You are currently in an flu SCREENING cohort" - } - ], - "status": "Actionable", - "statusText": "You should have the FLU vaccine", - "suitabilityRules": [] - }, - { - "actions": [], - "condition": "MMR", - "eligibilityCohorts": [ - { - "cohortCode": "mmr_cohort_group", - "cohortStatus": "NotEligible", - "cohortText": "You are not currently in an mmr cohort" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - }, - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_screening_cohort_group", - "cohortStatus": "NotEligible", - "cohortText": "You are not currently in an RSV SCREENING cohort" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "2e40b120-6f59-4418-9c80-363137e6386e" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-320-7.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-320-7.json deleted file mode 100644 index c57312555..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-320-7.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-15T14:52:52.785698+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "COVID", - "eligibilityCohorts": [ - { - "cohortCode": "covid_cohort_group", - "cohortStatus": "NotActionable", - "cohortText": "You are currently in a covid cohort" - } - ], - "status": "NotActionable", - "statusText": "You should have the COVID vaccine", - "suitabilityRules": [ - { - "ruleCode": "AlreadyVaccinated", - "ruleText": "##You've had your COVID vaccination\nWe believe you already had your COVID vaccination.", - "ruleType": "S" - } - ] - }, - { - "actions": [ - { - "actionCode": "AmendNBS", - "actionType": "ButtonWithAuthLink", - "description": "##You have an flu screening appointment\nYou can view, change or cancel your appointment below.", - "urlLabel": "Manage your appointment", - "urlLink": "http://www.nhs.uk/book-bs" - } - ], - "condition": "FLU", - "eligibilityCohorts": [ - { - "cohortCode": "FLU_screening_cohort_group", - "cohortStatus": "Actionable", - "cohortText": "You are currently in an flu SCREENING cohort" - } - ], - "status": "Actionable", - "statusText": "You should have the FLU vaccine", - "suitabilityRules": [] - }, - { - "actions": [], - "condition": "MMR", - "eligibilityCohorts": [ - { - "cohortCode": "mmr_cohort_group", - "cohortStatus": "NotEligible", - "cohortText": "You are not currently in an mmr cohort" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - }, - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_screening_cohort_group", - "cohortStatus": "NotEligible", - "cohortText": "You are not currently in an RSV SCREENING cohort" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "5c8d1cb3-8326-40b1-93ad-1b7fa24c2595" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-320-8.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-320-8.json deleted file mode 100644 index bff98f1db..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-320-8.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-15T14:52:52.785698+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "AmendNBS", - "actionType": "ButtonWithAuthLink", - "description": "##You have an flu screening appointment\nYou can view, change or cancel your appointment below.", - "urlLabel": "Manage your appointment", - "urlLink": "http://www.nhs.uk/book-bs" - } - ], - "condition": "FLU", - "eligibilityCohorts": [ - { - "cohortCode": "FLU_screening_cohort_group", - "cohortStatus": "Actionable", - "cohortText": "You are currently in an flu SCREENING cohort" - } - ], - "status": "Actionable", - "statusText": "You should have the FLU vaccine", - "suitabilityRules": [] - }, - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_screening_cohort_group", - "cohortStatus": "NotEligible", - "cohortText": "You are not currently in an RSV SCREENING cohort" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "5c8d1cb3-8326-40b1-93ad-1b7fa24c2595" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-320-9.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-320-9.json deleted file mode 100644 index 45c8d1200..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-320-9.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-15T14:52:52.785698+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "COVID", - "eligibilityCohorts": [ - { - "cohortCode": "covid_cohort_group", - "cohortStatus": "NotActionable", - "cohortText": "You are currently in a covid cohort" - } - ], - "status": "NotActionable", - "statusText": "You should have the COVID vaccine", - "suitabilityRules": [ - { - "ruleCode": "AlreadyVaccinated", - "ruleText": "##You've had your COVID vaccination\nWe believe you already had your COVID vaccination.", - "ruleType": "S" - } - ] - }, - { - "actions": [], - "condition": "MMR", - "eligibilityCohorts": [ - { - "cohortCode": "mmr_cohort_group", - "cohortStatus": "NotEligible", - "cohortText": "You are not currently in an mmr cohort" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "5c8d1cb3-8326-40b1-93ad-1b7fa24c2595" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_001.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_001.json deleted file mode 100644 index d1c5e9563..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_001.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-16T10:32:10.803638+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "AmendNBS", - "actionType": "ButtonWithAuthLink", - "description": "##You have an RSV vaccination appointment\nYou can view, change or cancel your appointment below.", - "urlLabel": "Manage your appointment", - "urlLink": "http://www.nhs.uk/book-rsv" - } - ], - "condition": "RSV", - "eligibilityCohorts": [], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "9b11bdb0-afa8-4ff7-994c-ee7738313d76" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_002.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_002.json deleted file mode 100644 index 52fd438d6..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_002.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-28T15:46:13.437131+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "HealthcareProInfo", - "actionType": "InfoText", - "description": "## If you think this is incorrect\n\nSpeak to your healthcare professional if you think you should be offered this vaccine.\n\nFor anything else, visit our help and support page. (ADD LINK)", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age", - "cohortStatus": "NotEligible", - "cohortText": "are not aged 75 to 79 years old" - }, - { - "cohortCode": "rsv_age_catchup", - "cohortStatus": "NotEligible", - "cohortText": "did not turn 80 after 1 September 2024" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "c4aba395-5f53-49b7-8506-9ab8f6bd7750" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_003.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_003.json deleted file mode 100644 index f00ac3dc4..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_003.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-28T15:47:55.146282+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "AlreadyVaccinatedInfo", - "actionType": "InfoText", - "description": "## If you think this is incorrect\n\nIf you believe you've not been vaccinated against RSV, speak to your healthcare professional.\n\nFor anything else please see our help and support page. (ADD LINK).", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "Already Vaccinated", - "ruleText": "## You've had your RSV vaccination\n\nWe believe you had your vaccination.", - "ruleType": "S" - } - ] - } - ], - "responseId": "0587f923-0f83-4f2b-aba4-024f11c7cf4e" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_004.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_004.json deleted file mode 100644 index 78d7940bf..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_004.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-28T15:48:45.576609+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "AlreadyVaccinatedInfo", - "actionType": "InfoText", - "description": "## If you think this is incorrect\n\nIf you believe you've not been vaccinated against RSV, speak to your healthcare professional.\n\nFor anything else please see our help and support page. (ADD LINK).", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "Already Vaccinated", - "ruleText": "## You've had your RSV vaccination\n\nWe believe you had your vaccination.", - "ruleType": "S" - } - ] - } - ], - "responseId": "24041024-19c7-45ca-a564-0394e15f634c" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_005.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_005.json deleted file mode 100644 index 601e189ef..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_005.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-28T15:49:21.809706+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "AlreadyVaccinatedInfo", - "actionType": "InfoText", - "description": "## If you think this is incorrect\n\nIf you believe you've not been vaccinated against RSV, speak to your healthcare professional.\n\nFor anything else please see our help and support page. (ADD LINK).", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "Already Vaccinated", - "ruleText": "## You've had your RSV vaccination\n\nWe believe you had your vaccination.", - "ruleType": "S" - } - ] - } - ], - "responseId": "dc283180-9a04-4005-9da1-2dec682af213" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_006.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_006.json deleted file mode 100644 index 8e1e3f5a2..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_006.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-28T15:52:33.593209+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "HealthcareProInfo", - "actionType": "InfoText", - "description": "## If you think this is incorrect\n\nSpeak to your healthcare professional if you think you should be offered this vaccine.\n\nFor anything else, visit our help and support page. (ADD LINK)", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age", - "cohortStatus": "NotEligible", - "cohortText": "are not aged 75 to 79 years old" - }, - { - "cohortCode": "rsv_age_catchup", - "cohortStatus": "NotEligible", - "cohortText": "did not turn 80 after 1 September 2024" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "9bdf8ca7-e5b1-4e1e-a17f-a9e17bd4c203" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_007.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_007.json deleted file mode 100644 index 17443852e..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_007.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-28T15:53:18.270563+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "HealthcareProInfo", - "actionType": "InfoText", - "description": "## If you think this is incorrect\n\nSpeak to your healthcare professional if you think you should be offered this vaccine.\n\nFor anything else, visit our help and support page. (ADD LINK)", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age", - "cohortStatus": "NotEligible", - "cohortText": "are not aged 75 to 79 years old" - }, - { - "cohortCode": "rsv_age_catchup", - "cohortStatus": "NotEligible", - "cohortText": "did not turn 80 after 1 September 2024" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "d8144e93-4cfd-402b-ac3d-7699aa21b48f" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_008.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_008.json deleted file mode 100644 index 8b7d4b585..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_008.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-28T15:53:59.174715+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "AlreadyVaccinatedInfo", - "actionType": "InfoText", - "description": "## If you think this is incorrect\n\nIf you believe you've not been vaccinated against RSV, speak to your healthcare professional.\n\nFor anything else please see our help and support page. (ADD LINK).", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "Already Vaccinated", - "ruleText": "## You've had your RSV vaccination\n\nWe believe you had your vaccination.", - "ruleType": "S" - } - ] - } - ], - "responseId": "54f1841a-93e5-4da1-916b-6ed1cff5903f" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_009.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_009.json deleted file mode 100644 index 204fb5de9..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_009.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-28T16:08:36.057890+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "HealthcareProInfo", - "actionType": "InfoText", - "description": "## If you think this is incorrect\n\nSpeak to your healthcare professional if you think you should be offered this vaccine.\n\nFor anything else, visit our help and support page. (ADD LINK)", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age", - "cohortStatus": "NotEligible", - "cohortText": "are not aged 75 to 79 years old" - }, - { - "cohortCode": "rsv_age_catchup", - "cohortStatus": "NotEligible", - "cohortText": "did not turn 80 after 1 September 2024" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "84069cc8-d3a4-48aa-adcf-d5e292fb1a56" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_010.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_010.json deleted file mode 100644 index 204fb5de9..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_010.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-28T16:08:36.057890+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "HealthcareProInfo", - "actionType": "InfoText", - "description": "## If you think this is incorrect\n\nSpeak to your healthcare professional if you think you should be offered this vaccine.\n\nFor anything else, visit our help and support page. (ADD LINK)", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age", - "cohortStatus": "NotEligible", - "cohortText": "are not aged 75 to 79 years old" - }, - { - "cohortCode": "rsv_age_catchup", - "cohortStatus": "NotEligible", - "cohortText": "did not turn 80 after 1 September 2024" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "84069cc8-d3a4-48aa-adcf-d5e292fb1a56" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_011.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_011.json deleted file mode 100644 index 204fb5de9..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_011.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-28T16:08:36.057890+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "HealthcareProInfo", - "actionType": "InfoText", - "description": "## If you think this is incorrect\n\nSpeak to your healthcare professional if you think you should be offered this vaccine.\n\nFor anything else, visit our help and support page. (ADD LINK)", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age", - "cohortStatus": "NotEligible", - "cohortText": "are not aged 75 to 79 years old" - }, - { - "cohortCode": "rsv_age_catchup", - "cohortStatus": "NotEligible", - "cohortText": "did not turn 80 after 1 September 2024" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "84069cc8-d3a4-48aa-adcf-d5e292fb1a56" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_012.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_012.json deleted file mode 100644 index 204fb5de9..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_012.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-28T16:08:36.057890+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "HealthcareProInfo", - "actionType": "InfoText", - "description": "## If you think this is incorrect\n\nSpeak to your healthcare professional if you think you should be offered this vaccine.\n\nFor anything else, visit our help and support page. (ADD LINK)", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age", - "cohortStatus": "NotEligible", - "cohortText": "are not aged 75 to 79 years old" - }, - { - "cohortCode": "rsv_age_catchup", - "cohortStatus": "NotEligible", - "cohortText": "did not turn 80 after 1 September 2024" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "84069cc8-d3a4-48aa-adcf-d5e292fb1a56" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_013.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_013.json deleted file mode 100644 index faff88634..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_013.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-28T18:54:18.927265+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "AlreadyVaccinatedInfo", - "actionType": "InfoText", - "description": "## If you think this is incorrect\n\nIf you believe you've not been vaccinated against RSV, speak to your healthcare professional.\n\nFor anything else please see our help and support page. (ADD LINK).", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "Already Vaccinated", - "ruleText": "## You've had your RSV vaccination\n\nWe believe you had your vaccination.", - "ruleType": "S" - } - ] - } - ], - "responseId": "622dc3d6-6c91-427a-8e03-b8a42fef140b" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_014.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_014.json deleted file mode 100644 index c77bdbc6f..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_014.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-29T07:26:50.668718+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "ManagedSettingInfo", - "actionType": "InfoText", - "description": "## If you think this is incorrect\n\nIf you have already had this vaccination or your personal details are wrong, visit our help and support page. (ADD LINK).", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age_catchup", - "cohortStatus": "NotActionable", - "cohortText": "turned 80 after 1st September 2024" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "Other Setting", - "ruleText": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "ruleType": "S" - } - ] - } - ], - "responseId": "4cab3850-0478-4cc5-a562-7c1b113740dc" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_015.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_015.json deleted file mode 100644 index b3020f0e8..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_015.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-29T07:38:36.598629+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "ManagedSettingInfo", - "actionType": "InfoText", - "description": "## If you think this is incorrect\n\nIf you have already had this vaccination or your personal details are wrong, visit our help and support page. (ADD LINK).", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age", - "cohortStatus": "NotActionable", - "cohortText": "are aged 75 to 79 years old" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "Other Setting with no future booking", - "ruleText": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "ruleType": "S" - } - ] - } - ], - "responseId": "8cd0c26a-626d-4e02-9e3e-817c01fd4afa" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_016.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_016.json deleted file mode 100644 index b6aef56b1..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_016.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-29T07:38:36.598629+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "ManagedSettingInfo", - "actionType": "InfoText", - "description": "## If you think this is incorrect\n\nIf you have already had this vaccination or your personal details are wrong, visit our help and support page. (ADD LINK).", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age", - "cohortStatus": "NotActionable", - "cohortText": "are aged 75 to 79 years old" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "Other Setting", - "ruleText": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "ruleType": "S" - } - ] - } - ], - "responseId": "8cd0c26a-626d-4e02-9e3e-817c01fd4afa" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_017.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_017.json deleted file mode 100644 index c7508e1f8..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_017.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-29T13:30:49.717741+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "ManageLocal", - "actionType": "CardWithText", - "description": "##You have an RSV vaccination appointment\n\nContact your healthcare provider to change or cancel your appointment.", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "1693bf53-e5a0-4320-b2cf-dbcd467bbb04" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_018.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_018.json deleted file mode 100644 index 710812e5c..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_018.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-29T13:35:47.326787+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "AmendNBS", - "actionType": "ButtonWithAuthLink", - "description": "##You have an RSV vaccination appointment\nYou can view, change or cancel your appointment below.", - "urlLabel": "Manage your appointment", - "urlLink": "http://www.nhs.uk/book-rsv" - } - ], - "condition": "RSV", - "eligibilityCohorts": [], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "3b13b33f-51d8-45df-b5f2-854950a8724c" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_019.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_019.json deleted file mode 100644 index 710812e5c..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_019.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-29T13:35:47.326787+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "AmendNBS", - "actionType": "ButtonWithAuthLink", - "description": "##You have an RSV vaccination appointment\nYou can view, change or cancel your appointment below.", - "urlLabel": "Manage your appointment", - "urlLink": "http://www.nhs.uk/book-rsv" - } - ], - "condition": "RSV", - "eligibilityCohorts": [], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "3b13b33f-51d8-45df-b5f2-854950a8724c" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_020.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_020.json deleted file mode 100644 index 6d3ea76b3..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_020.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-29T14:04:16.063150+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "BookLocal", - "actionType": "InfoText", - "description": "##Getting the vaccine\n\nYou can get an RSV vaccination at your GP surgery.\nYour GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination.", - "urlLabel": "", - "urlLink": "" - }, - { - "actionCode": "BookNBS", - "actionType": "ButtonWithAuthLink", - "description": "", - "urlLabel": "Continue to booking", - "urlLink": "http://www.nhs.uk/book-rsv" - }, - { - "actionCode": "HelpSupportInfo", - "actionType": "InfoText", - "description": "## CONTENT TBC\n\nBlah blah blah.", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age_catchup", - "cohortStatus": "Actionable", - "cohortText": "turned 80 after 1st September 2024" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "f0f2023c-3997-44aa-9a3a-35b5c432336c" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_021.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_021.json deleted file mode 100644 index 6d3ea76b3..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_021.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-29T14:04:16.063150+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "BookLocal", - "actionType": "InfoText", - "description": "##Getting the vaccine\n\nYou can get an RSV vaccination at your GP surgery.\nYour GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination.", - "urlLabel": "", - "urlLink": "" - }, - { - "actionCode": "BookNBS", - "actionType": "ButtonWithAuthLink", - "description": "", - "urlLabel": "Continue to booking", - "urlLink": "http://www.nhs.uk/book-rsv" - }, - { - "actionCode": "HelpSupportInfo", - "actionType": "InfoText", - "description": "## CONTENT TBC\n\nBlah blah blah.", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age_catchup", - "cohortStatus": "Actionable", - "cohortText": "turned 80 after 1st September 2024" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "f0f2023c-3997-44aa-9a3a-35b5c432336c" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_022.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_022.json deleted file mode 100644 index a4f4656b8..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_022.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-29T16:27:41.967804+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "BookLocal", - "actionType": "InfoText", - "description": "##Getting the vaccine\n\nYou can get an RSV vaccination at your GP surgery.\nYour GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination.", - "urlLabel": "", - "urlLink": "" - }, - { - "actionCode": "HelpSupportInfo", - "actionType": "InfoText", - "description": "## CONTENT TBC\n\nBlah blah blah.", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age_catchup", - "cohortStatus": "Actionable", - "cohortText": "turned 80 after 1st September 2024" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "ad09ee8c-ee37-4a7f-8fde-22aec6c90d89" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_023.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_023.json deleted file mode 100644 index fe6f609a4..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_023.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-29T16:27:41.967804+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "BookLocal", - "actionType": "InfoText", - "description": "##Getting the vaccine\n\nYou can get an RSV vaccination at your GP surgery.\nYour GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination.", - "urlLabel": "", - "urlLink": "" - }, - { - "actionCode": "HelpSupportInfo", - "actionType": "InfoText", - "description": "## CONTENT TBC\n\nBlah blah blah.", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age", - "cohortStatus": "Actionable", - "cohortText": "are aged 75 to 79 years old" - }, - { - "cohortCode": "rsv_age_catchup", - "cohortStatus": "Actionable", - "cohortText": "turned 80 after 1st September 2024" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "ad09ee8c-ee37-4a7f-8fde-22aec6c90d89" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_024.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_024.json deleted file mode 100644 index 0dc4f9323..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_024.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "meta": { - "lastUpdated": "" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "BookLocal", - "actionType": "InfoText", - "description": "##Getting the vaccine\n\nYou can get an RSV vaccination at your GP surgery.\nYour GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination.", - "urlLabel": "", - "urlLink": "" - }, - { - "actionCode": "BookNBS", - "actionType": "ButtonWithAuthLink", - "description": "", - "urlLabel": "Continue to booking", - "urlLink": "http://www.nhs.uk/book-rsv" - }, - { - "actionCode": "HelpSupportInfo", - "actionType": "InfoText", - "description": "## CONTENT TBC\n\nBlah blah blah.", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age_catchup", - "cohortStatus": "Actionable", - "cohortText": "turned 80 after 1st September 2024" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_025.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_025.json deleted file mode 100644 index 0dc4f9323..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_025.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "meta": { - "lastUpdated": "" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "BookLocal", - "actionType": "InfoText", - "description": "##Getting the vaccine\n\nYou can get an RSV vaccination at your GP surgery.\nYour GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination.", - "urlLabel": "", - "urlLink": "" - }, - { - "actionCode": "BookNBS", - "actionType": "ButtonWithAuthLink", - "description": "", - "urlLabel": "Continue to booking", - "urlLink": "http://www.nhs.uk/book-rsv" - }, - { - "actionCode": "HelpSupportInfo", - "actionType": "InfoText", - "description": "## CONTENT TBC\n\nBlah blah blah.", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age_catchup", - "cohortStatus": "Actionable", - "cohortText": "turned 80 after 1st September 2024" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_026.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_026.json deleted file mode 100644 index 3367c8f54..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_026.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "meta": { - "lastUpdated": "" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "BookLocal", - "actionType": "InfoText", - "description": "##Getting the vaccine\n\nYou can get an RSV vaccination at your GP surgery.\nYour GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination.", - "urlLabel": "", - "urlLink": "" - }, - { - "actionCode": "HelpSupportInfo", - "actionType": "InfoText", - "description": "## CONTENT TBC\n\nBlah blah blah.", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age_catchup", - "cohortStatus": "Actionable", - "cohortText": "turned 80 after 1st September 2024" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_027.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_027.json deleted file mode 100644 index 3367c8f54..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_027.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "meta": { - "lastUpdated": "" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "BookLocal", - "actionType": "InfoText", - "description": "##Getting the vaccine\n\nYou can get an RSV vaccination at your GP surgery.\nYour GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination.", - "urlLabel": "", - "urlLink": "" - }, - { - "actionCode": "HelpSupportInfo", - "actionType": "InfoText", - "description": "## CONTENT TBC\n\nBlah blah blah.", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age_catchup", - "cohortStatus": "Actionable", - "cohortText": "turned 80 after 1st September 2024" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_028.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_028.json deleted file mode 100644 index 3367c8f54..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-365_028.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "meta": { - "lastUpdated": "" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "BookLocal", - "actionType": "InfoText", - "description": "##Getting the vaccine\n\nYou can get an RSV vaccination at your GP surgery.\nYour GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination.", - "urlLabel": "", - "urlLink": "" - }, - { - "actionCode": "HelpSupportInfo", - "actionType": "InfoText", - "description": "## CONTENT TBC\n\nBlah blah blah.", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age_catchup", - "cohortStatus": "Actionable", - "cohortText": "turned 80 after 1st September 2024" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-371_001.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-371_001.json deleted file mode 100644 index 387439f12..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-371_001.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "meta": { - "lastUpdated": "" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age", - "cohortStatus": "NotActionable", - "cohortText": "are aged 75 to 79 years old" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "Testing of AND rules where names are different", - "ruleText": "Testing of AND rules where names are different", - "ruleType": "S" - } - ] - } - ], - "responseId": "" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-371_002.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-371_002.json deleted file mode 100644 index 387439f12..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-371_002.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "meta": { - "lastUpdated": "" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age", - "cohortStatus": "NotActionable", - "cohortText": "are aged 75 to 79 years old" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "Testing of AND rules where names are different", - "ruleText": "Testing of AND rules where names are different", - "ruleType": "S" - } - ] - } - ], - "responseId": "" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-373_001.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-373_001.json deleted file mode 100644 index 161e47856..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-373_001.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-11T16:04:27.923796+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "BookLocal", - "actionType": "InfoText", - "description": "##Getting the vaccine\n\nYou can get an RSV vaccination at your GP surgery.\nYour GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination.", - "urlLabel": "", - "urlLink": "" - }, - { - "actionCode": "HelpSupportInfo", - "actionType": "InfoText", - "description": "## CONTENT TBC\n\nBlah blah blah.", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age", - "cohortStatus": "Actionable", - "cohortText": "are aged 75 to 79 years old" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "a09f1caf-8c0b-4448-a7a5-d307924db8b5" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-373_002.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-373_002.json deleted file mode 100644 index fb3f1d028..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-373_002.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-11T16:04:27.923796+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "BookLocal", - "actionType": "InfoText", - "description": "##Getting the vaccine\n\nYou can get an RSV vaccination at your GP surgery.\nYour GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination.", - "urlLabel": "", - "urlLink": "" - }, - { - "actionCode": "HelpSupportInfo", - "actionType": "InfoText", - "description": "## CONTENT TBC\n\nBlah blah blah.", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age_catchup", - "cohortStatus": "Actionable", - "cohortText": "turned 80 after 1st September 2024" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "a09f1caf-8c0b-4448-a7a5-d307924db8b5" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-373_003.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-373_003.json deleted file mode 100644 index 0807411ba..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-373_003.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-11T16:06:59.787096+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "AmendNBS", - "actionType": "ButtonWithAuthLink", - "description": "##You have an RSV vaccination appointment\nYou can view, change or cancel your appointment below.", - "urlLabel": "Manage your appointment", - "urlLink": "http://www.nhs.uk/book-rsv" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age", - "cohortStatus": "Actionable", - "cohortText": "are aged 75 to 79 years old" - }, - { - "cohortCode": "rsv_age_catchup", - "cohortStatus": "Actionable", - "cohortText": "turned 80 after 1st September 2024" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "9dc41999-d5e0-4549-bcd8-6265a4284997" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-373_004.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-373_004.json deleted file mode 100644 index bfb84ac34..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-373_004.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-11T16:08:58.770053+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "ManagedSettingInfo", - "actionType": "InfoText", - "description": "## If you think this is incorrect\n\nIf you have already had this vaccination or your personal details are wrong, visit our help and support page. (ADD LINK).", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age", - "cohortStatus": "NotActionable", - "cohortText": "are aged 75 to 79 years old" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "75 to 79 - Other Setting (Care Home) with no future booking", - "ruleText": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "ruleType": "S" - } - ] - } - ], - "responseId": "f35fe552-5b0b-4be1-9a83-61696de605f6" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-373_005.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-373_005.json deleted file mode 100644 index 41c3f8730..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-373_005.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-11T16:08:58.770053+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "ManagedSettingInfo", - "actionType": "InfoText", - "description": "## If you think this is incorrect\n\nIf you have already had this vaccination or your personal details are wrong, visit our help and support page. (ADD LINK).", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age_catchup", - "cohortStatus": "NotActionable", - "cohortText": "turned 80 after 1st September 2024" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "80 plus - Other Setting (Care Home) with no future booking", - "ruleText": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "ruleType": "S" - } - ] - } - ], - "responseId": "f35fe552-5b0b-4be1-9a83-61696de605f6" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-373_006.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-373_006.json deleted file mode 100644 index 321775245..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-373_006.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-11T16:08:19.685910+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "AmendNBS", - "actionType": "ButtonWithAuthLink", - "description": "##You have an RSV vaccination appointment\nYou can view, change or cancel your appointment below.", - "urlLabel": "Manage your appointment", - "urlLink": "http://www.nhs.uk/book-rsv" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age", - "cohortStatus": "Actionable", - "cohortText": "are aged 75 to 79 years old" - }, - { - "cohortCode": "rsv_age_catchup", - "cohortStatus": "Actionable", - "cohortText": "turned 80 after 1st September 2024" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "bc3da5e2-b3b6-4979-b0fe-e40c48dd9e1c" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-373_007.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-373_007.json deleted file mode 100644 index 17669afd9..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-373_007.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-11T16:04:27.923796+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "BookLocal", - "actionType": "InfoText", - "description": "##Getting the vaccine\n\nYou can get an RSV vaccination at your GP surgery.\nYour GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination.", - "urlLabel": "", - "urlLink": "" - }, - { - "actionCode": "HelpSupportInfo", - "actionType": "InfoText", - "description": "## CONTENT TBC\n\nBlah blah blah.", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age", - "cohortStatus": "Actionable", - "cohortText": "are aged 75 to 79 years old" - }, - { - "cohortCode": "rsv_age_catchup", - "cohortStatus": "Actionable", - "cohortText": "turned 80 after 1st September 2024" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "a09f1caf-8c0b-4448-a7a5-d307924db8b5" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-373_008.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-373_008.json deleted file mode 100644 index 67c01a813..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-373_008.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-11T16:34:44.019817+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "ManagedSettingInfo", - "actionType": "InfoText", - "description": "## If you think this is incorrect\n\nIf you have already had this vaccination or your personal details are wrong, visit our help and support page. (ADD LINK).", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age", - "cohortStatus": "NotActionable", - "cohortText": "are aged 75 to 79 years old" - }, - { - "cohortCode": "rsv_age_catchup", - "cohortStatus": "NotActionable", - "cohortText": "turned 80 after 1st September 2024" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "75 to 79 - Other Setting (Care Home) with no future booking", - "ruleText": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "ruleType": "S" - }, - { - "ruleCode": "80 plus - Other Setting (Care Home) with no future booking", - "ruleText": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "ruleType": "S" - }, - { - "ruleCode": "80 plus - Other Setting (Detained Estates) with no future booking", - "ruleText": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "ruleType": "S" - } - ] - } - ], - "responseId": "ac49dbde-9adb-49a5-a180-6503b7adcf82" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-399_001.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-399_001.json deleted file mode 100644 index a6ff81f36..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-399_001.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-06T15:15:45.231568+00:00" - }, - "processedSuggestions": [], - "responseId": "f6dfcae4-32c4-493a-a0cd-5faf83f3da64" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-399_002.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-399_002.json deleted file mode 100644 index 43ff26a3f..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-399_002.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-07T19:59:03.606275+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_399_active_cohort_group", - "cohortStatus": "NotEligible", - "cohortText": "are not a member of eli_399_active_cohort_group" - }, - { - "cohortCode": "rsv_eli_399_active_cohort_group_other", - "cohortStatus": "NotEligible", - "cohortText": "are not a member of eli_399_active_cohort_group_other" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "7bf9eeeb-4951-4ee9-95ad-64d9a556908d" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-399_003.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-399_003.json deleted file mode 100644 index 43ff26a3f..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-399_003.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-07T19:59:03.606275+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_399_active_cohort_group", - "cohortStatus": "NotEligible", - "cohortText": "are not a member of eli_399_active_cohort_group" - }, - { - "cohortCode": "rsv_eli_399_active_cohort_group_other", - "cohortStatus": "NotEligible", - "cohortText": "are not a member of eli_399_active_cohort_group_other" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "7bf9eeeb-4951-4ee9-95ad-64d9a556908d" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-399_004.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-399_004.json deleted file mode 100644 index a6ff81f36..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-399_004.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-06T15:15:45.231568+00:00" - }, - "processedSuggestions": [], - "responseId": "f6dfcae4-32c4-493a-a0cd-5faf83f3da64" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-399_005.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-399_005.json deleted file mode 100644 index a6ff81f36..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-399_005.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-06T15:15:45.231568+00:00" - }, - "processedSuggestions": [], - "responseId": "f6dfcae4-32c4-493a-a0cd-5faf83f3da64" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-399_006.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-399_006.json deleted file mode 100644 index a6ff81f36..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-399_006.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-06T15:15:45.231568+00:00" - }, - "processedSuggestions": [], - "responseId": "f6dfcae4-32c4-493a-a0cd-5faf83f3da64" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-399_007.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-399_007.json deleted file mode 100644 index 408f1c61c..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-399_007.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "meta": { - "lastUpdated": "" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "COVID", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_399_cohort_group", - "cohortStatus": "NotEligible", - "cohortText": "are not a member of eli_399_cohort_group_10" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-405_001.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-405_001.json deleted file mode 100644 index c19b20ab2..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-405_001.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-10T19:50:31.729537+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "TestAction", - "actionType": "ButtonWithAuthLink", - "description": "TestAction Description", - "urlLabel": "Continue to booking", - "urlLink": "http://www.nhs.uk/book-rsv" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_405_cohort_group", - "cohortStatus": "Actionable", - "cohortText": "are a member of eli_405_cohort_group_0" - }, - { - "cohortCode": "rsv_eli_405_cohort_group_other", - "cohortStatus": "Actionable", - "cohortText": "are a member of eli_405_cohort_group_other" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "5e24d72c-04cb-4672-94c6-ce3a2d28671c" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-405_002.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-405_002.json deleted file mode 100644 index 3ddbc1879..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-405_002.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-11T06:55:30.261123+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "TestAction", - "actionType": "ButtonWithAuthLink", - "description": "TestAction Description", - "urlLabel": "Continue to booking", - "urlLink": "http://www.nhs.uk/book-rsv" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_405_cohort_group", - "cohortStatus": "Actionable", - "cohortText": "are a member of eli_405_cohort_group_10" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "48d5721e-7c0e-4cc5-9d7a-e7448724340a" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-405_003.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-405_003.json deleted file mode 100644 index ca53fd09e..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-405_003.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "meta": { - "lastUpdated": "" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "TestAction", - "actionType": "ButtonWithAuthLink", - "description": "TestAction Description", - "urlLabel": "Continue to booking", - "urlLink": "http://www.nhs.uk/book-rsv" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_405_cohort_group_other", - "cohortStatus": "Actionable", - "cohortText": "are a member of eli_405_cohort_group_other" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-405_004.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-405_004.json deleted file mode 100644 index ca53fd09e..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-405_004.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "meta": { - "lastUpdated": "" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "TestAction", - "actionType": "ButtonWithAuthLink", - "description": "TestAction Description", - "urlLabel": "Continue to booking", - "urlLink": "http://www.nhs.uk/book-rsv" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_405_cohort_group_other", - "cohortStatus": "Actionable", - "cohortText": "are a member of eli_405_cohort_group_other" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-405_005.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-405_005.json deleted file mode 100644 index 00c0d82db..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-405_005.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-10T20:51:37.488101+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "TestNotAction", - "actionType": "ButtonWithAuthLink", - "description": "TestNotAction Description", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_405_cohort_group", - "cohortStatus": "NotActionable", - "cohortText": "are a member of eli_405_cohort_group_20" - }, - { - "cohortCode": "rsv_eli_405_cohort_group_other", - "cohortStatus": "NotActionable", - "cohortText": "are a member of eli_405_cohort_group_other" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "NotActionable Reason 1", - "ruleText": "NotActionable Description 1", - "ruleType": "S" - }, - { - "ruleCode": "NotActionable Reason 2", - "ruleText": "NotActionable Description 2", - "ruleType": "S" - } - ] - } - ], - "responseId": "7518efc4-1606-43e2-a56e-0a4daefdd229" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-405_006.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-405_006.json deleted file mode 100644 index d5b67a503..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-405_006.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "meta": { - "lastUpdated": "" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "TestNotEli", - "actionType": "", - "description": "TestNotEli Description", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_405_cohort_group", - "cohortStatus": "NotEligible", - "cohortText": "are not a member of eli_405_cohort_group_0" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-406_001.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-406_001.json deleted file mode 100644 index 390a9f4af..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-406_001.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "resourceType": "OperationOutcome", - "id": "e158b107-4283-43ee-8a4e-8e68cd15d26f", - "meta": { - "lastUpdated": "2025-08-12T08:09:01.662728Z" - }, - "issue": [ - { - "severity": "error", - "code": "processing", - "details": { - "coding": [ - { - "system": "https://fhir.nhs.uk/STU3/ValueSet/Spine-ErrorOrWarningCode-1", - "code": "REFERENCE_NOT_FOUND", - "display": "The given NHS number was not found in our datasets. This could be because the number is incorrect or some other reason we cannot process that number." - } - ] - }, - "diagnostics": "NHS Number '9900406001' was not recognised by the Eligibility Signposting API", - "location": [ - "parameters/id" - ] - } - ] -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-406_002.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-406_002.json deleted file mode 100644 index fc3bdba0e..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-406_002.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "resourceType": "OperationOutcome", - "id": "e158b107-4283-43ee-8a4e-8e68cd15d26f", - "meta": { - "lastUpdated": "2025-08-12T08:09:01.662728Z" - }, - "issue": [ - { - "severity": "error", - "code": "processing", - "details": { - "coding": [ - { - "system": "https://fhir.nhs.uk/STU3/ValueSet/Spine-ErrorOrWarningCode-1", - "code": "REFERENCE_NOT_FOUND", - "display": "The given NHS number was not found in our datasets. This could be because the number is incorrect or some other reason we cannot process that number." - } - ] - }, - "diagnostics": "NHS Number '9900406002' was not recognised by the Eligibility Signposting API", - "location": [ - "parameters/id" - ] - } - ] -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-406_003.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-406_003.json deleted file mode 100644 index 761c1327b..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-406_003.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "resourceType": "OperationOutcome", - "id": "e158b107-4283-43ee-8a4e-8e68cd15d26f", - "meta": { - "lastUpdated": "2025-08-12T08:09:01.662728Z" - }, - "issue": [ - { - "severity": "error", - "code": "processing", - "details": { - "coding": [ - { - "system": "https://fhir.nhs.uk/STU3/ValueSet/Spine-ErrorOrWarningCode-1", - "code": "REFERENCE_NOT_FOUND", - "display": "The given NHS number was not found in our datasets. This could be because the number is incorrect or some other reason we cannot process that number." - } - ] - }, - "diagnostics": "NHS Number '9900406003' was not recognised by the Eligibility Signposting API", - "location": [ - "parameters/id" - ] - } - ] -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-427_001.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-427_001.json deleted file mode 100644 index a75d8a930..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-427_001.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-09-16T14:37:31.026669+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "TestAction", - "actionType": "ButtonWithAuthLink", - "description": "TestAction Description", - "urlLabel": "Continue to booking", - "urlLink": "http://www.nhs.uk/book-rsv" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "eli_427_cohort_group_1", - "cohortStatus": "Actionable", - "cohortText": "In eli_427_cohort_1" - } - ], - "status": "Actionable", - "statusText": "CUSTOM1 - You should have the RSV Vaccine and you have an appointment on <>", - "suitabilityRules": [] - } - ], - "responseId": "78b0e4ea-7efb-4860-8168-7ec5b8f176fa" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-427_002.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-427_002.json deleted file mode 100644 index 693795db9..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-427_002.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-09-16T14:40:12.555932+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "TestNotAction", - "actionType": "ButtonWithAuthLink", - "description": "TestNotAction Description", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "eli_427_cohort_group_1", - "cohortStatus": "NotActionable", - "cohortText": "In eli_427_cohort_1" - } - ], - "status": "NotActionable", - "statusText": "CUSTOM2 - You had the RSV Vaccine on <>", - "suitabilityRules": [ - { - "ruleCode": "AlreadyVaccinated", - "ruleText": "## You've had your RSV vaccination.", - "ruleType": "S" - } - ] - } - ], - "responseId": "36c8036a-3e35-40ec-9572-5f82f00e067a" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-427_003.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-427_003.json deleted file mode 100644 index 0c33bbd33..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-427_003.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-09-16T14:43:55.970331+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "TestNotEli", - "actionType": "", - "description": "TestNotEli Description", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "eli_427_cohort_group_1", - "cohortStatus": "NotEligible", - "cohortText": "Not in eli_427_cohort_1" - } - ], - "status": "NotEligible", - "statusText": "CUSTOM3 - We do not believe you should have it as you were born on <> and your postcode is SG8 6EG", - "suitabilityRules": [] - } - ], - "responseId": "d5f9af16-453e-45c5-947f-dc2de44d5109" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-427_004.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-427_004.json deleted file mode 100644 index c7a1d8d5b..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-427_004.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-09-16T14:37:31.026669+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "TestAction", - "actionType": "ButtonWithAuthLink", - "description": "TestAction Description", - "urlLabel": "Continue to booking", - "urlLink": "http://www.nhs.uk/book-rsv" - } - ], - "condition": "FLU", - "eligibilityCohorts": [ - { - "cohortCode": "eli_427_cohort_group_1", - "cohortStatus": "Actionable", - "cohortText": "In eli_427_cohort_1" - } - ], - "status": "Actionable", - "statusText": "You should have the FLU vaccine", - "suitabilityRules": [] - } - ], - "responseId": "78b0e4ea-7efb-4860-8168-7ec5b8f176fa" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-427_005.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-427_005.json deleted file mode 100644 index 7be7b23d3..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-427_005.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-09-16T14:40:12.555932+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "TestNotAction", - "actionType": "ButtonWithAuthLink", - "description": "TestNotAction Description", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "FLU", - "eligibilityCohorts": [ - { - "cohortCode": "eli_427_cohort_group_1", - "cohortStatus": "NotActionable", - "cohortText": "In eli_427_cohort_1" - } - ], - "status": "NotActionable", - "statusText": "You should have the FLU vaccine", - "suitabilityRules": [ - { - "ruleCode": "AlreadyVaccinated", - "ruleText": "## You've had your RSV vaccination.", - "ruleType": "S" - } - ] - } - ], - "responseId": "36c8036a-3e35-40ec-9572-5f82f00e067a" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-427_006.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-427_006.json deleted file mode 100644 index 9340e64ba..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-427_006.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-09-16T14:43:55.970331+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "TestNotEli", - "actionType": "", - "description": "TestNotEli Description", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "FLU", - "eligibilityCohorts": [ - { - "cohortCode": "eli_427_cohort_group_1", - "cohortStatus": "NotEligible", - "cohortText": "Not in eli_427_cohort_1" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "d5f9af16-453e-45c5-947f-dc2de44d5109" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-440_001.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-440_001.json deleted file mode 100644 index 5b6e39a75..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-440_001.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-09-16T13:10:10.614854+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "TestAction", - "actionType": "ButtonWithAuthLink", - "description": "TestAction Description", - "urlLabel": "Continue to booking", - "urlLink": "http://www.nhs.uk/book-rsv" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "elid_virtual_cohort", - "cohortStatus": "Actionable", - "cohortText": "In elid_virtual_cohort" - }, - { - "cohortCode": "elid_virtual_cohort_3", - "cohortStatus": "Actionable", - "cohortText": "In elid_virtual_cohort_3" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "09fe3425-cc1d-4d37-99c5-d65dc232cae4" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-440_002.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-440_002.json deleted file mode 100644 index 3f3ce31de..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-440_002.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-09-16T12:50:45.738791+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "TestNotEli", - "actionType": "", - "description": "TestNotEli Description", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "elid_virtual_cohort", - "cohortStatus": "NotEligible", - "cohortText": "Out elid_virtual_cohort" - }, - { - "cohortCode": "elid_virtual_cohort_2", - "cohortStatus": "NotEligible", - "cohortText": "Out elid_virtual_cohort_2" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "a3e00f89-5be5-4413-aa58-c4e8116f89ef" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-440_003.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-440_003.json deleted file mode 100644 index 96e8c08b1..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-440_003.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-09-16T13:23:05.834482+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "TestNotAction", - "actionType": "ButtonWithAuthLink", - "description": "TestNotAction Description", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "elid_virtual_cohort", - "cohortStatus": "NotActionable", - "cohortText": "In elid_virtual_cohort" - }, - { - "cohortCode": "elid_virtual_cohort_2", - "cohortStatus": "NotActionable", - "cohortText": "In elid_virtual_cohort_2" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "AlreadyVaccinated", - "ruleText": "## You've had your RSV vaccination.", - "ruleType": "S" - }, - { - "ruleCode": "AlreadyVaccinated", - "ruleText": "## You've had your RSV vaccination.", - "ruleType": "S" - } - ] - } - ], - "responseId": "8dd952eb-a464-432b-9e14-9c08c4a993e8" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-440_005.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-440_005.json deleted file mode 100644 index 5235bc607..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-440_005.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-09-16T14:03:42.734055+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "TestAction", - "actionType": "ButtonWithAuthLink", - "description": "TestAction Description", - "urlLabel": "Continue to booking", - "urlLink": "http://www.nhs.uk/book-rsv" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_real_world", - "cohortStatus": "Actionable", - "cohortText": "In rsv_eli_real_world" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "ab6deb80-2ef6-41b8-b04c-8c0d235e0d42" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-440_006.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-440_006.json deleted file mode 100644 index 5235bc607..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-440_006.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-09-16T14:03:42.734055+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "TestAction", - "actionType": "ButtonWithAuthLink", - "description": "TestAction Description", - "urlLabel": "Continue to booking", - "urlLink": "http://www.nhs.uk/book-rsv" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_real_world", - "cohortStatus": "Actionable", - "cohortText": "In rsv_eli_real_world" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "ab6deb80-2ef6-41b8-b04c-8c0d235e0d42" -} diff --git a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-440_007.json b/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-440_007.json deleted file mode 100644 index 605ac519b..000000000 --- a/tests/e2e/data/responses/storyTestResponses/AUTO_RSV_ELI-440_007.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-09-16T14:03:42.734055+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "TestAction", - "actionType": "ButtonWithAuthLink", - "description": "TestAction Description", - "urlLabel": "Continue to booking", - "urlLink": "http://www.nhs.uk/book-rsv" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_real_world", - "cohortStatus": "Actionable", - "cohortText": "In rsv_eli_real_world" - }, - { - "cohortCode": "elid_virtual_cohort_2", - "cohortStatus": "Actionable", - "cohortText": "In elid_virtual_cohort_2" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "ab6deb80-2ef6-41b8-b04c-8c0d235e0d42" -} diff --git a/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_001.json b/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_001.json deleted file mode 100644 index 3d1094c73..000000000 --- a/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_001.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-09-05T15:10:53.120938+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "ContactGP", - "actionType": "InfoText", - "description": "## Get vaccinated at your GP practice\n\nContact your GP surgery to book an appointment.", - "urlLabel": "", - "urlLink": "" - }, - { - "actionCode": "BookNBSInfoText", - "actionType": "ButtonWithAuthLinkWithInfoText", - "description": "## Book an appointment online at a pharmacy\n\nYou can book an appointment online at a pharmacy that offers the RSV vaccination. You need to be registered with a GP to do this.", - "urlLabel": "Continue to booking", - "urlLink": "https://f.nhswebsite-integration.nhs.uk/nbs/nhs-app/rsv" - }, - { - "actionCode": "WalkIn", - "actionType": "ActionLinkWithInfoText", - "description": "## Get vaccinated without an appointment\n\nYou can get an RSV vaccination at some pharmacies without needing an appointment.\n\nYou do not need to be registered with a GP to do this.", - "urlLabel": "Find a pharmacy where you can get a free RSV vaccination", - "urlLink": "https://www.nhs.uk/service-search/vaccination-and-booking-services/find-a-pharmacy-where-you-can-get-a-free-rsv-vaccination" - }, - { - "actionCode": "HelpSupportInfo", - "actionType": "InfoText", - "description": "## If you think this is incorrect\n\nIf you have already had this vaccination or your personal details are wrong, visit our [help and support page](https://www.nhs.uk/nhs-app/nhs-app-help-and-support/).", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age", - "cohortStatus": "Actionable", - "cohortText": "are aged between 75 and 79" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "6dee29a7-3419-48f0-9f10-2a8a0caf79ea" -} diff --git a/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_002.json b/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_002.json deleted file mode 100644 index e730c3c3d..000000000 --- a/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_002.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-29T15:27:30.337860+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "BookLocal", - "actionType": "InfoText", - "description": "## Getting the vaccine\n\nYou can get an RSV vaccination at your GP surgery.\n\nYour GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination.", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age", - "cohortStatus": "Actionable", - "cohortText": "are aged between 75 and 79" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "db3354f3-2388-48cf-be82-b32270be2c33" -} diff --git a/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_003.json b/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_003.json deleted file mode 100644 index 878429f7e..000000000 --- a/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_003.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-29T15:36:03.086801+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "BookLocal", - "actionType": "InfoText", - "description": "## Getting the vaccine\n\nYou can get an RSV vaccination at your GP surgery.\n\nYour GP surgery may contact you about getting the RSV vaccine. This may be by letter, text, phone call, email or through the NHS App. You do not need to wait to be contacted before booking your vaccination.", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age_catchup", - "cohortStatus": "Actionable", - "cohortText": "turned 80 after 1st September 2024" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "d149d5a0-fd89-4015-80db-c249ab8a324f" -} diff --git a/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_004.json b/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_004.json deleted file mode 100644 index c34de8c0c..000000000 --- a/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_004.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-31T15:36:33.935778+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "AmendNBS", - "actionType": "ButtonWithAuthLink", - "description": "## You have an RSV vaccination appointment booked\n\nYou can view, change or cancel your appointment below.", - "urlLabel": "Manage your appointment", - "urlLink": "http://www.nhs.uk/book-rsv" - } - ], - "condition": "RSV", - "eligibilityCohorts": [], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "4fe9ae68-7347-46f1-91c7-5e723a0b0249" -} diff --git a/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_005.json b/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_005.json deleted file mode 100644 index de0097fe5..000000000 --- a/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_005.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-31T15:37:10.340372+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "ManageLocal", - "actionType": "CardWithText", - "description": "## You have an RSV vaccination appointment booked\n\nTo change or cancel your appointment, contact the provider you booked it with.", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "594ce550-9721-4c1a-8dae-92ecdba2e763" -} diff --git a/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_006.json b/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_006.json deleted file mode 100644 index 71de20a71..000000000 --- a/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_006.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-07-31T15:37:46.783236+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "AlreadyVaccinatedInfo", - "actionType": "InfoText", - "description": "## If you think this is incorrect\n\nIf you believe you've not been vaccinated against RSV, speak to your healthcare professional.\n\nFor anything else please see our [help and support page](https://www.nhs.uk/nhs-app/nhs-app-help-and-support/).", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "AlreadyVaccinated", - "ruleText": "## You've had your RSV vaccination\n\nWe believe you were vaccinated against RSV on 3 April 2025.", - "ruleType": "S" - } - ] - } - ], - "responseId": "303c446b-738e-493b-8c5f-3ab023750de7" -} diff --git a/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_007.json b/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_007.json deleted file mode 100644 index f088108d0..000000000 --- a/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_007.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-01T07:49:46.208763+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age", - "cohortStatus": "NotActionable", - "cohortText": "are aged between 75 and 79" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "Not Available", - "ruleText": "##RSV vaccinations are not currently available\n\nPlease try again soon.", - "ruleType": "S" - } - ] - } - ], - "responseId": "aa5a5552-f94d-4dcf-a2d0-f888945b1641" -} diff --git a/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_009.json b/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_009.json deleted file mode 100644 index c4bb0f71b..000000000 --- a/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_009.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-01T07:56:59.488641+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age", - "cohortStatus": "NotActionable", - "cohortText": "are aged between 75 and 79" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "NotYetDue", - "ruleText": "##Your RSV vaccination is not yet due\\n\\nYour next dose will be due in 3 months.", - "ruleType": "S" - } - ] - } - ], - "responseId": "7399cb75-afd1-4861-94d4-63c8f615db61" -} diff --git a/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_010.json b/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_010.json deleted file mode 100644 index 7a493b8bf..000000000 --- a/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_010.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-01T08:09:38.885621+00:00" - }, - "processedSuggestions": [ - { - "actions": [], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age", - "cohortStatus": "NotActionable", - "cohortText": "are aged between 75 and 79" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "TooClose", - "ruleText": "##You have recently have the RSV vaccination\n\nYou must leave 90 days between doses of the RSV vaccine. Please try again soon.", - "ruleType": "S" - } - ] - } - ], - "responseId": "ef603f99-9a14-4f5e-8f54-d071201d478e" -} diff --git a/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_011.json b/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_011.json deleted file mode 100644 index db005a778..000000000 --- a/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_011.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-09-05T14:51:57.234910+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "ManagedSettingInfo", - "actionType": "InfoText", - "description": "## If you think this is incorrect\n\nIf you have already had this vaccination or your personal details are wrong, visit our [help and support page](https://www.nhs.uk/nhs-app/nhs-app-help-and-support/).", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age", - "cohortStatus": "NotActionable", - "cohortText": "are aged between 75 and 79" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "OtherSetting", - "ruleText": "## Getting the vaccine\n\nWe believe you're living in a setting where care is provided.\n\nSpeak to a member of staff where you live about getting the RSV vaccine.", - "ruleType": "S" - } - ] - } - ], - "responseId": "68e372d6-cc59-41c9-a6ad-b2cdf9b25bdb" -} diff --git a/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_012.json b/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_012.json deleted file mode 100644 index 36e1969a9..000000000 --- a/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_012.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-29T16:02:53.910473+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "AlreadyVaccinatedInfo", - "actionType": "InfoText", - "description": "## If you think this is incorrect\n\nIf you believe you've not been vaccinated against RSV, speak to your healthcare professional.\n\nFor anything else please see our [help and support page](https://www.nhs.uk/nhs-app/nhs-app-help-and-support/).", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "AlreadyVaccinated", - "ruleText": "## You've had your RSV vaccination\n\nWe believe you were vaccinated against RSV on 3 April 2025.", - "ruleType": "S" - } - ] - } - ], - "responseId": "c999bfc5-48b1-44f0-9e99-58d4c4ca495b" -} diff --git a/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_013.json b/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_013.json deleted file mode 100644 index 94ef8120e..000000000 --- a/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_013.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-29T16:07:13.490700+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "AlreadyVaccinatedInfo", - "actionType": "InfoText", - "description": "## If you think this is incorrect\n\nIf you believe you've not been vaccinated against RSV, speak to your healthcare professional.\n\nFor anything else please see our [help and support page](https://www.nhs.uk/nhs-app/nhs-app-help-and-support/).", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "AlreadyVaccinated", - "ruleText": "## You've had your RSV vaccination\n\nWe believe you were vaccinated against RSV on 3 April 2025.", - "ruleType": "S" - } - ] - } - ], - "responseId": "15eeb2a1-d6d2-465e-8f09-5701000725ac" -} diff --git a/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_014.json b/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_014.json deleted file mode 100644 index 165448c6f..000000000 --- a/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_014.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-29T16:08:57.918587+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "HealthcareProInfo", - "actionType": "InfoText", - "description": "## If you think this is incorrect\n\nSpeak to your healthcare professional if you think you should be offered this vaccine.\n\nFor anything else, visit our [help and support page](https://www.nhs.uk/nhs-app/nhs-app-help-and-support/).", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_age", - "cohortStatus": "NotEligible", - "cohortText": "are not aged 75 to 79" - }, - { - "cohortCode": "rsv_age_catchup", - "cohortStatus": "NotEligible", - "cohortText": "did not turn 80 after 1 September 2024" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "7ca07f73-f8be-4449-9f88-e6c06675cdad" -} diff --git a/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_500.json b/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_500.json deleted file mode 100644 index c6b5dcd75..000000000 --- a/tests/e2e/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_500.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "resourceType": "OperationOutcome", - "id": "a4639b8e-4359-4f17-8016-d325846bbc2a", - "meta": { - "lastUpdated": "2025-08-01T08:16:47.379654Z" - }, - "issue": [ - { - "severity": "error", - "code": "processing", - "details": { - "coding": [ - { - "system": "https://fhir.nhs.uk/STU3/ValueSet/Spine-ErrorOrWarningCode-1", - "code": "INTERNAL_SERVER_ERROR", - "display": "An unexpected internal server error occurred." - } - ] - }, - "diagnostics": "An unexpected error occurred." - } - ] -} diff --git a/tests/e2e/pytest.ini b/tests/e2e/pytest.ini deleted file mode 100644 index e94f560cc..000000000 --- a/tests/e2e/pytest.ini +++ /dev/null @@ -1,12 +0,0 @@ -[pytest] -testpaths = tests -python_files = test_*.py -python_classes = Test* -python_functions = test_* -markers = - smoke: marks tests as smoke tests - regression: marks tests as regression tests - eligibility: marks tests related to eligibility endpoints - signposting: marks tests related to signposting endpoints - nextactions: marks tests related to next actions endpoints - bdd: marks tests as BDD tests diff --git a/tests/e2e/tests/__init__.py b/tests/e2e/tests/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/tests/e2e/tests/conftest.py b/tests/e2e/tests/conftest.py deleted file mode 100644 index 7be5cad4e..000000000 --- a/tests/e2e/tests/conftest.py +++ /dev/null @@ -1,47 +0,0 @@ -import logging -import os -from pathlib import Path - -import pytest -from dotenv import load_dotenv - -from tests.e2e.utils.eligibility_api_client import EligibilityApiClient -from tests.e2e.utils.s3_config_manager import upload_configs_to_s3 - -# Load environment variables from .env.local -load_dotenv(dotenv_path=".env") - -# Constants -BASE_URL = os.getenv("BASE_URL", "https://test.eligibility-signposting-api.nhs.uk/patient-check") -API_KEY = os.getenv("API_KEY", "") -DYNAMODB_TABLE_NAME = os.getenv("DYNAMODB_TABLE_NAME", "eligibility_data_store") -AWS_REGION = os.getenv("AWS_REGION", "eu-west-2") - -# Resolve test data path robustly -BASE_DIR = Path(__file__).resolve().parent.parent -DYNAMO_DATA_PATH = BASE_DIR / "data" / "dynamoDB" / "test_data.json" - -logger = logging.getLogger(__name__) - - -@pytest.fixture(scope="session") -def eligibility_client(): - return EligibilityApiClient(BASE_URL, cert_dir="certs") - - -@pytest.fixture -def get_scenario_params(request): - _ = request - - def _setup(scenario, config_path): - nhs_number = scenario["nhs_number"] - config_filenames = scenario.get("config_filenames", []) - request_headers = scenario.get("request_headers", {}) - query_params = scenario.get("query_params", {}) - expected_response_code = scenario["expected_response_code"] - - upload_configs_to_s3(config_filenames, config_path) - - return nhs_number, config_filenames, request_headers, query_params, expected_response_code - - return _setup diff --git a/tests/e2e/tests/test_config.py b/tests/e2e/tests/test_config.py deleted file mode 100644 index 16f2035f3..000000000 --- a/tests/e2e/tests/test_config.py +++ /dev/null @@ -1,22 +0,0 @@ -# Smoke Test Data Paths -SMOKE_TEST_DATA: str = "data/dynamoDB/smokeTestData/" -SMOKE_TEST_RESPONSES: str = "data/responses/smokeTestResponses/" -SMOKE_TEST_CONFIGS: str = "data/configs/smokeTestConfigs" -# Story Test Data Paths -STORY_TEST_DATA: str = "data/dynamoDB/storyTestData/" -STORY_TEST_RESPONSES: str = "data/responses/storyTestResponses/" -STORY_TEST_CONFIGS: str = "data/configs/storyTestConfigs" -# Story Test Data Paths -REGRESSION_TEST_DATA: str = "data/dynamoDB/regressionTestData/" -REGRESSION_RESPONSES: str = "data/responses/regressionTestResponses/" -REGRESSION_CONFIGS: str = "data/configs/regressionTestConfigs" - -# In Progress Test Data Paths -IN_PROGRESS_TEST_DATA: str = "data/dynamoDB/inProgressTestData/" -IN_PROGRESS_RESPONSES: str = "data/responses/inProgressTestResponses/" -IN_PROGRESS_CONFIGS: str = "data/configs/inProgressTestConfigs" - -# Vita Integration Test Data Paths -VITA_INTEGRATION_TEST_DATA: str = "data/dynamoDB/vitaIntegrationTestData/" -VITA_INTEGRATION_RESPONSES: str = "data/responses/vitaIntegrationTestResponses/" -VITA_INTEGRATION_CONFIGS: str = "data/configs/vitaIntegrationTestConfigs" diff --git a/tests/e2e/tests/test_error_scenario_tests.py b/tests/e2e/tests/test_error_scenario_tests.py deleted file mode 100644 index b9bc76613..000000000 --- a/tests/e2e/tests/test_error_scenario_tests.py +++ /dev/null @@ -1,261 +0,0 @@ -import http - -import pytest - -from tests.e2e.utils.s3_config_manager import delete_all_configs_from_s3 - - -@pytest.mark.errorscenarios -@pytest.mark.smoketest -def test_check_for_missing_person(eligibility_client): - nhs_number = "9934567890" - - request_headers = {"nhs-login-nhs-number": "9934567890"} - - expected_body = { - "resourceType": "OperationOutcome", - "id": "", - "meta": {"lastUpdated": ""}, - "issue": [ - { - "severity": "error", - "code": "processing", - "details": { - "coding": [ - { - "system": "https://fhir.nhs.uk/STU3/ValueSet/Spine-ErrorOrWarningCode-1", - "code": "REFERENCE_NOT_FOUND", - "display": "The given NHS number was not found in our datasets. " - "This could be because the number is incorrect or some other reason " - "we cannot process that number.", - } - ] - }, - "diagnostics": "NHS Number '9934567890' was not recognised by the Eligibility Signposting API", - "location": ["parameters/id"], - } - ], - } - - response = eligibility_client.make_request(nhs_number, headers=request_headers, raise_on_error=False) - - assert response["status_code"] == http.HTTPStatus.NOT_FOUND - assert response["body"] == expected_body - assert response["headers"].get("Content-Type".lower()) == "application/fhir+json" - - -@pytest.mark.errorscenarios -@pytest.mark.parametrize( - "test_case", - [ - { - "scenario": "correct header - NHS number exists but not found in data", - "nhs_number": "9934567890", - "request_headers": {"nhs-login-nhs-number": "9934567890"}, - "expected_status": http.HTTPStatus.NOT_FOUND, - "expected_body": { - "resourceType": "OperationOutcome", - "id": "", - "meta": {"lastUpdated": ""}, - "issue": [ - { - "severity": "error", - "code": "processing", - "details": { - "coding": [ - { - "system": "https://fhir.nhs.uk/STU3/ValueSet/Spine-ErrorOrWarningCode-1", - "code": "REFERENCE_NOT_FOUND", - "display": "The given NHS number was not found in our datasets. " - "This could be because the number is incorrect or some other reason we " - "cannot process that number.", - } - ] - }, - "diagnostics": "NHS Number '9934567890' was not recognised by the Eligibility Signposting API", - "location": ["parameters/id"], - } - ], - }, - }, - { - "scenario": "incorrect header - NHS number mismatch", - "nhs_number": "9934567890", - "request_headers": {"nhs-login-nhs-number": "99345678900"}, - "expected_status": http.HTTPStatus.FORBIDDEN, - "expected_body": { - "resourceType": "OperationOutcome", - "id": "", - "meta": {"lastUpdated": ""}, - "issue": [ - { - "severity": "error", - "code": "forbidden", - "details": { - "coding": [ - { - "code": "ACCESS_DENIED", - "display": "Access has been denied to process this request.", - "system": "https://fhir.nhs.uk/STU3/ValueSet/Spine-ErrorOrWarningCode-1", - } - ] - }, - "diagnostics": "You are not authorised to request information for the supplied NHS Number", - } - ], - }, - }, - { - "scenario": "missing header - NHS number required", - "nhs_number": "1234567890", - "request_headers": {}, - "expected_status": http.HTTPStatus.FORBIDDEN, - "expected_body": { - "resourceType": "OperationOutcome", - "id": "", - "meta": {"lastUpdated": ""}, - "issue": [ - { - "severity": "error", - "code": "forbidden", - "details": { - "coding": [ - { - "code": "ACCESS_DENIED", - "display": "Access has been denied to process this request.", - "system": "https://fhir.nhs.uk/STU3/ValueSet/Spine-ErrorOrWarningCode-1", - } - ] - }, - "diagnostics": "You are not authorised to request information for the supplied NHS Number", - } - ], - }, - }, - ], - ids=["correct-header", "incorrect-header", "missing-header"], -) -def test_nhs_login_header_handling(eligibility_client, test_case): - response = eligibility_client.make_request( - test_case["nhs_number"], - headers=test_case["request_headers"], - raise_on_error=False, - ) - - assert response["status_code"] == test_case["expected_status"], f"{test_case['scenario']} failed on status code" - assert response["body"] == test_case["expected_body"], f"{test_case['scenario']} failed on response body" - assert response["headers"].get("Content-Type".lower()) == "application/fhir+json" - - -@pytest.mark.errorscenarios -@pytest.mark.parametrize( - "test_case", - [ - { - "scenario": "invalid conditions - use special character in conditions", - "nhs_number": "9990032010", - "request_headers": {"nhs-login-nhs-number": "9990032010"}, - "query_params": {"conditions": "covid-rsv"}, - "expected_status": http.HTTPStatus.BAD_REQUEST, - "expected_body": { - "id": "", - "issue": [ - { - "code": "value", - "details": { - "coding": [ - { - "code": "INVALID_PARAMETER", - "display": "The given conditions were not in the expected format.", - "system": "https://fhir.nhs.uk/STU3/ValueSet/Spine-ErrorOrWarningCode-1", - } - ] - }, - "diagnostics": "covid-rsv should be a single or comma separated list of condition strings " - "with no other punctuation or special characters", - "location": ["parameters/conditions"], - "severity": "error", - } - ], - "meta": {"lastUpdated": ""}, - "resourceType": "OperationOutcome", - }, - }, - { - "scenario": "unknown-category - misspelt category", - "nhs_number": "9990032010", - "request_headers": {"nhs-login-nhs-number": "9990032010"}, - "query_params": {"category": "VACCINATIONSS"}, - "expected_status": http.HTTPStatus.UNPROCESSABLE_ENTITY, - "expected_body": { - "id": "", - "issue": [ - { - "code": "value", - "details": { - "coding": [ - { - "code": "INVALID_PARAMETER", - "display": "The supplied category was not recognised by the API.", - "system": "https://fhir.nhs.uk/STU3/ValueSet/Spine-ErrorOrWarningCode-1", - } - ] - }, - "diagnostics": "VACCINATIONSS is not a category that is supported by the API", - "location": ["parameters/category"], - "severity": "error", - } - ], - "meta": {"lastUpdated": ""}, - "resourceType": "OperationOutcome", - }, - }, - ], - ids=["invalid-conditions", "unknown-category"], -) -def test_query_param_errors(eligibility_client, test_case): - response = eligibility_client.make_request( - test_case["nhs_number"], - headers=test_case["request_headers"], - query_params=test_case["query_params"], - raise_on_error=False, - ) - - assert response["status_code"] == test_case["expected_status"], f"{test_case['scenario']} failed on status code" - assert response["body"] == test_case["expected_body"], f"{test_case['scenario']} failed on response body" - assert response["headers"].get("Content-Type".lower()) == "application/fhir+json" - - -@pytest.mark.errorscenarios -def test_no_config_error(eligibility_client): - expected_response = { - "id": "", - "issue": [ - { - "code": "processing", - "details": { - "coding": [ - { - "code": "INTERNAL_SERVER_ERROR", - "display": "An unexpected internal server error occurred.", - "system": "https://fhir.nhs.uk/STU3/ValueSet/Spine-ErrorOrWarningCode-1", - } - ] - }, - "diagnostics": "An unexpected error occurred.", - "severity": "error", - } - ], - "meta": {"lastUpdated": ""}, - "resourceType": "OperationOutcome", - } - - delete_all_configs_from_s3() - - response = eligibility_client.make_request( - nhs_number="9990032010", headers={"nhs-login-nhs-number": "9990032010"}, raise_on_error=False - ) - - assert response["status_code"] == http.HTTPStatus.INTERNAL_SERVER_ERROR - assert response["body"] == expected_response - assert response["headers"].get("Content-Type".lower()) == "application/fhir+json" diff --git a/tests/e2e/tests/test_in_progress.py b/tests/e2e/tests/test_in_progress.py deleted file mode 100644 index f3a6a5917..000000000 --- a/tests/e2e/tests/test_in_progress.py +++ /dev/null @@ -1,36 +0,0 @@ -import http - -import pytest - -from tests.e2e.tests import test_config -from tests.e2e.utils.data_helper import initialise_tests, load_all_expected_responses - -# Update the below with the configuration values specified in test_config.py -all_data, dto = initialise_tests(test_config.IN_PROGRESS_TEST_DATA) -all_expected_responses = load_all_expected_responses(test_config.IN_PROGRESS_RESPONSES) -config_path = test_config.IN_PROGRESS_CONFIGS - -param_list = list(all_data.items()) -id_list = [f"{filename} - {scenario.get('scenario_name', 'No Scenario')}" for filename, scenario in param_list] - - -@pytest.mark.parametrize(("filename", "scenario"), param_list, ids=id_list) -def test_run_in_progress_tests(filename, scenario, eligibility_client, get_scenario_params): - nhs_number, config_filenames, request_headers, query_params, expected_response_code = get_scenario_params( - scenario, config_path - ) - - actual_response = eligibility_client.make_request( - nhs_number, headers=request_headers, query_params=query_params, strict_ssl=False - ) - expected_response = all_expected_responses.get(filename).get("response_items", {}) - - expected_response_code = expected_response_code or http.HTTPStatus.OK - - assert actual_response["status_code"] == expected_response_code - assert actual_response["body"] == expected_response, ( - f"\n❌ Mismatch in test: {filename}\n" - f"NHS Number: {nhs_number}\n" - f"Expected: {expected_response}\n" - f"Actual: {actual_response}\n" - ) diff --git a/tests/e2e/tests/test_regression_tests.py b/tests/e2e/tests/test_regression_tests.py deleted file mode 100644 index e9a0ba88c..000000000 --- a/tests/e2e/tests/test_regression_tests.py +++ /dev/null @@ -1,35 +0,0 @@ -import http - -import pytest - -from tests.e2e.tests import test_config -from tests.e2e.utils.data_helper import initialise_tests, load_all_expected_responses - -# Update the below with the configuration values specified in test_config.py -all_data, dto = initialise_tests(test_config.REGRESSION_TEST_DATA) -all_expected_responses = load_all_expected_responses(test_config.REGRESSION_RESPONSES) -config_path = test_config.REGRESSION_CONFIGS - -param_list = list(all_data.items()) -id_list = [f"{filename} - {scenario.get('scenario_name', 'No Scenario')}" for filename, scenario in param_list] - - -@pytest.mark.functionale2eregression -@pytest.mark.parametrize(("filename", "scenario"), param_list, ids=id_list) -def test_run_regression_tests(filename, scenario, eligibility_client, get_scenario_params): - nhs_number, config_filenames, request_headers, query_params, expected_response_code = get_scenario_params( - scenario, config_path - ) - - actual_response = eligibility_client.make_request(nhs_number, headers=request_headers, strict_ssl=False) - expected_response = all_expected_responses.get(filename).get("response_items", {}) - - expected_response_code = expected_response_code or http.HTTPStatus.OK - - assert actual_response["status_code"] == expected_response_code - assert actual_response["body"] == expected_response, ( - f"\n❌ Mismatch in test: {filename}\n" - f"NHS Number: {nhs_number}\n" - f"Expected: {expected_response}\n" - f"Actual: {actual_response}\n" - ) diff --git a/tests/e2e/tests/test_smoke_tests.py b/tests/e2e/tests/test_smoke_tests.py deleted file mode 100644 index 278fd8b52..000000000 --- a/tests/e2e/tests/test_smoke_tests.py +++ /dev/null @@ -1,37 +0,0 @@ -import http - -import pytest - -from tests.e2e.tests import test_config -from tests.e2e.utils.data_helper import initialise_tests, load_all_expected_responses - -# Update the below with the configuration values specified in test_config.py -all_data, dto = initialise_tests(test_config.SMOKE_TEST_DATA) -all_expected_responses = load_all_expected_responses(test_config.SMOKE_TEST_RESPONSES) -config_path = test_config.SMOKE_TEST_CONFIGS - -param_list = list(all_data.items()) -id_list = [f"{filename} - {scenario.get('scenario_name', 'No Scenario')}" for filename, scenario in param_list] - - -@pytest.mark.sandboxtests -@pytest.mark.parametrize(("filename", "scenario"), param_list, ids=id_list) -def test_run_smoke_case(filename, scenario, eligibility_client, get_scenario_params): - nhs_number, config_filenames, request_headers, query_params, expected_response_code = get_scenario_params( - scenario, config_path - ) - - actual_response = eligibility_client.make_request( - nhs_number, headers=request_headers, query_params=query_params, strict_ssl=False - ) - expected_response = all_expected_responses.get(filename).get("response_items", {}) - - expected_response_code = expected_response_code or http.HTTPStatus.OK - - assert actual_response["status_code"] == expected_response_code - assert actual_response["body"] == expected_response, ( - f"\n❌ Mismatch in test: {filename}\n" - f"NHS Number: {nhs_number}\n" - f"Expected: {expected_response}\n" - f"Actual: {actual_response}\n" - ) diff --git a/tests/e2e/tests/test_story_tests.py b/tests/e2e/tests/test_story_tests.py deleted file mode 100644 index 3f729365e..000000000 --- a/tests/e2e/tests/test_story_tests.py +++ /dev/null @@ -1,36 +0,0 @@ -import http - -import pytest - -from tests.e2e.tests import test_config -from tests.e2e.utils.data_helper import initialise_tests, load_all_expected_responses - -# Update the below with the configuration values specified in test_config.py -all_data, dto = initialise_tests(test_config.STORY_TEST_DATA) -all_expected_responses = load_all_expected_responses(test_config.STORY_TEST_RESPONSES) -config_path = test_config.STORY_TEST_CONFIGS - -param_list = list(all_data.items()) -id_list = [f"{filename} - {scenario.get('scenario_name', 'No Scenario')}" for filename, scenario in param_list] - - -@pytest.mark.storyregressiontests -@pytest.mark.parametrize(("filename", "scenario"), param_list, ids=id_list) -def test_run_story_test_cases(filename, scenario, eligibility_client, get_scenario_params): - nhs_number, config_filenames, request_headers, query_params, expected_response_code = get_scenario_params( - scenario, config_path - ) - - actual_response = eligibility_client.make_request( - nhs_number=nhs_number, headers=request_headers, query_params=query_params, strict_ssl=False - ) - expected_response = all_expected_responses.get(filename).get("response_items", {}) - expected_response_code = expected_response_code or http.HTTPStatus.OK - - assert actual_response["status_code"] == expected_response_code - assert actual_response["body"] == expected_response, ( - f"\n❌ Mismatch in test: {filename}\n" - f"NHS Number: {nhs_number}\n" - f"Expected: {expected_response}\n" - f"Actual: {actual_response}\n" - ) diff --git a/tests/e2e/tests/test_vita_integration_tests.py b/tests/e2e/tests/test_vita_integration_tests.py deleted file mode 100644 index 822e23764..000000000 --- a/tests/e2e/tests/test_vita_integration_tests.py +++ /dev/null @@ -1,37 +0,0 @@ -import http - -import pytest - -from tests.e2e.tests import test_config -from tests.e2e.utils.data_helper import initialise_tests, load_all_expected_responses - -# Update the below with the configuration values specified in test_config.py -all_data, dto = initialise_tests(test_config.VITA_INTEGRATION_TEST_DATA) -all_expected_responses = load_all_expected_responses(test_config.VITA_INTEGRATION_RESPONSES) -config_path = test_config.VITA_INTEGRATION_CONFIGS - -param_list = list(all_data.items()) -id_list = [f"{filename} - {scenario.get('scenario_name', 'No Scenario')}" for filename, scenario in param_list] - - -@pytest.mark.vitaintegration -@pytest.mark.parametrize(("filename", "scenario"), param_list, ids=id_list) -def test_run_story_test_cases(filename, scenario, eligibility_client, get_scenario_params): - nhs_number, config_filenames, request_headers, query_params, expected_response_code = get_scenario_params( - scenario, config_path - ) - - actual_response = eligibility_client.make_request( - nhs_number=nhs_number, headers=request_headers, query_params=query_params, strict_ssl=False - ) - expected_response = all_expected_responses.get(filename).get("response_items", {}) - - expected_response_code = expected_response_code or http.HTTPStatus.OK - - assert actual_response["status_code"] == expected_response_code - assert actual_response["body"] == expected_response, ( - f"\n❌ Mismatch in test: {filename}\n" - f"NHS Number: {nhs_number}\n" - f"Expected: {expected_response}\n" - f"Actual: {actual_response}\n" - ) diff --git a/tests/e2e/utils/__init__.py b/tests/e2e/utils/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/tests/e2e/utils/data_helper.py b/tests/e2e/utils/data_helper.py deleted file mode 100644 index 338d24345..000000000 --- a/tests/e2e/utils/data_helper.py +++ /dev/null @@ -1,161 +0,0 @@ -import json -from pathlib import Path - -from .dynamo_helper import insert_into_dynamo -from .placeholder_context import PlaceholderDTO, ResolvedPlaceholderContext -from .placeholder_utils import resolve_placeholders - -keys_to_ignore = ["responseId", "lastUpdated", "id"] - - -def initialise_tests(folder): - folder_path = Path(folder).resolve() - all_data, dto = load_all_test_scenarios(folder_path) - - # Insert to Dynamo (placeholder) - for scenario in all_data.values(): - insert_into_dynamo(scenario["dynamo_items"]) - - return all_data, dto - - -def resolve_placeholders_in_data(data, context, file_name): - if isinstance(data, dict): - return {k: resolve_placeholders_in_data(v, context, file_name) for k, v in data.items()} - if isinstance(data, list): - return [resolve_placeholders_in_data(item, context, file_name) for item in data] - return resolve_placeholders(data, context, file_name) - - -def load_test_scenario(file_path): - with Path.open(file_path) as f: - raw_data = json.load(f) - - file_name = Path(file_path).name - context = ResolvedPlaceholderContext() - resolved_data = resolve_placeholders_in_data(raw_data["data"], context, file_name) - - return { - "file": file_name, - "scenario_name": raw_data.get("scenario_name"), - "data": resolved_data, - "placeholders": context.all(), # Now just placeholder → value - } - - -def extract_nhs_number_from_data(data): - def find_nhs(obj): - if isinstance(obj, dict): - for k, v in obj.items(): - if k.lower().replace("_", "") == "nhsnumber": - return v - if isinstance(v, (dict, list)): - result = find_nhs(v) - if result: - return result - elif isinstance(obj, list): - for item in obj: - result = find_nhs(item) - if result: - return result - return None - - return find_nhs(data) or "UNKNOWN" - - -def load_all_expected_responses(folder_path): - all_data = {} - dto = PlaceholderDTO() # Shared across all files - - for path in Path(folder_path).iterdir(): - if path.suffix != ".json": - continue - - with path.open() as f: - raw_json = json.load(f) - - resolved_data = resolve_placeholders_in_data(raw_json, dto, path.name) - cleaned_data = clean_responses(data=resolved_data, ignore_keys=keys_to_ignore) - - all_data[path.name] = {"response_items": cleaned_data} - - return all_data - - -def load_all_test_scenarios(folder_path): - all_data = {} - dto = PlaceholderDTO() # Shared across all files - - for path in Path(folder_path).iterdir(): - if path.suffix != ".json": - continue - - with path.open() as f: - raw_json = json.load(f) - - raw_data = raw_json["data"] - - config_filenames = raw_json.get("config_filenames") - scenario_name = raw_json.get("scenario_name") - request_headers = raw_json.get("request_headers") - expected_response_code = raw_json.get("expected_response_code") - query_params = raw_json.get("query_params") - - # Resolve placeholders with shared DTO - resolved_data = resolve_placeholders_in_data(raw_data, dto, path.name) - - # Extract NHS number - nhs_number = extract_nhs_number_from_data(resolved_data) - - # Add resolved scenario - all_data[path.name] = { - "dynamo_items": resolved_data, - "nhs_number": nhs_number, - "config_filenames": config_filenames, - "expected_response_code": expected_response_code, - "request_headers": request_headers, - "query_params": query_params, - "scenario_name": scenario_name, - } - - return all_data, dto - - -def load_data_items_to_dynamo(folder_path): - dto = PlaceholderDTO() # Shared across all files - - for path in Path(folder_path).iterdir(): - if path.suffix != ".json": - continue - - with path.open() as f: - raw_json = json.load(f) - - raw_data = raw_json["data"] - - # Resolve placeholders with shared DTO - resolved_data = resolve_placeholders_in_data(raw_data, dto, path.name) - - # Insert immediately - insert_into_dynamo(resolved_data) - - -def clean_responses(data: dict, ignore_keys: list) -> dict: - return _mask_volatile_fields(data, ignore_keys) - - -def _mask_volatile_fields(data, keys_to_mask, placeholder=""): - if isinstance(data, dict): - result = {} - for key, value in data.items(): - # Always recurse first - if isinstance(value, (dict, list)): - masked_value = _mask_volatile_fields(value, keys_to_mask, placeholder) - else: - masked_value = value - # Then decide if this key should be masked - result[key] = placeholder if key in keys_to_mask else masked_value - return result - if isinstance(data, list): - return [_mask_volatile_fields(item, keys_to_mask, placeholder) for item in data] - return data diff --git a/tests/e2e/utils/dynamo_helper.py b/tests/e2e/utils/dynamo_helper.py deleted file mode 100644 index 142fd796f..000000000 --- a/tests/e2e/utils/dynamo_helper.py +++ /dev/null @@ -1,66 +0,0 @@ -import logging -import os - -import boto3 -from botocore.exceptions import ClientError -from dotenv import load_dotenv - -# Load credentials from .env -load_dotenv() -logger = logging.getLogger(__name__) - - -class DynamoDBHelper: - def __init__(self, table_name): - # Create DynamoDB resource using credentials from env - self.dynamodb = boto3.resource("dynamodb") - self.table = self.dynamodb.Table(table_name) - - def insert_item(self, item: dict): - """ - Insert a single item into the table. - """ - try: - response = self.table.put_item(Item=item) - except ClientError as e: - logger.exception("Failed to insert item: %s", e.response["Error"]["Message"]) - raise - else: - return response - - def insert_items(self, items: list): - """ - Insert multiple items using batch_writer. - """ - try: - with self.table.batch_writer() as batch: - for item in items: - batch.put_item(Item=item) - except ClientError as e: - logger.exception("Batch insert failed: %s", e.response["Error"]["Message"]) - raise - else: - logger.info("Batch insert complete.") - - def get_item(self, key: dict): - """ - Retrieve a single item by primary key. - """ - try: - response = self.table.get_item(Key=key) - except ClientError as e: - logger.exception("Failed to get item: %s", e.response["Error"]["Message"]) - raise - else: - return response.get("Item") - - -def insert_into_dynamo(data): - logger.info("Inserting into Dynamo: %s", data) - table = DynamoDBHelper(os.getenv("DYNAMODB_TABLE_NAME")) - for item in data: - try: - table.insert_item(item) - logger.info("✅ Inserted: %s", item) - except ClientError as e: - logger.exception("❌ Failed to insert %s: %s", item, e.response["Error"]["Message"]) diff --git a/tests/e2e/utils/eligibility_api_client.py b/tests/e2e/utils/eligibility_api_client.py deleted file mode 100644 index 6d57dbadc..000000000 --- a/tests/e2e/utils/eligibility_api_client.py +++ /dev/null @@ -1,127 +0,0 @@ -import json -import os -from pathlib import Path -from typing import Any - -import boto3 -import requests -from botocore.exceptions import ClientError -from dotenv import load_dotenv -from requests import Response - -from tests.e2e.utils.data_helper import clean_responses - -ignore_keys = ["lastUpdated", "responseId", "id"] - - -class EligibilityApiClient: - def __init__(self, api_url: str, cert_dir: str = "tests/e2e/certs") -> None: - load_dotenv(dotenv_path=Path(__file__).resolve().parent / "../.env") - - self.api_url: str = api_url - self.region: str | None = os.getenv("AWS_REGION") - self.aws_access_key_id: str | None = os.getenv("AWS_ACCESS_KEY_ID") - self.aws_secret_access_key: str | None = os.getenv("AWS_SECRET_ACCESS_KEY") - self.aws_session_token: str | None = os.getenv("AWS_SESSION_TOKEN") - - self.cert_dir: Path = Path(cert_dir) - self.cert_dir.mkdir(parents=True, exist_ok=True) - - self.cert_paths: dict[str, Path] = { - "private_key": self.cert_dir / "api_private_key_cert.pem", - "client_cert": self.cert_dir / "api_client_cert.pem", - "ca_cert": self.cert_dir / "api_ca_cert.pem", - } - - self.ssm_params: dict[str, str] = { - "private_key": "/test/mtls/api_private_key_cert", - "client_cert": "/test/mtls/api_client_cert", - "ca_cert": "/test/mtls/api_ca_cert", - } - - self._ensure_certs_present() - - def _get_ssm_parameter(self, param_name: str, *, decrypt: bool = True) -> str: - try: - client = boto3.client( - "ssm", - region_name=self.region, - aws_access_key_id=self.aws_access_key_id, - aws_secret_access_key=self.aws_secret_access_key, - aws_session_token=self.aws_session_token, - ) - response = client.get_parameter(Name=param_name, WithDecryption=decrypt) - return response["Parameter"]["Value"] - except ClientError as e: - msg = f"Error retrieving {param_name} from SSM: {e}" - raise RuntimeError(msg) from e - - def _ensure_certs_present(self) -> None: - missing = [k for k, path in self.cert_paths.items() if not path.exists()] - if not missing: - return - - for cert_type in missing: - param_name = self.ssm_params[cert_type] - cert_value = self._get_ssm_parameter(param_name) - with Path.open(self.cert_paths[cert_type], "w", encoding="utf-8") as f: - f.write(cert_value) - - def make_request( - self, - nhs_number: str, - method: str = "GET", - payload: dict[str, Any] | list | None = None, - headers: dict[str, str] | None = None, - query_params: dict[str, Any] | None = None, - **options, - ) -> dict[str, Any]: - strict_ssl = options.get("strict_ssl", False) - raise_on_error = options.get("raise_on_error", True) - url = f"{self.api_url.rstrip('/')}/{nhs_number}" - cert = ( - str(self.cert_paths["client_cert"]), - str(self.cert_paths["private_key"]), - ) - verify: bool | str = str(self.cert_paths["ca_cert"]) if strict_ssl else False - - try: - response = requests.request( - method=method.upper(), - url=url, - cert=cert, - verify=verify, - json=payload, - headers=headers, - params=query_params, - timeout=10, - ) - - if raise_on_error: - response.raise_for_status() - - return self._parse_response(response) - - except requests.exceptions.SSLError as ssl_err: - msg = "SSL error during request: %s", ssl_err - raise RuntimeError(msg) from ssl_err - except requests.exceptions.RequestException as req_err: - response = getattr(req_err, "response", None) - if isinstance(response, Response): - return self._parse_response(response) - msg = "Request error: %s", req_err - raise RuntimeError(msg) from req_err - - def _parse_response(self, response: Response) -> dict[str, Any]: - try: - data = response.json() - cleaned = clean_responses(data=data, ignore_keys=ignore_keys) - except json.JSONDecodeError: - cleaned = response.text - - return { - "status_code": response.status_code, - "headers": dict(response.headers), - "body": cleaned, - "ok": response.ok, - } diff --git a/tests/e2e/utils/placeholder_context.py b/tests/e2e/utils/placeholder_context.py deleted file mode 100644 index 5d22c5534..000000000 --- a/tests/e2e/utils/placeholder_context.py +++ /dev/null @@ -1,31 +0,0 @@ -class ResolvedPlaceholderContext: - def __init__(self): - self.values = {} - - def add(self, placeholder: str, resolved_value: str): - self.values[placeholder] = resolved_value # Drop file_name key nesting - - def get(self, placeholder: str) -> str: - return self.values.get(placeholder) - - def all(self): - return self.values - - -class PlaceholderDTO: - def __init__(self): - self.placeholders = {} # key: filename, value: dict of placeholders per file - - def add(self, key: str, value: str, file_name: str): - if file_name not in self.placeholders: - self.placeholders[file_name] = {} - self.placeholders[file_name][key] = value - - def get(self, key: str, file_name: str): - return self.placeholders.get(file_name, {}).get(key) - - def get_all_for_file(self, file_name: str): - return self.placeholders.get(file_name, {}).copy() - - def all(self): - return self.placeholders.copy() diff --git a/tests/e2e/utils/placeholder_utils.py b/tests/e2e/utils/placeholder_utils.py deleted file mode 100644 index 586637121..000000000 --- a/tests/e2e/utils/placeholder_utils.py +++ /dev/null @@ -1,83 +0,0 @@ -import logging -import re -from calendar import isleap -from datetime import UTC, datetime, timedelta - -from dateutil.relativedelta import relativedelta - -logger = logging.getLogger(__name__) - - -def resolve_placeholders(value, context=None, file_name=None): - """ - Replace placeholders of the form <> in a string with resolved values. - If resolution fails, the original placeholder text is left unchanged. - """ - - if not isinstance(value, str): - return value - - def replacer(match): - placeholder = match.group(1) - try: - resolved = _resolve_placeholder_value(placeholder) - except Exception: - logger.exception("[ERROR] Could not resolve placeholder %s:", placeholder) - return match.group(0) # leave placeholder unchanged - else: - if context: - context.add(placeholder, resolved, file_name) - return resolved - - return re.sub(r"<<(.*?)>>", replacer, value) - - -def _resolve_placeholder_value(placeholder: str) -> str: - placeholder_parts_length = 3 - # RDATE - valid_placeholder_types = ["DATE", "RDATE", "IGNORE"] - result = f"<<{placeholder}>>" # Default fallback - - if placeholder in ["IGNORE_RESPONSE_ID", "IGNORE_DATE"]: - return placeholder - - parts = placeholder.split("_") - if len(parts) != placeholder_parts_length or parts[0] not in valid_placeholder_types: - return result - - today = datetime.now(UTC) - date_type, arg = parts[1], parts[2] - - try: - if date_type == "AGE": - result = _resolve_age_placeholder(today, int(arg), parts[0]) - elif date_type == "DAY": - result = _format_date(today + timedelta(days=int(arg)), parts[0]) - elif date_type == "WEEK": - result = _format_date(today + timedelta(weeks=int(arg)), parts[0]) - elif date_type == "MONTH": - result = _format_date(today + relativedelta(months=int(arg)), parts[0]) - elif date_type == "YEAR": - result = _format_date(today + relativedelta(years=int(arg)), parts[0]) - except Exception: - logger.exception("Failed to resolve placeholder: %s", placeholder) - raise - return result - - -def _resolve_age_placeholder(today: datetime, years_back: int, format_type: str) -> str: - target_year = today.year - years_back - february = 2 - leap_year_day = 29 - try: - result_date = today.replace(year=target_year) - except ValueError: - if today.month == february and today.day == leap_year_day and not isleap(target_year): - result_date = datetime(target_year, 2, 28, tzinfo=UTC) - else: - raise - return _format_date(result_date, format_type) - - -def _format_date(date: datetime, format_type: str) -> str: - return date.strftime("%Y%m%d") if format_type == "DATE" else date.strftime("%d %B %Y") diff --git a/tests/e2e/utils/s3_config_manager.py b/tests/e2e/utils/s3_config_manager.py deleted file mode 100644 index e7bd6994e..000000000 --- a/tests/e2e/utils/s3_config_manager.py +++ /dev/null @@ -1,160 +0,0 @@ -import hashlib -import json -import logging -import os -from pathlib import Path - -import boto3 -import botocore -from dotenv import load_dotenv - -from tests.e2e.utils.data_helper import resolve_placeholders_in_data -from tests.e2e.utils.placeholder_context import PlaceholderDTO - -load_dotenv(dotenv_path=".env") -logger = logging.getLogger(__name__) - - -class S3ConfigManager: - def __init__(self, bucket_name: str, s3_prefix: str = "") -> None: - self.bucket_name: str = bucket_name - self.s3_prefix: str = s3_prefix - self.s3_client = boto3.client("s3") - - def _s3_key(self, filename: str) -> str: - return str(Path(self.s3_prefix) / filename) - - def _calculate_file_hash(self, file_path: Path) -> str: - """Return SHA256 hash of the given file.""" - sha256 = hashlib.sha256() - with file_path.open("rb") as file: - for chunk in iter(lambda: file.read(4096), b""): - sha256.update(chunk) - return sha256.hexdigest() - - def upload_if_missing_or_changed(self, local_path: Path) -> None: - filename = Path(local_path).name - s3_key = self._s3_key(filename) - - try: - if self.config_exists_and_matches(local_path, s3_key): - logger.info("\n🔍 Config '%s' already exists and matches in S3. Skipping upload.", filename) - return - logger.info("\n🧹 A different config exists under '%s/'. Deleting all existing files...", self.s3_prefix) - self.delete_all_in_prefix() - except self.s3_client.exceptions.NoSuchKey: - logger.info("\n🆕 No config found under '%s/'. Proceeding to upload.", self.s3_prefix) - except botocore.exceptions.ClientError as error: - if error.response.get("Error", {}).get("Code") == "NoSuchKey": - logger.info("\n🆕 No config found under '%s/'. Proceeding to upload.", self.s3_prefix) - else: - raise - - logger.info("⬆️ Uploading new config '%s' to S3...", filename) - self.s3_client.upload_file(local_path, self.bucket_name, s3_key) - logger.info("📄 Uploaded to s3://%s/%s", self.bucket_name, s3_key) - - def config_exists_and_matches(self, local_path: Path, s3_key: str) -> bool: - session = boto3.Session() - credentials = session.get_credentials() - logger.info("AWS_ACCESS_KEY_ID = %s", credentials.access_key) - logger.info("AWS_SECRET_ACCESS_KEY = %s", credentials.secret_key) - logger.info("AWS_SESSION_TOKEN = %s", credentials.token) - - try: - s3_obj = self.s3_client.get_object(Bucket=self.bucket_name, Key=s3_key) - s3_data = s3_obj["Body"].read() - s3_hash = hashlib.sha256(s3_data).hexdigest() - local_hash = self._calculate_file_hash(local_path) - except self.s3_client.exceptions.NoSuchKey: - return False - except botocore.exceptions.ClientError as error: - if error.response.get("Error", {}).get("Code") == "NoSuchKey": - return False - raise - else: - return s3_hash == local_hash - - def delete_all_in_prefix(self) -> None: - """Delete all S3 objects under the current prefix.""" - response = self.s3_client.list_objects_v2(Bucket=self.bucket_name, Prefix=self.s3_prefix) - - if "Contents" in response: - to_delete = [{"Key": obj["Key"]} for obj in response["Contents"]] - self.s3_client.delete_objects(Bucket=self.bucket_name, Delete={"Objects": to_delete}) - logger.info("🗑️ Deleted %d file(s) under prefix '%s/'.", len(to_delete), self.s3_prefix) - else: - logger.info("📭 Nothing to delete under prefix '%s/'.", self.s3_prefix) - - def upload_all_configs(self, local_paths: list[Path]) -> None: - desired_filenames = [p.name for p in local_paths] - desired_keys = {self._s3_key(name) for name in desired_filenames} - - existing_keys = self._list_existing_keys() - keys_to_delete = [key for key in existing_keys if key not in desired_keys] - if keys_to_delete: - self._delete_keys(keys_to_delete) - - dto = PlaceholderDTO() - - for path in local_paths: - filename = path.name - s3_key = self._s3_key(filename) - - logger.info("🔧 Resolving placeholders in config: %s", filename) - - with path.open() as f: - raw_data = json.load(f) - - resolved = resolve_placeholders_in_data(raw_data, dto, filename) - resolved_json_str = json.dumps(resolved, indent=2) - - if self.config_exists_and_matches_str(resolved_json_str, s3_key): - logger.info("✅ Config '%s' is unchanged in S3. Skipping upload.", filename) - else: - logger.info("⬆️ Uploading config '%s' to S3...", filename) - self.s3_client.put_object( - Body=resolved_json_str.encode("utf-8"), - Bucket=self.bucket_name, - Key=s3_key, - ContentType="application/json", - ) - logger.info("📄 Uploaded to s3://%s/%s", self.bucket_name, s3_key) - - def config_exists_and_matches_str(self, local_json_str: str, s3_key: str) -> bool: - try: - response = self.s3_client.get_object(Bucket=self.bucket_name, Key=s3_key) - remote_str = response["Body"].read().decode("utf-8") - return local_json_str.strip() == remote_str.strip() - except self.s3_client.exceptions.NoSuchKey: - return False - - def _list_existing_keys(self) -> list[str]: - """List all object keys under the current S3 prefix.""" - response = self.s3_client.list_objects_v2(Bucket=self.bucket_name, Prefix=self.s3_prefix) - return [obj["Key"] for obj in response.get("Contents", [])] - - def _delete_keys(self, keys: list[str]) -> None: - """Delete specific keys from the S3 bucket.""" - self.s3_client.delete_objects( - Bucket=self.bucket_name, - Delete={"Objects": [{"Key": key} for key in keys]}, - ) - logger.info("🗑️ Deleted %d obsolete file(s): %s", len(keys), keys) - - -def upload_config_to_s3(local_path: Path) -> None: - s3_connection = S3ConfigManager(os.getenv("S3_BUCKET_NAME"), os.getenv("S3_PREFIX")) - s3_connection.upload_if_missing_or_changed(local_path) - - -def upload_configs_to_s3(config_filenames: list[str], config_path: str | Path) -> None: - config_path = Path(config_path) - local_paths = [config_path / f for f in config_filenames] - s3_connection = S3ConfigManager(os.getenv("S3_BUCKET_NAME"), os.getenv("S3_PREFIX")) - s3_connection.upload_all_configs(local_paths) - - -def delete_all_configs_from_s3() -> None: - s3_connection = S3ConfigManager(os.getenv("S3_BUCKET_NAME"), os.getenv("S3_PREFIX")) - s3_connection.delete_all_in_prefix()