From 363c13250b4f69156b01d5d46fc09122c6510683 Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Fri, 19 Sep 2025 01:33:08 +0100 Subject: [PATCH 01/45] attempt to assume role for dev --- .github/workflows/regression_tests.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/regression_tests.yml b/.github/workflows/regression_tests.yml index 0c3febbc..8fca09df 100644 --- a/.github/workflows/regression_tests.yml +++ b/.github/workflows/regression_tests.yml @@ -98,6 +98,12 @@ jobs: if: steps.cache-venv.outputs.cache-hit != 'true' run: make install + - name: Configure AWS Credentials + uses: aws-actions/configure-aws-credentials@v5.0.0 + with: + aws-region: eu-west-2 + role-to-assume: arn:aws:iam::448049830832:role/Eligibility-Signposting-API-E2E-Regression-Tests + - name: Regression Tests id: tests continue-on-error: true From f1f84dbccb2053d8e1b2a69303eb25e5c30d3ca1 Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Fri, 19 Sep 2025 01:50:56 +0100 Subject: [PATCH 02/45] update to pr-link which should start linking the jira ticket --- .github/pull_request_template.md | 4 ++-- .github/workflows/pr-link.yml | 17 +++++++++++------ 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index c18f0bef..643cd94a 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -17,7 +17,7 @@ Add any summary information of what is in the change. **Remove this line if you Pull requests should be named using the following format: ```text -Tag: [AEA-NNNN] - Short description +Tag: [ELI-NNNN] - Short description ``` Tag can be one of: @@ -45,7 +45,7 @@ The description of your pull request will be used as the commit message for the If you need to rename your pull request, you can restart the checks by either: - Closing and reopening the pull request -- pushing an empty commit +- pushing an empty commit ```bash git commit --allow-empty -m 'trigger build' git push diff --git a/.github/workflows/pr-link.yml b/.github/workflows/pr-link.yml index 83dbaf9c..6d77bd87 100644 --- a/.github/workflows/pr-link.yml +++ b/.github/workflows/pr-link.yml @@ -7,6 +7,8 @@ jobs: runs-on: ubuntu-22.04 env: REF: ${{ github.event.pull_request.head.ref }} + permissions: + pull-requests: write steps: - name: Check ticket name conforms to requirements run: echo "$REF" | grep -i -E -q "(eli-[0-9]+)|(dependabot\/)" @@ -31,10 +33,13 @@ jobs: - name: Comment on PR with link to JIRA ticket if: contains(github.event.pull_request.head.ref, 'eli-') continue-on-error: true - uses: unsplash/comment-on-pr@b5610c6125a7197eaec80072ea35ef53e1fc6035 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + uses: actions/github-script@v6 with: - msg: | - This branch is work on a ticket in an NHS England JIRA Project. Here's a handy link to the ticket: - # [${{ env.TICKET_NAME }}](https://nhsd-jira.digital.nhs.uk/browse/${{ env.TICKET_NAME }}) + script: | + github.rest.issues.createComment({ + issue_number: context.issue.number, + owner: context.repo.owner, + repo: context.repo.repo, + body: 'This branch is work on a ticket in an NHS England JIRA Project. Here's a handy link to the ticket: + # [${{ env.TICKET_NAME }}](https://nhsd-jira.digital.nhs.uk/browse/${{ env.TICKET_NAME }})' + }) From b66c588d8475c326861d41b0437b5a0249d35476 Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Fri, 19 Sep 2025 01:54:44 +0100 Subject: [PATCH 03/45] update github-script action version --- .github/workflows/pr-link.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-link.yml b/.github/workflows/pr-link.yml index 6d77bd87..680f1c8e 100644 --- a/.github/workflows/pr-link.yml +++ b/.github/workflows/pr-link.yml @@ -33,7 +33,7 @@ jobs: - name: Comment on PR with link to JIRA ticket if: contains(github.event.pull_request.head.ref, 'eli-') continue-on-error: true - uses: actions/github-script@v6 + uses: actions/github-script@v8 with: script: | github.rest.issues.createComment({ From b9b2a666b32bb2e7aadbdaefc9197a08737519a5 Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Fri, 19 Sep 2025 01:58:31 +0100 Subject: [PATCH 04/45] Syntax error --- .github/workflows/pr-link.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-link.yml b/.github/workflows/pr-link.yml index 680f1c8e..56cc9235 100644 --- a/.github/workflows/pr-link.yml +++ b/.github/workflows/pr-link.yml @@ -1,7 +1,7 @@ name: PR Link ticket on: pull_request: - types: [opened] + types: [ opened ] jobs: link-ticket: runs-on: ubuntu-22.04 @@ -40,6 +40,6 @@ jobs: issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo, - body: 'This branch is work on a ticket in an NHS England JIRA Project. Here's a handy link to the ticket: + body: 'This branch is work on a ticket in an NHS England JIRA Project. Here is a handy link to the ticket: # [${{ env.TICKET_NAME }}](https://nhsd-jira.digital.nhs.uk/browse/${{ env.TICKET_NAME }})' }) From 78c4172b9ed3504b8b41f671f314b7b43b28a584 Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Fri, 19 Sep 2025 02:06:21 +0100 Subject: [PATCH 05/45] remove the permissions object to see if that's causing an issue --- .github/workflows/pr-link.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr-link.yml b/.github/workflows/pr-link.yml index 56cc9235..0a9bdf25 100644 --- a/.github/workflows/pr-link.yml +++ b/.github/workflows/pr-link.yml @@ -7,8 +7,6 @@ jobs: runs-on: ubuntu-22.04 env: REF: ${{ github.event.pull_request.head.ref }} - permissions: - pull-requests: write steps: - name: Check ticket name conforms to requirements run: echo "$REF" | grep -i -E -q "(eli-[0-9]+)|(dependabot\/)" @@ -40,6 +38,6 @@ jobs: issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo, - body: 'This branch is work on a ticket in an NHS England JIRA Project. Here is a handy link to the ticket: - # [${{ env.TICKET_NAME }}](https://nhsd-jira.digital.nhs.uk/browse/${{ env.TICKET_NAME }})' + body: "This branch is work on a ticket in an NHS England JIRA Project. Here is a handy link to the ticket: + # [${{ env.TICKET_NAME }}](https://nhsd-jira.digital.nhs.uk/browse/${{ env.TICKET_NAME }})" }) From 91fa418e7e80ff56a8ac2513668bd745e0378221 Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Fri, 19 Sep 2025 02:09:40 +0100 Subject: [PATCH 06/45] set the permission correctly this time --- .github/workflows/pr-link.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pr-link.yml b/.github/workflows/pr-link.yml index 0a9bdf25..8e0eda5e 100644 --- a/.github/workflows/pr-link.yml +++ b/.github/workflows/pr-link.yml @@ -7,6 +7,8 @@ jobs: runs-on: ubuntu-22.04 env: REF: ${{ github.event.pull_request.head.ref }} + permissions: + id-token: write steps: - name: Check ticket name conforms to requirements run: echo "$REF" | grep -i -E -q "(eli-[0-9]+)|(dependabot\/)" From e9a72c5f5a9a8f1029b8e16a2dd73df8c2f879a6 Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Fri, 19 Sep 2025 02:16:21 +0100 Subject: [PATCH 07/45] trying to specifically provide the github token --- .github/workflows/pr-link.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pr-link.yml b/.github/workflows/pr-link.yml index 8e0eda5e..256c1a05 100644 --- a/.github/workflows/pr-link.yml +++ b/.github/workflows/pr-link.yml @@ -35,6 +35,7 @@ jobs: continue-on-error: true uses: actions/github-script@v8 with: + github-token: ${{ secrets.GITHUB_TOKEN }} script: | github.rest.issues.createComment({ issue_number: context.issue.number, From e17958940ea030409ad78426bcc23ef84f6363fe Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Fri, 19 Sep 2025 02:18:01 +0100 Subject: [PATCH 08/45] add issues: write and pull-requests: write permission --- .github/workflows/regression_tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/regression_tests.yml b/.github/workflows/regression_tests.yml index 8fca09df..f20e1f98 100644 --- a/.github/workflows/regression_tests.yml +++ b/.github/workflows/regression_tests.yml @@ -29,6 +29,8 @@ jobs: regression_tests: permissions: id-token: write + issues: write + pull-requests: write runs-on: ubuntu-22.04 environment: ${{ inputs.environment }} steps: From 2c417ca3f25a1e940c112c1cf7e321454a96568d Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Fri, 19 Sep 2025 02:21:07 +0100 Subject: [PATCH 09/45] Syntax error --- .github/workflows/pr-link.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/pr-link.yml b/.github/workflows/pr-link.yml index 256c1a05..cc47cfc6 100644 --- a/.github/workflows/pr-link.yml +++ b/.github/workflows/pr-link.yml @@ -43,4 +43,3 @@ jobs: repo: context.repo.repo, body: "This branch is work on a ticket in an NHS England JIRA Project. Here is a handy link to the ticket: # [${{ env.TICKET_NAME }}](https://nhsd-jira.digital.nhs.uk/browse/${{ env.TICKET_NAME }})" - }) From 4c3dba453678d144fa6223a67a6cd5ae9867ac30 Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Fri, 19 Sep 2025 02:27:28 +0100 Subject: [PATCH 10/45] Syntax error --- .github/workflows/pr-link.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-link.yml b/.github/workflows/pr-link.yml index cc47cfc6..4f9c6c60 100644 --- a/.github/workflows/pr-link.yml +++ b/.github/workflows/pr-link.yml @@ -41,5 +41,6 @@ jobs: issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo, - body: "This branch is work on a ticket in an NHS England JIRA Project. Here is a handy link to the ticket: - # [${{ env.TICKET_NAME }}](https://nhsd-jira.digital.nhs.uk/browse/${{ env.TICKET_NAME }})" + body: `This branch is work on a ticket in an NHS England JIRA Project. Here is a handy link to the ticket: + [${{ env.TICKET_NAME }}](https://nhsd-jira.digital.nhs.uk/browse/${{ env.TICKET_NAME }})` + }) From 209720b1cfc39387f60ebdb8314c3db86c281d1a Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Fri, 19 Sep 2025 02:29:32 +0100 Subject: [PATCH 11/45] adding some write permissions --- .github/workflows/pr-link.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-link.yml b/.github/workflows/pr-link.yml index 4f9c6c60..cc52d2d0 100644 --- a/.github/workflows/pr-link.yml +++ b/.github/workflows/pr-link.yml @@ -9,6 +9,8 @@ jobs: REF: ${{ github.event.pull_request.head.ref }} permissions: id-token: write + pull-requests: write + issues: write steps: - name: Check ticket name conforms to requirements run: echo "$REF" | grep -i -E -q "(eli-[0-9]+)|(dependabot\/)" @@ -35,7 +37,6 @@ jobs: continue-on-error: true uses: actions/github-script@v8 with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | github.rest.issues.createComment({ issue_number: context.issue.number, From aaae4b7f9d9409c92478d5c3a0373b6de90adf54 Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Fri, 19 Sep 2025 10:21:20 +0100 Subject: [PATCH 12/45] adding service-roles/ --- .github/workflows/regression_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/regression_tests.yml b/.github/workflows/regression_tests.yml index f20e1f98..40b89299 100644 --- a/.github/workflows/regression_tests.yml +++ b/.github/workflows/regression_tests.yml @@ -104,7 +104,7 @@ jobs: uses: aws-actions/configure-aws-credentials@v5.0.0 with: aws-region: eu-west-2 - role-to-assume: arn:aws:iam::448049830832:role/Eligibility-Signposting-API-E2E-Regression-Tests + role-to-assume: arn:aws:iam::448049830832:role/service-roles/Eligibility-Signposting-API-E2E-Regression-Tests - name: Regression Tests id: tests From f5050dcac0697169729d62d2cb691c68bc4b367f Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Fri, 19 Sep 2025 10:30:59 +0100 Subject: [PATCH 13/45] remove service-roles/ from path --- .github/workflows/regression_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/regression_tests.yml b/.github/workflows/regression_tests.yml index 40b89299..f20e1f98 100644 --- a/.github/workflows/regression_tests.yml +++ b/.github/workflows/regression_tests.yml @@ -104,7 +104,7 @@ jobs: uses: aws-actions/configure-aws-credentials@v5.0.0 with: aws-region: eu-west-2 - role-to-assume: arn:aws:iam::448049830832:role/service-roles/Eligibility-Signposting-API-E2E-Regression-Tests + role-to-assume: arn:aws:iam::448049830832:role/Eligibility-Signposting-API-E2E-Regression-Tests - name: Regression Tests id: tests From 5aeb2e5dc91c4368fdaedb6b2bbfd0283e6982de Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Fri, 19 Sep 2025 10:53:03 +0100 Subject: [PATCH 14/45] Allow just the story tests to be run --- .github/workflows/regression_tests.yml | 5 ++--- Makefile | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/regression_tests.yml b/.github/workflows/regression_tests.yml index f20e1f98..9485c60d 100644 --- a/.github/workflows/regression_tests.yml +++ b/.github/workflows/regression_tests.yml @@ -103,8 +103,8 @@ jobs: - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v5.0.0 with: + role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/Eligibility-Signposting-API-E2E-Regression-Tests aws-region: eu-west-2 - role-to-assume: arn:aws:iam::448049830832:role/Eligibility-Signposting-API-E2E-Regression-Tests - name: Regression Tests id: tests @@ -113,8 +113,7 @@ jobs: ENVIRONMENT: ${{ inputs.environment }} PULL_REQUEST_ID: ${{ inputs.pull_request_id }} INPUT_TAG: ${{ inputs.tags }} - run: echo Coming Soon! -# run: make run-tests + run: make run-tests - name: force error on failure if: steps.tests.outcome != 'success' diff --git a/Makefile b/Makefile index 1864ce12..65b2482e 100644 --- a/Makefile +++ b/Makefile @@ -77,4 +77,4 @@ pre-commit: poetry run pre-commit run --all-files run-tests: - poetry run pytest + poetry run pytest tests/test_story_tests.py From 08728e4f6ae27d51e25168fca2da7df19be82c5e Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Fri, 19 Sep 2025 11:07:13 +0100 Subject: [PATCH 15/45] returning auth to DynamoDB helper to see if it does automagically get the role from the role authed in gh actions --- utils/dynamo_helper.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/utils/dynamo_helper.py b/utils/dynamo_helper.py index f1a1f8e9..649702bd 100644 --- a/utils/dynamo_helper.py +++ b/utils/dynamo_helper.py @@ -10,9 +10,7 @@ class DynamoDBHelper: def __init__(self, table_name): # Create DynamoDB resource using credentials from env - self.session = boto3.Session(profile_name="test") - self.credentials = self.session.get_credentials() - self.dynamodb = self.session.resource("dynamodb") + self.dynamodb = boto3.resource("dynamodb") self.table = self.dynamodb.Table(table_name) def insert_item(self, item: dict): From 4c8af1d5e078878c7fadbd3385c94063b913312e Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Fri, 19 Sep 2025 11:21:00 +0100 Subject: [PATCH 16/45] DynamoDM table name env variable --- .github/workflows/regression_tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/regression_tests.yml b/.github/workflows/regression_tests.yml index 9485c60d..ca8c5651 100644 --- a/.github/workflows/regression_tests.yml +++ b/.github/workflows/regression_tests.yml @@ -110,6 +110,7 @@ jobs: id: tests continue-on-error: true env: + DYNAMODB_TABLE_NAME: ${{ var.DYNAMODB_TABLE_NAME }} ENVIRONMENT: ${{ inputs.environment }} PULL_REQUEST_ID: ${{ inputs.pull_request_id }} INPUT_TAG: ${{ inputs.tags }} From fa439b1fa8289dab4b60bf7e4e6b7688b69efde9 Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Fri, 19 Sep 2025 11:22:45 +0100 Subject: [PATCH 17/45] typo --- .github/workflows/regression_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/regression_tests.yml b/.github/workflows/regression_tests.yml index ca8c5651..074dde6e 100644 --- a/.github/workflows/regression_tests.yml +++ b/.github/workflows/regression_tests.yml @@ -110,7 +110,7 @@ jobs: id: tests continue-on-error: true env: - DYNAMODB_TABLE_NAME: ${{ var.DYNAMODB_TABLE_NAME }} + DYNAMODB_TABLE_NAME: ${{ vars.DYNAMODB_TABLE_NAME }} ENVIRONMENT: ${{ inputs.environment }} PULL_REQUEST_ID: ${{ inputs.pull_request_id }} INPUT_TAG: ${{ inputs.tags }} From 983d21ae75e83db9967d849df32391ad236464b7 Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Fri, 19 Sep 2025 11:28:41 +0100 Subject: [PATCH 18/45] remove more references to AWS profiles --- utils/eligibility_api_client.py | 3 +-- utils/s3_config_manager.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/utils/eligibility_api_client.py b/utils/eligibility_api_client.py index f1018dd9..8eb0081a 100644 --- a/utils/eligibility_api_client.py +++ b/utils/eligibility_api_client.py @@ -18,7 +18,6 @@ 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.session = boto3.session.Session(profile_name="test") self.cert_dir: Path = Path(cert_dir) self.cert_dir.mkdir(parents=True, exist_ok=True) @@ -39,7 +38,7 @@ def __init__(self, api_url: str, cert_dir: str = "tests/e2e/certs") -> None: def _get_ssm_parameter(self, param_name: str, *, decrypt: bool = True) -> str: try: - client = self.session.client("ssm") + client = boto3.client("ssm") response = client.get_parameter(Name=param_name, WithDecryption=decrypt) return response["Parameter"]["Value"] except ClientError as e: diff --git a/utils/s3_config_manager.py b/utils/s3_config_manager.py index a5abfcea..65328c6e 100644 --- a/utils/s3_config_manager.py +++ b/utils/s3_config_manager.py @@ -19,7 +19,7 @@ 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.session.Session(profile_name="test").client("s3") + self.s3_client = boto3.client("s3") def _s3_key(self, filename: str) -> str: return str(Path(self.s3_prefix) / filename) From eb931f11b7173e7ae07822511eb7e2a0b80ee9b2 Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Fri, 19 Sep 2025 11:50:39 +0100 Subject: [PATCH 19/45] use dev certs instead --- utils/eligibility_api_client.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/eligibility_api_client.py b/utils/eligibility_api_client.py index 8eb0081a..0db3b621 100644 --- a/utils/eligibility_api_client.py +++ b/utils/eligibility_api_client.py @@ -14,7 +14,7 @@ class EligibilityApiClient: - def __init__(self, api_url: str, cert_dir: str = "tests/e2e/certs") -> None: + def __init__(self, api_url: str, cert_dir: str = "tests/certs") -> None: load_dotenv(dotenv_path=Path(__file__).resolve().parent / "../.env") self.api_url: str = api_url @@ -29,9 +29,9 @@ def __init__(self, api_url: str, cert_dir: str = "tests/e2e/certs") -> None: } 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", + "private_key": "/dev/mtls/api_private_key_cert", + "client_cert": "/dev/mtls/api_client_cert", + "ca_cert": "/dev/mtls/api_ca_cert", } self._ensure_certs_present() From b55d4c4c3dc10982f0564dfde29f573d2f2404d9 Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Mon, 22 Sep 2025 11:18:34 +0100 Subject: [PATCH 20/45] ignore cert directory --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index bee820c1..e5ae5a8a 100644 --- a/.gitignore +++ b/.gitignore @@ -254,3 +254,4 @@ vscode # Node Modules node_modules +/certs/ From 39808af9d917137bafa60783ca335313b0bada23 Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Mon, 22 Sep 2025 14:17:30 +0100 Subject: [PATCH 21/45] added s3 env variables --- .github/workflows/regression_tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/regression_tests.yml b/.github/workflows/regression_tests.yml index 074dde6e..92976cc2 100644 --- a/.github/workflows/regression_tests.yml +++ b/.github/workflows/regression_tests.yml @@ -110,6 +110,8 @@ jobs: id: tests continue-on-error: true env: + S3_BUCKET_NAME: ${{ vars.S3_BUCKET_NAME }} + S3_PREFIX: ${{ vars.S3_PREFIX }} DYNAMODB_TABLE_NAME: ${{ vars.DYNAMODB_TABLE_NAME }} ENVIRONMENT: ${{ inputs.environment }} PULL_REQUEST_ID: ${{ inputs.pull_request_id }} From b3099b5fc97abf3b1fdda4fa5fbe97bd05de48c0 Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Mon, 22 Sep 2025 14:21:12 +0100 Subject: [PATCH 22/45] import of tests from API project --- .../440/AUTO_RSV_ELI-440-04.json | 94 ++++++ .../storyTestConfigs/AUTO_RSV_ELI-222.json | 3 +- .../storyTestConfigs/AUTO_RSV_ELI-223-01.json | 88 +++++ .../storyTestConfigs/AUTO_RSV_ELI-223-02.json | 88 +++++ .../storyTestConfigs/AUTO_RSV_ELI-223-03.json | 88 +++++ .../storyTestConfigs/AUTO_RSV_ELI-223-04.json | 88 +++++ .../storyTestConfigs/AUTO_RSV_ELI-223-05.json | 88 +++++ .../storyTestConfigs/AUTO_RSV_ELI-223-06.json | 100 ++++++ .../storyTestConfigs/AUTO_RSV_ELI-223-07.json | 100 ++++++ .../storyTestConfigs/AUTO_RSV_ELI-223-08.json | 100 ++++++ .../storyTestConfigs/AUTO_RSV_ELI-223-09.json | 314 ++++++++++++++++++ .../storyTestConfigs/AUTO_RSV_ELI-223-10.json | 88 +++++ .../storyTestConfigs/AUTO_RSV_ELI-223-11.json | 88 +++++ .../storyTestConfigs/AUTO_RSV_ELI-223-12.json | 88 +++++ .../storyTestConfigs/AUTO_RSV_ELI-365.json | 3 +- .../storyTestConfigs/AUTO_RSV_ELI-371.json | 182 ++++++++++ .../storyTestConfigs/AUTO_RSV_ELI-405-01.json | 130 ++++++++ .../storyTestConfigs/AUTO_RSV_ELI-405-02.json | 141 ++++++++ .../storyTestConfigs/AUTO_RSV_ELI-405-03.json | 134 ++++++++ .../storyTestConfigs/AUTO_RSV_ELI-405-04.json | 148 +++++++++ .../storyTestConfigs/AUTO_RSV_ELI-405-05.json | 151 +++++++++ .../storyTestConfigs/AUTO_RSV_ELI-405-06.json | 105 ++++++ .../AUTO_RSV_ELI-427-01-3.json | 112 +++++++ .../AUTO_RSV_ELI-427-04-6.json | 110 ++++++ .../storyTestConfigs/AUTO_RSV_ELI-440-01.json | 141 ++++++++ .../AUTO_RSV_ELI-440-02-3.json | 143 ++++++++ .../AUTO_RSV_ELI-440-05-6.json | 87 +++++ .../storyTestConfigs/AUTO_RSV_ELI-440-07.json | 116 +++++++ .../vita_integration_test_config.json | 116 +++++-- .../440/AUTO_RSV_ELI-440_004.json | 47 +++ .../storyTestData/AUTO_RSV_ELI-223_001.json | 53 +++ .../storyTestData/AUTO_RSV_ELI-223_002.json | 60 ++++ .../storyTestData/AUTO_RSV_ELI-223_003.json | 61 ++++ .../storyTestData/AUTO_RSV_ELI-223_004.json | 53 +++ .../storyTestData/AUTO_RSV_ELI-223_005.json | 47 +++ .../storyTestData/AUTO_RSV_ELI-223_006.json | 53 +++ .../storyTestData/AUTO_RSV_ELI-223_007.json | 53 +++ .../storyTestData/AUTO_RSV_ELI-223_008.json | 43 +++ .../storyTestData/AUTO_RSV_ELI-223_009.json | 76 +++++ .../storyTestData/AUTO_RSV_ELI-223_010.json | 47 +++ .../storyTestData/AUTO_RSV_ELI-223_011.json | 53 +++ .../storyTestData/AUTO_RSV_ELI-223_012.json | 54 +++ .../storyTestData/AUTO_RSV_ELI-371_001.json | 45 +++ .../storyTestData/AUTO_RSV_ELI-371_002.json | 45 +++ .../storyTestData/AUTO_RSV_ELI-405_001.json | 58 ++++ .../storyTestData/AUTO_RSV_ELI-405_002.json | 58 ++++ .../storyTestData/AUTO_RSV_ELI-405_003.json | 62 ++++ .../storyTestData/AUTO_RSV_ELI-405_004.json | 62 ++++ .../storyTestData/AUTO_RSV_ELI-405_005.json | 58 ++++ .../storyTestData/AUTO_RSV_ELI-405_006.json | 50 +++ .../storyTestData/AUTO_RSV_ELI-427_001.json | 46 +++ .../storyTestData/AUTO_RSV_ELI-427_002.json | 46 +++ .../storyTestData/AUTO_RSV_ELI-427_003.json | 46 +++ .../storyTestData/AUTO_RSV_ELI-427_004.json | 46 +++ .../storyTestData/AUTO_RSV_ELI-427_005.json | 46 +++ .../storyTestData/AUTO_RSV_ELI-427_006.json | 46 +++ .../storyTestData/AUTO_RSV_ELI-440_001.json | 46 +++ .../storyTestData/AUTO_RSV_ELI-440_002.json | 46 +++ .../storyTestData/AUTO_RSV_ELI-440_003.json | 46 +++ .../storyTestData/AUTO_RSV_ELI-440_005.json | 46 +++ .../storyTestData/AUTO_RSV_ELI-440_006.json | 46 +++ .../storyTestData/AUTO_RSV_ELI-440_007.json | 46 +++ .../AUTO_RSV_VITA_INT_002.json | 2 +- .../AUTO_RSV_VITA_INT_003.json | 2 +- .../AUTO_RSV_VITA_INT_004.json | 4 +- .../AUTO_RSV_VITA_INT_005.json | 4 +- .../AUTO_RSV_VITA_INT_006.json | 2 +- .../AUTO_RSV_VITA_INT_007.json | 2 +- .../AUTO_RSV_VITA_INT_009.json | 2 +- .../AUTO_RSV_VITA_INT_010.json | 39 +++ .../AUTO_RSV_VITA_INT_011.json | 30 +- .../AUTO_RSV_VITA_INT_012.json | 19 +- .../AUTO_RSV_VITA_INT_013.json | 18 +- .../AUTO_RSV_VITA_INT_014.json | 19 +- .../AUTO_RSV_VITA_INT_500.json | 4 +- .../440/AUTO_RSV_ELI-440_004.json | 35 ++ .../AUTO_RSV_ELI-223_001.json | 36 ++ .../AUTO_RSV_ELI-223_002.json | 36 ++ .../AUTO_RSV_ELI-223_003.json | 23 ++ .../AUTO_RSV_ELI-223_004.json | 36 ++ .../AUTO_RSV_ELI-223_005.json | 23 ++ .../AUTO_RSV_ELI-223_006.json | 36 ++ .../AUTO_RSV_ELI-223_007.json | 41 +++ .../AUTO_RSV_ELI-223_008.json | 30 ++ .../AUTO_RSV_ELI-223_009.json | 146 ++++++++ .../AUTO_RSV_ELI-223_010.json | 23 ++ .../AUTO_RSV_ELI-223_011.json | 30 ++ .../AUTO_RSV_ELI-223_012.json | 23 ++ .../AUTO_RSV_ELI-371_001.json | 28 ++ .../AUTO_RSV_ELI-371_002.json | 28 ++ .../AUTO_RSV_ELI-405_001.json | 35 ++ .../AUTO_RSV_ELI-405_002.json | 30 ++ .../AUTO_RSV_ELI-405_003.json | 30 ++ .../AUTO_RSV_ELI-405_004.json | 30 ++ .../AUTO_RSV_ELI-405_005.json | 46 +++ .../AUTO_RSV_ELI-405_006.json | 30 ++ .../AUTO_RSV_ELI-427_001.json | 30 ++ .../AUTO_RSV_ELI-427_002.json | 36 ++ .../AUTO_RSV_ELI-427_003.json | 30 ++ .../AUTO_RSV_ELI-427_004.json | 30 ++ .../AUTO_RSV_ELI-427_005.json | 36 ++ .../AUTO_RSV_ELI-427_006.json | 30 ++ .../AUTO_RSV_ELI-440_001.json | 35 ++ .../AUTO_RSV_ELI-440_002.json | 35 ++ .../AUTO_RSV_ELI-440_003.json | 46 +++ .../AUTO_RSV_ELI-440_005.json | 30 ++ .../AUTO_RSV_ELI-440_006.json | 30 ++ .../AUTO_RSV_ELI-440_007.json | 35 ++ .../AUTO_RSV_VITA_INT_001.json | 27 +- .../AUTO_RSV_VITA_INT_002.json | 15 +- .../AUTO_RSV_VITA_INT_003.json | 13 +- .../AUTO_RSV_VITA_INT_004.json | 2 +- .../AUTO_RSV_VITA_INT_005.json | 2 +- .../AUTO_RSV_VITA_INT_006.json | 6 +- .../AUTO_RSV_VITA_INT_007.json | 2 +- .../AUTO_RSV_VITA_INT_009.json | 2 +- .../AUTO_RSV_VITA_INT_010.json | 28 ++ .../AUTO_RSV_VITA_INT_011.json | 20 +- .../AUTO_RSV_VITA_INT_012.json | 20 +- .../AUTO_RSV_VITA_INT_013.json | 10 +- .../AUTO_RSV_VITA_INT_014.json | 29 +- 121 files changed, 6259 insertions(+), 166 deletions(-) create mode 100644 data/configs/inProgressTestConfigs/440/AUTO_RSV_ELI-440-04.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-01.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-02.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-03.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-04.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-05.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-06.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-07.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-08.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-09.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-10.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-11.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-12.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-371.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-405-01.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-405-02.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-405-03.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-405-04.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-405-05.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-405-06.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-427-01-3.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-427-04-6.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-440-01.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-440-02-3.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-440-05-6.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-440-07.json create mode 100644 data/dynamoDB/inProgressTestData/440/AUTO_RSV_ELI-440_004.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_001.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_002.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_003.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_004.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_005.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_006.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_007.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_008.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_009.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_010.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_011.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_012.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_001.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_002.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_001.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_002.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_003.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_004.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_005.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_006.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_001.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_002.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_003.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_004.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_005.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_006.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_001.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_002.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_003.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_005.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_006.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_007.json create mode 100644 data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_010.json create mode 100644 data/responses/inProgressTestResponses/440/AUTO_RSV_ELI-440_004.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_001.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_002.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_003.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_004.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_005.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_006.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_007.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_008.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_009.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_010.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_011.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_012.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-371_001.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-371_002.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-405_001.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-405_002.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-405_003.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-405_004.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-405_005.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-405_006.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-427_001.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-427_002.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-427_003.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-427_004.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-427_005.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-427_006.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-440_001.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-440_002.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-440_003.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-440_005.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-440_006.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-440_007.json create mode 100644 data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_010.json diff --git a/data/configs/inProgressTestConfigs/440/AUTO_RSV_ELI-440-04.json b/data/configs/inProgressTestConfigs/440/AUTO_RSV_ELI-440-04.json new file mode 100644 index 00000000..06bbdea5 --- /dev/null +++ b/data/configs/inProgressTestConfigs/440/AUTO_RSV_ELI-440-04.json @@ -0,0 +1,94 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-222.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-222.json index 7a9f6b9d..e1cee202 100644 --- a/data/configs/storyTestConfigs/AUTO_RSV_ELI-222.json +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-222.json @@ -56,7 +56,8 @@ "CohortGroup": "magic_cohort", "PositiveDescription": "", "NegativeDescription": "", - "Priority": 20 + "Priority": 20, + "Virtual": "Y" } ], "IterationRules": [ diff --git a/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-01.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-01.json new file mode 100644 index 00000000..f6b25d52 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-01.json @@ -0,0 +1,88 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-02.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-02.json new file mode 100644 index 00000000..14d81b3f --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-02.json @@ -0,0 +1,88 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-03.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-03.json new file mode 100644 index 00000000..0a6c4a3e --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-03.json @@ -0,0 +1,88 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-04.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-04.json new file mode 100644 index 00000000..ca197f9a --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-04.json @@ -0,0 +1,88 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-05.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-05.json new file mode 100644 index 00000000..7ed59ffe --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-05.json @@ -0,0 +1,88 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-06.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-06.json new file mode 100644 index 00000000..53a96572 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-06.json @@ -0,0 +1,100 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-07.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-07.json new file mode 100644 index 00000000..3c461ea3 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-07.json @@ -0,0 +1,100 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-08.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-08.json new file mode 100644 index 00000000..1ec4154b --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-08.json @@ -0,0 +1,100 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-09.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-09.json new file mode 100644 index 00000000..1a0de384 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-09.json @@ -0,0 +1,314 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-10.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-10.json new file mode 100644 index 00000000..0102b2f2 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-10.json @@ -0,0 +1,88 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-11.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-11.json new file mode 100644 index 00000000..2af5d692 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-11.json @@ -0,0 +1,88 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-12.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-12.json new file mode 100644 index 00000000..9d05cc77 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-12.json @@ -0,0 +1,88 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-365.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-365.json index 8b714875..70066de8 100644 --- a/data/configs/storyTestConfigs/AUTO_RSV_ELI-365.json +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-365.json @@ -56,7 +56,8 @@ "CohortGroup": "magic_cohort", "PositiveDescription": "", "NegativeDescription": "", - "Priority": 20 + "Priority": 20, + "Virtual": "Y" } ], "IterationRules": [ diff --git a/data/configs/storyTestConfigs/AUTO_RSV_ELI-371.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-371.json new file mode 100644 index 00000000..fb60fdf4 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-371.json @@ -0,0 +1,182 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-01.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-01.json new file mode 100644 index 00000000..d3d58aa6 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-01.json @@ -0,0 +1,130 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-02.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-02.json new file mode 100644 index 00000000..54bb9530 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-02.json @@ -0,0 +1,141 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-03.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-03.json new file mode 100644 index 00000000..05f9a70e --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-03.json @@ -0,0 +1,134 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-04.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-04.json new file mode 100644 index 00000000..a3758999 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-04.json @@ -0,0 +1,148 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-05.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-05.json new file mode 100644 index 00000000..43285c8d --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-05.json @@ -0,0 +1,151 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-06.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-06.json new file mode 100644 index 00000000..8476e234 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-06.json @@ -0,0 +1,105 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-427-01-3.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-427-01-3.json new file mode 100644 index 00000000..6c85268b --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-427-01-3.json @@ -0,0 +1,112 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-427-04-6.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-427-04-6.json new file mode 100644 index 00000000..e3fe6b44 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-427-04-6.json @@ -0,0 +1,110 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-01.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-01.json new file mode 100644 index 00000000..1870bb32 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-01.json @@ -0,0 +1,141 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-02-3.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-02-3.json new file mode 100644 index 00000000..5128692e --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-02-3.json @@ -0,0 +1,143 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-05-6.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-05-6.json new file mode 100644 index 00000000..6e53312b --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-05-6.json @@ -0,0 +1,87 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-07.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-07.json new file mode 100644 index 00000000..ec55b314 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-07.json @@ -0,0 +1,116 @@ +{ + "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/data/configs/vitaIntegrationTestConfigs/vita_integration_test_config.json b/data/configs/vitaIntegrationTestConfigs/vita_integration_test_config.json index f92afbfe..726a3a62 100644 --- a/data/configs/vitaIntegrationTestConfigs/vita_integration_test_config.json +++ b/data/configs/vitaIntegrationTestConfigs/vita_integration_test_config.json @@ -6,13 +6,13 @@ "Type": "V", "Target": "RSV", "Manager": [ - "person1@nhs.net" + "example@nhs.net" ], "Approver": [ - "person1@nhs.net" + "example@nhs.net" ], "Reviewer": [ - "person1@nhs.net" + "example@nhs.net" ], "IterationFrequency": "X", "IterationType": "O", @@ -40,8 +40,8 @@ { "CohortLabel": "rsv_75to79", "CohortGroup": "rsv_age", - "PositiveDescription": "are aged 75 to 79 years old", - "NegativeDescription": "are not aged 75 to 79 years old", + "PositiveDescription": "are aged between 75 and 79", + "NegativeDescription": "are not aged 75 to 79", "Priority": 0 }, { @@ -56,7 +56,8 @@ "CohortGroup": "magic_cohort", "PositiveDescription": "", "NegativeDescription": "", - "Priority": 20 + "Priority": 20, + "Virtual": "Y" } ], "IterationRules": [ @@ -97,29 +98,29 @@ }, { "Type": "F", - "Name": "Remove over 80 on day of execution", - "Description": "Exclude anyone who turned 80 before 2nd September 2024", + "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": "<", - "Comparator": "19440902", + "Operator": "Y<=", + "Comparator": "-80", "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.", + "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": "-75", + "Comparator": "-80", "CohortLabel": "rsv_80_since_02_Sept_2024" }, { "Type": "F", - "Name": "Remove over 80 on day of execution", + "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", @@ -211,7 +212,7 @@ }, { "Type": "S", - "Name": "Empty Suggestion", + "Name": "EmptySuggestion", "Description": "", "Priority": 198, "AttributeLevel": "PERSON", @@ -222,8 +223,8 @@ }, { "Type": "S", - "Name": "Already Vaccinated", - "Description": "## You've had your RSV vaccination\n\nWe believe you had your vaccination.", + "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", @@ -234,7 +235,7 @@ }, { "Type": "S", - "Name": "Other Setting", + "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", @@ -246,7 +247,7 @@ }, { "Type": "S", - "Name": "Other Setting", + "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", @@ -258,7 +259,7 @@ }, { "Type": "S", - "Name": "Other Setting", + "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", @@ -270,7 +271,7 @@ }, { "Type": "S", - "Name": "Other Setting", + "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", @@ -282,7 +283,7 @@ }, { "Type": "S", - "Name": "Other Setting with no future booking", + "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", @@ -294,7 +295,7 @@ }, { "Type": "S", - "Name": "Other Setting", + "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", @@ -342,14 +343,25 @@ }, { "Type": "R", - "Name": "Within CP Expansion ICB", + "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" + "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", @@ -360,7 +372,29 @@ "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" + "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", @@ -416,58 +450,72 @@ "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\nYou can view, change or cancel your appointment below.", + "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": "Contact your GP", + "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.\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.", + "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\n\nContact your healthcare provider to change or cancel your appointment.", + "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": "## CONTENT TBC\n\nBlah blah blah.", + "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. (ADD LINK)", + "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. (ADD LINK).", + "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. (ADD LINK).", + "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/data/dynamoDB/inProgressTestData/440/AUTO_RSV_ELI-440_004.json b/data/dynamoDB/inProgressTestData/440/AUTO_RSV_ELI-440_004.json new file mode 100644 index 00000000..4bac7dd0 --- /dev/null +++ b/data/dynamoDB/inProgressTestData/440/AUTO_RSV_ELI-440_004.json @@ -0,0 +1,47 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_001.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_001.json new file mode 100644 index 00000000..dfc5c7eb --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_001.json @@ -0,0 +1,53 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_002.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_002.json new file mode 100644 index 00000000..860e59e7 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_002.json @@ -0,0 +1,60 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_003.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_003.json new file mode 100644 index 00000000..16578139 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_003.json @@ -0,0 +1,61 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_004.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_004.json new file mode 100644 index 00000000..70c10802 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_004.json @@ -0,0 +1,53 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_005.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_005.json new file mode 100644 index 00000000..b84fc95b --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_005.json @@ -0,0 +1,47 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_006.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_006.json new file mode 100644 index 00000000..6d4bf1cf --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_006.json @@ -0,0 +1,53 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_007.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_007.json new file mode 100644 index 00000000..fa769955 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_007.json @@ -0,0 +1,53 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_008.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_008.json new file mode 100644 index 00000000..05e85bea --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_008.json @@ -0,0 +1,43 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_009.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_009.json new file mode 100644 index 00000000..786b1149 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_009.json @@ -0,0 +1,76 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_010.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_010.json new file mode 100644 index 00000000..b7f04bd1 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_010.json @@ -0,0 +1,47 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_011.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_011.json new file mode 100644 index 00000000..f201463e --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_011.json @@ -0,0 +1,53 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_012.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_012.json new file mode 100644 index 00000000..59843267 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_012.json @@ -0,0 +1,54 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_001.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_001.json new file mode 100644 index 00000000..ad25ea5b --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_001.json @@ -0,0 +1,45 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_002.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_002.json new file mode 100644 index 00000000..29b5a7e9 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_002.json @@ -0,0 +1,45 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_001.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_001.json new file mode 100644 index 00000000..7489221f --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_001.json @@ -0,0 +1,58 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_002.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_002.json new file mode 100644 index 00000000..92cdd34d --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_002.json @@ -0,0 +1,58 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_003.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_003.json new file mode 100644 index 00000000..8bd5d5b3 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_003.json @@ -0,0 +1,62 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_004.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_004.json new file mode 100644 index 00000000..022742c0 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_004.json @@ -0,0 +1,62 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_005.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_005.json new file mode 100644 index 00000000..fd7b6ea4 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_005.json @@ -0,0 +1,58 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_006.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_006.json new file mode 100644 index 00000000..72c71f73 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_006.json @@ -0,0 +1,50 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_001.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_001.json new file mode 100644 index 00000000..3d441c38 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_001.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_002.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_002.json new file mode 100644 index 00000000..dd0b4807 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_002.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_003.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_003.json new file mode 100644 index 00000000..37712876 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_003.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_004.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_004.json new file mode 100644 index 00000000..2443dc2b --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_004.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_005.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_005.json new file mode 100644 index 00000000..e4361a22 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_005.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_006.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_006.json new file mode 100644 index 00000000..d6cfd082 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_006.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_001.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_001.json new file mode 100644 index 00000000..e27c2941 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_001.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_002.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_002.json new file mode 100644 index 00000000..9ac42778 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_002.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_003.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_003.json new file mode 100644 index 00000000..bd879f62 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_003.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_005.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_005.json new file mode 100644 index 00000000..c720fed1 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_005.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_006.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_006.json new file mode 100644 index 00000000..6718c070 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_006.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_007.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_007.json new file mode 100644 index 00000000..59c0e5f5 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_007.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_002.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_002.json index 35bcb3ef..e5e1d6bd 100644 --- a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_002.json +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_002.json @@ -20,7 +20,7 @@ { "NHS_NUMBER": "9686368906", "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "19500601", + "DATE_OF_BIRTH": "<>", "GENDER": "2", "POSTCODE": "CB3 8DX", "POSTCODE_SECTOR": "CB38", diff --git a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_003.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_003.json index 0e8cdd25..5fda873d 100644 --- a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_003.json +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_003.json @@ -20,7 +20,7 @@ { "NHS_NUMBER": "9658218873", "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "19500601", + "DATE_OF_BIRTH": "<>", "GENDER": "2", "POSTCODE": "CB3 8DX", "POSTCODE_SECTOR": "CB38", diff --git a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_004.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_004.json index ed20d7d3..01c541a9 100644 --- a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_004.json +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_004.json @@ -10,7 +10,7 @@ { "NHS_NUMBER": "9658218881", "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "19500601", + "DATE_OF_BIRTH": "<>", "GENDER": "2", "POSTCODE": "CB3 8DX", "POSTCODE_SECTOR": "CB38", @@ -28,7 +28,7 @@ { "NHS_NUMBER": "9658218881", "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>", + "BOOKED_APPOINTMENT_DATE": "20351212", "BOOKED_APPOINTMENT_PROVIDER": "NBS" } ] diff --git a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_005.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_005.json index 2ef47a62..f21e7710 100644 --- a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_005.json +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_005.json @@ -10,7 +10,7 @@ { "NHS_NUMBER": "9658218903", "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "19500601", + "DATE_OF_BIRTH": "<>", "GENDER": "2", "POSTCODE": "CB3 8DX", "POSTCODE_SECTOR": "CB38", @@ -28,7 +28,7 @@ { "NHS_NUMBER": "9658218903", "ATTRIBUTE_TYPE": "RSV", - "BOOKED_APPOINTMENT_DATE": "<>", + "BOOKED_APPOINTMENT_DATE": "20351212", "BOOKED_APPOINTMENT_PROVIDER": "ACC" } ] diff --git a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_006.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_006.json index 9cda1139..792e7842 100644 --- a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_006.json +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_006.json @@ -10,7 +10,7 @@ { "NHS_NUMBER": "9658218989", "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "19500601", + "DATE_OF_BIRTH": "<>", "GENDER": "2", "POSTCODE": "CB3 8DX", "POSTCODE_SECTOR": "CB38", diff --git a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_007.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_007.json index e7b4d9a3..6ed305d6 100644 --- a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_007.json +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_007.json @@ -20,7 +20,7 @@ { "NHS_NUMBER": "9658218997", "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "19500601", + "DATE_OF_BIRTH": "<>", "GENDER": "2", "POSTCODE": "CB3 8DX", "POSTCODE_SECTOR": "CB38", diff --git a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_009.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_009.json index f0c0971a..aa31df59 100644 --- a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_009.json +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_009.json @@ -20,7 +20,7 @@ { "NHS_NUMBER": "9658219012", "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "19500601", + "DATE_OF_BIRTH": "<>", "GENDER": "2", "POSTCODE": "CB3 8DX", "POSTCODE_SECTOR": "CB38", diff --git a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_010.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_010.json new file mode 100644 index 00000000..0234ed45 --- /dev/null +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_010.json @@ -0,0 +1,39 @@ +{ + "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/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_011.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_011.json index 6ebd3beb..98c575b6 100644 --- a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_011.json +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_011.json @@ -1,26 +1,16 @@ { - "scenario_name": "RSV - Vita Integration - NotActionable - You should have the RSV vaccine - age rolling - TooClose", + "scenario_name": "RSV - Vita Integration - NotActionable - You should have the RSV vaccine ( managed setting ) - age rolling - OtherSetting", "request_headers": { - "nhs-login-nhs-number": "9658220142" + "nhs-login-nhs-number": "9658220150" }, "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", + "NHS_NUMBER": "9658220150", "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "19500601", + "DATE_OF_BIRTH": "<>", "GENDER": "2", "POSTCODE": "CB3 8DX", "POSTCODE_SECTOR": "CB38", @@ -32,8 +22,18 @@ "ICB": "QUE", "COMMISSIONING_REGION": "Y61", "13Q_FLAG": "N", - "CARE_HOME_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/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_012.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_012.json index a9199331..fc806c47 100644 --- a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_012.json +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_012.json @@ -1,16 +1,16 @@ { - "scenario_name": "RSV - Vita Integration - NotActionable - You should have the RSV vaccine ( managed setting ) - age rolling - OtherSetting", + "scenario_name": "RSV - Vita Integration - NotActionable - You should have the RSV vaccine (already vaccinated) - unknown membership - AlreadyVaccinated", "request_headers": { - "nhs-login-nhs-number": "9658220150" + "nhs-login-nhs-number": "9450114080" }, "config_filenames": [ "vita_integration_test_config.json" ], "data": [ { - "NHS_NUMBER": "9658220150", + "NHS_NUMBER": "9450114080", "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "19500601", + "DATE_OF_BIRTH": "<>", "GENDER": "2", "POSTCODE": "CB3 8DX", "POSTCODE_SECTOR": "CB38", @@ -26,14 +26,9 @@ "DE_FLAG": "N" }, { - "NHS_NUMBER": "9658220150", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_75to79", - "DATE_JOINED": "20231020" - } - ] + "NHS_NUMBER": "9450114080", + "ATTRIBUTE_TYPE": "RSV", + "LAST_SUCCESSFUL_DATE": "<>" } ] } diff --git a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_013.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_013.json index 77057e50..a3dff10d 100644 --- a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_013.json +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_013.json @@ -1,16 +1,21 @@ { - "scenario_name": "RSV - Vita Integration - NotActionable - You should have the RSV vaccine (already vaccinated) - unknown membership - AlreadyVaccinated", + "scenario_name": "RSV - Vita Integration - NotActionable - You should have the RSV vaccine (already vaccinated) - empty cohorts - AlreadyVaccinated", "request_headers": { - "nhs-login-nhs-number": "9450114080" + "nhs-login-nhs-number": "9466447939" }, "config_filenames": [ "vita_integration_test_config.json" ], "data": [ { - "NHS_NUMBER": "9450114080", + "NHS_NUMBER": "9466447939", + "ATTRIBUTE_TYPE": "RSV", + "LAST_SUCCESSFUL_DATE": "<>" + }, + { + "NHS_NUMBER": "9466447939", "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "19500601", + "DATE_OF_BIRTH": "<>", "GENDER": "2", "POSTCODE": "CB3 8DX", "POSTCODE_SECTOR": "CB38", @@ -24,11 +29,6 @@ "13Q_FLAG": "N", "CARE_HOME_FLAG": "Y", "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9450114080", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "<>" } ] } diff --git a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_014.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_014.json index 7ec5f92d..e11d722f 100644 --- a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_014.json +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_014.json @@ -1,21 +1,16 @@ { - "scenario_name": "RSV - Vita Integration - NotActionable - You should have the RSV vaccine (already vaccinated) - empty cohorts - AlreadyVaccinated", + "scenario_name": "RSV - Vita Integration - - Not Eligible", "request_headers": { - "nhs-login-nhs-number": "9466447939" + "nhs-login-nhs-number": "9657933617" }, "config_filenames": [ "vita_integration_test_config.json" ], "data": [ { - "NHS_NUMBER": "9466447939", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": "<>" - }, - { - "NHS_NUMBER": "9466447939", + "NHS_NUMBER": "9657933617", "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "19500601", + "DATE_OF_BIRTH": "<>", "GENDER": "2", "POSTCODE": "CB3 8DX", "POSTCODE_SECTOR": "CB38", @@ -29,6 +24,12 @@ "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/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_500.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_500.json index 79aff5d5..68c385ce 100644 --- a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_500.json +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_500.json @@ -13,7 +13,7 @@ "ATTRIBUTE_TYPE": "COHORTS", "COHORT_MEMBERSHIPS": [ { - "COHORT_LABEL": "rsv_75to79", + "COHORT_LABEL": "rsv_80_since_02_Sept_2024", "DATE_JOINED": "20231020" } ] @@ -21,7 +21,7 @@ { "NHS_NUMBER": "9436793375", "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": 19500601, + "DATE_OF_BIRTH": 19001116, "GENDER": "0", "POSTCODE": "SG8 6EG", "POSTCODE_SECTOR": "SG86", diff --git a/data/responses/inProgressTestResponses/440/AUTO_RSV_ELI-440_004.json b/data/responses/inProgressTestResponses/440/AUTO_RSV_ELI-440_004.json new file mode 100644 index 00000000..604e7f14 --- /dev/null +++ b/data/responses/inProgressTestResponses/440/AUTO_RSV_ELI-440_004.json @@ -0,0 +1,35 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_001.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_001.json new file mode 100644 index 00000000..909db2b3 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_001.json @@ -0,0 +1,36 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_002.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_002.json new file mode 100644 index 00000000..73254727 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_002.json @@ -0,0 +1,36 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_003.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_003.json new file mode 100644 index 00000000..b985424e --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_003.json @@ -0,0 +1,23 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_004.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_004.json new file mode 100644 index 00000000..e415b077 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_004.json @@ -0,0 +1,36 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_005.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_005.json new file mode 100644 index 00000000..b985424e --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_005.json @@ -0,0 +1,23 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_006.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_006.json new file mode 100644 index 00000000..df6c8e5a --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_006.json @@ -0,0 +1,36 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_007.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_007.json new file mode 100644 index 00000000..cbf5094a --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_007.json @@ -0,0 +1,41 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_008.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_008.json new file mode 100644 index 00000000..893b1eff --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_008.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_009.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_009.json new file mode 100644 index 00000000..fa17173e --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_009.json @@ -0,0 +1,146 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_010.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_010.json new file mode 100644 index 00000000..b985424e --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_010.json @@ -0,0 +1,23 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_011.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_011.json new file mode 100644 index 00000000..2dc74b4a --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_011.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_012.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_012.json new file mode 100644 index 00000000..b985424e --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_012.json @@ -0,0 +1,23 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-371_001.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-371_001.json new file mode 100644 index 00000000..387439f1 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-371_001.json @@ -0,0 +1,28 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-371_002.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-371_002.json new file mode 100644 index 00000000..387439f1 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-371_002.json @@ -0,0 +1,28 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-405_001.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-405_001.json new file mode 100644 index 00000000..c19b20ab --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-405_001.json @@ -0,0 +1,35 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-405_002.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-405_002.json new file mode 100644 index 00000000..3ddbc187 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-405_002.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-405_003.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-405_003.json new file mode 100644 index 00000000..ca53fd09 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-405_003.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-405_004.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-405_004.json new file mode 100644 index 00000000..ca53fd09 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-405_004.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-405_005.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-405_005.json new file mode 100644 index 00000000..00c0d82d --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-405_005.json @@ -0,0 +1,46 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-405_006.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-405_006.json new file mode 100644 index 00000000..d5b67a50 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-405_006.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-427_001.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-427_001.json new file mode 100644 index 00000000..a75d8a93 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-427_001.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-427_002.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-427_002.json new file mode 100644 index 00000000..693795db --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-427_002.json @@ -0,0 +1,36 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-427_003.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-427_003.json new file mode 100644 index 00000000..0c33bbd3 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-427_003.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-427_004.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-427_004.json new file mode 100644 index 00000000..c7a1d8d5 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-427_004.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-427_005.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-427_005.json new file mode 100644 index 00000000..7be7b23d --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-427_005.json @@ -0,0 +1,36 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-427_006.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-427_006.json new file mode 100644 index 00000000..9340e64b --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-427_006.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-440_001.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-440_001.json new file mode 100644 index 00000000..5b6e39a7 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-440_001.json @@ -0,0 +1,35 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-440_002.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-440_002.json new file mode 100644 index 00000000..3f3ce31d --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-440_002.json @@ -0,0 +1,35 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-440_003.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-440_003.json new file mode 100644 index 00000000..96e8c08b --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-440_003.json @@ -0,0 +1,46 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-440_005.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-440_005.json new file mode 100644 index 00000000..5235bc60 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-440_005.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-440_006.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-440_006.json new file mode 100644 index 00000000..5235bc60 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-440_006.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-440_007.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-440_007.json new file mode 100644 index 00000000..605ac519 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-440_007.json @@ -0,0 +1,35 @@ +{ + "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/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_001.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_001.json index 61e94390..3d1094c7 100644 --- a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_001.json +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_001.json @@ -1,28 +1,35 @@ { "meta": { - "lastUpdated": "2025-07-31T15:33:02.541065+00:00" + "lastUpdated": "2025-09-05T15:10:53.120938+00:00" }, "processedSuggestions": [ { "actions": [ { - "actionCode": "BookLocal", + "actionCode": "ContactGP", "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.", + "description": "## Get vaccinated at your GP practice\n\nContact your GP surgery to book an appointment.", "urlLabel": "", "urlLink": "" }, { - "actionCode": "BookNBS", - "actionType": "ButtonWithAuthLink", - "description": "", + "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": "http://www.nhs.uk/book-rsv" + "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": "## CONTENT TBC\n\nBlah blah blah.", + "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": "" } @@ -32,7 +39,7 @@ { "cohortCode": "rsv_age", "cohortStatus": "Actionable", - "cohortText": "are aged 75 to 79 years old" + "cohortText": "are aged between 75 and 79" } ], "status": "Actionable", @@ -40,5 +47,5 @@ "suitabilityRules": [] } ], - "responseId": "da7c72bb-0a3e-47c1-a4c6-12a7994c4f31" + "responseId": "6dee29a7-3419-48f0-9f10-2a8a0caf79ea" } diff --git a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_002.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_002.json index e75e4213..e730c3c3 100644 --- a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_002.json +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_002.json @@ -1,6 +1,6 @@ { "meta": { - "lastUpdated": "2025-07-31T15:34:16.758583+00:00" + "lastUpdated": "2025-08-29T15:27:30.337860+00:00" }, "processedSuggestions": [ { @@ -8,14 +8,7 @@ { "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.", + "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": "" } @@ -25,7 +18,7 @@ { "cohortCode": "rsv_age", "cohortStatus": "Actionable", - "cohortText": "are aged 75 to 79 years old" + "cohortText": "are aged between 75 and 79" } ], "status": "Actionable", @@ -33,5 +26,5 @@ "suitabilityRules": [] } ], - "responseId": "04e12c58-86a4-46e9-a6ef-d640eb9a8e94" + "responseId": "db3354f3-2388-48cf-be82-b32270be2c33" } diff --git a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_003.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_003.json index ff2e37c6..878429f7 100644 --- a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_003.json +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_003.json @@ -1,6 +1,6 @@ { "meta": { - "lastUpdated": "2025-07-31T15:35:30.455708+00:00" + "lastUpdated": "2025-08-29T15:36:03.086801+00:00" }, "processedSuggestions": [ { @@ -8,14 +8,7 @@ { "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.", + "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": "" } @@ -33,5 +26,5 @@ "suitabilityRules": [] } ], - "responseId": "ad2f0a17-938a-423f-a2c7-82cfda58ced9" + "responseId": "d149d5a0-fd89-4015-80db-c249ab8a324f" } diff --git a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_004.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_004.json index 63326278..c34de8c0 100644 --- a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_004.json +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_004.json @@ -8,7 +8,7 @@ { "actionCode": "AmendNBS", "actionType": "ButtonWithAuthLink", - "description": "##You have an RSV vaccination appointment\nYou can view, change or cancel your appointment below.", + "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" } diff --git a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_005.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_005.json index af3da5ed..de0097fe 100644 --- a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_005.json +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_005.json @@ -8,7 +8,7 @@ { "actionCode": "ManageLocal", "actionType": "CardWithText", - "description": "##You have an RSV vaccination appointment\n\nContact your healthcare provider to change or cancel your appointment.", + "description": "## You have an RSV vaccination appointment booked\n\nTo change or cancel your appointment, contact the provider you booked it with.", "urlLabel": "", "urlLink": "" } diff --git a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_006.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_006.json index 2272fda9..71de20a7 100644 --- a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_006.json +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_006.json @@ -8,7 +8,7 @@ { "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).", + "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": "" } @@ -19,8 +19,8 @@ "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.", + "ruleCode": "AlreadyVaccinated", + "ruleText": "## You've had your RSV vaccination\n\nWe believe you were vaccinated against RSV on 3 April 2025.", "ruleType": "S" } ] diff --git a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_007.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_007.json index 1629b915..f088108d 100644 --- a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_007.json +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_007.json @@ -10,7 +10,7 @@ { "cohortCode": "rsv_age", "cohortStatus": "NotActionable", - "cohortText": "are aged 75 to 79 years old" + "cohortText": "are aged between 75 and 79" } ], "status": "NotActionable", diff --git a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_009.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_009.json index 82fab2ff..c4bb0f71 100644 --- a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_009.json +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_009.json @@ -10,7 +10,7 @@ { "cohortCode": "rsv_age", "cohortStatus": "NotActionable", - "cohortText": "are aged 75 to 79 years old" + "cohortText": "are aged between 75 and 79" } ], "status": "NotActionable", diff --git a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_010.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_010.json new file mode 100644 index 00000000..7a493b8b --- /dev/null +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_010.json @@ -0,0 +1,28 @@ +{ + "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/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_011.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_011.json index 698ff986..db005a77 100644 --- a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_011.json +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_011.json @@ -1,28 +1,36 @@ { "meta": { - "lastUpdated": "2025-08-01T08:09:38.885621+00:00" + "lastUpdated": "2025-09-05T14:51:57.234910+00:00" }, "processedSuggestions": [ { - "actions": [], + "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 75 to 79 years old" + "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.", + "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": "ef603f99-9a14-4f5e-8f54-d071201d478e" + "responseId": "68e372d6-cc59-41c9-a6ad-b2cdf9b25bdb" } diff --git a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_012.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_012.json index 5ca38ff4..36e1969a 100644 --- a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_012.json +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_012.json @@ -1,36 +1,30 @@ { "meta": { - "lastUpdated": "2025-08-01T08:10:25.890939+00:00" + "lastUpdated": "2025-08-29T16:02:53.910473+00:00" }, "processedSuggestions": [ { "actions": [ { - "actionCode": "ManagedSettingInfo", + "actionCode": "AlreadyVaccinatedInfo", "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).", + "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": [ - { - "cohortCode": "rsv_age", - "cohortStatus": "NotActionable", - "cohortText": "are aged 75 to 79 years old" - } - ], + "eligibilityCohorts": [], "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.", + "ruleCode": "AlreadyVaccinated", + "ruleText": "## You've had your RSV vaccination\n\nWe believe you were vaccinated against RSV on 3 April 2025.", "ruleType": "S" } ] } ], - "responseId": "2effe07d-747b-4288-84ef-9b7770dc7430" + "responseId": "c999bfc5-48b1-44f0-9e99-58d4c4ca495b" } diff --git a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_013.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_013.json index 03870ebd..94ef8120 100644 --- a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_013.json +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_013.json @@ -1,6 +1,6 @@ { "meta": { - "lastUpdated": "2025-08-01T08:11:38.412584+00:00" + "lastUpdated": "2025-08-29T16:07:13.490700+00:00" }, "processedSuggestions": [ { @@ -8,7 +8,7 @@ { "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).", + "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": "" } @@ -19,12 +19,12 @@ "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.", + "ruleCode": "AlreadyVaccinated", + "ruleText": "## You've had your RSV vaccination\n\nWe believe you were vaccinated against RSV on 3 April 2025.", "ruleType": "S" } ] } ], - "responseId": "970bede3-4428-4456-9f4f-f1bf73c16953" + "responseId": "15eeb2a1-d6d2-465e-8f09-5701000725ac" } diff --git a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_014.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_014.json index 03870ebd..165448c6 100644 --- a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_014.json +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_014.json @@ -1,30 +1,35 @@ { "meta": { - "lastUpdated": "2025-08-01T08:11:38.412584+00:00" + "lastUpdated": "2025-08-29T16:08:57.918587+00:00" }, "processedSuggestions": [ { "actions": [ { - "actionCode": "AlreadyVaccinatedInfo", + "actionCode": "HealthcareProInfo", "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).", + "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": [], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ + "eligibilityCohorts": [ { - "ruleCode": "Already Vaccinated", - "ruleText": "## You've had your RSV vaccination\n\nWe believe you had your vaccination.", - "ruleType": "S" + "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": "970bede3-4428-4456-9f4f-f1bf73c16953" + "responseId": "7ca07f73-f8be-4449-9f88-e6c06675cdad" } From 1b6062504f457f0bdb28940000c5a500a5fa4d23 Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Mon, 22 Sep 2025 14:22:53 +0100 Subject: [PATCH 23/45] add BASE_URL env variable --- .github/workflows/regression_tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/regression_tests.yml b/.github/workflows/regression_tests.yml index 92976cc2..b3cd0a24 100644 --- a/.github/workflows/regression_tests.yml +++ b/.github/workflows/regression_tests.yml @@ -110,6 +110,7 @@ jobs: id: tests continue-on-error: true env: + BASE_URL: ${{ vars.BASE_URL }} S3_BUCKET_NAME: ${{ vars.S3_BUCKET_NAME }} S3_PREFIX: ${{ vars.S3_PREFIX }} DYNAMODB_TABLE_NAME: ${{ vars.DYNAMODB_TABLE_NAME }} From 3097d3354a3cfed17d6c0028549b8f51c8731dbe Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Mon, 22 Sep 2025 14:47:23 +0100 Subject: [PATCH 24/45] updated tests --- .../AUTO_RSV_ELI-371.json | 182 ------------------ .../ELI-376-405/AUTO_RSV_ELI-376-01.json | 119 ------------ .../ELI-376-405/AUTO_RSV_ELI-376-02.json | 118 ------------ .../ELI-376-405/AUTO_RSV_ELI-376-03.json | 118 ------------ .../ELI-376-405/AUTO_RSV_ELI-376-04.json | 119 ------------ .../ELI-376-405/AUTO_RSV_ELI-376-05.json | 161 ---------------- .../ELI-376-405/AUTO_RSV_ELI-376-10.json | 141 -------------- .../AUTO_RSV_ELI-371_001.json | 45 ----- .../AUTO_RSV_ELI-371_002.json | 45 ----- .../ELI-376-405/AUTO_RSV_ELI-376_001.json | 58 ------ .../ELI-376-405/AUTO_RSV_ELI-376_002.json | 58 ------ .../ELI-376-405/AUTO_RSV_ELI-376_003.json | 58 ------ .../ELI-376-405/AUTO_RSV_ELI-376_004.json | 58 ------ .../ELI-376-405/AUTO_RSV_ELI-376_005.json | 58 ------ .../ELI-376-405/AUTO_RSV_ELI-376_010.json | 58 ------ .../AUTO_RSV_VITA_INT_008.json | 37 ---- .../AUTO_RSV_VITA_INT_015.json | 35 ---- .../AUTO_RSV_ELI-371_001.json | 28 --- .../AUTO_RSV_ELI-371_002.json | 28 --- .../ELI-376-405/AUTO_RSV_ELI-376_001.json | 35 ---- .../ELI-376-405/AUTO_RSV_ELI-376_002.json | 35 ---- .../ELI-376-405/AUTO_RSV_ELI-376_003.json | 36 ---- .../ELI-376-405/AUTO_RSV_ELI-376_004.json | 30 --- .../ELI-376-405/AUTO_RSV_ELI-376_005.json | 35 ---- .../ELI-376-405/AUTO_RSV_ELI-376_010.json | 46 ----- .../AUTO_RSV_VITA_INT_008.json | 37 ---- .../AUTO_RSV_VITA_INT_015.json | 35 ---- 27 files changed, 1813 deletions(-) delete mode 100644 data/configs/inProgressTestConfigs/AUTO_RSV_ELI-371.json delete mode 100644 data/configs/inProgressTestConfigs/ELI-376-405/AUTO_RSV_ELI-376-01.json delete mode 100644 data/configs/inProgressTestConfigs/ELI-376-405/AUTO_RSV_ELI-376-02.json delete mode 100644 data/configs/inProgressTestConfigs/ELI-376-405/AUTO_RSV_ELI-376-03.json delete mode 100644 data/configs/inProgressTestConfigs/ELI-376-405/AUTO_RSV_ELI-376-04.json delete mode 100644 data/configs/inProgressTestConfigs/ELI-376-405/AUTO_RSV_ELI-376-05.json delete mode 100644 data/configs/inProgressTestConfigs/ELI-376-405/AUTO_RSV_ELI-376-10.json delete mode 100644 data/dynamoDB/inProgressTestData/AUTO_RSV_ELI-371_001.json delete mode 100644 data/dynamoDB/inProgressTestData/AUTO_RSV_ELI-371_002.json delete mode 100644 data/dynamoDB/inProgressTestData/ELI-376-405/AUTO_RSV_ELI-376_001.json delete mode 100644 data/dynamoDB/inProgressTestData/ELI-376-405/AUTO_RSV_ELI-376_002.json delete mode 100644 data/dynamoDB/inProgressTestData/ELI-376-405/AUTO_RSV_ELI-376_003.json delete mode 100644 data/dynamoDB/inProgressTestData/ELI-376-405/AUTO_RSV_ELI-376_004.json delete mode 100644 data/dynamoDB/inProgressTestData/ELI-376-405/AUTO_RSV_ELI-376_005.json delete mode 100644 data/dynamoDB/inProgressTestData/ELI-376-405/AUTO_RSV_ELI-376_010.json delete mode 100644 data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_008.json delete mode 100644 data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_015.json delete mode 100644 data/responses/inProgressTestResponses/AUTO_RSV_ELI-371_001.json delete mode 100644 data/responses/inProgressTestResponses/AUTO_RSV_ELI-371_002.json delete mode 100644 data/responses/inProgressTestResponses/ELI-376-405/AUTO_RSV_ELI-376_001.json delete mode 100644 data/responses/inProgressTestResponses/ELI-376-405/AUTO_RSV_ELI-376_002.json delete mode 100644 data/responses/inProgressTestResponses/ELI-376-405/AUTO_RSV_ELI-376_003.json delete mode 100644 data/responses/inProgressTestResponses/ELI-376-405/AUTO_RSV_ELI-376_004.json delete mode 100644 data/responses/inProgressTestResponses/ELI-376-405/AUTO_RSV_ELI-376_005.json delete mode 100644 data/responses/inProgressTestResponses/ELI-376-405/AUTO_RSV_ELI-376_010.json delete mode 100644 data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_008.json delete mode 100644 data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_015.json diff --git a/data/configs/inProgressTestConfigs/AUTO_RSV_ELI-371.json b/data/configs/inProgressTestConfigs/AUTO_RSV_ELI-371.json deleted file mode 100644 index fb60fdf4..00000000 --- a/data/configs/inProgressTestConfigs/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/data/configs/inProgressTestConfigs/ELI-376-405/AUTO_RSV_ELI-376-01.json b/data/configs/inProgressTestConfigs/ELI-376-405/AUTO_RSV_ELI-376-01.json deleted file mode 100644 index d6516c20..00000000 --- a/data/configs/inProgressTestConfigs/ELI-376-405/AUTO_RSV_ELI-376-01.json +++ /dev/null @@ -1,119 +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 - }, - { - "Type": "S", - "Name": "NotActionable Reason 1", - "Description": "NotActionable Description 1", - "Operator": "Y>", - "Comparator": "-75", - "AttributeLevel": "PERSON", - "AttributeName": "DATE_OF_BIRTH", - "CohortLabel": "rsv_eli_376_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/data/configs/inProgressTestConfigs/ELI-376-405/AUTO_RSV_ELI-376-02.json b/data/configs/inProgressTestConfigs/ELI-376-405/AUTO_RSV_ELI-376-02.json deleted file mode 100644 index a6ee1a28..00000000 --- a/data/configs/inProgressTestConfigs/ELI-376-405/AUTO_RSV_ELI-376-02.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "CampaignConfig": { - "ID": "AUTO_RSV_ELI-376-02-Campaign-ID", - "Version": 1, - "Name": "ELI-376-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-376-02-Iteration-ID", - "DefaultCommsRouting": "TEST_ACTION", - "DefaultNotActionableRouting": "TEST_NOT_ACTION", - "DefaultNotEligibleRouting": "TEST_NOT_ELI", - "Version": 1, - "Name": "ELI-376-02-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", - "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_376_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/data/configs/inProgressTestConfigs/ELI-376-405/AUTO_RSV_ELI-376-03.json b/data/configs/inProgressTestConfigs/ELI-376-405/AUTO_RSV_ELI-376-03.json deleted file mode 100644 index 1b4aa219..00000000 --- a/data/configs/inProgressTestConfigs/ELI-376-405/AUTO_RSV_ELI-376-03.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "CampaignConfig": { - "ID": "AUTO_RSV_ELI-376-03-Campaign-ID", - "Version": 1, - "Name": "ELI-376-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-376-03-Iteration-ID", - "DefaultCommsRouting": "TEST_ACTION", - "DefaultNotActionableRouting": "TEST_NOT_ACTION", - "DefaultNotEligibleRouting": "TEST_NOT_ELI", - "Version": 1, - "Name": "ELI-376-03-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_4", - "Priority": 100 - }, - { - "Type": "S", - "Name": "NotActionable Reason 1", - "Description": "NotActionable Description 1", - "Operator": "=", - "Comparator": "ABC", - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "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/data/configs/inProgressTestConfigs/ELI-376-405/AUTO_RSV_ELI-376-04.json b/data/configs/inProgressTestConfigs/ELI-376-405/AUTO_RSV_ELI-376-04.json deleted file mode 100644 index 99ed0279..00000000 --- a/data/configs/inProgressTestConfigs/ELI-376-405/AUTO_RSV_ELI-376-04.json +++ /dev/null @@ -1,119 +0,0 @@ -{ - "CampaignConfig": { - "ID": "AUTO_RSV_ELI-376-04-Campaign-ID", - "Version": 1, - "Name": "ELI-376-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": "", - "Iterations": [ - { - "ID": "AUTO_RSV_ELI-376-04-Iteration-ID", - "DefaultCommsRouting": "TEST_ACTION", - "DefaultNotActionableRouting": "TEST_NOT_ACTION", - "DefaultNotEligibleRouting": "TEST_NOT_ELI", - "Version": 1, - "Name": "ELI-376-04-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 - }, - { - "Type": "F", - "Name": "NotEligible Reason 2", - "Description": "NotEligible Description 2", - "Operator": "=", - "Comparator": "ABC", - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "CohortLabel": "rsv_eli_376_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/data/configs/inProgressTestConfigs/ELI-376-405/AUTO_RSV_ELI-376-05.json b/data/configs/inProgressTestConfigs/ELI-376-405/AUTO_RSV_ELI-376-05.json deleted file mode 100644 index cccccc45..00000000 --- a/data/configs/inProgressTestConfigs/ELI-376-405/AUTO_RSV_ELI-376-05.json +++ /dev/null @@ -1,161 +0,0 @@ -{ - "CampaignConfig": { - "ID": "AUTO_RSV_ELI-376-05-Campaign-ID", - "Version": 1, - "Name": "ELI-376-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-376-05-Iteration-ID", - "DefaultCommsRouting": "TEST_ACTION", - "DefaultNotActionableRouting": "TEST_NOT_ACTION", - "DefaultNotEligibleRouting": "TEST_NOT_ELI", - "Version": 1, - "Name": "ELI-376-05-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", - "Cohort_label": "rsv_eli_376_cohort_1", - "Priority": 100 - }, - { - "Type": "F", - "Name": "NotEligible Reason 2", - "Description": "NotEligible Description 2", - "Operator": "=", - "Comparator": "ABC", - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "Cohort_label": "rsv_eli_376_cohort_1", - "Priority": 110 - }, - { - "Type": "F", - "Name": "NotEligible Reason 3", - "Description": "NotEligible Description 3", - "Operator": "=", - "Comparator": "E02003792", - "AttributeLevel": "PERSON", - "AttributeName": "MSOA", - "Cohort_label": "rsv_eli_376_cohort_3", - "Priority": 120 - }, - { - "Type": "F", - "Name": "NotEligible Reason 4", - "Description": "NotEligible Description 4", - "Operator": "=", - "Comparator": "E01018267", - "AttributeLevel": "PERSON", - "AttributeName": "LSOA", - "Cohort_label": "rsv_eli_376_cohort_4", - "Priority": 130 - }, - { - "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 - } - ], - "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/data/configs/inProgressTestConfigs/ELI-376-405/AUTO_RSV_ELI-376-10.json b/data/configs/inProgressTestConfigs/ELI-376-405/AUTO_RSV_ELI-376-10.json deleted file mode 100644 index c2f3b6d6..00000000 --- a/data/configs/inProgressTestConfigs/ELI-376-405/AUTO_RSV_ELI-376-10.json +++ /dev/null @@ -1,141 +0,0 @@ -{ - "CampaignConfig": { - "ID": "AUTO_RSV_ELI-376-10-Campaign-ID", - "Version": 1, - "Name": "ELI-376-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-376-10-Iteration-ID", - "DefaultCommsRouting": "TEST_ACTION", - "DefaultNotActionableRouting": "TEST_NOT_ACTION", - "DefaultNotEligibleRouting": "TEST_NOT_ELI", - "Version": 1, - "Name": "ELI-376-05-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 - }, - { - "Type": "F", - "Name": "NotEligible Reason 2", - "Description": "NotEligible Description 2", - "Operator": "=", - "Comparator": "ABC", - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "CohortLabel": "rsv_eli_376_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_376_cohort_3", - "Priority": 200 - }, - { - "Type": "S", - "Name": "NotActionable Reason 2", - "Description": "NotActionable Description 2", - "Operator": "=", - "Comparator": "ABC", - "AttributeLevel": "PERSON", - "AttributeName": "ICB", - "CohortLabel": "rsv_eli_376_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/data/dynamoDB/inProgressTestData/AUTO_RSV_ELI-371_001.json b/data/dynamoDB/inProgressTestData/AUTO_RSV_ELI-371_001.json deleted file mode 100644 index ad25ea5b..00000000 --- a/data/dynamoDB/inProgressTestData/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/data/dynamoDB/inProgressTestData/AUTO_RSV_ELI-371_002.json b/data/dynamoDB/inProgressTestData/AUTO_RSV_ELI-371_002.json deleted file mode 100644 index 29b5a7e9..00000000 --- a/data/dynamoDB/inProgressTestData/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/data/dynamoDB/inProgressTestData/ELI-376-405/AUTO_RSV_ELI-376_001.json b/data/dynamoDB/inProgressTestData/ELI-376-405/AUTO_RSV_ELI-376_001.json deleted file mode 100644 index 1f085096..00000000 --- a/data/dynamoDB/inProgressTestData/ELI-376-405/AUTO_RSV_ELI-376_001.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "scenario_name": "ELI-376 - Audit Records - No F no S - Actionable", - "request_headers": { - "nhs-login-nhs-number": "9900376001" - }, - "config_filenames": [ - "AUTO_RSV_ELI-376-01.json" - ], - "data": [ - { - "NHS_NUMBER": "9900376001", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_376_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_376_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_376_cohort_3", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_376_cohort_4", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900376001", - "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": "9900376001", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/data/dynamoDB/inProgressTestData/ELI-376-405/AUTO_RSV_ELI-376_002.json b/data/dynamoDB/inProgressTestData/ELI-376-405/AUTO_RSV_ELI-376_002.json deleted file mode 100644 index 492ad0cd..00000000 --- a/data/dynamoDB/inProgressTestData/ELI-376-405/AUTO_RSV_ELI-376_002.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "scenario_name": "ELI-376 - Audit Records - Single F Rule - NotEligible", - "request_headers": { - "nhs-login-nhs-number": "9900376002" - }, - "config_filenames": [ - "AUTO_RSV_ELI-376-02.json" - ], - "data": [ - { - "NHS_NUMBER": "9900376002", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_376_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_376_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_376_cohort_3", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_376_cohort_4", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900376002", - "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": "9900376002", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/data/dynamoDB/inProgressTestData/ELI-376-405/AUTO_RSV_ELI-376_003.json b/data/dynamoDB/inProgressTestData/ELI-376-405/AUTO_RSV_ELI-376_003.json deleted file mode 100644 index 17c1f6de..00000000 --- a/data/dynamoDB/inProgressTestData/ELI-376-405/AUTO_RSV_ELI-376_003.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "scenario_name": "ELI-376 - Audit Records - One F Rule One S Rule", - "request_headers": { - "nhs-login-nhs-number": "9900376003" - }, - "config_filenames": [ - "AUTO_RSV_ELI-376-03.json" - ], - "data": [ - { - "NHS_NUMBER": "9900376003", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_376_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_376_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_376_cohort_3", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_376_cohort_4", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900376003", - "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": "9900376003", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/data/dynamoDB/inProgressTestData/ELI-376-405/AUTO_RSV_ELI-376_004.json b/data/dynamoDB/inProgressTestData/ELI-376-405/AUTO_RSV_ELI-376_004.json deleted file mode 100644 index 46fd8abf..00000000 --- a/data/dynamoDB/inProgressTestData/ELI-376-405/AUTO_RSV_ELI-376_004.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "scenario_name": "ELI-376 - Audit Records - Multiple F Rules - Actionable", - "request_headers": { - "nhs-login-nhs-number": "9900376004" - }, - "config_filenames": [ - "AUTO_RSV_ELI-376-04.json" - ], - "data": [ - { - "NHS_NUMBER": "9900376004", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_376_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_376_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_376_cohort_3", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_376_cohort_4", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900376004", - "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": "9900376004", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/data/dynamoDB/inProgressTestData/ELI-376-405/AUTO_RSV_ELI-376_005.json b/data/dynamoDB/inProgressTestData/ELI-376-405/AUTO_RSV_ELI-376_005.json deleted file mode 100644 index e52ce68d..00000000 --- a/data/dynamoDB/inProgressTestData/ELI-376-405/AUTO_RSV_ELI-376_005.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "scenario_name": "ELI-376 - Audit Records - Multiple F Rules - NotEligible", - "request_headers": { - "nhs-login-nhs-number": "9900376005" - }, - "config_filenames": [ - "AUTO_RSV_ELI-376-05.json" - ], - "data": [ - { - "NHS_NUMBER": "9900376005", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_376_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_376_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_376_cohort_3", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_376_cohort_4", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900376005", - "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": "9900376005", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/data/dynamoDB/inProgressTestData/ELI-376-405/AUTO_RSV_ELI-376_010.json b/data/dynamoDB/inProgressTestData/ELI-376-405/AUTO_RSV_ELI-376_010.json deleted file mode 100644 index 85579eb0..00000000 --- a/data/dynamoDB/inProgressTestData/ELI-376-405/AUTO_RSV_ELI-376_010.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "scenario_name": "ELI-376 - Audit Records - Multiple F & S Rules", - "request_headers": { - "nhs-login-nhs-number": "9900376010" - }, - "config_filenames": [ - "AUTO_RSV_ELI-376-10.json" - ], - "data": [ - { - "NHS_NUMBER": "9900376010", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_eli_376_cohort_1", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_376_cohort_2", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_376_cohort_3", - "DATE_JOINED": "20231020" - }, - { - "COHORT_LABEL": "rsv_eli_376_cohort_4", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9900376010", - "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": "9900376010", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": "<>", - "BOOKED_APPOINTMENT_PROVIDER": "NBS" - } - ] -} diff --git a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_008.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_008.json deleted file mode 100644 index 2f4cb8d8..00000000 --- a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_008.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "scenario_name": "RSV - Vita Integration - NotActionable - empty suggestions - fallback to static", - "request_headers": { - "nhs-login-nhs-number": "9658219004" - }, - "config_filenames": ["vita_integration_test_config.json"], - "data": [ - { - "NHS_NUMBER": "9658219004", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_75to79", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9658219004", - "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/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_015.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_015.json deleted file mode 100644 index 2f663767..00000000 --- a/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_015.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": "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": "Y", - "DE_FLAG": "N" - }, - { - "NHS_NUMBER": "9657933617", - "ATTRIBUTE_TYPE": "RSV", - "LAST_SUCCESSFUL_DATE": null, - "BOOKED_APPOINTMENT_DATE": null - } - ] -} diff --git a/data/responses/inProgressTestResponses/AUTO_RSV_ELI-371_001.json b/data/responses/inProgressTestResponses/AUTO_RSV_ELI-371_001.json deleted file mode 100644 index 387439f1..00000000 --- a/data/responses/inProgressTestResponses/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/data/responses/inProgressTestResponses/AUTO_RSV_ELI-371_002.json b/data/responses/inProgressTestResponses/AUTO_RSV_ELI-371_002.json deleted file mode 100644 index 387439f1..00000000 --- a/data/responses/inProgressTestResponses/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/data/responses/inProgressTestResponses/ELI-376-405/AUTO_RSV_ELI-376_001.json b/data/responses/inProgressTestResponses/ELI-376-405/AUTO_RSV_ELI-376_001.json deleted file mode 100644 index d611ab02..00000000 --- a/data/responses/inProgressTestResponses/ELI-376-405/AUTO_RSV_ELI-376_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_376_cohort_group", - "cohortStatus": "Actionable", - "cohortText": "are a member of eli_376_cohort_group_0" - }, - { - "cohortCode": "rsv_eli_376_cohort_group_other", - "cohortStatus": "Actionable", - "cohortText": "are a member of eli_376_cohort_group_other" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "5e24d72c-04cb-4672-94c6-ce3a2d28671c" -} diff --git a/data/responses/inProgressTestResponses/ELI-376-405/AUTO_RSV_ELI-376_002.json b/data/responses/inProgressTestResponses/ELI-376-405/AUTO_RSV_ELI-376_002.json deleted file mode 100644 index 50817596..00000000 --- a/data/responses/inProgressTestResponses/ELI-376-405/AUTO_RSV_ELI-376_002.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-10T20:01:50.163464+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "TestNotEli", - "actionType": "", - "description": "TestNotEli Description", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_376_cohort_group", - "cohortStatus": "NotEligible", - "cohortText": "are not a member of eli_376_cohort_group_0" - }, - { - "cohortCode": "rsv_eli_376_cohort_group_other", - "cohortStatus": "NotEligible", - "cohortText": "are not a member of eli_376_cohort_group_other" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "8251a4cd-3d39-4b46-8c32-03597c834c51" -} diff --git a/data/responses/inProgressTestResponses/ELI-376-405/AUTO_RSV_ELI-376_003.json b/data/responses/inProgressTestResponses/ELI-376-405/AUTO_RSV_ELI-376_003.json deleted file mode 100644 index c8108df4..00000000 --- a/data/responses/inProgressTestResponses/ELI-376-405/AUTO_RSV_ELI-376_003.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-10T20:50:17.917074+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "TestNotAction", - "actionType": "ButtonWithAuthLink", - "description": "TestNotAction Description", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_376_cohort_group", - "cohortStatus": "NotActionable", - "cohortText": "are a member of eli_376_cohort_group_0" - } - ], - "status": "NotActionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [ - { - "ruleCode": "NotActionable Reason 1", - "ruleText": "NotActionable Description 1", - "ruleType": "S" - } - ] - } - ], - "responseId": "3726dc78-c69e-491a-8cbc-90e059ba2d49" -} diff --git a/data/responses/inProgressTestResponses/ELI-376-405/AUTO_RSV_ELI-376_004.json b/data/responses/inProgressTestResponses/ELI-376-405/AUTO_RSV_ELI-376_004.json deleted file mode 100644 index cce80a66..00000000 --- a/data/responses/inProgressTestResponses/ELI-376-405/AUTO_RSV_ELI-376_004.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_376_cohort_group", - "cohortStatus": "Actionable", - "cohortText": "are a member of eli_376_cohort_group_10" - } - ], - "status": "Actionable", - "statusText": "You should have the RSV vaccine", - "suitabilityRules": [] - } - ], - "responseId": "48d5721e-7c0e-4cc5-9d7a-e7448724340a" -} diff --git a/data/responses/inProgressTestResponses/ELI-376-405/AUTO_RSV_ELI-376_005.json b/data/responses/inProgressTestResponses/ELI-376-405/AUTO_RSV_ELI-376_005.json deleted file mode 100644 index d49216aa..00000000 --- a/data/responses/inProgressTestResponses/ELI-376-405/AUTO_RSV_ELI-376_005.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-11T20:39:19.034500+00:00" - }, - "processedSuggestions": [ - { - "actions": [ - { - "actionCode": "TestNotEli", - "actionType": "", - "description": "TestNotEli Description", - "urlLabel": "", - "urlLink": "" - } - ], - "condition": "RSV", - "eligibilityCohorts": [ - { - "cohortCode": "rsv_eli_376_cohort_group", - "cohortStatus": "NotEligible", - "cohortText": "are not a member of eli_376_cohort_group_0" - }, - { - "cohortCode": "rsv_eli_376_cohort_group_other", - "cohortStatus": "NotEligible", - "cohortText": "are not a member of eli_376_cohort_group_other" - } - ], - "status": "NotEligible", - "statusText": "We do not believe you can have it", - "suitabilityRules": [] - } - ], - "responseId": "9d6c58d5-b36d-4f93-be8b-e5ed5e9da570" -} diff --git a/data/responses/inProgressTestResponses/ELI-376-405/AUTO_RSV_ELI-376_010.json b/data/responses/inProgressTestResponses/ELI-376-405/AUTO_RSV_ELI-376_010.json deleted file mode 100644 index d10737c7..00000000 --- a/data/responses/inProgressTestResponses/ELI-376-405/AUTO_RSV_ELI-376_010.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_376_cohort_group", - "cohortStatus": "NotActionable", - "cohortText": "are a member of eli_376_cohort_group_20" - }, - { - "cohortCode": "rsv_eli_376_cohort_group_other", - "cohortStatus": "NotActionable", - "cohortText": "are a member of eli_376_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/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_008.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_008.json deleted file mode 100644 index 8c12bd37..00000000 --- a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_008.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "scenario_name": "RSV - Vita Integration - NotActionable - empty suggestions - fallback to static", - "request_headers": { - "nhs-login-nhs-number": "9658219004" - }, - "config_filename": "vita_integration_test_config.json", - "data": [ - { - "NHS_NUMBER": "9658219004", - "ATTRIBUTE_TYPE": "COHORTS", - "COHORT_MEMBERSHIPS": [ - { - "COHORT_LABEL": "rsv_75_rolling", - "DATE_JOINED": "20231020" - } - ] - }, - { - "NHS_NUMBER": "9658219004", - "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/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_015.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_015.json deleted file mode 100644 index 8c1d5607..00000000 --- a/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_015.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "meta": { - "lastUpdated": "2025-08-01T08:12:24.020848+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": "b79bdab6-ce92-4bea-90c4-eabf3b4adc90" -} From 41596899b1bef2c02dfa6a11bc27748eb979b91d Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Mon, 22 Sep 2025 15:42:30 +0100 Subject: [PATCH 25/45] Slight change to command to run the tests --- .github/workflows/regression_tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/regression_tests.yml b/.github/workflows/regression_tests.yml index b3cd0a24..8de69b12 100644 --- a/.github/workflows/regression_tests.yml +++ b/.github/workflows/regression_tests.yml @@ -117,7 +117,8 @@ jobs: ENVIRONMENT: ${{ inputs.environment }} PULL_REQUEST_ID: ${{ inputs.pull_request_id }} INPUT_TAG: ${{ inputs.tags }} - run: make run-tests + run: | + poetry run pytest tests/test_story_tests.py -vv - name: force error on failure if: steps.tests.outcome != 'success' From 5185dce1c8a92ac96288113288e60202744b5a2a Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Mon, 22 Sep 2025 15:52:52 +0100 Subject: [PATCH 26/45] Packages updates --- package-lock.json | 19 ------------------- poetry.lock | 12 ++++++------ 2 files changed, 6 insertions(+), 25 deletions(-) diff --git a/package-lock.json b/package-lock.json index a88a2e77..53938192 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3495,7 +3495,6 @@ "version": "5.6.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz", "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==", - "dev": true, "license": "MIT", "engines": { "node": "^12.17.0 || ^14.13 || >=16.0.0" @@ -4333,7 +4332,6 @@ "version": "4.2.11", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", - "dev": true, "license": "ISC" }, "node_modules/handlebars": { @@ -4362,7 +4360,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -4395,7 +4392,6 @@ "version": "7.0.2", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.2.tgz", "integrity": "sha512-puUZAUKT5m8Zzvs72XWy3HtvVbTWljRE66cP60bxJzAqf2DgICo7lYTY2IHUmLnNpjYvw5bvmoHvPc0QO2a62w==", - "dev": true, "license": "ISC", "dependencies": { "lru-cache": "^10.0.1" @@ -4528,7 +4524,6 @@ "version": "1.3.8", "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", - "dev": true, "license": "ISC" }, "node_modules/into-stream": { @@ -4635,7 +4630,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", - "dev": true, "license": "ISC" }, "node_modules/issue-parser": { @@ -4696,7 +4690,6 @@ "version": "2.3.1", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", - "dev": true, "license": "MIT" }, "node_modules/jsonfile": { @@ -4816,7 +4809,6 @@ "version": "10.4.3", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", - "dev": true, "license": "ISC" }, "node_modules/marked": { @@ -4931,7 +4923,6 @@ "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true, "license": "MIT" }, "node_modules/mz": { @@ -4980,7 +4971,6 @@ "version": "6.0.2", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.2.tgz", "integrity": "sha512-V6gygoYb/5EmNI+MEGrWkC+e6+Rr7mTmfHrxDbLzxQogBkgzo76rkok0Am6thgSF7Mv2nLOajAJj5vDJZEFn7g==", - "dev": true, "license": "BSD-2-Clause", "dependencies": { "hosted-git-info": "^7.0.0", @@ -7606,7 +7596,6 @@ "version": "7.0.3", "resolved": "https://registry.npmjs.org/p-map/-/p-map-7.0.3.tgz", "integrity": "sha512-VkndIv2fIB99swvQoA65bm+fsmt6UNdGeIB0oxBs+WhAhdh08QA04JXpI7rbB9r08/nkbysKoya9rtDERYOYMA==", - "dev": true, "license": "MIT", "engines": { "node": ">=18" @@ -8080,7 +8069,6 @@ "version": "7.7.2", "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", - "dev": true, "license": "ISC", "bin": { "semver": "bin/semver.js" @@ -8295,7 +8283,6 @@ "version": "3.2.0", "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", - "dev": true, "license": "Apache-2.0", "dependencies": { "spdx-expression-parse": "^3.0.0", @@ -8306,14 +8293,12 @@ "version": "2.5.0", "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz", "integrity": "sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==", - "dev": true, "license": "CC-BY-3.0" }, "node_modules/spdx-expression-parse": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", - "dev": true, "license": "MIT", "dependencies": { "spdx-exceptions": "^2.1.0", @@ -8324,7 +8309,6 @@ "version": "3.0.22", "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.22.tgz", "integrity": "sha512-4PRT4nh1EImPbt2jASOKHX7PB7I+e4IWNLvkKFDxNhJlfjbYlleYQh285Z/3mPTHSAK/AvdMmw5BNNuYH8ShgQ==", - "dev": true, "license": "CC0-1.0" }, "node_modules/split2": { @@ -8450,7 +8434,6 @@ "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -8759,7 +8742,6 @@ "version": "3.0.4", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", - "dev": true, "license": "Apache-2.0", "dependencies": { "spdx-correct": "^3.0.0", @@ -8770,7 +8752,6 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, "license": "ISC", "dependencies": { "isexe": "^2.0.0" diff --git a/poetry.lock b/poetry.lock index 0dae6474..9fbc0415 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.2.0 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.1.4 and should not be changed by hand. [[package]] name = "annotated-types" @@ -357,14 +357,14 @@ files = [ [[package]] name = "click" -version = "8.2.1" +version = "8.3.0" description = "Composable command line interface toolkit" optional = false python-versions = ">=3.10" groups = ["main"] files = [ - {file = "click-8.2.1-py3-none-any.whl", hash = "sha256:61a3265b914e850b85317d0b3109c7f8cd35a670f963866005d6ef1d5175a12b"}, - {file = "click-8.2.1.tar.gz", hash = "sha256:27c491cc05d968d271d5a1db13e3b5a184636d9d930f148c50b038f0d0646202"}, + {file = "click-8.3.0-py3-none-any.whl", hash = "sha256:9b9f285302c6e3064f4330c05f05b81945b2a39544279343e6e7c5f27a9baddc"}, + {file = "click-8.3.0.tar.gz", hash = "sha256:e7b8232224eba16f4ebe410c25ced9f7875cb5f3263ffc93cc3e8da705e229c4"}, ] [package.dependencies] @@ -377,7 +377,7 @@ description = "Cross-platform colored terminal text." optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" groups = ["main"] -markers = "platform_system == \"Windows\" or sys_platform == \"win32\"" +markers = "sys_platform == \"win32\" or platform_system == \"Windows\"" files = [ {file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"}, {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, @@ -1840,4 +1840,4 @@ test = ["pytest (>=3.0.0)"] [metadata] lock-version = "2.1" python-versions = "^3.13" -content-hash = "8902da532c3e56c848d11a9c67ada21442bcca1b9cf95399675d33cc3919c625" +content-hash = "86294b4218f383fdd62994aade569d5334b2d613f0b435cef9813f78f497dd9d" From 96443acf265d3d9adf92c5f47df32eb0fbbba455 Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Mon, 22 Sep 2025 16:28:40 +0100 Subject: [PATCH 27/45] delete everything --- Makefile | 2 +- data/audit/AUTO_RSV_ELI-376-01.json | 85 --- data/audit/AUTO_RSV_ELI-376-02.json | 90 --- data/audit/AUTO_RSV_ELI-376-03.json | 96 ---- data/audit/AUTO_RSV_ELI-376-04.json | 85 --- data/audit/AUTO_RSV_ELI-376-05.json | 102 ---- data/audit/AUTO_RSV_ELI-376-10.json | 76 --- .../440/AUTO_RSV_ELI-440-04.json | 94 ---- .../AUTO_RSV_REG_001.json | 304 ---------- .../.temp/AUTO_RSV_SB_001.json | 288 ---------- .../.temp/AUTO_RSV_SB_008.json | 128 ----- .../smokeTestConfigs/AUTO_RSV_SB_001.json | 281 ---------- .../smokeTestConfigs/AUTO_RSV_SB_008.json | 243 -------- .../storyTestConfigs/AUTO_RSV_ELI-155.json | 82 --- .../storyTestConfigs/AUTO_RSV_ELI-216.json | 100 ---- .../storyTestConfigs/AUTO_RSV_ELI-219-1.json | 110 ---- .../storyTestConfigs/AUTO_RSV_ELI-219-2.json | 117 ---- .../storyTestConfigs/AUTO_RSV_ELI-219-3.json | 107 ---- .../storyTestConfigs/AUTO_RSV_ELI-220-01.json | 94 ---- .../storyTestConfigs/AUTO_RSV_ELI-220-02.json | 94 ---- .../storyTestConfigs/AUTO_RSV_ELI-220-03.json | 93 ---- .../storyTestConfigs/AUTO_RSV_ELI-220-04.json | 93 ---- .../storyTestConfigs/AUTO_RSV_ELI-220-05.json | 93 ---- .../storyTestConfigs/AUTO_RSV_ELI-220-06.json | 93 ---- .../storyTestConfigs/AUTO_RSV_ELI-221-01.json | 94 ---- .../storyTestConfigs/AUTO_RSV_ELI-221-02.json | 95 ---- .../storyTestConfigs/AUTO_RSV_ELI-221-03.json | 93 ---- .../storyTestConfigs/AUTO_RSV_ELI-222.json | 203 ------- .../storyTestConfigs/AUTO_RSV_ELI-223-01.json | 88 --- .../storyTestConfigs/AUTO_RSV_ELI-223-02.json | 88 --- .../storyTestConfigs/AUTO_RSV_ELI-223-03.json | 88 --- .../storyTestConfigs/AUTO_RSV_ELI-223-04.json | 88 --- .../storyTestConfigs/AUTO_RSV_ELI-223-05.json | 88 --- .../storyTestConfigs/AUTO_RSV_ELI-223-06.json | 100 ---- .../storyTestConfigs/AUTO_RSV_ELI-223-07.json | 100 ---- .../storyTestConfigs/AUTO_RSV_ELI-223-08.json | 100 ---- .../storyTestConfigs/AUTO_RSV_ELI-223-09.json | 314 ----------- .../storyTestConfigs/AUTO_RSV_ELI-223-10.json | 88 --- .../storyTestConfigs/AUTO_RSV_ELI-223-11.json | 88 --- .../storyTestConfigs/AUTO_RSV_ELI-223-12.json | 88 --- .../storyTestConfigs/AUTO_RSV_ELI-236.json | 155 ------ .../storyTestConfigs/AUTO_RSV_ELI-274-01.json | 109 ---- .../storyTestConfigs/AUTO_RSV_ELI-274-05.json | 109 ---- .../storyTestConfigs/AUTO_RSV_ELI-274-06.json | 109 ---- .../storyTestConfigs/AUTO_RSV_ELI-274-07.json | 110 ---- .../storyTestConfigs/AUTO_RSV_ELI-295-1.json | 129 ----- .../storyTestConfigs/AUTO_RSV_ELI-295-2.json | 151 ----- .../storyTestConfigs/AUTO_RSV_ELI-295-3.json | 151 ----- .../storyTestConfigs/AUTO_RSV_ELI-295-4.json | 173 ------ .../storyTestConfigs/AUTO_RSV_ELI-317-1.json | 93 ---- .../storyTestConfigs/AUTO_RSV_ELI-317-2.json | 95 ---- .../storyTestConfigs/AUTO_RSV_ELI-317-3.json | 95 ---- .../storyTestConfigs/AUTO_RSV_ELI-317-4.json | 95 ---- .../storyTestConfigs/AUTO_RSV_ELI-317-5.json | 94 ---- .../AUTO_RSV_ELI-320-COVID.json | 73 --- .../AUTO_RSV_ELI-320-MMR.json | 74 --- .../AUTO_RSV_ELI-320-RSV.json | 74 --- .../AUTO_RSV_ELI-320-SCREENING-1.json | 74 --- .../AUTO_RSV_ELI-320-SCREENING-2.json | 74 --- .../storyTestConfigs/AUTO_RSV_ELI-365.json | 458 --------------- .../AUTO_RSV_ELI-365v0.5.json | 457 --------------- .../storyTestConfigs/AUTO_RSV_ELI-371.json | 182 ------ .../storyTestConfigs/AUTO_RSV_ELI-373-01.json | 459 --------------- .../storyTestConfigs/AUTO_RSV_ELI-373-02.json | 453 --------------- .../storyTestConfigs/AUTO_RSV_ELI-399-01.json | 73 --- .../storyTestConfigs/AUTO_RSV_ELI-399-02.json | 192 ------- .../storyTestConfigs/AUTO_RSV_ELI-399-03.json | 192 ------- .../storyTestConfigs/AUTO_RSV_ELI-399-04.json | 192 ------- .../storyTestConfigs/AUTO_RSV_ELI-399-05.json | 110 ---- .../storyTestConfigs/AUTO_RSV_ELI-399-06.json | 110 ---- .../storyTestConfigs/AUTO_RSV_ELI-399-07.json | 73 --- .../storyTestConfigs/AUTO_RSV_ELI-405-01.json | 130 ----- .../storyTestConfigs/AUTO_RSV_ELI-405-02.json | 141 ----- .../storyTestConfigs/AUTO_RSV_ELI-405-03.json | 134 ----- .../storyTestConfigs/AUTO_RSV_ELI-405-04.json | 148 ----- .../storyTestConfigs/AUTO_RSV_ELI-405-05.json | 151 ----- .../storyTestConfigs/AUTO_RSV_ELI-405-06.json | 105 ---- .../storyTestConfigs/AUTO_RSV_ELI-406-01.json | 108 ---- .../AUTO_RSV_ELI-427-01-3.json | 112 ---- .../AUTO_RSV_ELI-427-04-6.json | 110 ---- .../storyTestConfigs/AUTO_RSV_ELI-440-01.json | 141 ----- .../AUTO_RSV_ELI-440-02-3.json | 143 ----- .../AUTO_RSV_ELI-440-05-6.json | 87 --- .../storyTestConfigs/AUTO_RSV_ELI-440-07.json | 116 ---- .../vita_integration_test_config.json | 527 ------------------ .../440/AUTO_RSV_ELI-440_004.json | 47 -- .../integrationTestData/AUTO_RSV_INT_001.json | 44 -- .../integrationTestData/AUTO_RSV_INT_002.json | 44 -- .../integrationTestData/AUTO_RSV_INT_003.json | 44 -- .../regressionTestData/AUTO_RSV_REG_001.json | 39 -- .../regressionTestData/AUTO_RSV_REG_002.json | 43 -- .../regressionTestData/AUTO_RSV_REG_003.json | 43 -- .../AUTO_RSV_REG_010-1.json | 39 -- .../regressionTestData/AUTO_RSV_REG_010.json | 39 -- .../regressionTestData/AUTO_RSV_REG_011.json | 39 -- .../regressionTestData/AUTO_RSV_REG_012.json | 29 - .../regressionTestData/AUTO_RSV_REG_013.json | 34 -- .../regressionTestData/AUTO_RSV_REG_050.json | 34 -- .../smokeTestData/AUTO_RSV_SB_001.json | 39 -- .../smokeTestData/AUTO_RSV_SB_002.json | 39 -- .../smokeTestData/AUTO_RSV_SB_003.json | 39 -- .../smokeTestData/AUTO_RSV_SB_004.json | 45 -- .../smokeTestData/AUTO_RSV_SB_005.json | 45 -- .../smokeTestData/AUTO_RSV_SB_006.json | 45 -- .../smokeTestData/AUTO_RSV_SB_007.json | 39 -- .../smokeTestData/AUTO_RSV_SB_008.json | 44 -- .../smokeTestData/AUTO_RSV_SB_009.json | 44 -- .../smokeTestData/AUTO_RSV_SB_010.json | 44 -- .../smokeTestData/AUTO_RSV_SB_011.json | 39 -- .../smokeTestData/AUTO_RSV_SB_012.json | 34 -- .../smokeTestData/AUTO_RSV_SB_013.json | 44 -- .../smokeTestData/AUTO_RSV_SB_014.json | 39 -- .../.ignore_folder/AUTO_RSV_ELI-216-2.json | 51 -- .../.ignore_folder/AUTO_RSV_ELI-216-3.json | 49 -- .../storyTestData/AUTO_RSV_ELI-155.json | 44 -- .../storyTestData/AUTO_RSV_ELI-216-1.json | 45 -- .../storyTestData/AUTO_RSV_ELI-219-1.json | 45 -- .../storyTestData/AUTO_RSV_ELI-219-2.json | 45 -- .../storyTestData/AUTO_RSV_ELI-219-3.json | 45 -- .../storyTestData/AUTO_RSV_ELI-220_001.json | 58 -- .../storyTestData/AUTO_RSV_ELI-220_002.json | 58 -- .../storyTestData/AUTO_RSV_ELI-220_003.json | 58 -- .../storyTestData/AUTO_RSV_ELI-220_004.json | 58 -- .../storyTestData/AUTO_RSV_ELI-220_005.json | 58 -- .../storyTestData/AUTO_RSV_ELI-220_006.json | 58 -- .../storyTestData/AUTO_RSV_ELI-221-01.json | 46 -- .../storyTestData/AUTO_RSV_ELI-221-02.json | 46 -- .../storyTestData/AUTO_RSV_ELI-221-03.json | 46 -- .../storyTestData/AUTO_RSV_ELI-222-1.json | 46 -- .../storyTestData/AUTO_RSV_ELI-222-2.json | 46 -- .../storyTestData/AUTO_RSV_ELI-222-3.json | 36 -- .../storyTestData/AUTO_RSV_ELI-222-4.json | 45 -- .../storyTestData/AUTO_RSV_ELI-222-5.json | 46 -- .../storyTestData/AUTO_RSV_ELI-222-6.json | 39 -- .../storyTestData/AUTO_RSV_ELI-222-7.json | 46 -- .../storyTestData/AUTO_RSV_ELI-222-8.json | 44 -- .../storyTestData/AUTO_RSV_ELI-223_001.json | 53 -- .../storyTestData/AUTO_RSV_ELI-223_002.json | 60 -- .../storyTestData/AUTO_RSV_ELI-223_003.json | 61 -- .../storyTestData/AUTO_RSV_ELI-223_004.json | 53 -- .../storyTestData/AUTO_RSV_ELI-223_005.json | 47 -- .../storyTestData/AUTO_RSV_ELI-223_006.json | 53 -- .../storyTestData/AUTO_RSV_ELI-223_007.json | 53 -- .../storyTestData/AUTO_RSV_ELI-223_008.json | 43 -- .../storyTestData/AUTO_RSV_ELI-223_009.json | 76 --- .../storyTestData/AUTO_RSV_ELI-223_010.json | 47 -- .../storyTestData/AUTO_RSV_ELI-223_011.json | 53 -- .../storyTestData/AUTO_RSV_ELI-223_012.json | 54 -- .../storyTestData/AUTO_RSV_ELI-236-01.json | 52 -- .../storyTestData/AUTO_RSV_ELI-236-02.json | 52 -- .../storyTestData/AUTO_RSV_ELI-274_001.json | 54 -- .../storyTestData/AUTO_RSV_ELI-274_002.json | 54 -- .../storyTestData/AUTO_RSV_ELI-274_003.json | 54 -- .../storyTestData/AUTO_RSV_ELI-274_004.json | 54 -- .../storyTestData/AUTO_RSV_ELI-274_005.json | 54 -- .../storyTestData/AUTO_RSV_ELI-274_006.json | 54 -- .../storyTestData/AUTO_RSV_ELI-274_007.json | 54 -- .../storyTestData/AUTO_RSV_ELI-295-01.json | 39 -- .../storyTestData/AUTO_RSV_ELI-295-02.json | 39 -- .../storyTestData/AUTO_RSV_ELI-295-03.json | 39 -- .../storyTestData/AUTO_RSV_ELI-295-04.json | 40 -- .../storyTestData/AUTO_RSV_ELI-295-05.json | 39 -- .../storyTestData/AUTO_RSV_ELI-295-06.json | 39 -- .../storyTestData/AUTO_RSV_ELI-295-07.json | 39 -- .../storyTestData/AUTO_RSV_ELI-295-08.json | 39 -- .../storyTestData/AUTO_RSV_ELI-295-09.json | 44 -- .../storyTestData/AUTO_RSV_ELI-295-10.json | 42 -- .../storyTestData/AUTO_RSV_ELI-295-11.json | 42 -- .../storyTestData/AUTO_RSV_ELI-295-12.json | 47 -- .../storyTestData/AUTO_RSV_ELI-295-13.json | 39 -- .../storyTestData/AUTO_RSV_ELI-295-14.json | 39 -- .../storyTestData/AUTO_RSV_ELI-295-15.json | 44 -- .../storyTestData/AUTO_RSV_ELI-295-16.json | 39 -- .../storyTestData/AUTO_RSV_ELI-295-17.json | 39 -- .../storyTestData/AUTO_RSV_ELI-317-1.json | 48 -- .../storyTestData/AUTO_RSV_ELI-317-2.json | 48 -- .../storyTestData/AUTO_RSV_ELI-317-3.json | 48 -- .../storyTestData/AUTO_RSV_ELI-317-4.json | 42 -- .../storyTestData/AUTO_RSV_ELI-317-5.json | 42 -- .../storyTestData/AUTO_RSV_ELI-320-1.json | 57 -- .../storyTestData/AUTO_RSV_ELI-320-10.json | 66 --- .../storyTestData/AUTO_RSV_ELI-320-11.json | 66 --- .../storyTestData/AUTO_RSV_ELI-320-2.json | 60 -- .../storyTestData/AUTO_RSV_ELI-320-3.json | 60 -- .../storyTestData/AUTO_RSV_ELI-320-4.json | 60 -- .../storyTestData/AUTO_RSV_ELI-320-5.json | 60 -- .../storyTestData/AUTO_RSV_ELI-320-6.json | 65 --- .../storyTestData/AUTO_RSV_ELI-320-7.json | 65 --- .../storyTestData/AUTO_RSV_ELI-320-8.json | 65 --- .../storyTestData/AUTO_RSV_ELI-320-9.json | 65 --- .../storyTestData/AUTO_RSV_ELI-365_001.json | 45 -- .../storyTestData/AUTO_RSV_ELI-365_002.json | 46 -- .../storyTestData/AUTO_RSV_ELI-365_003.json | 36 -- .../storyTestData/AUTO_RSV_ELI-365_004.json | 45 -- .../storyTestData/AUTO_RSV_ELI-365_005.json | 46 -- .../storyTestData/AUTO_RSV_ELI-365_006.json | 39 -- .../storyTestData/AUTO_RSV_ELI-365_007.json | 46 -- .../storyTestData/AUTO_RSV_ELI-365_008.json | 44 -- .../storyTestData/AUTO_RSV_ELI-365_009.json | 46 -- .../storyTestData/AUTO_RSV_ELI-365_010.json | 46 -- .../storyTestData/AUTO_RSV_ELI-365_011.json | 46 -- .../storyTestData/AUTO_RSV_ELI-365_012.json | 46 -- .../storyTestData/AUTO_RSV_ELI-365_013.json | 46 -- .../storyTestData/AUTO_RSV_ELI-365_014.json | 46 -- .../storyTestData/AUTO_RSV_ELI-365_015.json | 46 -- .../storyTestData/AUTO_RSV_ELI-365_016.json | 53 -- .../storyTestData/AUTO_RSV_ELI-365_017.json | 46 -- .../storyTestData/AUTO_RSV_ELI-365_018.json | 46 -- .../storyTestData/AUTO_RSV_ELI-365_019.json | 46 -- .../storyTestData/AUTO_RSV_ELI-365_020.json | 46 -- .../storyTestData/AUTO_RSV_ELI-365_021.json | 47 -- .../storyTestData/AUTO_RSV_ELI-365_022.json | 47 -- .../storyTestData/AUTO_RSV_ELI-365_023.json | 51 -- .../storyTestData/AUTO_RSV_ELI-365_024.json | 47 -- .../storyTestData/AUTO_RSV_ELI-365_025.json | 47 -- .../storyTestData/AUTO_RSV_ELI-365_026.json | 47 -- .../storyTestData/AUTO_RSV_ELI-365_027.json | 47 -- .../storyTestData/AUTO_RSV_ELI-365_028.json | 47 -- .../storyTestData/AUTO_RSV_ELI-371_001.json | 45 -- .../storyTestData/AUTO_RSV_ELI-371_002.json | 45 -- .../storyTestData/AUTO_RSV_ELI-373_001.json | 46 -- .../storyTestData/AUTO_RSV_ELI-373_002.json | 46 -- .../storyTestData/AUTO_RSV_ELI-373_003.json | 50 -- .../storyTestData/AUTO_RSV_ELI-373_004.json | 46 -- .../storyTestData/AUTO_RSV_ELI-373_005.json | 46 -- .../storyTestData/AUTO_RSV_ELI-373_006.json | 50 -- .../storyTestData/AUTO_RSV_ELI-373_007.json | 50 -- .../storyTestData/AUTO_RSV_ELI-373_008.json | 50 -- .../storyTestData/AUTO_RSV_ELI-399_001.json | 54 -- .../storyTestData/AUTO_RSV_ELI-399_002.json | 54 -- .../storyTestData/AUTO_RSV_ELI-399_003.json | 54 -- .../storyTestData/AUTO_RSV_ELI-399_004.json | 54 -- .../storyTestData/AUTO_RSV_ELI-399_005.json | 54 -- .../storyTestData/AUTO_RSV_ELI-399_006.json | 54 -- .../storyTestData/AUTO_RSV_ELI-399_007.json | 55 -- .../storyTestData/AUTO_RSV_ELI-405_001.json | 58 -- .../storyTestData/AUTO_RSV_ELI-405_002.json | 58 -- .../storyTestData/AUTO_RSV_ELI-405_003.json | 62 --- .../storyTestData/AUTO_RSV_ELI-405_004.json | 62 --- .../storyTestData/AUTO_RSV_ELI-405_005.json | 58 -- .../storyTestData/AUTO_RSV_ELI-405_006.json | 50 -- .../storyTestData/AUTO_RSV_ELI-406_001.json | 41 -- .../storyTestData/AUTO_RSV_ELI-406_002.json | 19 - .../storyTestData/AUTO_RSV_ELI-406_003.json | 34 -- .../storyTestData/AUTO_RSV_ELI-427_001.json | 46 -- .../storyTestData/AUTO_RSV_ELI-427_002.json | 46 -- .../storyTestData/AUTO_RSV_ELI-427_003.json | 46 -- .../storyTestData/AUTO_RSV_ELI-427_004.json | 46 -- .../storyTestData/AUTO_RSV_ELI-427_005.json | 46 -- .../storyTestData/AUTO_RSV_ELI-427_006.json | 46 -- .../storyTestData/AUTO_RSV_ELI-440_001.json | 46 -- .../storyTestData/AUTO_RSV_ELI-440_002.json | 46 -- .../storyTestData/AUTO_RSV_ELI-440_003.json | 46 -- .../storyTestData/AUTO_RSV_ELI-440_005.json | 46 -- .../storyTestData/AUTO_RSV_ELI-440_006.json | 46 -- .../storyTestData/AUTO_RSV_ELI-440_007.json | 46 -- .../AUTO_RSV_VITA_INT_001.json | 40 -- .../AUTO_RSV_VITA_INT_002.json | 39 -- .../AUTO_RSV_VITA_INT_003.json | 39 -- .../AUTO_RSV_VITA_INT_004.json | 35 -- .../AUTO_RSV_VITA_INT_005.json | 35 -- .../AUTO_RSV_VITA_INT_006.json | 34 -- .../AUTO_RSV_VITA_INT_007.json | 39 -- .../AUTO_RSV_VITA_INT_009.json | 39 -- .../AUTO_RSV_VITA_INT_010.json | 39 -- .../AUTO_RSV_VITA_INT_011.json | 39 -- .../AUTO_RSV_VITA_INT_012.json | 34 -- .../AUTO_RSV_VITA_INT_013.json | 34 -- .../AUTO_RSV_VITA_INT_014.json | 35 -- .../AUTO_RSV_VITA_INT_500.json | 40 -- .../440/AUTO_RSV_ELI-440_004.json | 35 -- .../AUTO_RSV_REG_001.json | 30 - .../AUTO_RSV_REG_002.json | 35 -- .../AUTO_RSV_REG_003.json | 30 - .../AUTO_RSV_REG_010-1.json | 27 - .../AUTO_RSV_REG_010.json | 27 - .../AUTO_RSV_REG_011.json | 27 - .../AUTO_RSV_REG_012.json | 27 - .../AUTO_RSV_REG_013.json | 22 - .../smokeTestResponses/AUTO_RSV_SB_001.json | 30 - .../smokeTestResponses/AUTO_RSV_SB_002.json | 30 - .../smokeTestResponses/AUTO_RSV_SB_003.json | 30 - .../smokeTestResponses/AUTO_RSV_SB_004.json | 24 - .../smokeTestResponses/AUTO_RSV_SB_005.json | 24 - .../smokeTestResponses/AUTO_RSV_SB_006.json | 24 - .../smokeTestResponses/AUTO_RSV_SB_007.json | 28 - .../smokeTestResponses/AUTO_RSV_SB_008.json | 7 - .../smokeTestResponses/AUTO_RSV_SB_009.json | 28 - .../smokeTestResponses/AUTO_RSV_SB_010.json | 28 - .../smokeTestResponses/AUTO_RSV_SB_011.json | 28 - .../smokeTestResponses/AUTO_RSV_SB_012.json | 28 - .../smokeTestResponses/AUTO_RSV_SB_013.json | 22 - .../smokeTestResponses/AUTO_RSV_SB_014.json | 33 -- .../storyTestResponses/AUTO_RSV_ELI-155.json | 30 - .../AUTO_RSV_ELI-216-1.json | 30 - .../AUTO_RSV_ELI-216-2.json | 26 - .../AUTO_RSV_ELI-216-3.json | 3 - .../AUTO_RSV_ELI-219-1.json | 30 - .../AUTO_RSV_ELI-219-2.json | 30 - .../AUTO_RSV_ELI-219-3.json | 30 - .../AUTO_RSV_ELI-220_001.json | 27 - .../AUTO_RSV_ELI-220_002.json | 27 - .../AUTO_RSV_ELI-220_003.json | 33 -- .../AUTO_RSV_ELI-220_004.json | 33 -- .../AUTO_RSV_ELI-220_005.json | 27 - .../AUTO_RSV_ELI-220_006.json | 27 - .../AUTO_RSV_ELI-221-01.json | 33 -- .../AUTO_RSV_ELI-221-02.json | 38 -- .../AUTO_RSV_ELI-221-03.json | 38 -- .../AUTO_RSV_ELI-222-1.json | 24 - .../AUTO_RSV_ELI-222-2.json | 27 - .../AUTO_RSV_ELI-222-3.json | 22 - .../AUTO_RSV_ELI-222-4.json | 22 - .../AUTO_RSV_ELI-222-5.json | 22 - .../AUTO_RSV_ELI-222-6.json | 27 - .../AUTO_RSV_ELI-222-7.json | 27 - .../AUTO_RSV_ELI-222-8.json | 22 - .../AUTO_RSV_ELI-223_001.json | 36 -- .../AUTO_RSV_ELI-223_002.json | 36 -- .../AUTO_RSV_ELI-223_003.json | 23 - .../AUTO_RSV_ELI-223_004.json | 36 -- .../AUTO_RSV_ELI-223_005.json | 23 - .../AUTO_RSV_ELI-223_006.json | 36 -- .../AUTO_RSV_ELI-223_007.json | 41 -- .../AUTO_RSV_ELI-223_008.json | 30 - .../AUTO_RSV_ELI-223_009.json | 146 ----- .../AUTO_RSV_ELI-223_010.json | 23 - .../AUTO_RSV_ELI-223_011.json | 30 - .../AUTO_RSV_ELI-223_012.json | 23 - .../AUTO_RSV_ELI-236-01.json | 68 --- .../AUTO_RSV_ELI-236-02.json | 68 --- .../AUTO_RSV_ELI-274_001.json | 27 - .../AUTO_RSV_ELI-274_002.json | 27 - .../AUTO_RSV_ELI-274_003.json | 22 - .../AUTO_RSV_ELI-274_004.json | 43 -- .../AUTO_RSV_ELI-274_005.json | 43 -- .../AUTO_RSV_ELI-274_006.json | 43 -- .../AUTO_RSV_ELI-274_007.json | 38 -- .../AUTO_RSV_ELI-295-01.json | 22 - .../AUTO_RSV_ELI-295-02.json | 28 - .../AUTO_RSV_ELI-295-03.json | 23 - .../AUTO_RSV_ELI-295-04.json | 30 - .../AUTO_RSV_ELI-295-05.json | 36 -- .../AUTO_RSV_ELI-295-06.json | 30 - .../AUTO_RSV_ELI-295-07.json | 30 - .../AUTO_RSV_ELI-295-08.json | 36 -- .../AUTO_RSV_ELI-295-09.json | 30 - .../AUTO_RSV_ELI-295-10.json | 21 - .../AUTO_RSV_ELI-295-11.json | 27 - .../AUTO_RSV_ELI-295-12.json | 21 - .../AUTO_RSV_ELI-295-13.json | 37 -- .../AUTO_RSV_ELI-295-14.json | 43 -- .../AUTO_RSV_ELI-295-15.json | 37 -- .../AUTO_RSV_ELI-295-16.json | 30 - .../AUTO_RSV_ELI-295-17.json | 36 -- .../AUTO_RSV_ELI-317-1.json | 30 - .../AUTO_RSV_ELI-317-2.json | 30 - .../AUTO_RSV_ELI-317-3.json | 21 - .../AUTO_RSV_ELI-317-4.json | 22 - .../AUTO_RSV_ELI-317-5.json | 44 -- .../AUTO_RSV_ELI-320-1.json | 64 --- .../AUTO_RSV_ELI-320-10.json | 28 - .../AUTO_RSV_ELI-320-11.json | 7 - .../AUTO_RSV_ELI-320-2.json | 64 --- .../AUTO_RSV_ELI-320-3.json | 28 - .../AUTO_RSV_ELI-320-4.json | 22 - .../AUTO_RSV_ELI-320-5.json | 44 -- .../AUTO_RSV_ELI-320-6.json | 78 --- .../AUTO_RSV_ELI-320-7.json | 78 --- .../AUTO_RSV_ELI-320-8.json | 44 -- .../AUTO_RSV_ELI-320-9.json | 42 -- .../AUTO_RSV_ELI-365_001.json | 24 - .../AUTO_RSV_ELI-365_002.json | 35 -- .../AUTO_RSV_ELI-365_003.json | 30 - .../AUTO_RSV_ELI-365_004.json | 30 - .../AUTO_RSV_ELI-365_005.json | 30 - .../AUTO_RSV_ELI-365_006.json | 35 -- .../AUTO_RSV_ELI-365_007.json | 35 -- .../AUTO_RSV_ELI-365_008.json | 30 - .../AUTO_RSV_ELI-365_009.json | 35 -- .../AUTO_RSV_ELI-365_010.json | 35 -- .../AUTO_RSV_ELI-365_011.json | 35 -- .../AUTO_RSV_ELI-365_012.json | 35 -- .../AUTO_RSV_ELI-365_013.json | 30 - .../AUTO_RSV_ELI-365_014.json | 36 -- .../AUTO_RSV_ELI-365_015.json | 36 -- .../AUTO_RSV_ELI-365_016.json | 36 -- .../AUTO_RSV_ELI-365_017.json | 24 - .../AUTO_RSV_ELI-365_018.json | 24 - .../AUTO_RSV_ELI-365_019.json | 24 - .../AUTO_RSV_ELI-365_020.json | 44 -- .../AUTO_RSV_ELI-365_021.json | 44 -- .../AUTO_RSV_ELI-365_022.json | 37 -- .../AUTO_RSV_ELI-365_023.json | 42 -- .../AUTO_RSV_ELI-365_024.json | 44 -- .../AUTO_RSV_ELI-365_025.json | 44 -- .../AUTO_RSV_ELI-365_026.json | 37 -- .../AUTO_RSV_ELI-365_027.json | 37 -- .../AUTO_RSV_ELI-365_028.json | 37 -- .../AUTO_RSV_ELI-371_001.json | 28 - .../AUTO_RSV_ELI-371_002.json | 28 - .../AUTO_RSV_ELI-373_001.json | 37 -- .../AUTO_RSV_ELI-373_002.json | 37 -- .../AUTO_RSV_ELI-373_003.json | 35 -- .../AUTO_RSV_ELI-373_004.json | 36 -- .../AUTO_RSV_ELI-373_005.json | 36 -- .../AUTO_RSV_ELI-373_006.json | 35 -- .../AUTO_RSV_ELI-373_007.json | 42 -- .../AUTO_RSV_ELI-373_008.json | 51 -- .../AUTO_RSV_ELI-399_001.json | 7 - .../AUTO_RSV_ELI-399_002.json | 27 - .../AUTO_RSV_ELI-399_003.json | 27 - .../AUTO_RSV_ELI-399_004.json | 7 - .../AUTO_RSV_ELI-399_005.json | 7 - .../AUTO_RSV_ELI-399_006.json | 7 - .../AUTO_RSV_ELI-399_007.json | 22 - .../AUTO_RSV_ELI-405_001.json | 35 -- .../AUTO_RSV_ELI-405_002.json | 30 - .../AUTO_RSV_ELI-405_003.json | 30 - .../AUTO_RSV_ELI-405_004.json | 30 - .../AUTO_RSV_ELI-405_005.json | 46 -- .../AUTO_RSV_ELI-405_006.json | 30 - .../AUTO_RSV_ELI-406_001.json | 26 - .../AUTO_RSV_ELI-406_002.json | 26 - .../AUTO_RSV_ELI-406_003.json | 26 - .../AUTO_RSV_ELI-427_001.json | 30 - .../AUTO_RSV_ELI-427_002.json | 36 -- .../AUTO_RSV_ELI-427_003.json | 30 - .../AUTO_RSV_ELI-427_004.json | 30 - .../AUTO_RSV_ELI-427_005.json | 36 -- .../AUTO_RSV_ELI-427_006.json | 30 - .../AUTO_RSV_ELI-440_001.json | 35 -- .../AUTO_RSV_ELI-440_002.json | 35 -- .../AUTO_RSV_ELI-440_003.json | 46 -- .../AUTO_RSV_ELI-440_005.json | 30 - .../AUTO_RSV_ELI-440_006.json | 30 - .../AUTO_RSV_ELI-440_007.json | 35 -- .../AUTO_RSV_VITA_INT_001.json | 51 -- .../AUTO_RSV_VITA_INT_002.json | 30 - .../AUTO_RSV_VITA_INT_003.json | 30 - .../AUTO_RSV_VITA_INT_004.json | 24 - .../AUTO_RSV_VITA_INT_005.json | 24 - .../AUTO_RSV_VITA_INT_006.json | 30 - .../AUTO_RSV_VITA_INT_007.json | 28 - .../AUTO_RSV_VITA_INT_009.json | 28 - .../AUTO_RSV_VITA_INT_010.json | 28 - .../AUTO_RSV_VITA_INT_011.json | 36 -- .../AUTO_RSV_VITA_INT_012.json | 30 - .../AUTO_RSV_VITA_INT_013.json | 30 - .../AUTO_RSV_VITA_INT_014.json | 35 -- .../AUTO_RSV_VITA_INT_500.json | 23 - 451 files changed, 1 insertion(+), 26389 deletions(-) delete mode 100644 data/audit/AUTO_RSV_ELI-376-01.json delete mode 100644 data/audit/AUTO_RSV_ELI-376-02.json delete mode 100644 data/audit/AUTO_RSV_ELI-376-03.json delete mode 100644 data/audit/AUTO_RSV_ELI-376-04.json delete mode 100644 data/audit/AUTO_RSV_ELI-376-05.json delete mode 100644 data/audit/AUTO_RSV_ELI-376-10.json delete mode 100644 data/configs/inProgressTestConfigs/440/AUTO_RSV_ELI-440-04.json delete mode 100644 data/configs/regressionTestConfigs/AUTO_RSV_REG_001.json delete mode 100644 data/configs/smokeTestConfigs/.temp/AUTO_RSV_SB_001.json delete mode 100644 data/configs/smokeTestConfigs/.temp/AUTO_RSV_SB_008.json delete mode 100644 data/configs/smokeTestConfigs/AUTO_RSV_SB_001.json delete mode 100644 data/configs/smokeTestConfigs/AUTO_RSV_SB_008.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-155.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-216.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-219-1.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-219-2.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-219-3.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-220-01.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-220-02.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-220-03.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-220-04.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-220-05.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-220-06.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-221-01.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-221-02.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-221-03.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-222.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-01.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-02.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-03.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-04.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-05.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-06.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-07.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-08.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-09.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-10.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-11.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-12.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-236.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-274-01.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-274-05.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-274-06.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-274-07.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-295-1.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-295-2.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-295-3.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-295-4.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-317-1.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-317-2.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-317-3.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-317-4.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-317-5.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-320-COVID.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-320-MMR.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-320-RSV.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-320-SCREENING-1.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-320-SCREENING-2.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-365.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-365v0.5.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-371.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-373-01.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-373-02.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-399-01.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-399-02.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-399-03.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-399-04.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-399-05.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-399-06.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-399-07.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-405-01.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-405-02.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-405-03.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-405-04.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-405-05.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-405-06.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-406-01.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-427-01-3.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-427-04-6.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-440-01.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-440-02-3.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-440-05-6.json delete mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-440-07.json delete mode 100644 data/configs/vitaIntegrationTestConfigs/vita_integration_test_config.json delete mode 100644 data/dynamoDB/inProgressTestData/440/AUTO_RSV_ELI-440_004.json delete mode 100644 data/dynamoDB/integrationTestData/AUTO_RSV_INT_001.json delete mode 100644 data/dynamoDB/integrationTestData/AUTO_RSV_INT_002.json delete mode 100644 data/dynamoDB/integrationTestData/AUTO_RSV_INT_003.json delete mode 100644 data/dynamoDB/regressionTestData/AUTO_RSV_REG_001.json delete mode 100644 data/dynamoDB/regressionTestData/AUTO_RSV_REG_002.json delete mode 100644 data/dynamoDB/regressionTestData/AUTO_RSV_REG_003.json delete mode 100644 data/dynamoDB/regressionTestData/AUTO_RSV_REG_010-1.json delete mode 100644 data/dynamoDB/regressionTestData/AUTO_RSV_REG_010.json delete mode 100644 data/dynamoDB/regressionTestData/AUTO_RSV_REG_011.json delete mode 100644 data/dynamoDB/regressionTestData/AUTO_RSV_REG_012.json delete mode 100644 data/dynamoDB/regressionTestData/AUTO_RSV_REG_013.json delete mode 100644 data/dynamoDB/regressionTestData/AUTO_RSV_REG_050.json delete mode 100644 data/dynamoDB/smokeTestData/AUTO_RSV_SB_001.json delete mode 100644 data/dynamoDB/smokeTestData/AUTO_RSV_SB_002.json delete mode 100644 data/dynamoDB/smokeTestData/AUTO_RSV_SB_003.json delete mode 100644 data/dynamoDB/smokeTestData/AUTO_RSV_SB_004.json delete mode 100644 data/dynamoDB/smokeTestData/AUTO_RSV_SB_005.json delete mode 100644 data/dynamoDB/smokeTestData/AUTO_RSV_SB_006.json delete mode 100644 data/dynamoDB/smokeTestData/AUTO_RSV_SB_007.json delete mode 100644 data/dynamoDB/smokeTestData/AUTO_RSV_SB_008.json delete mode 100644 data/dynamoDB/smokeTestData/AUTO_RSV_SB_009.json delete mode 100644 data/dynamoDB/smokeTestData/AUTO_RSV_SB_010.json delete mode 100644 data/dynamoDB/smokeTestData/AUTO_RSV_SB_011.json delete mode 100644 data/dynamoDB/smokeTestData/AUTO_RSV_SB_012.json delete mode 100644 data/dynamoDB/smokeTestData/AUTO_RSV_SB_013.json delete mode 100644 data/dynamoDB/smokeTestData/AUTO_RSV_SB_014.json delete mode 100644 data/dynamoDB/storyTestData/.ignore_folder/AUTO_RSV_ELI-216-2.json delete mode 100644 data/dynamoDB/storyTestData/.ignore_folder/AUTO_RSV_ELI-216-3.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-155.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-216-1.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-219-1.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-219-2.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-219-3.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_001.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_002.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_003.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_004.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_005.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_006.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-221-01.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-221-02.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-221-03.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-1.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-2.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-3.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-4.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-5.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-6.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-7.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-8.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_001.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_002.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_003.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_004.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_005.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_006.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_007.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_008.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_009.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_010.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_011.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_012.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-236-01.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-236-02.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_001.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_002.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_003.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_004.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_005.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_006.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_007.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-01.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-02.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-03.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-04.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-05.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-06.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-07.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-08.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-09.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-10.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-11.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-12.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-13.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-14.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-15.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-16.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-17.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-1.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-2.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-3.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-4.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-5.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-1.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-10.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-11.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-2.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-3.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-4.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-5.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-6.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-7.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-8.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-9.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_001.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_002.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_003.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_004.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_005.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_006.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_007.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_008.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_009.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_010.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_011.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_012.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_013.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_014.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_015.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_016.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_017.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_018.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_019.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_020.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_021.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_022.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_023.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_024.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_025.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_026.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_027.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_028.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_001.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_002.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_001.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_002.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_003.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_004.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_005.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_006.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_007.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_008.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_001.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_002.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_003.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_004.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_005.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_006.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_007.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_001.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_002.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_003.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_004.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_005.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_006.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-406_001.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-406_002.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-406_003.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_001.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_002.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_003.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_004.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_005.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_006.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_001.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_002.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_003.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_005.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_006.json delete mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_007.json delete mode 100644 data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_001.json delete mode 100644 data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_002.json delete mode 100644 data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_003.json delete mode 100644 data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_004.json delete mode 100644 data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_005.json delete mode 100644 data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_006.json delete mode 100644 data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_007.json delete mode 100644 data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_009.json delete mode 100644 data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_010.json delete mode 100644 data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_011.json delete mode 100644 data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_012.json delete mode 100644 data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_013.json delete mode 100644 data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_014.json delete mode 100644 data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_500.json delete mode 100644 data/responses/inProgressTestResponses/440/AUTO_RSV_ELI-440_004.json delete mode 100644 data/responses/regressionTestResponses/AUTO_RSV_REG_001.json delete mode 100644 data/responses/regressionTestResponses/AUTO_RSV_REG_002.json delete mode 100644 data/responses/regressionTestResponses/AUTO_RSV_REG_003.json delete mode 100644 data/responses/regressionTestResponses/AUTO_RSV_REG_010-1.json delete mode 100644 data/responses/regressionTestResponses/AUTO_RSV_REG_010.json delete mode 100644 data/responses/regressionTestResponses/AUTO_RSV_REG_011.json delete mode 100644 data/responses/regressionTestResponses/AUTO_RSV_REG_012.json delete mode 100644 data/responses/regressionTestResponses/AUTO_RSV_REG_013.json delete mode 100644 data/responses/smokeTestResponses/AUTO_RSV_SB_001.json delete mode 100644 data/responses/smokeTestResponses/AUTO_RSV_SB_002.json delete mode 100644 data/responses/smokeTestResponses/AUTO_RSV_SB_003.json delete mode 100644 data/responses/smokeTestResponses/AUTO_RSV_SB_004.json delete mode 100644 data/responses/smokeTestResponses/AUTO_RSV_SB_005.json delete mode 100644 data/responses/smokeTestResponses/AUTO_RSV_SB_006.json delete mode 100644 data/responses/smokeTestResponses/AUTO_RSV_SB_007.json delete mode 100644 data/responses/smokeTestResponses/AUTO_RSV_SB_008.json delete mode 100644 data/responses/smokeTestResponses/AUTO_RSV_SB_009.json delete mode 100644 data/responses/smokeTestResponses/AUTO_RSV_SB_010.json delete mode 100644 data/responses/smokeTestResponses/AUTO_RSV_SB_011.json delete mode 100644 data/responses/smokeTestResponses/AUTO_RSV_SB_012.json delete mode 100644 data/responses/smokeTestResponses/AUTO_RSV_SB_013.json delete mode 100644 data/responses/smokeTestResponses/AUTO_RSV_SB_014.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-155.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-216-1.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-216-2.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-216-3.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-219-1.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-219-2.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-219-3.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-220_001.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-220_002.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-220_003.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-220_004.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-220_005.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-220_006.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-221-01.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-221-02.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-221-03.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-222-1.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-222-2.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-222-3.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-222-4.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-222-5.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-222-6.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-222-7.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-222-8.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_001.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_002.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_003.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_004.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_005.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_006.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_007.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_008.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_009.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_010.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_011.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_012.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-236-01.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-236-02.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-274_001.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-274_002.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-274_003.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-274_004.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-274_005.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-274_006.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-274_007.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-01.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-02.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-03.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-04.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-05.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-06.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-07.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-08.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-09.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-10.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-11.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-12.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-13.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-14.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-15.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-16.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-17.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-317-1.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-317-2.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-317-3.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-317-4.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-317-5.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-320-1.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-320-10.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-320-11.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-320-2.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-320-3.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-320-4.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-320-5.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-320-6.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-320-7.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-320-8.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-320-9.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_001.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_002.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_003.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_004.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_005.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_006.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_007.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_008.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_009.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_010.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_011.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_012.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_013.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_014.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_015.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_016.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_017.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_018.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_019.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_020.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_021.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_022.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_023.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_024.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_025.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_026.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_027.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_028.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-371_001.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-371_002.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-373_001.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-373_002.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-373_003.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-373_004.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-373_005.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-373_006.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-373_007.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-373_008.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-399_001.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-399_002.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-399_003.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-399_004.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-399_005.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-399_006.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-399_007.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-405_001.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-405_002.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-405_003.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-405_004.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-405_005.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-405_006.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-406_001.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-406_002.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-406_003.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-427_001.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-427_002.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-427_003.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-427_004.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-427_005.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-427_006.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-440_001.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-440_002.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-440_003.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-440_005.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-440_006.json delete mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-440_007.json delete mode 100644 data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_001.json delete mode 100644 data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_002.json delete mode 100644 data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_003.json delete mode 100644 data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_004.json delete mode 100644 data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_005.json delete mode 100644 data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_006.json delete mode 100644 data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_007.json delete mode 100644 data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_009.json delete mode 100644 data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_010.json delete mode 100644 data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_011.json delete mode 100644 data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_012.json delete mode 100644 data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_013.json delete mode 100644 data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_014.json delete mode 100644 data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_500.json diff --git a/Makefile b/Makefile index 65b2482e..d75faef7 100644 --- a/Makefile +++ b/Makefile @@ -77,4 +77,4 @@ pre-commit: poetry run pre-commit run --all-files run-tests: - poetry run pytest tests/test_story_tests.py + poetry run pytest tests/test_story_tests.py -vv diff --git a/data/audit/AUTO_RSV_ELI-376-01.json b/data/audit/AUTO_RSV_ELI-376-01.json deleted file mode 100644 index 37a1a881..00000000 --- a/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/data/audit/AUTO_RSV_ELI-376-02.json b/data/audit/AUTO_RSV_ELI-376-02.json deleted file mode 100644 index 955390d5..00000000 --- a/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/data/audit/AUTO_RSV_ELI-376-03.json b/data/audit/AUTO_RSV_ELI-376-03.json deleted file mode 100644 index 7c91d2f6..00000000 --- a/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/data/audit/AUTO_RSV_ELI-376-04.json b/data/audit/AUTO_RSV_ELI-376-04.json deleted file mode 100644 index 863f219e..00000000 --- a/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/data/audit/AUTO_RSV_ELI-376-05.json b/data/audit/AUTO_RSV_ELI-376-05.json deleted file mode 100644 index ec271967..00000000 --- a/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/data/audit/AUTO_RSV_ELI-376-10.json b/data/audit/AUTO_RSV_ELI-376-10.json deleted file mode 100644 index 21b363c5..00000000 --- a/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/data/configs/inProgressTestConfigs/440/AUTO_RSV_ELI-440-04.json b/data/configs/inProgressTestConfigs/440/AUTO_RSV_ELI-440-04.json deleted file mode 100644 index 06bbdea5..00000000 --- a/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/data/configs/regressionTestConfigs/AUTO_RSV_REG_001.json b/data/configs/regressionTestConfigs/AUTO_RSV_REG_001.json deleted file mode 100644 index e8bc72ff..00000000 --- a/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/data/configs/smokeTestConfigs/.temp/AUTO_RSV_SB_001.json b/data/configs/smokeTestConfigs/.temp/AUTO_RSV_SB_001.json deleted file mode 100644 index efae1b3e..00000000 --- a/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/data/configs/smokeTestConfigs/.temp/AUTO_RSV_SB_008.json b/data/configs/smokeTestConfigs/.temp/AUTO_RSV_SB_008.json deleted file mode 100644 index 7a896ab0..00000000 --- a/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/data/configs/smokeTestConfigs/AUTO_RSV_SB_001.json b/data/configs/smokeTestConfigs/AUTO_RSV_SB_001.json deleted file mode 100644 index 99db5bd9..00000000 --- a/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/data/configs/smokeTestConfigs/AUTO_RSV_SB_008.json b/data/configs/smokeTestConfigs/AUTO_RSV_SB_008.json deleted file mode 100644 index 73e672d1..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-155.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-155.json deleted file mode 100644 index 83223a5e..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-216.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-216.json deleted file mode 100644 index 0fb07fd7..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-219-1.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-219-1.json deleted file mode 100644 index c487c6a4..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-219-2.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-219-2.json deleted file mode 100644 index a693246e..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-219-3.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-219-3.json deleted file mode 100644 index 1700f134..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-01.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-01.json deleted file mode 100644 index f2d7de1d..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-02.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-02.json deleted file mode 100644 index 2f404967..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-03.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-03.json deleted file mode 100644 index 23ce6e5f..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-04.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-04.json deleted file mode 100644 index b2043bd7..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-05.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-05.json deleted file mode 100644 index b49084fa..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-06.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-06.json deleted file mode 100644 index 71a6495c..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-221-01.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-221-01.json deleted file mode 100644 index 2dc45815..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-221-02.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-221-02.json deleted file mode 100644 index ff612086..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-221-03.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-221-03.json deleted file mode 100644 index a4a6b764..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-222.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-222.json deleted file mode 100644 index e1cee202..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-01.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-01.json deleted file mode 100644 index f6b25d52..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-02.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-02.json deleted file mode 100644 index 14d81b3f..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-03.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-03.json deleted file mode 100644 index 0a6c4a3e..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-04.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-04.json deleted file mode 100644 index ca197f9a..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-05.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-05.json deleted file mode 100644 index 7ed59ffe..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-06.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-06.json deleted file mode 100644 index 53a96572..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-07.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-07.json deleted file mode 100644 index 3c461ea3..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-08.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-08.json deleted file mode 100644 index 1ec4154b..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-09.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-09.json deleted file mode 100644 index 1a0de384..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-10.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-10.json deleted file mode 100644 index 0102b2f2..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-11.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-11.json deleted file mode 100644 index 2af5d692..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-12.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-12.json deleted file mode 100644 index 9d05cc77..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-236.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-236.json deleted file mode 100644 index c1c28aff..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-274-01.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-274-01.json deleted file mode 100644 index 2334d361..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-274-05.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-274-05.json deleted file mode 100644 index e7346fc5..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-274-06.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-274-06.json deleted file mode 100644 index 43b68618..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-274-07.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-274-07.json deleted file mode 100644 index 9332b871..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-295-1.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-295-1.json deleted file mode 100644 index 6b386935..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-295-2.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-295-2.json deleted file mode 100644 index dfea9b20..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-295-3.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-295-3.json deleted file mode 100644 index 0517bf37..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-295-4.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-295-4.json deleted file mode 100644 index 598c6ecb..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-1.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-1.json deleted file mode 100644 index 68bbfdb7..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-2.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-2.json deleted file mode 100644 index b3e4374f..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-3.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-3.json deleted file mode 100644 index a50ee43e..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-4.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-4.json deleted file mode 100644 index c7626824..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-5.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-5.json deleted file mode 100644 index 8f342355..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-COVID.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-COVID.json deleted file mode 100644 index b31ff788..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-MMR.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-MMR.json deleted file mode 100644 index 27b8282f..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-RSV.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-RSV.json deleted file mode 100644 index 5576a951..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-SCREENING-1.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-SCREENING-1.json deleted file mode 100644 index 2ee8ba91..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-SCREENING-2.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-SCREENING-2.json deleted file mode 100644 index 8502bedc..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-365.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-365.json deleted file mode 100644 index 70066de8..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-365v0.5.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-365v0.5.json deleted file mode 100644 index e0deed58..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-371.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-371.json deleted file mode 100644 index fb60fdf4..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-373-01.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-373-01.json deleted file mode 100644 index a0d7e883..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-373-02.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-373-02.json deleted file mode 100644 index 4c546d25..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-01.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-01.json deleted file mode 100644 index b1672400..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-02.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-02.json deleted file mode 100644 index 32761d36..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-03.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-03.json deleted file mode 100644 index c6e5c25c..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-04.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-04.json deleted file mode 100644 index 301a5727..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-05.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-05.json deleted file mode 100644 index f17eb205..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-06.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-06.json deleted file mode 100644 index 5c57bb55..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-07.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-07.json deleted file mode 100644 index 4e901dce..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-01.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-01.json deleted file mode 100644 index d3d58aa6..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-02.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-02.json deleted file mode 100644 index 54bb9530..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-03.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-03.json deleted file mode 100644 index 05f9a70e..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-04.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-04.json deleted file mode 100644 index a3758999..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-05.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-05.json deleted file mode 100644 index 43285c8d..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-06.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-06.json deleted file mode 100644 index 8476e234..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-406-01.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-406-01.json deleted file mode 100644 index c189d535..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-427-01-3.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-427-01-3.json deleted file mode 100644 index 6c85268b..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-427-04-6.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-427-04-6.json deleted file mode 100644 index e3fe6b44..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-01.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-01.json deleted file mode 100644 index 1870bb32..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-02-3.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-02-3.json deleted file mode 100644 index 5128692e..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-05-6.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-05-6.json deleted file mode 100644 index 6e53312b..00000000 --- a/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/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-07.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-07.json deleted file mode 100644 index ec55b314..00000000 --- a/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/data/configs/vitaIntegrationTestConfigs/vita_integration_test_config.json b/data/configs/vitaIntegrationTestConfigs/vita_integration_test_config.json deleted file mode 100644 index 726a3a62..00000000 --- a/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/data/dynamoDB/inProgressTestData/440/AUTO_RSV_ELI-440_004.json b/data/dynamoDB/inProgressTestData/440/AUTO_RSV_ELI-440_004.json deleted file mode 100644 index 4bac7dd0..00000000 --- a/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/data/dynamoDB/integrationTestData/AUTO_RSV_INT_001.json b/data/dynamoDB/integrationTestData/AUTO_RSV_INT_001.json deleted file mode 100644 index 45f2c669..00000000 --- a/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/data/dynamoDB/integrationTestData/AUTO_RSV_INT_002.json b/data/dynamoDB/integrationTestData/AUTO_RSV_INT_002.json deleted file mode 100644 index fa1bee06..00000000 --- a/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/data/dynamoDB/integrationTestData/AUTO_RSV_INT_003.json b/data/dynamoDB/integrationTestData/AUTO_RSV_INT_003.json deleted file mode 100644 index ed8db868..00000000 --- a/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/data/dynamoDB/regressionTestData/AUTO_RSV_REG_001.json b/data/dynamoDB/regressionTestData/AUTO_RSV_REG_001.json deleted file mode 100644 index dc4879b1..00000000 --- a/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/data/dynamoDB/regressionTestData/AUTO_RSV_REG_002.json b/data/dynamoDB/regressionTestData/AUTO_RSV_REG_002.json deleted file mode 100644 index 8a649222..00000000 --- a/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/data/dynamoDB/regressionTestData/AUTO_RSV_REG_003.json b/data/dynamoDB/regressionTestData/AUTO_RSV_REG_003.json deleted file mode 100644 index 36010707..00000000 --- a/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/data/dynamoDB/regressionTestData/AUTO_RSV_REG_010-1.json b/data/dynamoDB/regressionTestData/AUTO_RSV_REG_010-1.json deleted file mode 100644 index 542c97df..00000000 --- a/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/data/dynamoDB/regressionTestData/AUTO_RSV_REG_010.json b/data/dynamoDB/regressionTestData/AUTO_RSV_REG_010.json deleted file mode 100644 index ecf3c2fc..00000000 --- a/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/data/dynamoDB/regressionTestData/AUTO_RSV_REG_011.json b/data/dynamoDB/regressionTestData/AUTO_RSV_REG_011.json deleted file mode 100644 index 196f37f9..00000000 --- a/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/data/dynamoDB/regressionTestData/AUTO_RSV_REG_012.json b/data/dynamoDB/regressionTestData/AUTO_RSV_REG_012.json deleted file mode 100644 index 8fdd7062..00000000 --- a/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/data/dynamoDB/regressionTestData/AUTO_RSV_REG_013.json b/data/dynamoDB/regressionTestData/AUTO_RSV_REG_013.json deleted file mode 100644 index e0abd3e5..00000000 --- a/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/data/dynamoDB/regressionTestData/AUTO_RSV_REG_050.json b/data/dynamoDB/regressionTestData/AUTO_RSV_REG_050.json deleted file mode 100644 index 940fd5c7..00000000 --- a/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/data/dynamoDB/smokeTestData/AUTO_RSV_SB_001.json b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_001.json deleted file mode 100644 index 48e951bb..00000000 --- a/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/data/dynamoDB/smokeTestData/AUTO_RSV_SB_002.json b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_002.json deleted file mode 100644 index aab28ffe..00000000 --- a/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/data/dynamoDB/smokeTestData/AUTO_RSV_SB_003.json b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_003.json deleted file mode 100644 index 2ad4133a..00000000 --- a/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/data/dynamoDB/smokeTestData/AUTO_RSV_SB_004.json b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_004.json deleted file mode 100644 index bff06eff..00000000 --- a/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/data/dynamoDB/smokeTestData/AUTO_RSV_SB_005.json b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_005.json deleted file mode 100644 index fab88f8b..00000000 --- a/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/data/dynamoDB/smokeTestData/AUTO_RSV_SB_006.json b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_006.json deleted file mode 100644 index 7f507175..00000000 --- a/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/data/dynamoDB/smokeTestData/AUTO_RSV_SB_007.json b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_007.json deleted file mode 100644 index 20516426..00000000 --- a/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/data/dynamoDB/smokeTestData/AUTO_RSV_SB_008.json b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_008.json deleted file mode 100644 index cc1f9289..00000000 --- a/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/data/dynamoDB/smokeTestData/AUTO_RSV_SB_009.json b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_009.json deleted file mode 100644 index 288e7654..00000000 --- a/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/data/dynamoDB/smokeTestData/AUTO_RSV_SB_010.json b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_010.json deleted file mode 100644 index aee9d565..00000000 --- a/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/data/dynamoDB/smokeTestData/AUTO_RSV_SB_011.json b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_011.json deleted file mode 100644 index e19d0428..00000000 --- a/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/data/dynamoDB/smokeTestData/AUTO_RSV_SB_012.json b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_012.json deleted file mode 100644 index 533899df..00000000 --- a/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/data/dynamoDB/smokeTestData/AUTO_RSV_SB_013.json b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_013.json deleted file mode 100644 index c32b4734..00000000 --- a/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/data/dynamoDB/smokeTestData/AUTO_RSV_SB_014.json b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_014.json deleted file mode 100644 index 5e9d8f40..00000000 --- a/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/data/dynamoDB/storyTestData/.ignore_folder/AUTO_RSV_ELI-216-2.json b/data/dynamoDB/storyTestData/.ignore_folder/AUTO_RSV_ELI-216-2.json deleted file mode 100644 index ce3de9e8..00000000 --- a/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/data/dynamoDB/storyTestData/.ignore_folder/AUTO_RSV_ELI-216-3.json b/data/dynamoDB/storyTestData/.ignore_folder/AUTO_RSV_ELI-216-3.json deleted file mode 100644 index 15e70cdc..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-155.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-155.json deleted file mode 100644 index 5ee21f2e..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-216-1.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-216-1.json deleted file mode 100644 index bb6f9033..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-219-1.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-219-1.json deleted file mode 100644 index e2123faa..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-219-2.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-219-2.json deleted file mode 100644 index d7fb2613..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-219-3.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-219-3.json deleted file mode 100644 index ab309433..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_001.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_001.json deleted file mode 100644 index 0bd1dab9..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_002.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_002.json deleted file mode 100644 index e648620f..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_003.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_003.json deleted file mode 100644 index c4f0b32c..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_004.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_004.json deleted file mode 100644 index fec870ce..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_005.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_005.json deleted file mode 100644 index d76c9866..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_006.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_006.json deleted file mode 100644 index 473a8219..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-221-01.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-221-01.json deleted file mode 100644 index 711c81c3..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-221-02.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-221-02.json deleted file mode 100644 index 390ed462..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-221-03.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-221-03.json deleted file mode 100644 index 89b1eb68..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-1.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-1.json deleted file mode 100644 index 849c4cc9..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-2.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-2.json deleted file mode 100644 index 41c86b84..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-3.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-3.json deleted file mode 100644 index 0a64750b..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-4.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-4.json deleted file mode 100644 index d2c506c1..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-5.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-5.json deleted file mode 100644 index 709043a3..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-6.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-6.json deleted file mode 100644 index c3f8b635..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-7.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-7.json deleted file mode 100644 index 507ab6c3..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-8.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-8.json deleted file mode 100644 index 0dbd77f5..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_001.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_001.json deleted file mode 100644 index dfc5c7eb..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_002.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_002.json deleted file mode 100644 index 860e59e7..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_003.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_003.json deleted file mode 100644 index 16578139..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_004.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_004.json deleted file mode 100644 index 70c10802..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_005.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_005.json deleted file mode 100644 index b84fc95b..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_006.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_006.json deleted file mode 100644 index 6d4bf1cf..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_007.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_007.json deleted file mode 100644 index fa769955..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_008.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_008.json deleted file mode 100644 index 05e85bea..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_009.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_009.json deleted file mode 100644 index 786b1149..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_010.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_010.json deleted file mode 100644 index b7f04bd1..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_011.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_011.json deleted file mode 100644 index f201463e..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_012.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_012.json deleted file mode 100644 index 59843267..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-236-01.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-236-01.json deleted file mode 100644 index 734a9ae5..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-236-02.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-236-02.json deleted file mode 100644 index a9180cde..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_001.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_001.json deleted file mode 100644 index e27daa61..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_002.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_002.json deleted file mode 100644 index aadf9602..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_003.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_003.json deleted file mode 100644 index 1c418430..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_004.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_004.json deleted file mode 100644 index 472e91fc..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_005.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_005.json deleted file mode 100644 index b07b7a3a..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_006.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_006.json deleted file mode 100644 index 92f7668e..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_007.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_007.json deleted file mode 100644 index 615a82e6..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-01.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-01.json deleted file mode 100644 index 30d6495e..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-02.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-02.json deleted file mode 100644 index 0fd8fb4b..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-03.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-03.json deleted file mode 100644 index 418e0d19..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-04.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-04.json deleted file mode 100644 index a049d6a1..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-05.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-05.json deleted file mode 100644 index 0de52991..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-06.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-06.json deleted file mode 100644 index 7c91ff9e..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-07.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-07.json deleted file mode 100644 index 14fdd0b2..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-08.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-08.json deleted file mode 100644 index cf57ec14..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-09.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-09.json deleted file mode 100644 index 06bb1f9e..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-10.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-10.json deleted file mode 100644 index 1228230a..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-11.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-11.json deleted file mode 100644 index 8ef6cdfc..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-12.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-12.json deleted file mode 100644 index 0672281d..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-13.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-13.json deleted file mode 100644 index ff2d8fde..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-14.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-14.json deleted file mode 100644 index 524d8ea1..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-15.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-15.json deleted file mode 100644 index a5119e63..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-16.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-16.json deleted file mode 100644 index b308eed7..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-17.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-17.json deleted file mode 100644 index b08c5a22..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-1.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-1.json deleted file mode 100644 index 0c33dfd7..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-2.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-2.json deleted file mode 100644 index 29934074..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-3.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-3.json deleted file mode 100644 index e9ce9df2..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-4.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-4.json deleted file mode 100644 index ce14e995..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-5.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-5.json deleted file mode 100644 index 28f0efa7..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-1.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-1.json deleted file mode 100644 index 40fef601..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-10.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-10.json deleted file mode 100644 index 458d220f..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-11.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-11.json deleted file mode 100644 index 770ba183..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-2.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-2.json deleted file mode 100644 index a852a6fb..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-3.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-3.json deleted file mode 100644 index beb538c3..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-4.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-4.json deleted file mode 100644 index 26dcebca..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-5.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-5.json deleted file mode 100644 index 55e37ebe..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-6.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-6.json deleted file mode 100644 index dfeba54b..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-7.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-7.json deleted file mode 100644 index 4c4b88da..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-8.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-8.json deleted file mode 100644 index ed17315b..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-9.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-9.json deleted file mode 100644 index 64be5dfd..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_001.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_001.json deleted file mode 100644 index 0b08b65d..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_002.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_002.json deleted file mode 100644 index 0fff2749..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_003.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_003.json deleted file mode 100644 index 51b29ed9..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_004.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_004.json deleted file mode 100644 index 999c96ca..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_005.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_005.json deleted file mode 100644 index 57b9d2ed..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_006.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_006.json deleted file mode 100644 index f4a3c24a..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_007.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_007.json deleted file mode 100644 index 62812795..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_008.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_008.json deleted file mode 100644 index 669b8b55..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_009.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_009.json deleted file mode 100644 index 2201d5b3..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_010.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_010.json deleted file mode 100644 index 96f1a407..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_011.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_011.json deleted file mode 100644 index fe6b07b5..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_012.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_012.json deleted file mode 100644 index a37e23ee..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_013.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_013.json deleted file mode 100644 index ca0510b1..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_014.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_014.json deleted file mode 100644 index ca394208..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_015.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_015.json deleted file mode 100644 index 405635d1..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_016.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_016.json deleted file mode 100644 index 0a84624d..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_017.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_017.json deleted file mode 100644 index 901917b1..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_018.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_018.json deleted file mode 100644 index dc5de388..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_019.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_019.json deleted file mode 100644 index 6f38bac4..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_020.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_020.json deleted file mode 100644 index 6b8c8142..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_021.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_021.json deleted file mode 100644 index 33696fc6..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_022.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_022.json deleted file mode 100644 index a4286be8..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_023.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_023.json deleted file mode 100644 index a8d19465..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_024.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_024.json deleted file mode 100644 index 13b4135b..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_025.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_025.json deleted file mode 100644 index 80a5ec4e..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_026.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_026.json deleted file mode 100644 index 89219676..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_027.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_027.json deleted file mode 100644 index 0c90eab6..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_028.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_028.json deleted file mode 100644 index 083693b2..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_001.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_001.json deleted file mode 100644 index ad25ea5b..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_002.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_002.json deleted file mode 100644 index 29b5a7e9..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_001.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_001.json deleted file mode 100644 index a591223c..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_002.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_002.json deleted file mode 100644 index 4a16cd1e..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_003.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_003.json deleted file mode 100644 index ff099b84..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_004.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_004.json deleted file mode 100644 index 480b4d2a..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_005.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_005.json deleted file mode 100644 index 39c5b2be..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_006.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_006.json deleted file mode 100644 index c2fc463d..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_007.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_007.json deleted file mode 100644 index 713d3525..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_008.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_008.json deleted file mode 100644 index 9271ad75..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_001.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_001.json deleted file mode 100644 index bb63f3ec..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_002.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_002.json deleted file mode 100644 index 42beeecf..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_003.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_003.json deleted file mode 100644 index 86a3f553..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_004.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_004.json deleted file mode 100644 index 7051a701..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_005.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_005.json deleted file mode 100644 index 3e343141..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_006.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_006.json deleted file mode 100644 index 1443aedd..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_007.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_007.json deleted file mode 100644 index 5e9c9c4f..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_001.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_001.json deleted file mode 100644 index 7489221f..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_002.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_002.json deleted file mode 100644 index 92cdd34d..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_003.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_003.json deleted file mode 100644 index 8bd5d5b3..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_004.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_004.json deleted file mode 100644 index 022742c0..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_005.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_005.json deleted file mode 100644 index fd7b6ea4..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_006.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_006.json deleted file mode 100644 index 72c71f73..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-406_001.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-406_001.json deleted file mode 100644 index 9fb6c6e6..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-406_002.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-406_002.json deleted file mode 100644 index 16e3ef45..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-406_003.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-406_003.json deleted file mode 100644 index 49f89d48..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_001.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_001.json deleted file mode 100644 index 3d441c38..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_002.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_002.json deleted file mode 100644 index dd0b4807..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_003.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_003.json deleted file mode 100644 index 37712876..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_004.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_004.json deleted file mode 100644 index 2443dc2b..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_005.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_005.json deleted file mode 100644 index e4361a22..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_006.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_006.json deleted file mode 100644 index d6cfd082..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_001.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_001.json deleted file mode 100644 index e27c2941..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_002.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_002.json deleted file mode 100644 index 9ac42778..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_003.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_003.json deleted file mode 100644 index bd879f62..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_005.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_005.json deleted file mode 100644 index c720fed1..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_006.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_006.json deleted file mode 100644 index 6718c070..00000000 --- a/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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_007.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_007.json deleted file mode 100644 index 59c0e5f5..00000000 --- a/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/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_001.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_001.json deleted file mode 100644 index c744f8e5..00000000 --- a/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/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_002.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_002.json deleted file mode 100644 index e5e1d6bd..00000000 --- a/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/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_003.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_003.json deleted file mode 100644 index 5fda873d..00000000 --- a/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/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_004.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_004.json deleted file mode 100644 index 01c541a9..00000000 --- a/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/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_005.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_005.json deleted file mode 100644 index f21e7710..00000000 --- a/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/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_006.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_006.json deleted file mode 100644 index 792e7842..00000000 --- a/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/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_007.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_007.json deleted file mode 100644 index 6ed305d6..00000000 --- a/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/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_009.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_009.json deleted file mode 100644 index aa31df59..00000000 --- a/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/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_010.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_010.json deleted file mode 100644 index 0234ed45..00000000 --- a/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/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_011.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_011.json deleted file mode 100644 index 98c575b6..00000000 --- a/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/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_012.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_012.json deleted file mode 100644 index fc806c47..00000000 --- a/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/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_013.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_013.json deleted file mode 100644 index a3dff10d..00000000 --- a/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/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_014.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_014.json deleted file mode 100644 index e11d722f..00000000 --- a/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/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_500.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_500.json deleted file mode 100644 index 68c385ce..00000000 --- a/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/data/responses/inProgressTestResponses/440/AUTO_RSV_ELI-440_004.json b/data/responses/inProgressTestResponses/440/AUTO_RSV_ELI-440_004.json deleted file mode 100644 index 604e7f14..00000000 --- a/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/data/responses/regressionTestResponses/AUTO_RSV_REG_001.json b/data/responses/regressionTestResponses/AUTO_RSV_REG_001.json deleted file mode 100644 index e3a66ecd..00000000 --- a/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/data/responses/regressionTestResponses/AUTO_RSV_REG_002.json b/data/responses/regressionTestResponses/AUTO_RSV_REG_002.json deleted file mode 100644 index 331ba4e3..00000000 --- a/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/data/responses/regressionTestResponses/AUTO_RSV_REG_003.json b/data/responses/regressionTestResponses/AUTO_RSV_REG_003.json deleted file mode 100644 index e1b80269..00000000 --- a/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/data/responses/regressionTestResponses/AUTO_RSV_REG_010-1.json b/data/responses/regressionTestResponses/AUTO_RSV_REG_010-1.json deleted file mode 100644 index 0fdf41d8..00000000 --- a/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/data/responses/regressionTestResponses/AUTO_RSV_REG_010.json b/data/responses/regressionTestResponses/AUTO_RSV_REG_010.json deleted file mode 100644 index 0fdf41d8..00000000 --- a/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/data/responses/regressionTestResponses/AUTO_RSV_REG_011.json b/data/responses/regressionTestResponses/AUTO_RSV_REG_011.json deleted file mode 100644 index 0fdf41d8..00000000 --- a/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/data/responses/regressionTestResponses/AUTO_RSV_REG_012.json b/data/responses/regressionTestResponses/AUTO_RSV_REG_012.json deleted file mode 100644 index 0fdf41d8..00000000 --- a/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/data/responses/regressionTestResponses/AUTO_RSV_REG_013.json b/data/responses/regressionTestResponses/AUTO_RSV_REG_013.json deleted file mode 100644 index 0f2cac11..00000000 --- a/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/data/responses/smokeTestResponses/AUTO_RSV_SB_001.json b/data/responses/smokeTestResponses/AUTO_RSV_SB_001.json deleted file mode 100644 index 4a6253f1..00000000 --- a/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/data/responses/smokeTestResponses/AUTO_RSV_SB_002.json b/data/responses/smokeTestResponses/AUTO_RSV_SB_002.json deleted file mode 100644 index 53b88e29..00000000 --- a/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/data/responses/smokeTestResponses/AUTO_RSV_SB_003.json b/data/responses/smokeTestResponses/AUTO_RSV_SB_003.json deleted file mode 100644 index c02961ad..00000000 --- a/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/data/responses/smokeTestResponses/AUTO_RSV_SB_004.json b/data/responses/smokeTestResponses/AUTO_RSV_SB_004.json deleted file mode 100644 index 9f1a7ba6..00000000 --- a/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/data/responses/smokeTestResponses/AUTO_RSV_SB_005.json b/data/responses/smokeTestResponses/AUTO_RSV_SB_005.json deleted file mode 100644 index 7522fb0f..00000000 --- a/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/data/responses/smokeTestResponses/AUTO_RSV_SB_006.json b/data/responses/smokeTestResponses/AUTO_RSV_SB_006.json deleted file mode 100644 index b52ea12f..00000000 --- a/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/data/responses/smokeTestResponses/AUTO_RSV_SB_007.json b/data/responses/smokeTestResponses/AUTO_RSV_SB_007.json deleted file mode 100644 index df94725a..00000000 --- a/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/data/responses/smokeTestResponses/AUTO_RSV_SB_008.json b/data/responses/smokeTestResponses/AUTO_RSV_SB_008.json deleted file mode 100644 index 01fef4fb..00000000 --- a/data/responses/smokeTestResponses/AUTO_RSV_SB_008.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "responseId": "<>", - "meta": { - "lastUpdated": "<>" - }, - "processedSuggestions": [] -} diff --git a/data/responses/smokeTestResponses/AUTO_RSV_SB_009.json b/data/responses/smokeTestResponses/AUTO_RSV_SB_009.json deleted file mode 100644 index f3821a05..00000000 --- a/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/data/responses/smokeTestResponses/AUTO_RSV_SB_010.json b/data/responses/smokeTestResponses/AUTO_RSV_SB_010.json deleted file mode 100644 index 8993f41d..00000000 --- a/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/data/responses/smokeTestResponses/AUTO_RSV_SB_011.json b/data/responses/smokeTestResponses/AUTO_RSV_SB_011.json deleted file mode 100644 index 509cd71b..00000000 --- a/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/data/responses/smokeTestResponses/AUTO_RSV_SB_012.json b/data/responses/smokeTestResponses/AUTO_RSV_SB_012.json deleted file mode 100644 index 4996198d..00000000 --- a/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/data/responses/smokeTestResponses/AUTO_RSV_SB_013.json b/data/responses/smokeTestResponses/AUTO_RSV_SB_013.json deleted file mode 100644 index 3413b999..00000000 --- a/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/data/responses/smokeTestResponses/AUTO_RSV_SB_014.json b/data/responses/smokeTestResponses/AUTO_RSV_SB_014.json deleted file mode 100644 index 29ba244d..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-155.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-155.json deleted file mode 100644 index 6cb46fb6..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-216-1.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-216-1.json deleted file mode 100644 index b1c43974..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-216-2.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-216-2.json deleted file mode 100644 index 4f333988..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-216-3.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-216-3.json deleted file mode 100644 index d959499f..00000000 --- a/data/responses/storyTestResponses/AUTO_RSV_ELI-216-3.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "response_items": "NHS number mismatch" -} diff --git a/data/responses/storyTestResponses/AUTO_RSV_ELI-219-1.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-219-1.json deleted file mode 100644 index 754b65de..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-219-2.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-219-2.json deleted file mode 100644 index 8d29be96..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-219-3.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-219-3.json deleted file mode 100644 index 5657c994..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-220_001.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-220_001.json deleted file mode 100644 index 230b4da3..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-220_002.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-220_002.json deleted file mode 100644 index 944211f0..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-220_003.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-220_003.json deleted file mode 100644 index cf4a88e4..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-220_004.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-220_004.json deleted file mode 100644 index a19d2377..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-220_005.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-220_005.json deleted file mode 100644 index 9e0d07f0..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-220_006.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-220_006.json deleted file mode 100644 index 8fb9c4a8..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-221-01.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-221-01.json deleted file mode 100644 index 3dc537ca..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-221-02.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-221-02.json deleted file mode 100644 index 4f323487..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-221-03.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-221-03.json deleted file mode 100644 index 4f323487..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-222-1.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-222-1.json deleted file mode 100644 index 9b538750..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-222-2.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-222-2.json deleted file mode 100644 index afcbcfb4..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-222-3.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-222-3.json deleted file mode 100644 index 398df9ee..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-222-4.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-222-4.json deleted file mode 100644 index 398df9ee..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-222-5.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-222-5.json deleted file mode 100644 index 398df9ee..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-222-6.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-222-6.json deleted file mode 100644 index afcbcfb4..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-222-7.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-222-7.json deleted file mode 100644 index 99d6cd6a..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-222-8.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-222-8.json deleted file mode 100644 index 663d20f0..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_001.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_001.json deleted file mode 100644 index 909db2b3..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_002.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_002.json deleted file mode 100644 index 73254727..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_003.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_003.json deleted file mode 100644 index b985424e..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_004.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_004.json deleted file mode 100644 index e415b077..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_005.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_005.json deleted file mode 100644 index b985424e..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_006.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_006.json deleted file mode 100644 index df6c8e5a..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_007.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_007.json deleted file mode 100644 index cbf5094a..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_008.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_008.json deleted file mode 100644 index 893b1eff..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_009.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_009.json deleted file mode 100644 index fa17173e..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_010.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_010.json deleted file mode 100644 index b985424e..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_011.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_011.json deleted file mode 100644 index 2dc74b4a..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_012.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_012.json deleted file mode 100644 index b985424e..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-236-01.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-236-01.json deleted file mode 100644 index aa9cc296..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-236-02.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-236-02.json deleted file mode 100644 index aa9cc296..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-274_001.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-274_001.json deleted file mode 100644 index b04d907a..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-274_002.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-274_002.json deleted file mode 100644 index b04d907a..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-274_003.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-274_003.json deleted file mode 100644 index 134a01f3..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-274_004.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-274_004.json deleted file mode 100644 index b2b2e610..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-274_005.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-274_005.json deleted file mode 100644 index 6a4226a7..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-274_006.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-274_006.json deleted file mode 100644 index bc6611d6..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-274_007.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-274_007.json deleted file mode 100644 index 2fcb5243..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-01.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-01.json deleted file mode 100644 index b0fa0933..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-02.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-02.json deleted file mode 100644 index 6ef823be..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-03.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-03.json deleted file mode 100644 index 0d4be9f7..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-04.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-04.json deleted file mode 100644 index 24103b43..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-05.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-05.json deleted file mode 100644 index 02a3d5f8..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-06.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-06.json deleted file mode 100644 index 2dcd834e..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-07.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-07.json deleted file mode 100644 index 3eeb4318..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-08.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-08.json deleted file mode 100644 index 7fee1544..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-09.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-09.json deleted file mode 100644 index 3e391df5..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-10.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-10.json deleted file mode 100644 index 68f3ce5c..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-11.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-11.json deleted file mode 100644 index 810c543d..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-12.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-12.json deleted file mode 100644 index a4f3e6b9..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-13.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-13.json deleted file mode 100644 index 2b95f247..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-14.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-14.json deleted file mode 100644 index a215f55e..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-15.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-15.json deleted file mode 100644 index a436c06b..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-16.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-16.json deleted file mode 100644 index 1841f2b4..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-17.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-17.json deleted file mode 100644 index 2be0d209..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-317-1.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-317-1.json deleted file mode 100644 index 2d56cbf0..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-317-2.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-317-2.json deleted file mode 100644 index d832085a..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-317-3.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-317-3.json deleted file mode 100644 index ebca2e68..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-317-4.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-317-4.json deleted file mode 100644 index d053d6e8..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-317-5.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-317-5.json deleted file mode 100644 index c9e5aa9b..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-320-1.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-320-1.json deleted file mode 100644 index 306ee5b6..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-320-10.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-320-10.json deleted file mode 100644 index 8b30871c..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-320-11.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-320-11.json deleted file mode 100644 index 9f936928..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-320-2.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-320-2.json deleted file mode 100644 index 306ee5b6..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-320-3.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-320-3.json deleted file mode 100644 index 658cd5c0..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-320-4.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-320-4.json deleted file mode 100644 index ec373e2a..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-320-5.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-320-5.json deleted file mode 100644 index 7fb1ab89..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-320-6.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-320-6.json deleted file mode 100644 index a3dc37c1..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-320-7.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-320-7.json deleted file mode 100644 index c5731255..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-320-8.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-320-8.json deleted file mode 100644 index bff98f1d..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-320-9.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-320-9.json deleted file mode 100644 index 45c8d120..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_001.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_001.json deleted file mode 100644 index d1c5e956..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_002.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_002.json deleted file mode 100644 index 52fd438d..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_003.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_003.json deleted file mode 100644 index f00ac3dc..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_004.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_004.json deleted file mode 100644 index 78d7940b..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_005.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_005.json deleted file mode 100644 index 601e189e..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_006.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_006.json deleted file mode 100644 index 8e1e3f5a..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_007.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_007.json deleted file mode 100644 index 17443852..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_008.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_008.json deleted file mode 100644 index 8b7d4b58..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_009.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_009.json deleted file mode 100644 index 204fb5de..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_010.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_010.json deleted file mode 100644 index 204fb5de..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_011.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_011.json deleted file mode 100644 index 204fb5de..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_012.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_012.json deleted file mode 100644 index 204fb5de..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_013.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_013.json deleted file mode 100644 index faff8863..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_014.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_014.json deleted file mode 100644 index c77bdbc6..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_015.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_015.json deleted file mode 100644 index b3020f0e..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_016.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_016.json deleted file mode 100644 index b6aef56b..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_017.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_017.json deleted file mode 100644 index c7508e1f..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_018.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_018.json deleted file mode 100644 index 710812e5..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_019.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_019.json deleted file mode 100644 index 710812e5..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_020.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_020.json deleted file mode 100644 index 6d3ea76b..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_021.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_021.json deleted file mode 100644 index 6d3ea76b..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_022.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_022.json deleted file mode 100644 index a4f4656b..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_023.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_023.json deleted file mode 100644 index fe6f609a..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_024.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_024.json deleted file mode 100644 index 0dc4f932..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_025.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_025.json deleted file mode 100644 index 0dc4f932..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_026.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_026.json deleted file mode 100644 index 3367c8f5..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_027.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_027.json deleted file mode 100644 index 3367c8f5..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_028.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_028.json deleted file mode 100644 index 3367c8f5..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-371_001.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-371_001.json deleted file mode 100644 index 387439f1..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-371_002.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-371_002.json deleted file mode 100644 index 387439f1..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-373_001.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-373_001.json deleted file mode 100644 index 161e4785..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-373_002.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-373_002.json deleted file mode 100644 index fb3f1d02..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-373_003.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-373_003.json deleted file mode 100644 index 0807411b..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-373_004.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-373_004.json deleted file mode 100644 index bfb84ac3..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-373_005.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-373_005.json deleted file mode 100644 index 41c3f873..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-373_006.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-373_006.json deleted file mode 100644 index 32177524..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-373_007.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-373_007.json deleted file mode 100644 index 17669afd..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-373_008.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-373_008.json deleted file mode 100644 index 67c01a81..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-399_001.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-399_001.json deleted file mode 100644 index a6ff81f3..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-399_002.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-399_002.json deleted file mode 100644 index 43ff26a3..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-399_003.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-399_003.json deleted file mode 100644 index 43ff26a3..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-399_004.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-399_004.json deleted file mode 100644 index a6ff81f3..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-399_005.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-399_005.json deleted file mode 100644 index a6ff81f3..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-399_006.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-399_006.json deleted file mode 100644 index a6ff81f3..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-399_007.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-399_007.json deleted file mode 100644 index 408f1c61..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-405_001.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-405_001.json deleted file mode 100644 index c19b20ab..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-405_002.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-405_002.json deleted file mode 100644 index 3ddbc187..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-405_003.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-405_003.json deleted file mode 100644 index ca53fd09..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-405_004.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-405_004.json deleted file mode 100644 index ca53fd09..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-405_005.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-405_005.json deleted file mode 100644 index 00c0d82d..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-405_006.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-405_006.json deleted file mode 100644 index d5b67a50..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-406_001.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-406_001.json deleted file mode 100644 index 390a9f4a..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-406_002.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-406_002.json deleted file mode 100644 index fc3bdba0..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-406_003.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-406_003.json deleted file mode 100644 index 761c1327..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-427_001.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-427_001.json deleted file mode 100644 index a75d8a93..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-427_002.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-427_002.json deleted file mode 100644 index 693795db..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-427_003.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-427_003.json deleted file mode 100644 index 0c33bbd3..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-427_004.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-427_004.json deleted file mode 100644 index c7a1d8d5..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-427_005.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-427_005.json deleted file mode 100644 index 7be7b23d..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-427_006.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-427_006.json deleted file mode 100644 index 9340e64b..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-440_001.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-440_001.json deleted file mode 100644 index 5b6e39a7..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-440_002.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-440_002.json deleted file mode 100644 index 3f3ce31d..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-440_003.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-440_003.json deleted file mode 100644 index 96e8c08b..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-440_005.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-440_005.json deleted file mode 100644 index 5235bc60..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-440_006.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-440_006.json deleted file mode 100644 index 5235bc60..00000000 --- a/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/data/responses/storyTestResponses/AUTO_RSV_ELI-440_007.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-440_007.json deleted file mode 100644 index 605ac519..00000000 --- a/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/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_001.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_001.json deleted file mode 100644 index 3d1094c7..00000000 --- a/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/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_002.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_002.json deleted file mode 100644 index e730c3c3..00000000 --- a/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/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_003.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_003.json deleted file mode 100644 index 878429f7..00000000 --- a/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/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_004.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_004.json deleted file mode 100644 index c34de8c0..00000000 --- a/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/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_005.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_005.json deleted file mode 100644 index de0097fe..00000000 --- a/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/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_006.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_006.json deleted file mode 100644 index 71de20a7..00000000 --- a/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/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_007.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_007.json deleted file mode 100644 index f088108d..00000000 --- a/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/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_009.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_009.json deleted file mode 100644 index c4bb0f71..00000000 --- a/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/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_010.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_010.json deleted file mode 100644 index 7a493b8b..00000000 --- a/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/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_011.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_011.json deleted file mode 100644 index db005a77..00000000 --- a/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/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_012.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_012.json deleted file mode 100644 index 36e1969a..00000000 --- a/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/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_013.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_013.json deleted file mode 100644 index 94ef8120..00000000 --- a/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/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_014.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_014.json deleted file mode 100644 index 165448c6..00000000 --- a/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/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_500.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_500.json deleted file mode 100644 index c6b5dcd7..00000000 --- a/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." - } - ] -} From 8722ff650983fc6ffdbde2b0ef782b374fca0696 Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Mon, 22 Sep 2025 16:29:12 +0100 Subject: [PATCH 28/45] Add everything again --- data/audit/AUTO_RSV_ELI-376-01.json | 85 +++ data/audit/AUTO_RSV_ELI-376-02.json | 90 +++ data/audit/AUTO_RSV_ELI-376-03.json | 96 ++++ data/audit/AUTO_RSV_ELI-376-04.json | 85 +++ data/audit/AUTO_RSV_ELI-376-05.json | 102 ++++ data/audit/AUTO_RSV_ELI-376-10.json | 76 +++ .../440/AUTO_RSV_ELI-440-04.json | 94 ++++ .../AUTO_RSV_REG_001.json | 304 ++++++++++ .../.temp/AUTO_RSV_SB_001.json | 288 ++++++++++ .../.temp/AUTO_RSV_SB_008.json | 128 +++++ .../smokeTestConfigs/AUTO_RSV_SB_001.json | 281 ++++++++++ .../smokeTestConfigs/AUTO_RSV_SB_008.json | 243 ++++++++ .../storyTestConfigs/AUTO_RSV_ELI-155.json | 82 +++ .../storyTestConfigs/AUTO_RSV_ELI-216.json | 100 ++++ .../storyTestConfigs/AUTO_RSV_ELI-219-1.json | 110 ++++ .../storyTestConfigs/AUTO_RSV_ELI-219-2.json | 117 ++++ .../storyTestConfigs/AUTO_RSV_ELI-219-3.json | 107 ++++ .../storyTestConfigs/AUTO_RSV_ELI-220-01.json | 94 ++++ .../storyTestConfigs/AUTO_RSV_ELI-220-02.json | 94 ++++ .../storyTestConfigs/AUTO_RSV_ELI-220-03.json | 93 ++++ .../storyTestConfigs/AUTO_RSV_ELI-220-04.json | 93 ++++ .../storyTestConfigs/AUTO_RSV_ELI-220-05.json | 93 ++++ .../storyTestConfigs/AUTO_RSV_ELI-220-06.json | 93 ++++ .../storyTestConfigs/AUTO_RSV_ELI-221-01.json | 94 ++++ .../storyTestConfigs/AUTO_RSV_ELI-221-02.json | 95 ++++ .../storyTestConfigs/AUTO_RSV_ELI-221-03.json | 93 ++++ .../storyTestConfigs/AUTO_RSV_ELI-222.json | 203 +++++++ .../storyTestConfigs/AUTO_RSV_ELI-223-01.json | 88 +++ .../storyTestConfigs/AUTO_RSV_ELI-223-02.json | 88 +++ .../storyTestConfigs/AUTO_RSV_ELI-223-03.json | 88 +++ .../storyTestConfigs/AUTO_RSV_ELI-223-04.json | 88 +++ .../storyTestConfigs/AUTO_RSV_ELI-223-05.json | 88 +++ .../storyTestConfigs/AUTO_RSV_ELI-223-06.json | 100 ++++ .../storyTestConfigs/AUTO_RSV_ELI-223-07.json | 100 ++++ .../storyTestConfigs/AUTO_RSV_ELI-223-08.json | 100 ++++ .../storyTestConfigs/AUTO_RSV_ELI-223-09.json | 314 +++++++++++ .../storyTestConfigs/AUTO_RSV_ELI-223-10.json | 88 +++ .../storyTestConfigs/AUTO_RSV_ELI-223-11.json | 88 +++ .../storyTestConfigs/AUTO_RSV_ELI-223-12.json | 88 +++ .../storyTestConfigs/AUTO_RSV_ELI-236.json | 155 ++++++ .../storyTestConfigs/AUTO_RSV_ELI-274-01.json | 109 ++++ .../storyTestConfigs/AUTO_RSV_ELI-274-05.json | 109 ++++ .../storyTestConfigs/AUTO_RSV_ELI-274-06.json | 109 ++++ .../storyTestConfigs/AUTO_RSV_ELI-274-07.json | 110 ++++ .../storyTestConfigs/AUTO_RSV_ELI-295-1.json | 129 +++++ .../storyTestConfigs/AUTO_RSV_ELI-295-2.json | 151 +++++ .../storyTestConfigs/AUTO_RSV_ELI-295-3.json | 151 +++++ .../storyTestConfigs/AUTO_RSV_ELI-295-4.json | 173 ++++++ .../storyTestConfigs/AUTO_RSV_ELI-317-1.json | 93 ++++ .../storyTestConfigs/AUTO_RSV_ELI-317-2.json | 95 ++++ .../storyTestConfigs/AUTO_RSV_ELI-317-3.json | 95 ++++ .../storyTestConfigs/AUTO_RSV_ELI-317-4.json | 95 ++++ .../storyTestConfigs/AUTO_RSV_ELI-317-5.json | 94 ++++ .../AUTO_RSV_ELI-320-COVID.json | 73 +++ .../AUTO_RSV_ELI-320-MMR.json | 74 +++ .../AUTO_RSV_ELI-320-RSV.json | 74 +++ .../AUTO_RSV_ELI-320-SCREENING-1.json | 74 +++ .../AUTO_RSV_ELI-320-SCREENING-2.json | 74 +++ .../storyTestConfigs/AUTO_RSV_ELI-365.json | 458 +++++++++++++++ .../AUTO_RSV_ELI-365v0.5.json | 457 +++++++++++++++ .../storyTestConfigs/AUTO_RSV_ELI-371.json | 182 ++++++ .../storyTestConfigs/AUTO_RSV_ELI-373-01.json | 459 +++++++++++++++ .../storyTestConfigs/AUTO_RSV_ELI-373-02.json | 453 +++++++++++++++ .../storyTestConfigs/AUTO_RSV_ELI-399-01.json | 73 +++ .../storyTestConfigs/AUTO_RSV_ELI-399-02.json | 192 +++++++ .../storyTestConfigs/AUTO_RSV_ELI-399-03.json | 192 +++++++ .../storyTestConfigs/AUTO_RSV_ELI-399-04.json | 192 +++++++ .../storyTestConfigs/AUTO_RSV_ELI-399-05.json | 110 ++++ .../storyTestConfigs/AUTO_RSV_ELI-399-06.json | 110 ++++ .../storyTestConfigs/AUTO_RSV_ELI-399-07.json | 73 +++ .../storyTestConfigs/AUTO_RSV_ELI-405-01.json | 130 +++++ .../storyTestConfigs/AUTO_RSV_ELI-405-02.json | 141 +++++ .../storyTestConfigs/AUTO_RSV_ELI-405-03.json | 134 +++++ .../storyTestConfigs/AUTO_RSV_ELI-405-04.json | 148 +++++ .../storyTestConfigs/AUTO_RSV_ELI-405-05.json | 151 +++++ .../storyTestConfigs/AUTO_RSV_ELI-405-06.json | 105 ++++ .../storyTestConfigs/AUTO_RSV_ELI-406-01.json | 108 ++++ .../AUTO_RSV_ELI-427-01-3.json | 112 ++++ .../AUTO_RSV_ELI-427-04-6.json | 110 ++++ .../storyTestConfigs/AUTO_RSV_ELI-440-01.json | 141 +++++ .../AUTO_RSV_ELI-440-02-3.json | 143 +++++ .../AUTO_RSV_ELI-440-05-6.json | 87 +++ .../storyTestConfigs/AUTO_RSV_ELI-440-07.json | 116 ++++ .../vita_integration_test_config.json | 527 ++++++++++++++++++ .../440/AUTO_RSV_ELI-440_004.json | 47 ++ .../integrationTestData/AUTO_RSV_INT_001.json | 44 ++ .../integrationTestData/AUTO_RSV_INT_002.json | 44 ++ .../integrationTestData/AUTO_RSV_INT_003.json | 44 ++ .../regressionTestData/AUTO_RSV_REG_001.json | 39 ++ .../regressionTestData/AUTO_RSV_REG_002.json | 43 ++ .../regressionTestData/AUTO_RSV_REG_003.json | 43 ++ .../AUTO_RSV_REG_010-1.json | 39 ++ .../regressionTestData/AUTO_RSV_REG_010.json | 39 ++ .../regressionTestData/AUTO_RSV_REG_011.json | 39 ++ .../regressionTestData/AUTO_RSV_REG_012.json | 29 + .../regressionTestData/AUTO_RSV_REG_013.json | 34 ++ .../regressionTestData/AUTO_RSV_REG_050.json | 34 ++ .../smokeTestData/AUTO_RSV_SB_001.json | 39 ++ .../smokeTestData/AUTO_RSV_SB_002.json | 39 ++ .../smokeTestData/AUTO_RSV_SB_003.json | 39 ++ .../smokeTestData/AUTO_RSV_SB_004.json | 45 ++ .../smokeTestData/AUTO_RSV_SB_005.json | 45 ++ .../smokeTestData/AUTO_RSV_SB_006.json | 45 ++ .../smokeTestData/AUTO_RSV_SB_007.json | 39 ++ .../smokeTestData/AUTO_RSV_SB_008.json | 44 ++ .../smokeTestData/AUTO_RSV_SB_009.json | 44 ++ .../smokeTestData/AUTO_RSV_SB_010.json | 44 ++ .../smokeTestData/AUTO_RSV_SB_011.json | 39 ++ .../smokeTestData/AUTO_RSV_SB_012.json | 34 ++ .../smokeTestData/AUTO_RSV_SB_013.json | 44 ++ .../smokeTestData/AUTO_RSV_SB_014.json | 39 ++ .../.ignore_folder/AUTO_RSV_ELI-216-2.json | 51 ++ .../.ignore_folder/AUTO_RSV_ELI-216-3.json | 49 ++ .../storyTestData/AUTO_RSV_ELI-155.json | 44 ++ .../storyTestData/AUTO_RSV_ELI-216-1.json | 45 ++ .../storyTestData/AUTO_RSV_ELI-219-1.json | 45 ++ .../storyTestData/AUTO_RSV_ELI-219-2.json | 45 ++ .../storyTestData/AUTO_RSV_ELI-219-3.json | 45 ++ .../storyTestData/AUTO_RSV_ELI-220_001.json | 58 ++ .../storyTestData/AUTO_RSV_ELI-220_002.json | 58 ++ .../storyTestData/AUTO_RSV_ELI-220_003.json | 58 ++ .../storyTestData/AUTO_RSV_ELI-220_004.json | 58 ++ .../storyTestData/AUTO_RSV_ELI-220_005.json | 58 ++ .../storyTestData/AUTO_RSV_ELI-220_006.json | 58 ++ .../storyTestData/AUTO_RSV_ELI-221-01.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-221-02.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-221-03.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-222-1.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-222-2.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-222-3.json | 36 ++ .../storyTestData/AUTO_RSV_ELI-222-4.json | 45 ++ .../storyTestData/AUTO_RSV_ELI-222-5.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-222-6.json | 39 ++ .../storyTestData/AUTO_RSV_ELI-222-7.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-222-8.json | 44 ++ .../storyTestData/AUTO_RSV_ELI-223_001.json | 53 ++ .../storyTestData/AUTO_RSV_ELI-223_002.json | 60 ++ .../storyTestData/AUTO_RSV_ELI-223_003.json | 61 ++ .../storyTestData/AUTO_RSV_ELI-223_004.json | 53 ++ .../storyTestData/AUTO_RSV_ELI-223_005.json | 47 ++ .../storyTestData/AUTO_RSV_ELI-223_006.json | 53 ++ .../storyTestData/AUTO_RSV_ELI-223_007.json | 53 ++ .../storyTestData/AUTO_RSV_ELI-223_008.json | 43 ++ .../storyTestData/AUTO_RSV_ELI-223_009.json | 76 +++ .../storyTestData/AUTO_RSV_ELI-223_010.json | 47 ++ .../storyTestData/AUTO_RSV_ELI-223_011.json | 53 ++ .../storyTestData/AUTO_RSV_ELI-223_012.json | 54 ++ .../storyTestData/AUTO_RSV_ELI-236-01.json | 52 ++ .../storyTestData/AUTO_RSV_ELI-236-02.json | 52 ++ .../storyTestData/AUTO_RSV_ELI-274_001.json | 54 ++ .../storyTestData/AUTO_RSV_ELI-274_002.json | 54 ++ .../storyTestData/AUTO_RSV_ELI-274_003.json | 54 ++ .../storyTestData/AUTO_RSV_ELI-274_004.json | 54 ++ .../storyTestData/AUTO_RSV_ELI-274_005.json | 54 ++ .../storyTestData/AUTO_RSV_ELI-274_006.json | 54 ++ .../storyTestData/AUTO_RSV_ELI-274_007.json | 54 ++ .../storyTestData/AUTO_RSV_ELI-295-01.json | 39 ++ .../storyTestData/AUTO_RSV_ELI-295-02.json | 39 ++ .../storyTestData/AUTO_RSV_ELI-295-03.json | 39 ++ .../storyTestData/AUTO_RSV_ELI-295-04.json | 40 ++ .../storyTestData/AUTO_RSV_ELI-295-05.json | 39 ++ .../storyTestData/AUTO_RSV_ELI-295-06.json | 39 ++ .../storyTestData/AUTO_RSV_ELI-295-07.json | 39 ++ .../storyTestData/AUTO_RSV_ELI-295-08.json | 39 ++ .../storyTestData/AUTO_RSV_ELI-295-09.json | 44 ++ .../storyTestData/AUTO_RSV_ELI-295-10.json | 42 ++ .../storyTestData/AUTO_RSV_ELI-295-11.json | 42 ++ .../storyTestData/AUTO_RSV_ELI-295-12.json | 47 ++ .../storyTestData/AUTO_RSV_ELI-295-13.json | 39 ++ .../storyTestData/AUTO_RSV_ELI-295-14.json | 39 ++ .../storyTestData/AUTO_RSV_ELI-295-15.json | 44 ++ .../storyTestData/AUTO_RSV_ELI-295-16.json | 39 ++ .../storyTestData/AUTO_RSV_ELI-295-17.json | 39 ++ .../storyTestData/AUTO_RSV_ELI-317-1.json | 48 ++ .../storyTestData/AUTO_RSV_ELI-317-2.json | 48 ++ .../storyTestData/AUTO_RSV_ELI-317-3.json | 48 ++ .../storyTestData/AUTO_RSV_ELI-317-4.json | 42 ++ .../storyTestData/AUTO_RSV_ELI-317-5.json | 42 ++ .../storyTestData/AUTO_RSV_ELI-320-1.json | 57 ++ .../storyTestData/AUTO_RSV_ELI-320-10.json | 66 +++ .../storyTestData/AUTO_RSV_ELI-320-11.json | 66 +++ .../storyTestData/AUTO_RSV_ELI-320-2.json | 60 ++ .../storyTestData/AUTO_RSV_ELI-320-3.json | 60 ++ .../storyTestData/AUTO_RSV_ELI-320-4.json | 60 ++ .../storyTestData/AUTO_RSV_ELI-320-5.json | 60 ++ .../storyTestData/AUTO_RSV_ELI-320-6.json | 65 +++ .../storyTestData/AUTO_RSV_ELI-320-7.json | 65 +++ .../storyTestData/AUTO_RSV_ELI-320-8.json | 65 +++ .../storyTestData/AUTO_RSV_ELI-320-9.json | 65 +++ .../storyTestData/AUTO_RSV_ELI-365_001.json | 45 ++ .../storyTestData/AUTO_RSV_ELI-365_002.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-365_003.json | 36 ++ .../storyTestData/AUTO_RSV_ELI-365_004.json | 45 ++ .../storyTestData/AUTO_RSV_ELI-365_005.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-365_006.json | 39 ++ .../storyTestData/AUTO_RSV_ELI-365_007.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-365_008.json | 44 ++ .../storyTestData/AUTO_RSV_ELI-365_009.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-365_010.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-365_011.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-365_012.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-365_013.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-365_014.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-365_015.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-365_016.json | 53 ++ .../storyTestData/AUTO_RSV_ELI-365_017.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-365_018.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-365_019.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-365_020.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-365_021.json | 47 ++ .../storyTestData/AUTO_RSV_ELI-365_022.json | 47 ++ .../storyTestData/AUTO_RSV_ELI-365_023.json | 51 ++ .../storyTestData/AUTO_RSV_ELI-365_024.json | 47 ++ .../storyTestData/AUTO_RSV_ELI-365_025.json | 47 ++ .../storyTestData/AUTO_RSV_ELI-365_026.json | 47 ++ .../storyTestData/AUTO_RSV_ELI-365_027.json | 47 ++ .../storyTestData/AUTO_RSV_ELI-365_028.json | 47 ++ .../storyTestData/AUTO_RSV_ELI-371_001.json | 45 ++ .../storyTestData/AUTO_RSV_ELI-371_002.json | 45 ++ .../storyTestData/AUTO_RSV_ELI-373_001.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-373_002.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-373_003.json | 50 ++ .../storyTestData/AUTO_RSV_ELI-373_004.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-373_005.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-373_006.json | 50 ++ .../storyTestData/AUTO_RSV_ELI-373_007.json | 50 ++ .../storyTestData/AUTO_RSV_ELI-373_008.json | 50 ++ .../storyTestData/AUTO_RSV_ELI-399_001.json | 54 ++ .../storyTestData/AUTO_RSV_ELI-399_002.json | 54 ++ .../storyTestData/AUTO_RSV_ELI-399_003.json | 54 ++ .../storyTestData/AUTO_RSV_ELI-399_004.json | 54 ++ .../storyTestData/AUTO_RSV_ELI-399_005.json | 54 ++ .../storyTestData/AUTO_RSV_ELI-399_006.json | 54 ++ .../storyTestData/AUTO_RSV_ELI-399_007.json | 55 ++ .../storyTestData/AUTO_RSV_ELI-405_001.json | 58 ++ .../storyTestData/AUTO_RSV_ELI-405_002.json | 58 ++ .../storyTestData/AUTO_RSV_ELI-405_003.json | 62 +++ .../storyTestData/AUTO_RSV_ELI-405_004.json | 62 +++ .../storyTestData/AUTO_RSV_ELI-405_005.json | 58 ++ .../storyTestData/AUTO_RSV_ELI-405_006.json | 50 ++ .../storyTestData/AUTO_RSV_ELI-406_001.json | 41 ++ .../storyTestData/AUTO_RSV_ELI-406_002.json | 19 + .../storyTestData/AUTO_RSV_ELI-406_003.json | 34 ++ .../storyTestData/AUTO_RSV_ELI-427_001.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-427_002.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-427_003.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-427_004.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-427_005.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-427_006.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-440_001.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-440_002.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-440_003.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-440_005.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-440_006.json | 46 ++ .../storyTestData/AUTO_RSV_ELI-440_007.json | 46 ++ .../AUTO_RSV_VITA_INT_001.json | 40 ++ .../AUTO_RSV_VITA_INT_002.json | 39 ++ .../AUTO_RSV_VITA_INT_003.json | 39 ++ .../AUTO_RSV_VITA_INT_004.json | 35 ++ .../AUTO_RSV_VITA_INT_005.json | 35 ++ .../AUTO_RSV_VITA_INT_006.json | 34 ++ .../AUTO_RSV_VITA_INT_007.json | 39 ++ .../AUTO_RSV_VITA_INT_009.json | 39 ++ .../AUTO_RSV_VITA_INT_010.json | 39 ++ .../AUTO_RSV_VITA_INT_011.json | 39 ++ .../AUTO_RSV_VITA_INT_012.json | 34 ++ .../AUTO_RSV_VITA_INT_013.json | 34 ++ .../AUTO_RSV_VITA_INT_014.json | 35 ++ .../AUTO_RSV_VITA_INT_500.json | 40 ++ .../440/AUTO_RSV_ELI-440_004.json | 35 ++ .../AUTO_RSV_REG_001.json | 30 + .../AUTO_RSV_REG_002.json | 35 ++ .../AUTO_RSV_REG_003.json | 30 + .../AUTO_RSV_REG_010-1.json | 27 + .../AUTO_RSV_REG_010.json | 27 + .../AUTO_RSV_REG_011.json | 27 + .../AUTO_RSV_REG_012.json | 27 + .../AUTO_RSV_REG_013.json | 22 + .../smokeTestResponses/AUTO_RSV_SB_001.json | 30 + .../smokeTestResponses/AUTO_RSV_SB_002.json | 30 + .../smokeTestResponses/AUTO_RSV_SB_003.json | 30 + .../smokeTestResponses/AUTO_RSV_SB_004.json | 24 + .../smokeTestResponses/AUTO_RSV_SB_005.json | 24 + .../smokeTestResponses/AUTO_RSV_SB_006.json | 24 + .../smokeTestResponses/AUTO_RSV_SB_007.json | 28 + .../smokeTestResponses/AUTO_RSV_SB_008.json | 7 + .../smokeTestResponses/AUTO_RSV_SB_009.json | 28 + .../smokeTestResponses/AUTO_RSV_SB_010.json | 28 + .../smokeTestResponses/AUTO_RSV_SB_011.json | 28 + .../smokeTestResponses/AUTO_RSV_SB_012.json | 28 + .../smokeTestResponses/AUTO_RSV_SB_013.json | 22 + .../smokeTestResponses/AUTO_RSV_SB_014.json | 33 ++ .../storyTestResponses/AUTO_RSV_ELI-155.json | 30 + .../AUTO_RSV_ELI-216-1.json | 30 + .../AUTO_RSV_ELI-216-2.json | 26 + .../AUTO_RSV_ELI-216-3.json | 3 + .../AUTO_RSV_ELI-219-1.json | 30 + .../AUTO_RSV_ELI-219-2.json | 30 + .../AUTO_RSV_ELI-219-3.json | 30 + .../AUTO_RSV_ELI-220_001.json | 27 + .../AUTO_RSV_ELI-220_002.json | 27 + .../AUTO_RSV_ELI-220_003.json | 33 ++ .../AUTO_RSV_ELI-220_004.json | 33 ++ .../AUTO_RSV_ELI-220_005.json | 27 + .../AUTO_RSV_ELI-220_006.json | 27 + .../AUTO_RSV_ELI-221-01.json | 33 ++ .../AUTO_RSV_ELI-221-02.json | 38 ++ .../AUTO_RSV_ELI-221-03.json | 38 ++ .../AUTO_RSV_ELI-222-1.json | 24 + .../AUTO_RSV_ELI-222-2.json | 27 + .../AUTO_RSV_ELI-222-3.json | 22 + .../AUTO_RSV_ELI-222-4.json | 22 + .../AUTO_RSV_ELI-222-5.json | 22 + .../AUTO_RSV_ELI-222-6.json | 27 + .../AUTO_RSV_ELI-222-7.json | 27 + .../AUTO_RSV_ELI-222-8.json | 22 + .../AUTO_RSV_ELI-223_001.json | 36 ++ .../AUTO_RSV_ELI-223_002.json | 36 ++ .../AUTO_RSV_ELI-223_003.json | 23 + .../AUTO_RSV_ELI-223_004.json | 36 ++ .../AUTO_RSV_ELI-223_005.json | 23 + .../AUTO_RSV_ELI-223_006.json | 36 ++ .../AUTO_RSV_ELI-223_007.json | 41 ++ .../AUTO_RSV_ELI-223_008.json | 30 + .../AUTO_RSV_ELI-223_009.json | 146 +++++ .../AUTO_RSV_ELI-223_010.json | 23 + .../AUTO_RSV_ELI-223_011.json | 30 + .../AUTO_RSV_ELI-223_012.json | 23 + .../AUTO_RSV_ELI-236-01.json | 68 +++ .../AUTO_RSV_ELI-236-02.json | 68 +++ .../AUTO_RSV_ELI-274_001.json | 27 + .../AUTO_RSV_ELI-274_002.json | 27 + .../AUTO_RSV_ELI-274_003.json | 22 + .../AUTO_RSV_ELI-274_004.json | 43 ++ .../AUTO_RSV_ELI-274_005.json | 43 ++ .../AUTO_RSV_ELI-274_006.json | 43 ++ .../AUTO_RSV_ELI-274_007.json | 38 ++ .../AUTO_RSV_ELI-295-01.json | 22 + .../AUTO_RSV_ELI-295-02.json | 28 + .../AUTO_RSV_ELI-295-03.json | 23 + .../AUTO_RSV_ELI-295-04.json | 30 + .../AUTO_RSV_ELI-295-05.json | 36 ++ .../AUTO_RSV_ELI-295-06.json | 30 + .../AUTO_RSV_ELI-295-07.json | 30 + .../AUTO_RSV_ELI-295-08.json | 36 ++ .../AUTO_RSV_ELI-295-09.json | 30 + .../AUTO_RSV_ELI-295-10.json | 21 + .../AUTO_RSV_ELI-295-11.json | 27 + .../AUTO_RSV_ELI-295-12.json | 21 + .../AUTO_RSV_ELI-295-13.json | 37 ++ .../AUTO_RSV_ELI-295-14.json | 43 ++ .../AUTO_RSV_ELI-295-15.json | 37 ++ .../AUTO_RSV_ELI-295-16.json | 30 + .../AUTO_RSV_ELI-295-17.json | 36 ++ .../AUTO_RSV_ELI-317-1.json | 30 + .../AUTO_RSV_ELI-317-2.json | 30 + .../AUTO_RSV_ELI-317-3.json | 21 + .../AUTO_RSV_ELI-317-4.json | 22 + .../AUTO_RSV_ELI-317-5.json | 44 ++ .../AUTO_RSV_ELI-320-1.json | 64 +++ .../AUTO_RSV_ELI-320-10.json | 28 + .../AUTO_RSV_ELI-320-11.json | 7 + .../AUTO_RSV_ELI-320-2.json | 64 +++ .../AUTO_RSV_ELI-320-3.json | 28 + .../AUTO_RSV_ELI-320-4.json | 22 + .../AUTO_RSV_ELI-320-5.json | 44 ++ .../AUTO_RSV_ELI-320-6.json | 78 +++ .../AUTO_RSV_ELI-320-7.json | 78 +++ .../AUTO_RSV_ELI-320-8.json | 44 ++ .../AUTO_RSV_ELI-320-9.json | 42 ++ .../AUTO_RSV_ELI-365_001.json | 24 + .../AUTO_RSV_ELI-365_002.json | 35 ++ .../AUTO_RSV_ELI-365_003.json | 30 + .../AUTO_RSV_ELI-365_004.json | 30 + .../AUTO_RSV_ELI-365_005.json | 30 + .../AUTO_RSV_ELI-365_006.json | 35 ++ .../AUTO_RSV_ELI-365_007.json | 35 ++ .../AUTO_RSV_ELI-365_008.json | 30 + .../AUTO_RSV_ELI-365_009.json | 35 ++ .../AUTO_RSV_ELI-365_010.json | 35 ++ .../AUTO_RSV_ELI-365_011.json | 35 ++ .../AUTO_RSV_ELI-365_012.json | 35 ++ .../AUTO_RSV_ELI-365_013.json | 30 + .../AUTO_RSV_ELI-365_014.json | 36 ++ .../AUTO_RSV_ELI-365_015.json | 36 ++ .../AUTO_RSV_ELI-365_016.json | 36 ++ .../AUTO_RSV_ELI-365_017.json | 24 + .../AUTO_RSV_ELI-365_018.json | 24 + .../AUTO_RSV_ELI-365_019.json | 24 + .../AUTO_RSV_ELI-365_020.json | 44 ++ .../AUTO_RSV_ELI-365_021.json | 44 ++ .../AUTO_RSV_ELI-365_022.json | 37 ++ .../AUTO_RSV_ELI-365_023.json | 42 ++ .../AUTO_RSV_ELI-365_024.json | 44 ++ .../AUTO_RSV_ELI-365_025.json | 44 ++ .../AUTO_RSV_ELI-365_026.json | 37 ++ .../AUTO_RSV_ELI-365_027.json | 37 ++ .../AUTO_RSV_ELI-365_028.json | 37 ++ .../AUTO_RSV_ELI-371_001.json | 28 + .../AUTO_RSV_ELI-371_002.json | 28 + .../AUTO_RSV_ELI-373_001.json | 37 ++ .../AUTO_RSV_ELI-373_002.json | 37 ++ .../AUTO_RSV_ELI-373_003.json | 35 ++ .../AUTO_RSV_ELI-373_004.json | 36 ++ .../AUTO_RSV_ELI-373_005.json | 36 ++ .../AUTO_RSV_ELI-373_006.json | 35 ++ .../AUTO_RSV_ELI-373_007.json | 42 ++ .../AUTO_RSV_ELI-373_008.json | 51 ++ .../AUTO_RSV_ELI-399_001.json | 7 + .../AUTO_RSV_ELI-399_002.json | 27 + .../AUTO_RSV_ELI-399_003.json | 27 + .../AUTO_RSV_ELI-399_004.json | 7 + .../AUTO_RSV_ELI-399_005.json | 7 + .../AUTO_RSV_ELI-399_006.json | 7 + .../AUTO_RSV_ELI-399_007.json | 22 + .../AUTO_RSV_ELI-405_001.json | 35 ++ .../AUTO_RSV_ELI-405_002.json | 30 + .../AUTO_RSV_ELI-405_003.json | 30 + .../AUTO_RSV_ELI-405_004.json | 30 + .../AUTO_RSV_ELI-405_005.json | 46 ++ .../AUTO_RSV_ELI-405_006.json | 30 + .../AUTO_RSV_ELI-406_001.json | 26 + .../AUTO_RSV_ELI-406_002.json | 26 + .../AUTO_RSV_ELI-406_003.json | 26 + .../AUTO_RSV_ELI-427_001.json | 30 + .../AUTO_RSV_ELI-427_002.json | 36 ++ .../AUTO_RSV_ELI-427_003.json | 30 + .../AUTO_RSV_ELI-427_004.json | 30 + .../AUTO_RSV_ELI-427_005.json | 36 ++ .../AUTO_RSV_ELI-427_006.json | 30 + .../AUTO_RSV_ELI-440_001.json | 35 ++ .../AUTO_RSV_ELI-440_002.json | 35 ++ .../AUTO_RSV_ELI-440_003.json | 46 ++ .../AUTO_RSV_ELI-440_005.json | 30 + .../AUTO_RSV_ELI-440_006.json | 30 + .../AUTO_RSV_ELI-440_007.json | 35 ++ .../AUTO_RSV_VITA_INT_001.json | 51 ++ .../AUTO_RSV_VITA_INT_002.json | 30 + .../AUTO_RSV_VITA_INT_003.json | 30 + .../AUTO_RSV_VITA_INT_004.json | 24 + .../AUTO_RSV_VITA_INT_005.json | 24 + .../AUTO_RSV_VITA_INT_006.json | 30 + .../AUTO_RSV_VITA_INT_007.json | 28 + .../AUTO_RSV_VITA_INT_009.json | 28 + .../AUTO_RSV_VITA_INT_010.json | 28 + .../AUTO_RSV_VITA_INT_011.json | 36 ++ .../AUTO_RSV_VITA_INT_012.json | 30 + .../AUTO_RSV_VITA_INT_013.json | 30 + .../AUTO_RSV_VITA_INT_014.json | 35 ++ .../AUTO_RSV_VITA_INT_500.json | 23 + 450 files changed, 26388 insertions(+) create mode 100644 data/audit/AUTO_RSV_ELI-376-01.json create mode 100644 data/audit/AUTO_RSV_ELI-376-02.json create mode 100644 data/audit/AUTO_RSV_ELI-376-03.json create mode 100644 data/audit/AUTO_RSV_ELI-376-04.json create mode 100644 data/audit/AUTO_RSV_ELI-376-05.json create mode 100644 data/audit/AUTO_RSV_ELI-376-10.json create mode 100644 data/configs/inProgressTestConfigs/440/AUTO_RSV_ELI-440-04.json create mode 100644 data/configs/regressionTestConfigs/AUTO_RSV_REG_001.json create mode 100644 data/configs/smokeTestConfigs/.temp/AUTO_RSV_SB_001.json create mode 100644 data/configs/smokeTestConfigs/.temp/AUTO_RSV_SB_008.json create mode 100644 data/configs/smokeTestConfigs/AUTO_RSV_SB_001.json create mode 100644 data/configs/smokeTestConfigs/AUTO_RSV_SB_008.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-155.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-216.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-219-1.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-219-2.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-219-3.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-220-01.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-220-02.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-220-03.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-220-04.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-220-05.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-220-06.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-221-01.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-221-02.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-221-03.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-222.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-01.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-02.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-03.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-04.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-05.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-06.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-07.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-08.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-09.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-10.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-11.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-223-12.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-236.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-274-01.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-274-05.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-274-06.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-274-07.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-295-1.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-295-2.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-295-3.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-295-4.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-317-1.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-317-2.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-317-3.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-317-4.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-317-5.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-320-COVID.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-320-MMR.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-320-RSV.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-320-SCREENING-1.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-320-SCREENING-2.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-365.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-365v0.5.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-371.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-373-01.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-373-02.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-399-01.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-399-02.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-399-03.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-399-04.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-399-05.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-399-06.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-399-07.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-405-01.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-405-02.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-405-03.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-405-04.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-405-05.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-405-06.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-406-01.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-427-01-3.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-427-04-6.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-440-01.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-440-02-3.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-440-05-6.json create mode 100644 data/configs/storyTestConfigs/AUTO_RSV_ELI-440-07.json create mode 100644 data/configs/vitaIntegrationTestConfigs/vita_integration_test_config.json create mode 100644 data/dynamoDB/inProgressTestData/440/AUTO_RSV_ELI-440_004.json create mode 100644 data/dynamoDB/integrationTestData/AUTO_RSV_INT_001.json create mode 100644 data/dynamoDB/integrationTestData/AUTO_RSV_INT_002.json create mode 100644 data/dynamoDB/integrationTestData/AUTO_RSV_INT_003.json create mode 100644 data/dynamoDB/regressionTestData/AUTO_RSV_REG_001.json create mode 100644 data/dynamoDB/regressionTestData/AUTO_RSV_REG_002.json create mode 100644 data/dynamoDB/regressionTestData/AUTO_RSV_REG_003.json create mode 100644 data/dynamoDB/regressionTestData/AUTO_RSV_REG_010-1.json create mode 100644 data/dynamoDB/regressionTestData/AUTO_RSV_REG_010.json create mode 100644 data/dynamoDB/regressionTestData/AUTO_RSV_REG_011.json create mode 100644 data/dynamoDB/regressionTestData/AUTO_RSV_REG_012.json create mode 100644 data/dynamoDB/regressionTestData/AUTO_RSV_REG_013.json create mode 100644 data/dynamoDB/regressionTestData/AUTO_RSV_REG_050.json create mode 100644 data/dynamoDB/smokeTestData/AUTO_RSV_SB_001.json create mode 100644 data/dynamoDB/smokeTestData/AUTO_RSV_SB_002.json create mode 100644 data/dynamoDB/smokeTestData/AUTO_RSV_SB_003.json create mode 100644 data/dynamoDB/smokeTestData/AUTO_RSV_SB_004.json create mode 100644 data/dynamoDB/smokeTestData/AUTO_RSV_SB_005.json create mode 100644 data/dynamoDB/smokeTestData/AUTO_RSV_SB_006.json create mode 100644 data/dynamoDB/smokeTestData/AUTO_RSV_SB_007.json create mode 100644 data/dynamoDB/smokeTestData/AUTO_RSV_SB_008.json create mode 100644 data/dynamoDB/smokeTestData/AUTO_RSV_SB_009.json create mode 100644 data/dynamoDB/smokeTestData/AUTO_RSV_SB_010.json create mode 100644 data/dynamoDB/smokeTestData/AUTO_RSV_SB_011.json create mode 100644 data/dynamoDB/smokeTestData/AUTO_RSV_SB_012.json create mode 100644 data/dynamoDB/smokeTestData/AUTO_RSV_SB_013.json create mode 100644 data/dynamoDB/smokeTestData/AUTO_RSV_SB_014.json create mode 100644 data/dynamoDB/storyTestData/.ignore_folder/AUTO_RSV_ELI-216-2.json create mode 100644 data/dynamoDB/storyTestData/.ignore_folder/AUTO_RSV_ELI-216-3.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-155.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-216-1.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-219-1.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-219-2.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-219-3.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_001.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_002.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_003.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_004.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_005.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_006.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-221-01.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-221-02.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-221-03.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-1.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-2.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-3.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-4.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-5.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-6.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-7.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-8.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_001.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_002.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_003.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_004.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_005.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_006.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_007.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_008.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_009.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_010.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_011.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_012.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-236-01.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-236-02.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_001.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_002.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_003.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_004.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_005.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_006.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_007.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-01.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-02.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-03.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-04.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-05.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-06.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-07.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-08.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-09.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-10.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-11.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-12.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-13.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-14.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-15.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-16.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-17.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-1.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-2.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-3.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-4.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-5.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-1.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-10.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-11.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-2.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-3.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-4.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-5.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-6.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-7.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-8.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-9.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_001.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_002.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_003.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_004.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_005.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_006.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_007.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_008.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_009.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_010.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_011.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_012.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_013.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_014.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_015.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_016.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_017.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_018.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_019.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_020.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_021.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_022.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_023.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_024.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_025.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_026.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_027.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_028.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_001.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_002.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_001.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_002.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_003.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_004.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_005.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_006.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_007.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_008.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_001.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_002.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_003.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_004.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_005.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_006.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_007.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_001.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_002.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_003.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_004.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_005.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_006.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-406_001.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-406_002.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-406_003.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_001.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_002.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_003.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_004.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_005.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_006.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_001.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_002.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_003.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_005.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_006.json create mode 100644 data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_007.json create mode 100644 data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_001.json create mode 100644 data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_002.json create mode 100644 data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_003.json create mode 100644 data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_004.json create mode 100644 data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_005.json create mode 100644 data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_006.json create mode 100644 data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_007.json create mode 100644 data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_009.json create mode 100644 data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_010.json create mode 100644 data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_011.json create mode 100644 data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_012.json create mode 100644 data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_013.json create mode 100644 data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_014.json create mode 100644 data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_500.json create mode 100644 data/responses/inProgressTestResponses/440/AUTO_RSV_ELI-440_004.json create mode 100644 data/responses/regressionTestResponses/AUTO_RSV_REG_001.json create mode 100644 data/responses/regressionTestResponses/AUTO_RSV_REG_002.json create mode 100644 data/responses/regressionTestResponses/AUTO_RSV_REG_003.json create mode 100644 data/responses/regressionTestResponses/AUTO_RSV_REG_010-1.json create mode 100644 data/responses/regressionTestResponses/AUTO_RSV_REG_010.json create mode 100644 data/responses/regressionTestResponses/AUTO_RSV_REG_011.json create mode 100644 data/responses/regressionTestResponses/AUTO_RSV_REG_012.json create mode 100644 data/responses/regressionTestResponses/AUTO_RSV_REG_013.json create mode 100644 data/responses/smokeTestResponses/AUTO_RSV_SB_001.json create mode 100644 data/responses/smokeTestResponses/AUTO_RSV_SB_002.json create mode 100644 data/responses/smokeTestResponses/AUTO_RSV_SB_003.json create mode 100644 data/responses/smokeTestResponses/AUTO_RSV_SB_004.json create mode 100644 data/responses/smokeTestResponses/AUTO_RSV_SB_005.json create mode 100644 data/responses/smokeTestResponses/AUTO_RSV_SB_006.json create mode 100644 data/responses/smokeTestResponses/AUTO_RSV_SB_007.json create mode 100644 data/responses/smokeTestResponses/AUTO_RSV_SB_008.json create mode 100644 data/responses/smokeTestResponses/AUTO_RSV_SB_009.json create mode 100644 data/responses/smokeTestResponses/AUTO_RSV_SB_010.json create mode 100644 data/responses/smokeTestResponses/AUTO_RSV_SB_011.json create mode 100644 data/responses/smokeTestResponses/AUTO_RSV_SB_012.json create mode 100644 data/responses/smokeTestResponses/AUTO_RSV_SB_013.json create mode 100644 data/responses/smokeTestResponses/AUTO_RSV_SB_014.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-155.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-216-1.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-216-2.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-216-3.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-219-1.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-219-2.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-219-3.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-220_001.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-220_002.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-220_003.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-220_004.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-220_005.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-220_006.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-221-01.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-221-02.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-221-03.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-222-1.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-222-2.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-222-3.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-222-4.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-222-5.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-222-6.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-222-7.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-222-8.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_001.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_002.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_003.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_004.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_005.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_006.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_007.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_008.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_009.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_010.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_011.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-223_012.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-236-01.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-236-02.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-274_001.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-274_002.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-274_003.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-274_004.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-274_005.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-274_006.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-274_007.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-01.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-02.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-03.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-04.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-05.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-06.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-07.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-08.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-09.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-10.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-11.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-12.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-13.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-14.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-15.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-16.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-295-17.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-317-1.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-317-2.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-317-3.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-317-4.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-317-5.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-320-1.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-320-10.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-320-11.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-320-2.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-320-3.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-320-4.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-320-5.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-320-6.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-320-7.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-320-8.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-320-9.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_001.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_002.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_003.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_004.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_005.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_006.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_007.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_008.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_009.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_010.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_011.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_012.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_013.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_014.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_015.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_016.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_017.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_018.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_019.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_020.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_021.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_022.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_023.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_024.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_025.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_026.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_027.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-365_028.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-371_001.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-371_002.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-373_001.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-373_002.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-373_003.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-373_004.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-373_005.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-373_006.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-373_007.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-373_008.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-399_001.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-399_002.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-399_003.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-399_004.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-399_005.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-399_006.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-399_007.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-405_001.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-405_002.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-405_003.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-405_004.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-405_005.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-405_006.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-406_001.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-406_002.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-406_003.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-427_001.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-427_002.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-427_003.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-427_004.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-427_005.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-427_006.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-440_001.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-440_002.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-440_003.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-440_005.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-440_006.json create mode 100644 data/responses/storyTestResponses/AUTO_RSV_ELI-440_007.json create mode 100644 data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_001.json create mode 100644 data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_002.json create mode 100644 data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_003.json create mode 100644 data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_004.json create mode 100644 data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_005.json create mode 100644 data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_006.json create mode 100644 data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_007.json create mode 100644 data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_009.json create mode 100644 data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_010.json create mode 100644 data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_011.json create mode 100644 data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_012.json create mode 100644 data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_013.json create mode 100644 data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_014.json create mode 100644 data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_500.json diff --git a/data/audit/AUTO_RSV_ELI-376-01.json b/data/audit/AUTO_RSV_ELI-376-01.json new file mode 100644 index 00000000..37a1a881 --- /dev/null +++ b/data/audit/AUTO_RSV_ELI-376-01.json @@ -0,0 +1,85 @@ +{ + "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/data/audit/AUTO_RSV_ELI-376-02.json b/data/audit/AUTO_RSV_ELI-376-02.json new file mode 100644 index 00000000..955390d5 --- /dev/null +++ b/data/audit/AUTO_RSV_ELI-376-02.json @@ -0,0 +1,90 @@ +{ + "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/data/audit/AUTO_RSV_ELI-376-03.json b/data/audit/AUTO_RSV_ELI-376-03.json new file mode 100644 index 00000000..7c91d2f6 --- /dev/null +++ b/data/audit/AUTO_RSV_ELI-376-03.json @@ -0,0 +1,96 @@ +{ + "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/data/audit/AUTO_RSV_ELI-376-04.json b/data/audit/AUTO_RSV_ELI-376-04.json new file mode 100644 index 00000000..863f219e --- /dev/null +++ b/data/audit/AUTO_RSV_ELI-376-04.json @@ -0,0 +1,85 @@ +{ + "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/data/audit/AUTO_RSV_ELI-376-05.json b/data/audit/AUTO_RSV_ELI-376-05.json new file mode 100644 index 00000000..ec271967 --- /dev/null +++ b/data/audit/AUTO_RSV_ELI-376-05.json @@ -0,0 +1,102 @@ +{ + "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/data/audit/AUTO_RSV_ELI-376-10.json b/data/audit/AUTO_RSV_ELI-376-10.json new file mode 100644 index 00000000..21b363c5 --- /dev/null +++ b/data/audit/AUTO_RSV_ELI-376-10.json @@ -0,0 +1,76 @@ +{ + "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/data/configs/inProgressTestConfigs/440/AUTO_RSV_ELI-440-04.json b/data/configs/inProgressTestConfigs/440/AUTO_RSV_ELI-440-04.json new file mode 100644 index 00000000..06bbdea5 --- /dev/null +++ b/data/configs/inProgressTestConfigs/440/AUTO_RSV_ELI-440-04.json @@ -0,0 +1,94 @@ +{ + "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/data/configs/regressionTestConfigs/AUTO_RSV_REG_001.json b/data/configs/regressionTestConfigs/AUTO_RSV_REG_001.json new file mode 100644 index 00000000..e8bc72ff --- /dev/null +++ b/data/configs/regressionTestConfigs/AUTO_RSV_REG_001.json @@ -0,0 +1,304 @@ +{ + "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/data/configs/smokeTestConfigs/.temp/AUTO_RSV_SB_001.json b/data/configs/smokeTestConfigs/.temp/AUTO_RSV_SB_001.json new file mode 100644 index 00000000..efae1b3e --- /dev/null +++ b/data/configs/smokeTestConfigs/.temp/AUTO_RSV_SB_001.json @@ -0,0 +1,288 @@ +{ + "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/data/configs/smokeTestConfigs/.temp/AUTO_RSV_SB_008.json b/data/configs/smokeTestConfigs/.temp/AUTO_RSV_SB_008.json new file mode 100644 index 00000000..7a896ab0 --- /dev/null +++ b/data/configs/smokeTestConfigs/.temp/AUTO_RSV_SB_008.json @@ -0,0 +1,128 @@ +{ + "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/data/configs/smokeTestConfigs/AUTO_RSV_SB_001.json b/data/configs/smokeTestConfigs/AUTO_RSV_SB_001.json new file mode 100644 index 00000000..99db5bd9 --- /dev/null +++ b/data/configs/smokeTestConfigs/AUTO_RSV_SB_001.json @@ -0,0 +1,281 @@ +{ + "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/data/configs/smokeTestConfigs/AUTO_RSV_SB_008.json b/data/configs/smokeTestConfigs/AUTO_RSV_SB_008.json new file mode 100644 index 00000000..73e672d1 --- /dev/null +++ b/data/configs/smokeTestConfigs/AUTO_RSV_SB_008.json @@ -0,0 +1,243 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-155.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-155.json new file mode 100644 index 00000000..83223a5e --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-155.json @@ -0,0 +1,82 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-216.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-216.json new file mode 100644 index 00000000..0fb07fd7 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-216.json @@ -0,0 +1,100 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-219-1.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-219-1.json new file mode 100644 index 00000000..c487c6a4 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-219-1.json @@ -0,0 +1,110 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-219-2.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-219-2.json new file mode 100644 index 00000000..a693246e --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-219-2.json @@ -0,0 +1,117 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-219-3.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-219-3.json new file mode 100644 index 00000000..1700f134 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-219-3.json @@ -0,0 +1,107 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-01.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-01.json new file mode 100644 index 00000000..f2d7de1d --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-01.json @@ -0,0 +1,94 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-02.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-02.json new file mode 100644 index 00000000..2f404967 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-02.json @@ -0,0 +1,94 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-03.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-03.json new file mode 100644 index 00000000..23ce6e5f --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-03.json @@ -0,0 +1,93 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-04.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-04.json new file mode 100644 index 00000000..b2043bd7 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-04.json @@ -0,0 +1,93 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-05.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-05.json new file mode 100644 index 00000000..b49084fa --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-05.json @@ -0,0 +1,93 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-06.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-06.json new file mode 100644 index 00000000..71a6495c --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-220-06.json @@ -0,0 +1,93 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-221-01.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-221-01.json new file mode 100644 index 00000000..2dc45815 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-221-01.json @@ -0,0 +1,94 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-221-02.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-221-02.json new file mode 100644 index 00000000..ff612086 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-221-02.json @@ -0,0 +1,95 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-221-03.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-221-03.json new file mode 100644 index 00000000..a4a6b764 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-221-03.json @@ -0,0 +1,93 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-222.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-222.json new file mode 100644 index 00000000..e1cee202 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-222.json @@ -0,0 +1,203 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-01.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-01.json new file mode 100644 index 00000000..f6b25d52 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-01.json @@ -0,0 +1,88 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-02.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-02.json new file mode 100644 index 00000000..14d81b3f --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-02.json @@ -0,0 +1,88 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-03.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-03.json new file mode 100644 index 00000000..0a6c4a3e --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-03.json @@ -0,0 +1,88 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-04.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-04.json new file mode 100644 index 00000000..ca197f9a --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-04.json @@ -0,0 +1,88 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-05.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-05.json new file mode 100644 index 00000000..7ed59ffe --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-05.json @@ -0,0 +1,88 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-06.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-06.json new file mode 100644 index 00000000..53a96572 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-06.json @@ -0,0 +1,100 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-07.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-07.json new file mode 100644 index 00000000..3c461ea3 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-07.json @@ -0,0 +1,100 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-08.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-08.json new file mode 100644 index 00000000..1ec4154b --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-08.json @@ -0,0 +1,100 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-09.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-09.json new file mode 100644 index 00000000..1a0de384 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-09.json @@ -0,0 +1,314 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-10.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-10.json new file mode 100644 index 00000000..0102b2f2 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-10.json @@ -0,0 +1,88 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-11.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-11.json new file mode 100644 index 00000000..2af5d692 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-11.json @@ -0,0 +1,88 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-12.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-12.json new file mode 100644 index 00000000..9d05cc77 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-223-12.json @@ -0,0 +1,88 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-236.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-236.json new file mode 100644 index 00000000..c1c28aff --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-236.json @@ -0,0 +1,155 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-274-01.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-274-01.json new file mode 100644 index 00000000..2334d361 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-274-01.json @@ -0,0 +1,109 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-274-05.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-274-05.json new file mode 100644 index 00000000..e7346fc5 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-274-05.json @@ -0,0 +1,109 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-274-06.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-274-06.json new file mode 100644 index 00000000..43b68618 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-274-06.json @@ -0,0 +1,109 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-274-07.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-274-07.json new file mode 100644 index 00000000..9332b871 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-274-07.json @@ -0,0 +1,110 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-295-1.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-295-1.json new file mode 100644 index 00000000..6b386935 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-295-1.json @@ -0,0 +1,129 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-295-2.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-295-2.json new file mode 100644 index 00000000..dfea9b20 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-295-2.json @@ -0,0 +1,151 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-295-3.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-295-3.json new file mode 100644 index 00000000..0517bf37 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-295-3.json @@ -0,0 +1,151 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-295-4.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-295-4.json new file mode 100644 index 00000000..598c6ecb --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-295-4.json @@ -0,0 +1,173 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-1.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-1.json new file mode 100644 index 00000000..68bbfdb7 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-1.json @@ -0,0 +1,93 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-2.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-2.json new file mode 100644 index 00000000..b3e4374f --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-2.json @@ -0,0 +1,95 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-3.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-3.json new file mode 100644 index 00000000..a50ee43e --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-3.json @@ -0,0 +1,95 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-4.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-4.json new file mode 100644 index 00000000..c7626824 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-4.json @@ -0,0 +1,95 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-5.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-5.json new file mode 100644 index 00000000..8f342355 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-317-5.json @@ -0,0 +1,94 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-COVID.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-COVID.json new file mode 100644 index 00000000..b31ff788 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-COVID.json @@ -0,0 +1,73 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-MMR.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-MMR.json new file mode 100644 index 00000000..27b8282f --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-MMR.json @@ -0,0 +1,74 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-RSV.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-RSV.json new file mode 100644 index 00000000..5576a951 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-RSV.json @@ -0,0 +1,74 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-SCREENING-1.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-SCREENING-1.json new file mode 100644 index 00000000..2ee8ba91 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-SCREENING-1.json @@ -0,0 +1,74 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-SCREENING-2.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-SCREENING-2.json new file mode 100644 index 00000000..8502bedc --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-320-SCREENING-2.json @@ -0,0 +1,74 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-365.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-365.json new file mode 100644 index 00000000..70066de8 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-365.json @@ -0,0 +1,458 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-365v0.5.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-365v0.5.json new file mode 100644 index 00000000..e0deed58 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-365v0.5.json @@ -0,0 +1,457 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-371.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-371.json new file mode 100644 index 00000000..fb60fdf4 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-371.json @@ -0,0 +1,182 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-373-01.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-373-01.json new file mode 100644 index 00000000..a0d7e883 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-373-01.json @@ -0,0 +1,459 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-373-02.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-373-02.json new file mode 100644 index 00000000..4c546d25 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-373-02.json @@ -0,0 +1,453 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-01.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-01.json new file mode 100644 index 00000000..b1672400 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-01.json @@ -0,0 +1,73 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-02.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-02.json new file mode 100644 index 00000000..32761d36 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-02.json @@ -0,0 +1,192 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-03.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-03.json new file mode 100644 index 00000000..c6e5c25c --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-03.json @@ -0,0 +1,192 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-04.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-04.json new file mode 100644 index 00000000..301a5727 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-04.json @@ -0,0 +1,192 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-05.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-05.json new file mode 100644 index 00000000..f17eb205 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-05.json @@ -0,0 +1,110 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-06.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-06.json new file mode 100644 index 00000000..5c57bb55 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-06.json @@ -0,0 +1,110 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-07.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-07.json new file mode 100644 index 00000000..4e901dce --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-399-07.json @@ -0,0 +1,73 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-01.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-01.json new file mode 100644 index 00000000..d3d58aa6 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-01.json @@ -0,0 +1,130 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-02.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-02.json new file mode 100644 index 00000000..54bb9530 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-02.json @@ -0,0 +1,141 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-03.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-03.json new file mode 100644 index 00000000..05f9a70e --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-03.json @@ -0,0 +1,134 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-04.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-04.json new file mode 100644 index 00000000..a3758999 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-04.json @@ -0,0 +1,148 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-05.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-05.json new file mode 100644 index 00000000..43285c8d --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-05.json @@ -0,0 +1,151 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-06.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-06.json new file mode 100644 index 00000000..8476e234 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-405-06.json @@ -0,0 +1,105 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-406-01.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-406-01.json new file mode 100644 index 00000000..c189d535 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-406-01.json @@ -0,0 +1,108 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-427-01-3.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-427-01-3.json new file mode 100644 index 00000000..6c85268b --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-427-01-3.json @@ -0,0 +1,112 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-427-04-6.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-427-04-6.json new file mode 100644 index 00000000..e3fe6b44 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-427-04-6.json @@ -0,0 +1,110 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-01.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-01.json new file mode 100644 index 00000000..1870bb32 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-01.json @@ -0,0 +1,141 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-02-3.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-02-3.json new file mode 100644 index 00000000..5128692e --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-02-3.json @@ -0,0 +1,143 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-05-6.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-05-6.json new file mode 100644 index 00000000..6e53312b --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-05-6.json @@ -0,0 +1,87 @@ +{ + "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/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-07.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-07.json new file mode 100644 index 00000000..ec55b314 --- /dev/null +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-440-07.json @@ -0,0 +1,116 @@ +{ + "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/data/configs/vitaIntegrationTestConfigs/vita_integration_test_config.json b/data/configs/vitaIntegrationTestConfigs/vita_integration_test_config.json new file mode 100644 index 00000000..726a3a62 --- /dev/null +++ b/data/configs/vitaIntegrationTestConfigs/vita_integration_test_config.json @@ -0,0 +1,527 @@ +{ + "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/data/dynamoDB/inProgressTestData/440/AUTO_RSV_ELI-440_004.json b/data/dynamoDB/inProgressTestData/440/AUTO_RSV_ELI-440_004.json new file mode 100644 index 00000000..4bac7dd0 --- /dev/null +++ b/data/dynamoDB/inProgressTestData/440/AUTO_RSV_ELI-440_004.json @@ -0,0 +1,47 @@ +{ + "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/data/dynamoDB/integrationTestData/AUTO_RSV_INT_001.json b/data/dynamoDB/integrationTestData/AUTO_RSV_INT_001.json new file mode 100644 index 00000000..45f2c669 --- /dev/null +++ b/data/dynamoDB/integrationTestData/AUTO_RSV_INT_001.json @@ -0,0 +1,44 @@ +{ + "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/data/dynamoDB/integrationTestData/AUTO_RSV_INT_002.json b/data/dynamoDB/integrationTestData/AUTO_RSV_INT_002.json new file mode 100644 index 00000000..fa1bee06 --- /dev/null +++ b/data/dynamoDB/integrationTestData/AUTO_RSV_INT_002.json @@ -0,0 +1,44 @@ +{ + "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/data/dynamoDB/integrationTestData/AUTO_RSV_INT_003.json b/data/dynamoDB/integrationTestData/AUTO_RSV_INT_003.json new file mode 100644 index 00000000..ed8db868 --- /dev/null +++ b/data/dynamoDB/integrationTestData/AUTO_RSV_INT_003.json @@ -0,0 +1,44 @@ +{ + "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/data/dynamoDB/regressionTestData/AUTO_RSV_REG_001.json b/data/dynamoDB/regressionTestData/AUTO_RSV_REG_001.json new file mode 100644 index 00000000..dc4879b1 --- /dev/null +++ b/data/dynamoDB/regressionTestData/AUTO_RSV_REG_001.json @@ -0,0 +1,39 @@ +{ + "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/data/dynamoDB/regressionTestData/AUTO_RSV_REG_002.json b/data/dynamoDB/regressionTestData/AUTO_RSV_REG_002.json new file mode 100644 index 00000000..8a649222 --- /dev/null +++ b/data/dynamoDB/regressionTestData/AUTO_RSV_REG_002.json @@ -0,0 +1,43 @@ +{ + "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/data/dynamoDB/regressionTestData/AUTO_RSV_REG_003.json b/data/dynamoDB/regressionTestData/AUTO_RSV_REG_003.json new file mode 100644 index 00000000..36010707 --- /dev/null +++ b/data/dynamoDB/regressionTestData/AUTO_RSV_REG_003.json @@ -0,0 +1,43 @@ +{ + "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/data/dynamoDB/regressionTestData/AUTO_RSV_REG_010-1.json b/data/dynamoDB/regressionTestData/AUTO_RSV_REG_010-1.json new file mode 100644 index 00000000..542c97df --- /dev/null +++ b/data/dynamoDB/regressionTestData/AUTO_RSV_REG_010-1.json @@ -0,0 +1,39 @@ +{ + "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/data/dynamoDB/regressionTestData/AUTO_RSV_REG_010.json b/data/dynamoDB/regressionTestData/AUTO_RSV_REG_010.json new file mode 100644 index 00000000..ecf3c2fc --- /dev/null +++ b/data/dynamoDB/regressionTestData/AUTO_RSV_REG_010.json @@ -0,0 +1,39 @@ +{ + "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/data/dynamoDB/regressionTestData/AUTO_RSV_REG_011.json b/data/dynamoDB/regressionTestData/AUTO_RSV_REG_011.json new file mode 100644 index 00000000..196f37f9 --- /dev/null +++ b/data/dynamoDB/regressionTestData/AUTO_RSV_REG_011.json @@ -0,0 +1,39 @@ +{ + "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/data/dynamoDB/regressionTestData/AUTO_RSV_REG_012.json b/data/dynamoDB/regressionTestData/AUTO_RSV_REG_012.json new file mode 100644 index 00000000..8fdd7062 --- /dev/null +++ b/data/dynamoDB/regressionTestData/AUTO_RSV_REG_012.json @@ -0,0 +1,29 @@ +{ + "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/data/dynamoDB/regressionTestData/AUTO_RSV_REG_013.json b/data/dynamoDB/regressionTestData/AUTO_RSV_REG_013.json new file mode 100644 index 00000000..e0abd3e5 --- /dev/null +++ b/data/dynamoDB/regressionTestData/AUTO_RSV_REG_013.json @@ -0,0 +1,34 @@ +{ + "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/data/dynamoDB/regressionTestData/AUTO_RSV_REG_050.json b/data/dynamoDB/regressionTestData/AUTO_RSV_REG_050.json new file mode 100644 index 00000000..940fd5c7 --- /dev/null +++ b/data/dynamoDB/regressionTestData/AUTO_RSV_REG_050.json @@ -0,0 +1,34 @@ +{ + "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/data/dynamoDB/smokeTestData/AUTO_RSV_SB_001.json b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_001.json new file mode 100644 index 00000000..48e951bb --- /dev/null +++ b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_001.json @@ -0,0 +1,39 @@ +{ + "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/data/dynamoDB/smokeTestData/AUTO_RSV_SB_002.json b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_002.json new file mode 100644 index 00000000..aab28ffe --- /dev/null +++ b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_002.json @@ -0,0 +1,39 @@ +{ + "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/data/dynamoDB/smokeTestData/AUTO_RSV_SB_003.json b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_003.json new file mode 100644 index 00000000..2ad4133a --- /dev/null +++ b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_003.json @@ -0,0 +1,39 @@ +{ + "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/data/dynamoDB/smokeTestData/AUTO_RSV_SB_004.json b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_004.json new file mode 100644 index 00000000..bff06eff --- /dev/null +++ b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_004.json @@ -0,0 +1,45 @@ +{ + "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/data/dynamoDB/smokeTestData/AUTO_RSV_SB_005.json b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_005.json new file mode 100644 index 00000000..fab88f8b --- /dev/null +++ b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_005.json @@ -0,0 +1,45 @@ +{ + "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/data/dynamoDB/smokeTestData/AUTO_RSV_SB_006.json b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_006.json new file mode 100644 index 00000000..7f507175 --- /dev/null +++ b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_006.json @@ -0,0 +1,45 @@ +{ + "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/data/dynamoDB/smokeTestData/AUTO_RSV_SB_007.json b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_007.json new file mode 100644 index 00000000..20516426 --- /dev/null +++ b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_007.json @@ -0,0 +1,39 @@ +{ + "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/data/dynamoDB/smokeTestData/AUTO_RSV_SB_008.json b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_008.json new file mode 100644 index 00000000..cc1f9289 --- /dev/null +++ b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_008.json @@ -0,0 +1,44 @@ +{ + "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/data/dynamoDB/smokeTestData/AUTO_RSV_SB_009.json b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_009.json new file mode 100644 index 00000000..288e7654 --- /dev/null +++ b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_009.json @@ -0,0 +1,44 @@ +{ + "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/data/dynamoDB/smokeTestData/AUTO_RSV_SB_010.json b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_010.json new file mode 100644 index 00000000..aee9d565 --- /dev/null +++ b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_010.json @@ -0,0 +1,44 @@ +{ + "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/data/dynamoDB/smokeTestData/AUTO_RSV_SB_011.json b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_011.json new file mode 100644 index 00000000..e19d0428 --- /dev/null +++ b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_011.json @@ -0,0 +1,39 @@ +{ + "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/data/dynamoDB/smokeTestData/AUTO_RSV_SB_012.json b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_012.json new file mode 100644 index 00000000..533899df --- /dev/null +++ b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_012.json @@ -0,0 +1,34 @@ +{ + "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/data/dynamoDB/smokeTestData/AUTO_RSV_SB_013.json b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_013.json new file mode 100644 index 00000000..c32b4734 --- /dev/null +++ b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_013.json @@ -0,0 +1,44 @@ +{ + "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/data/dynamoDB/smokeTestData/AUTO_RSV_SB_014.json b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_014.json new file mode 100644 index 00000000..5e9d8f40 --- /dev/null +++ b/data/dynamoDB/smokeTestData/AUTO_RSV_SB_014.json @@ -0,0 +1,39 @@ +{ + "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/data/dynamoDB/storyTestData/.ignore_folder/AUTO_RSV_ELI-216-2.json b/data/dynamoDB/storyTestData/.ignore_folder/AUTO_RSV_ELI-216-2.json new file mode 100644 index 00000000..ce3de9e8 --- /dev/null +++ b/data/dynamoDB/storyTestData/.ignore_folder/AUTO_RSV_ELI-216-2.json @@ -0,0 +1,51 @@ +{ + "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/data/dynamoDB/storyTestData/.ignore_folder/AUTO_RSV_ELI-216-3.json b/data/dynamoDB/storyTestData/.ignore_folder/AUTO_RSV_ELI-216-3.json new file mode 100644 index 00000000..15e70cdc --- /dev/null +++ b/data/dynamoDB/storyTestData/.ignore_folder/AUTO_RSV_ELI-216-3.json @@ -0,0 +1,49 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-155.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-155.json new file mode 100644 index 00000000..5ee21f2e --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-155.json @@ -0,0 +1,44 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-216-1.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-216-1.json new file mode 100644 index 00000000..bb6f9033 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-216-1.json @@ -0,0 +1,45 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-219-1.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-219-1.json new file mode 100644 index 00000000..e2123faa --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-219-1.json @@ -0,0 +1,45 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-219-2.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-219-2.json new file mode 100644 index 00000000..d7fb2613 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-219-2.json @@ -0,0 +1,45 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-219-3.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-219-3.json new file mode 100644 index 00000000..ab309433 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-219-3.json @@ -0,0 +1,45 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_001.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_001.json new file mode 100644 index 00000000..0bd1dab9 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_001.json @@ -0,0 +1,58 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_002.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_002.json new file mode 100644 index 00000000..e648620f --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_002.json @@ -0,0 +1,58 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_003.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_003.json new file mode 100644 index 00000000..c4f0b32c --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_003.json @@ -0,0 +1,58 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_004.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_004.json new file mode 100644 index 00000000..fec870ce --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_004.json @@ -0,0 +1,58 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_005.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_005.json new file mode 100644 index 00000000..d76c9866 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_005.json @@ -0,0 +1,58 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_006.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_006.json new file mode 100644 index 00000000..473a8219 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-220_006.json @@ -0,0 +1,58 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-221-01.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-221-01.json new file mode 100644 index 00000000..711c81c3 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-221-01.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-221-02.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-221-02.json new file mode 100644 index 00000000..390ed462 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-221-02.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-221-03.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-221-03.json new file mode 100644 index 00000000..89b1eb68 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-221-03.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-1.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-1.json new file mode 100644 index 00000000..849c4cc9 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-1.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-2.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-2.json new file mode 100644 index 00000000..41c86b84 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-2.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-3.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-3.json new file mode 100644 index 00000000..0a64750b --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-3.json @@ -0,0 +1,36 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-4.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-4.json new file mode 100644 index 00000000..d2c506c1 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-4.json @@ -0,0 +1,45 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-5.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-5.json new file mode 100644 index 00000000..709043a3 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-5.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-6.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-6.json new file mode 100644 index 00000000..c3f8b635 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-6.json @@ -0,0 +1,39 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-7.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-7.json new file mode 100644 index 00000000..507ab6c3 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-7.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-8.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-8.json new file mode 100644 index 00000000..0dbd77f5 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-222-8.json @@ -0,0 +1,44 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_001.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_001.json new file mode 100644 index 00000000..dfc5c7eb --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_001.json @@ -0,0 +1,53 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_002.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_002.json new file mode 100644 index 00000000..860e59e7 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_002.json @@ -0,0 +1,60 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_003.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_003.json new file mode 100644 index 00000000..16578139 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_003.json @@ -0,0 +1,61 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_004.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_004.json new file mode 100644 index 00000000..70c10802 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_004.json @@ -0,0 +1,53 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_005.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_005.json new file mode 100644 index 00000000..b84fc95b --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_005.json @@ -0,0 +1,47 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_006.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_006.json new file mode 100644 index 00000000..6d4bf1cf --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_006.json @@ -0,0 +1,53 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_007.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_007.json new file mode 100644 index 00000000..fa769955 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_007.json @@ -0,0 +1,53 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_008.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_008.json new file mode 100644 index 00000000..05e85bea --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_008.json @@ -0,0 +1,43 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_009.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_009.json new file mode 100644 index 00000000..786b1149 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_009.json @@ -0,0 +1,76 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_010.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_010.json new file mode 100644 index 00000000..b7f04bd1 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_010.json @@ -0,0 +1,47 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_011.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_011.json new file mode 100644 index 00000000..f201463e --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_011.json @@ -0,0 +1,53 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_012.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_012.json new file mode 100644 index 00000000..59843267 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-223_012.json @@ -0,0 +1,54 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-236-01.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-236-01.json new file mode 100644 index 00000000..734a9ae5 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-236-01.json @@ -0,0 +1,52 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-236-02.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-236-02.json new file mode 100644 index 00000000..a9180cde --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-236-02.json @@ -0,0 +1,52 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_001.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_001.json new file mode 100644 index 00000000..e27daa61 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_001.json @@ -0,0 +1,54 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_002.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_002.json new file mode 100644 index 00000000..aadf9602 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_002.json @@ -0,0 +1,54 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_003.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_003.json new file mode 100644 index 00000000..1c418430 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_003.json @@ -0,0 +1,54 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_004.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_004.json new file mode 100644 index 00000000..472e91fc --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_004.json @@ -0,0 +1,54 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_005.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_005.json new file mode 100644 index 00000000..b07b7a3a --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_005.json @@ -0,0 +1,54 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_006.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_006.json new file mode 100644 index 00000000..92f7668e --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_006.json @@ -0,0 +1,54 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_007.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_007.json new file mode 100644 index 00000000..615a82e6 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-274_007.json @@ -0,0 +1,54 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-01.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-01.json new file mode 100644 index 00000000..30d6495e --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-01.json @@ -0,0 +1,39 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-02.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-02.json new file mode 100644 index 00000000..0fd8fb4b --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-02.json @@ -0,0 +1,39 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-03.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-03.json new file mode 100644 index 00000000..418e0d19 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-03.json @@ -0,0 +1,39 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-04.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-04.json new file mode 100644 index 00000000..a049d6a1 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-04.json @@ -0,0 +1,40 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-05.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-05.json new file mode 100644 index 00000000..0de52991 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-05.json @@ -0,0 +1,39 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-06.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-06.json new file mode 100644 index 00000000..7c91ff9e --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-06.json @@ -0,0 +1,39 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-07.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-07.json new file mode 100644 index 00000000..14fdd0b2 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-07.json @@ -0,0 +1,39 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-08.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-08.json new file mode 100644 index 00000000..cf57ec14 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-08.json @@ -0,0 +1,39 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-09.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-09.json new file mode 100644 index 00000000..06bb1f9e --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-09.json @@ -0,0 +1,44 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-10.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-10.json new file mode 100644 index 00000000..1228230a --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-10.json @@ -0,0 +1,42 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-11.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-11.json new file mode 100644 index 00000000..8ef6cdfc --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-11.json @@ -0,0 +1,42 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-12.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-12.json new file mode 100644 index 00000000..0672281d --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-12.json @@ -0,0 +1,47 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-13.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-13.json new file mode 100644 index 00000000..ff2d8fde --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-13.json @@ -0,0 +1,39 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-14.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-14.json new file mode 100644 index 00000000..524d8ea1 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-14.json @@ -0,0 +1,39 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-15.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-15.json new file mode 100644 index 00000000..a5119e63 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-15.json @@ -0,0 +1,44 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-16.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-16.json new file mode 100644 index 00000000..b308eed7 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-16.json @@ -0,0 +1,39 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-17.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-17.json new file mode 100644 index 00000000..b08c5a22 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-295-17.json @@ -0,0 +1,39 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-1.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-1.json new file mode 100644 index 00000000..0c33dfd7 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-1.json @@ -0,0 +1,48 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-2.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-2.json new file mode 100644 index 00000000..29934074 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-2.json @@ -0,0 +1,48 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-3.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-3.json new file mode 100644 index 00000000..e9ce9df2 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-3.json @@ -0,0 +1,48 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-4.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-4.json new file mode 100644 index 00000000..ce14e995 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-4.json @@ -0,0 +1,42 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-5.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-5.json new file mode 100644 index 00000000..28f0efa7 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-317-5.json @@ -0,0 +1,42 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-1.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-1.json new file mode 100644 index 00000000..40fef601 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-1.json @@ -0,0 +1,57 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-10.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-10.json new file mode 100644 index 00000000..458d220f --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-10.json @@ -0,0 +1,66 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-11.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-11.json new file mode 100644 index 00000000..770ba183 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-11.json @@ -0,0 +1,66 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-2.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-2.json new file mode 100644 index 00000000..a852a6fb --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-2.json @@ -0,0 +1,60 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-3.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-3.json new file mode 100644 index 00000000..beb538c3 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-3.json @@ -0,0 +1,60 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-4.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-4.json new file mode 100644 index 00000000..26dcebca --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-4.json @@ -0,0 +1,60 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-5.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-5.json new file mode 100644 index 00000000..55e37ebe --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-5.json @@ -0,0 +1,60 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-6.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-6.json new file mode 100644 index 00000000..dfeba54b --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-6.json @@ -0,0 +1,65 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-7.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-7.json new file mode 100644 index 00000000..4c4b88da --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-7.json @@ -0,0 +1,65 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-8.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-8.json new file mode 100644 index 00000000..ed17315b --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-8.json @@ -0,0 +1,65 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-9.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-9.json new file mode 100644 index 00000000..64be5dfd --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-320-9.json @@ -0,0 +1,65 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_001.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_001.json new file mode 100644 index 00000000..0b08b65d --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_001.json @@ -0,0 +1,45 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_002.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_002.json new file mode 100644 index 00000000..0fff2749 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_002.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_003.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_003.json new file mode 100644 index 00000000..51b29ed9 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_003.json @@ -0,0 +1,36 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_004.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_004.json new file mode 100644 index 00000000..999c96ca --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_004.json @@ -0,0 +1,45 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_005.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_005.json new file mode 100644 index 00000000..57b9d2ed --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_005.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_006.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_006.json new file mode 100644 index 00000000..f4a3c24a --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_006.json @@ -0,0 +1,39 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_007.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_007.json new file mode 100644 index 00000000..62812795 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_007.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_008.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_008.json new file mode 100644 index 00000000..669b8b55 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_008.json @@ -0,0 +1,44 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_009.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_009.json new file mode 100644 index 00000000..2201d5b3 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_009.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_010.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_010.json new file mode 100644 index 00000000..96f1a407 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_010.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_011.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_011.json new file mode 100644 index 00000000..fe6b07b5 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_011.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_012.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_012.json new file mode 100644 index 00000000..a37e23ee --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_012.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_013.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_013.json new file mode 100644 index 00000000..ca0510b1 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_013.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_014.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_014.json new file mode 100644 index 00000000..ca394208 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_014.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_015.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_015.json new file mode 100644 index 00000000..405635d1 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_015.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_016.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_016.json new file mode 100644 index 00000000..0a84624d --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_016.json @@ -0,0 +1,53 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_017.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_017.json new file mode 100644 index 00000000..901917b1 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_017.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_018.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_018.json new file mode 100644 index 00000000..dc5de388 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_018.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_019.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_019.json new file mode 100644 index 00000000..6f38bac4 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_019.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_020.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_020.json new file mode 100644 index 00000000..6b8c8142 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_020.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_021.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_021.json new file mode 100644 index 00000000..33696fc6 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_021.json @@ -0,0 +1,47 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_022.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_022.json new file mode 100644 index 00000000..a4286be8 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_022.json @@ -0,0 +1,47 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_023.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_023.json new file mode 100644 index 00000000..a8d19465 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_023.json @@ -0,0 +1,51 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_024.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_024.json new file mode 100644 index 00000000..13b4135b --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_024.json @@ -0,0 +1,47 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_025.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_025.json new file mode 100644 index 00000000..80a5ec4e --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_025.json @@ -0,0 +1,47 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_026.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_026.json new file mode 100644 index 00000000..89219676 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_026.json @@ -0,0 +1,47 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_027.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_027.json new file mode 100644 index 00000000..0c90eab6 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_027.json @@ -0,0 +1,47 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_028.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_028.json new file mode 100644 index 00000000..083693b2 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-365_028.json @@ -0,0 +1,47 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_001.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_001.json new file mode 100644 index 00000000..ad25ea5b --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_001.json @@ -0,0 +1,45 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_002.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_002.json new file mode 100644 index 00000000..29b5a7e9 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_002.json @@ -0,0 +1,45 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_001.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_001.json new file mode 100644 index 00000000..a591223c --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_001.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_002.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_002.json new file mode 100644 index 00000000..4a16cd1e --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_002.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_003.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_003.json new file mode 100644 index 00000000..ff099b84 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_003.json @@ -0,0 +1,50 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_004.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_004.json new file mode 100644 index 00000000..480b4d2a --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_004.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_005.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_005.json new file mode 100644 index 00000000..39c5b2be --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_005.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_006.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_006.json new file mode 100644 index 00000000..c2fc463d --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_006.json @@ -0,0 +1,50 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_007.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_007.json new file mode 100644 index 00000000..713d3525 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_007.json @@ -0,0 +1,50 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_008.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_008.json new file mode 100644 index 00000000..9271ad75 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-373_008.json @@ -0,0 +1,50 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_001.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_001.json new file mode 100644 index 00000000..bb63f3ec --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_001.json @@ -0,0 +1,54 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_002.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_002.json new file mode 100644 index 00000000..42beeecf --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_002.json @@ -0,0 +1,54 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_003.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_003.json new file mode 100644 index 00000000..86a3f553 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_003.json @@ -0,0 +1,54 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_004.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_004.json new file mode 100644 index 00000000..7051a701 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_004.json @@ -0,0 +1,54 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_005.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_005.json new file mode 100644 index 00000000..3e343141 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_005.json @@ -0,0 +1,54 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_006.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_006.json new file mode 100644 index 00000000..1443aedd --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_006.json @@ -0,0 +1,54 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_007.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_007.json new file mode 100644 index 00000000..5e9c9c4f --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-399_007.json @@ -0,0 +1,55 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_001.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_001.json new file mode 100644 index 00000000..7489221f --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_001.json @@ -0,0 +1,58 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_002.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_002.json new file mode 100644 index 00000000..92cdd34d --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_002.json @@ -0,0 +1,58 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_003.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_003.json new file mode 100644 index 00000000..8bd5d5b3 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_003.json @@ -0,0 +1,62 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_004.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_004.json new file mode 100644 index 00000000..022742c0 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_004.json @@ -0,0 +1,62 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_005.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_005.json new file mode 100644 index 00000000..fd7b6ea4 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_005.json @@ -0,0 +1,58 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_006.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_006.json new file mode 100644 index 00000000..72c71f73 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-405_006.json @@ -0,0 +1,50 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-406_001.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-406_001.json new file mode 100644 index 00000000..9fb6c6e6 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-406_001.json @@ -0,0 +1,41 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-406_002.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-406_002.json new file mode 100644 index 00000000..16e3ef45 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-406_002.json @@ -0,0 +1,19 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-406_003.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-406_003.json new file mode 100644 index 00000000..49f89d48 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-406_003.json @@ -0,0 +1,34 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_001.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_001.json new file mode 100644 index 00000000..3d441c38 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_001.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_002.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_002.json new file mode 100644 index 00000000..dd0b4807 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_002.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_003.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_003.json new file mode 100644 index 00000000..37712876 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_003.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_004.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_004.json new file mode 100644 index 00000000..2443dc2b --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_004.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_005.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_005.json new file mode 100644 index 00000000..e4361a22 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_005.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_006.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_006.json new file mode 100644 index 00000000..d6cfd082 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-427_006.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_001.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_001.json new file mode 100644 index 00000000..e27c2941 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_001.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_002.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_002.json new file mode 100644 index 00000000..9ac42778 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_002.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_003.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_003.json new file mode 100644 index 00000000..bd879f62 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_003.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_005.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_005.json new file mode 100644 index 00000000..c720fed1 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_005.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_006.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_006.json new file mode 100644 index 00000000..6718c070 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_006.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_007.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_007.json new file mode 100644 index 00000000..59c0e5f5 --- /dev/null +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-440_007.json @@ -0,0 +1,46 @@ +{ + "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/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_001.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_001.json new file mode 100644 index 00000000..c744f8e5 --- /dev/null +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_001.json @@ -0,0 +1,40 @@ +{ + "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/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_002.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_002.json new file mode 100644 index 00000000..e5e1d6bd --- /dev/null +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_002.json @@ -0,0 +1,39 @@ +{ + "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/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_003.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_003.json new file mode 100644 index 00000000..5fda873d --- /dev/null +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_003.json @@ -0,0 +1,39 @@ +{ + "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/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_004.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_004.json new file mode 100644 index 00000000..01c541a9 --- /dev/null +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_004.json @@ -0,0 +1,35 @@ +{ + "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/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_005.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_005.json new file mode 100644 index 00000000..f21e7710 --- /dev/null +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_005.json @@ -0,0 +1,35 @@ +{ + "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/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_006.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_006.json new file mode 100644 index 00000000..792e7842 --- /dev/null +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_006.json @@ -0,0 +1,34 @@ +{ + "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/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_007.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_007.json new file mode 100644 index 00000000..6ed305d6 --- /dev/null +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_007.json @@ -0,0 +1,39 @@ +{ + "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/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_009.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_009.json new file mode 100644 index 00000000..aa31df59 --- /dev/null +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_009.json @@ -0,0 +1,39 @@ +{ + "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/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_010.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_010.json new file mode 100644 index 00000000..0234ed45 --- /dev/null +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_010.json @@ -0,0 +1,39 @@ +{ + "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/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_011.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_011.json new file mode 100644 index 00000000..98c575b6 --- /dev/null +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_011.json @@ -0,0 +1,39 @@ +{ + "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/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_012.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_012.json new file mode 100644 index 00000000..fc806c47 --- /dev/null +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_012.json @@ -0,0 +1,34 @@ +{ + "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/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_013.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_013.json new file mode 100644 index 00000000..a3dff10d --- /dev/null +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_013.json @@ -0,0 +1,34 @@ +{ + "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/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_014.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_014.json new file mode 100644 index 00000000..e11d722f --- /dev/null +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_014.json @@ -0,0 +1,35 @@ +{ + "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/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_500.json b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_500.json new file mode 100644 index 00000000..68c385ce --- /dev/null +++ b/data/dynamoDB/vitaIntegrationTestData/AUTO_RSV_VITA_INT_500.json @@ -0,0 +1,40 @@ +{ + "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/data/responses/inProgressTestResponses/440/AUTO_RSV_ELI-440_004.json b/data/responses/inProgressTestResponses/440/AUTO_RSV_ELI-440_004.json new file mode 100644 index 00000000..604e7f14 --- /dev/null +++ b/data/responses/inProgressTestResponses/440/AUTO_RSV_ELI-440_004.json @@ -0,0 +1,35 @@ +{ + "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/data/responses/regressionTestResponses/AUTO_RSV_REG_001.json b/data/responses/regressionTestResponses/AUTO_RSV_REG_001.json new file mode 100644 index 00000000..e3a66ecd --- /dev/null +++ b/data/responses/regressionTestResponses/AUTO_RSV_REG_001.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/regressionTestResponses/AUTO_RSV_REG_002.json b/data/responses/regressionTestResponses/AUTO_RSV_REG_002.json new file mode 100644 index 00000000..331ba4e3 --- /dev/null +++ b/data/responses/regressionTestResponses/AUTO_RSV_REG_002.json @@ -0,0 +1,35 @@ +{ + "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/data/responses/regressionTestResponses/AUTO_RSV_REG_003.json b/data/responses/regressionTestResponses/AUTO_RSV_REG_003.json new file mode 100644 index 00000000..e1b80269 --- /dev/null +++ b/data/responses/regressionTestResponses/AUTO_RSV_REG_003.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/regressionTestResponses/AUTO_RSV_REG_010-1.json b/data/responses/regressionTestResponses/AUTO_RSV_REG_010-1.json new file mode 100644 index 00000000..0fdf41d8 --- /dev/null +++ b/data/responses/regressionTestResponses/AUTO_RSV_REG_010-1.json @@ -0,0 +1,27 @@ +{ + "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/data/responses/regressionTestResponses/AUTO_RSV_REG_010.json b/data/responses/regressionTestResponses/AUTO_RSV_REG_010.json new file mode 100644 index 00000000..0fdf41d8 --- /dev/null +++ b/data/responses/regressionTestResponses/AUTO_RSV_REG_010.json @@ -0,0 +1,27 @@ +{ + "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/data/responses/regressionTestResponses/AUTO_RSV_REG_011.json b/data/responses/regressionTestResponses/AUTO_RSV_REG_011.json new file mode 100644 index 00000000..0fdf41d8 --- /dev/null +++ b/data/responses/regressionTestResponses/AUTO_RSV_REG_011.json @@ -0,0 +1,27 @@ +{ + "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/data/responses/regressionTestResponses/AUTO_RSV_REG_012.json b/data/responses/regressionTestResponses/AUTO_RSV_REG_012.json new file mode 100644 index 00000000..0fdf41d8 --- /dev/null +++ b/data/responses/regressionTestResponses/AUTO_RSV_REG_012.json @@ -0,0 +1,27 @@ +{ + "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/data/responses/regressionTestResponses/AUTO_RSV_REG_013.json b/data/responses/regressionTestResponses/AUTO_RSV_REG_013.json new file mode 100644 index 00000000..0f2cac11 --- /dev/null +++ b/data/responses/regressionTestResponses/AUTO_RSV_REG_013.json @@ -0,0 +1,22 @@ +{ + "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/data/responses/smokeTestResponses/AUTO_RSV_SB_001.json b/data/responses/smokeTestResponses/AUTO_RSV_SB_001.json new file mode 100644 index 00000000..4a6253f1 --- /dev/null +++ b/data/responses/smokeTestResponses/AUTO_RSV_SB_001.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/smokeTestResponses/AUTO_RSV_SB_002.json b/data/responses/smokeTestResponses/AUTO_RSV_SB_002.json new file mode 100644 index 00000000..53b88e29 --- /dev/null +++ b/data/responses/smokeTestResponses/AUTO_RSV_SB_002.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/smokeTestResponses/AUTO_RSV_SB_003.json b/data/responses/smokeTestResponses/AUTO_RSV_SB_003.json new file mode 100644 index 00000000..c02961ad --- /dev/null +++ b/data/responses/smokeTestResponses/AUTO_RSV_SB_003.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/smokeTestResponses/AUTO_RSV_SB_004.json b/data/responses/smokeTestResponses/AUTO_RSV_SB_004.json new file mode 100644 index 00000000..9f1a7ba6 --- /dev/null +++ b/data/responses/smokeTestResponses/AUTO_RSV_SB_004.json @@ -0,0 +1,24 @@ +{ + "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/data/responses/smokeTestResponses/AUTO_RSV_SB_005.json b/data/responses/smokeTestResponses/AUTO_RSV_SB_005.json new file mode 100644 index 00000000..7522fb0f --- /dev/null +++ b/data/responses/smokeTestResponses/AUTO_RSV_SB_005.json @@ -0,0 +1,24 @@ +{ + "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/data/responses/smokeTestResponses/AUTO_RSV_SB_006.json b/data/responses/smokeTestResponses/AUTO_RSV_SB_006.json new file mode 100644 index 00000000..b52ea12f --- /dev/null +++ b/data/responses/smokeTestResponses/AUTO_RSV_SB_006.json @@ -0,0 +1,24 @@ +{ + "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/data/responses/smokeTestResponses/AUTO_RSV_SB_007.json b/data/responses/smokeTestResponses/AUTO_RSV_SB_007.json new file mode 100644 index 00000000..df94725a --- /dev/null +++ b/data/responses/smokeTestResponses/AUTO_RSV_SB_007.json @@ -0,0 +1,28 @@ +{ + "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/data/responses/smokeTestResponses/AUTO_RSV_SB_008.json b/data/responses/smokeTestResponses/AUTO_RSV_SB_008.json new file mode 100644 index 00000000..01fef4fb --- /dev/null +++ b/data/responses/smokeTestResponses/AUTO_RSV_SB_008.json @@ -0,0 +1,7 @@ +{ + "responseId": "<>", + "meta": { + "lastUpdated": "<>" + }, + "processedSuggestions": [] +} diff --git a/data/responses/smokeTestResponses/AUTO_RSV_SB_009.json b/data/responses/smokeTestResponses/AUTO_RSV_SB_009.json new file mode 100644 index 00000000..f3821a05 --- /dev/null +++ b/data/responses/smokeTestResponses/AUTO_RSV_SB_009.json @@ -0,0 +1,28 @@ +{ + "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/data/responses/smokeTestResponses/AUTO_RSV_SB_010.json b/data/responses/smokeTestResponses/AUTO_RSV_SB_010.json new file mode 100644 index 00000000..8993f41d --- /dev/null +++ b/data/responses/smokeTestResponses/AUTO_RSV_SB_010.json @@ -0,0 +1,28 @@ +{ + "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/data/responses/smokeTestResponses/AUTO_RSV_SB_011.json b/data/responses/smokeTestResponses/AUTO_RSV_SB_011.json new file mode 100644 index 00000000..509cd71b --- /dev/null +++ b/data/responses/smokeTestResponses/AUTO_RSV_SB_011.json @@ -0,0 +1,28 @@ +{ + "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/data/responses/smokeTestResponses/AUTO_RSV_SB_012.json b/data/responses/smokeTestResponses/AUTO_RSV_SB_012.json new file mode 100644 index 00000000..4996198d --- /dev/null +++ b/data/responses/smokeTestResponses/AUTO_RSV_SB_012.json @@ -0,0 +1,28 @@ +{ + "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/data/responses/smokeTestResponses/AUTO_RSV_SB_013.json b/data/responses/smokeTestResponses/AUTO_RSV_SB_013.json new file mode 100644 index 00000000..3413b999 --- /dev/null +++ b/data/responses/smokeTestResponses/AUTO_RSV_SB_013.json @@ -0,0 +1,22 @@ +{ + "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/data/responses/smokeTestResponses/AUTO_RSV_SB_014.json b/data/responses/smokeTestResponses/AUTO_RSV_SB_014.json new file mode 100644 index 00000000..29ba244d --- /dev/null +++ b/data/responses/smokeTestResponses/AUTO_RSV_SB_014.json @@ -0,0 +1,33 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-155.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-155.json new file mode 100644 index 00000000..6cb46fb6 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-155.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-216-1.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-216-1.json new file mode 100644 index 00000000..b1c43974 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-216-1.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-216-2.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-216-2.json new file mode 100644 index 00000000..4f333988 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-216-2.json @@ -0,0 +1,26 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-216-3.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-216-3.json new file mode 100644 index 00000000..d959499f --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-216-3.json @@ -0,0 +1,3 @@ +{ + "response_items": "NHS number mismatch" +} diff --git a/data/responses/storyTestResponses/AUTO_RSV_ELI-219-1.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-219-1.json new file mode 100644 index 00000000..754b65de --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-219-1.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-219-2.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-219-2.json new file mode 100644 index 00000000..8d29be96 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-219-2.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-219-3.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-219-3.json new file mode 100644 index 00000000..5657c994 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-219-3.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-220_001.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-220_001.json new file mode 100644 index 00000000..230b4da3 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-220_001.json @@ -0,0 +1,27 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-220_002.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-220_002.json new file mode 100644 index 00000000..944211f0 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-220_002.json @@ -0,0 +1,27 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-220_003.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-220_003.json new file mode 100644 index 00000000..cf4a88e4 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-220_003.json @@ -0,0 +1,33 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-220_004.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-220_004.json new file mode 100644 index 00000000..a19d2377 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-220_004.json @@ -0,0 +1,33 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-220_005.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-220_005.json new file mode 100644 index 00000000..9e0d07f0 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-220_005.json @@ -0,0 +1,27 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-220_006.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-220_006.json new file mode 100644 index 00000000..8fb9c4a8 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-220_006.json @@ -0,0 +1,27 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-221-01.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-221-01.json new file mode 100644 index 00000000..3dc537ca --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-221-01.json @@ -0,0 +1,33 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-221-02.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-221-02.json new file mode 100644 index 00000000..4f323487 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-221-02.json @@ -0,0 +1,38 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-221-03.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-221-03.json new file mode 100644 index 00000000..4f323487 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-221-03.json @@ -0,0 +1,38 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-222-1.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-222-1.json new file mode 100644 index 00000000..9b538750 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-222-1.json @@ -0,0 +1,24 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-222-2.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-222-2.json new file mode 100644 index 00000000..afcbcfb4 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-222-2.json @@ -0,0 +1,27 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-222-3.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-222-3.json new file mode 100644 index 00000000..398df9ee --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-222-3.json @@ -0,0 +1,22 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-222-4.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-222-4.json new file mode 100644 index 00000000..398df9ee --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-222-4.json @@ -0,0 +1,22 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-222-5.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-222-5.json new file mode 100644 index 00000000..398df9ee --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-222-5.json @@ -0,0 +1,22 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-222-6.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-222-6.json new file mode 100644 index 00000000..afcbcfb4 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-222-6.json @@ -0,0 +1,27 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-222-7.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-222-7.json new file mode 100644 index 00000000..99d6cd6a --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-222-7.json @@ -0,0 +1,27 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-222-8.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-222-8.json new file mode 100644 index 00000000..663d20f0 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-222-8.json @@ -0,0 +1,22 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_001.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_001.json new file mode 100644 index 00000000..909db2b3 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_001.json @@ -0,0 +1,36 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_002.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_002.json new file mode 100644 index 00000000..73254727 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_002.json @@ -0,0 +1,36 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_003.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_003.json new file mode 100644 index 00000000..b985424e --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_003.json @@ -0,0 +1,23 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_004.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_004.json new file mode 100644 index 00000000..e415b077 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_004.json @@ -0,0 +1,36 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_005.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_005.json new file mode 100644 index 00000000..b985424e --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_005.json @@ -0,0 +1,23 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_006.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_006.json new file mode 100644 index 00000000..df6c8e5a --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_006.json @@ -0,0 +1,36 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_007.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_007.json new file mode 100644 index 00000000..cbf5094a --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_007.json @@ -0,0 +1,41 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_008.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_008.json new file mode 100644 index 00000000..893b1eff --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_008.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_009.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_009.json new file mode 100644 index 00000000..fa17173e --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_009.json @@ -0,0 +1,146 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_010.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_010.json new file mode 100644 index 00000000..b985424e --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_010.json @@ -0,0 +1,23 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_011.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_011.json new file mode 100644 index 00000000..2dc74b4a --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_011.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-223_012.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_012.json new file mode 100644 index 00000000..b985424e --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-223_012.json @@ -0,0 +1,23 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-236-01.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-236-01.json new file mode 100644 index 00000000..aa9cc296 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-236-01.json @@ -0,0 +1,68 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-236-02.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-236-02.json new file mode 100644 index 00000000..aa9cc296 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-236-02.json @@ -0,0 +1,68 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-274_001.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-274_001.json new file mode 100644 index 00000000..b04d907a --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-274_001.json @@ -0,0 +1,27 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-274_002.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-274_002.json new file mode 100644 index 00000000..b04d907a --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-274_002.json @@ -0,0 +1,27 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-274_003.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-274_003.json new file mode 100644 index 00000000..134a01f3 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-274_003.json @@ -0,0 +1,22 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-274_004.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-274_004.json new file mode 100644 index 00000000..b2b2e610 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-274_004.json @@ -0,0 +1,43 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-274_005.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-274_005.json new file mode 100644 index 00000000..6a4226a7 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-274_005.json @@ -0,0 +1,43 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-274_006.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-274_006.json new file mode 100644 index 00000000..bc6611d6 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-274_006.json @@ -0,0 +1,43 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-274_007.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-274_007.json new file mode 100644 index 00000000..2fcb5243 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-274_007.json @@ -0,0 +1,38 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-01.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-01.json new file mode 100644 index 00000000..b0fa0933 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-01.json @@ -0,0 +1,22 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-02.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-02.json new file mode 100644 index 00000000..6ef823be --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-02.json @@ -0,0 +1,28 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-03.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-03.json new file mode 100644 index 00000000..0d4be9f7 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-03.json @@ -0,0 +1,23 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-04.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-04.json new file mode 100644 index 00000000..24103b43 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-04.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-05.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-05.json new file mode 100644 index 00000000..02a3d5f8 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-05.json @@ -0,0 +1,36 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-06.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-06.json new file mode 100644 index 00000000..2dcd834e --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-06.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-07.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-07.json new file mode 100644 index 00000000..3eeb4318 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-07.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-08.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-08.json new file mode 100644 index 00000000..7fee1544 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-08.json @@ -0,0 +1,36 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-09.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-09.json new file mode 100644 index 00000000..3e391df5 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-09.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-10.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-10.json new file mode 100644 index 00000000..68f3ce5c --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-10.json @@ -0,0 +1,21 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-11.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-11.json new file mode 100644 index 00000000..810c543d --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-11.json @@ -0,0 +1,27 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-12.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-12.json new file mode 100644 index 00000000..a4f3e6b9 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-12.json @@ -0,0 +1,21 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-13.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-13.json new file mode 100644 index 00000000..2b95f247 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-13.json @@ -0,0 +1,37 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-14.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-14.json new file mode 100644 index 00000000..a215f55e --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-14.json @@ -0,0 +1,43 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-15.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-15.json new file mode 100644 index 00000000..a436c06b --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-15.json @@ -0,0 +1,37 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-16.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-16.json new file mode 100644 index 00000000..1841f2b4 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-16.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-295-17.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-17.json new file mode 100644 index 00000000..2be0d209 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-295-17.json @@ -0,0 +1,36 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-317-1.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-317-1.json new file mode 100644 index 00000000..2d56cbf0 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-317-1.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-317-2.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-317-2.json new file mode 100644 index 00000000..d832085a --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-317-2.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-317-3.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-317-3.json new file mode 100644 index 00000000..ebca2e68 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-317-3.json @@ -0,0 +1,21 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-317-4.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-317-4.json new file mode 100644 index 00000000..d053d6e8 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-317-4.json @@ -0,0 +1,22 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-317-5.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-317-5.json new file mode 100644 index 00000000..c9e5aa9b --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-317-5.json @@ -0,0 +1,44 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-320-1.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-320-1.json new file mode 100644 index 00000000..306ee5b6 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-320-1.json @@ -0,0 +1,64 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-320-10.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-320-10.json new file mode 100644 index 00000000..8b30871c --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-320-10.json @@ -0,0 +1,28 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-320-11.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-320-11.json new file mode 100644 index 00000000..9f936928 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-320-11.json @@ -0,0 +1,7 @@ +{ + "meta": { + "lastUpdated": "2025-07-15T14:52:52.785698+00:00" + }, + "processedSuggestions": [], + "responseId": "5c8d1cb3-8326-40b1-93ad-1b7fa24c2595" +} diff --git a/data/responses/storyTestResponses/AUTO_RSV_ELI-320-2.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-320-2.json new file mode 100644 index 00000000..306ee5b6 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-320-2.json @@ -0,0 +1,64 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-320-3.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-320-3.json new file mode 100644 index 00000000..658cd5c0 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-320-3.json @@ -0,0 +1,28 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-320-4.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-320-4.json new file mode 100644 index 00000000..ec373e2a --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-320-4.json @@ -0,0 +1,22 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-320-5.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-320-5.json new file mode 100644 index 00000000..7fb1ab89 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-320-5.json @@ -0,0 +1,44 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-320-6.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-320-6.json new file mode 100644 index 00000000..a3dc37c1 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-320-6.json @@ -0,0 +1,78 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-320-7.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-320-7.json new file mode 100644 index 00000000..c5731255 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-320-7.json @@ -0,0 +1,78 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-320-8.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-320-8.json new file mode 100644 index 00000000..bff98f1d --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-320-8.json @@ -0,0 +1,44 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-320-9.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-320-9.json new file mode 100644 index 00000000..45c8d120 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-320-9.json @@ -0,0 +1,42 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_001.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_001.json new file mode 100644 index 00000000..d1c5e956 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_001.json @@ -0,0 +1,24 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_002.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_002.json new file mode 100644 index 00000000..52fd438d --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_002.json @@ -0,0 +1,35 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_003.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_003.json new file mode 100644 index 00000000..f00ac3dc --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_003.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_004.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_004.json new file mode 100644 index 00000000..78d7940b --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_004.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_005.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_005.json new file mode 100644 index 00000000..601e189e --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_005.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_006.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_006.json new file mode 100644 index 00000000..8e1e3f5a --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_006.json @@ -0,0 +1,35 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_007.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_007.json new file mode 100644 index 00000000..17443852 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_007.json @@ -0,0 +1,35 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_008.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_008.json new file mode 100644 index 00000000..8b7d4b58 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_008.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_009.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_009.json new file mode 100644 index 00000000..204fb5de --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_009.json @@ -0,0 +1,35 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_010.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_010.json new file mode 100644 index 00000000..204fb5de --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_010.json @@ -0,0 +1,35 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_011.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_011.json new file mode 100644 index 00000000..204fb5de --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_011.json @@ -0,0 +1,35 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_012.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_012.json new file mode 100644 index 00000000..204fb5de --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_012.json @@ -0,0 +1,35 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_013.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_013.json new file mode 100644 index 00000000..faff8863 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_013.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_014.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_014.json new file mode 100644 index 00000000..c77bdbc6 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_014.json @@ -0,0 +1,36 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_015.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_015.json new file mode 100644 index 00000000..b3020f0e --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_015.json @@ -0,0 +1,36 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_016.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_016.json new file mode 100644 index 00000000..b6aef56b --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_016.json @@ -0,0 +1,36 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_017.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_017.json new file mode 100644 index 00000000..c7508e1f --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_017.json @@ -0,0 +1,24 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_018.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_018.json new file mode 100644 index 00000000..710812e5 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_018.json @@ -0,0 +1,24 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_019.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_019.json new file mode 100644 index 00000000..710812e5 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_019.json @@ -0,0 +1,24 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_020.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_020.json new file mode 100644 index 00000000..6d3ea76b --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_020.json @@ -0,0 +1,44 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_021.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_021.json new file mode 100644 index 00000000..6d3ea76b --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_021.json @@ -0,0 +1,44 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_022.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_022.json new file mode 100644 index 00000000..a4f4656b --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_022.json @@ -0,0 +1,37 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_023.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_023.json new file mode 100644 index 00000000..fe6f609a --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_023.json @@ -0,0 +1,42 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_024.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_024.json new file mode 100644 index 00000000..0dc4f932 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_024.json @@ -0,0 +1,44 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_025.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_025.json new file mode 100644 index 00000000..0dc4f932 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_025.json @@ -0,0 +1,44 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_026.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_026.json new file mode 100644 index 00000000..3367c8f5 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_026.json @@ -0,0 +1,37 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_027.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_027.json new file mode 100644 index 00000000..3367c8f5 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_027.json @@ -0,0 +1,37 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-365_028.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_028.json new file mode 100644 index 00000000..3367c8f5 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-365_028.json @@ -0,0 +1,37 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-371_001.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-371_001.json new file mode 100644 index 00000000..387439f1 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-371_001.json @@ -0,0 +1,28 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-371_002.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-371_002.json new file mode 100644 index 00000000..387439f1 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-371_002.json @@ -0,0 +1,28 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-373_001.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-373_001.json new file mode 100644 index 00000000..161e4785 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-373_001.json @@ -0,0 +1,37 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-373_002.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-373_002.json new file mode 100644 index 00000000..fb3f1d02 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-373_002.json @@ -0,0 +1,37 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-373_003.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-373_003.json new file mode 100644 index 00000000..0807411b --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-373_003.json @@ -0,0 +1,35 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-373_004.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-373_004.json new file mode 100644 index 00000000..bfb84ac3 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-373_004.json @@ -0,0 +1,36 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-373_005.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-373_005.json new file mode 100644 index 00000000..41c3f873 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-373_005.json @@ -0,0 +1,36 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-373_006.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-373_006.json new file mode 100644 index 00000000..32177524 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-373_006.json @@ -0,0 +1,35 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-373_007.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-373_007.json new file mode 100644 index 00000000..17669afd --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-373_007.json @@ -0,0 +1,42 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-373_008.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-373_008.json new file mode 100644 index 00000000..67c01a81 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-373_008.json @@ -0,0 +1,51 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-399_001.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-399_001.json new file mode 100644 index 00000000..a6ff81f3 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-399_001.json @@ -0,0 +1,7 @@ +{ + "meta": { + "lastUpdated": "2025-08-06T15:15:45.231568+00:00" + }, + "processedSuggestions": [], + "responseId": "f6dfcae4-32c4-493a-a0cd-5faf83f3da64" +} diff --git a/data/responses/storyTestResponses/AUTO_RSV_ELI-399_002.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-399_002.json new file mode 100644 index 00000000..43ff26a3 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-399_002.json @@ -0,0 +1,27 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-399_003.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-399_003.json new file mode 100644 index 00000000..43ff26a3 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-399_003.json @@ -0,0 +1,27 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-399_004.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-399_004.json new file mode 100644 index 00000000..a6ff81f3 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-399_004.json @@ -0,0 +1,7 @@ +{ + "meta": { + "lastUpdated": "2025-08-06T15:15:45.231568+00:00" + }, + "processedSuggestions": [], + "responseId": "f6dfcae4-32c4-493a-a0cd-5faf83f3da64" +} diff --git a/data/responses/storyTestResponses/AUTO_RSV_ELI-399_005.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-399_005.json new file mode 100644 index 00000000..a6ff81f3 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-399_005.json @@ -0,0 +1,7 @@ +{ + "meta": { + "lastUpdated": "2025-08-06T15:15:45.231568+00:00" + }, + "processedSuggestions": [], + "responseId": "f6dfcae4-32c4-493a-a0cd-5faf83f3da64" +} diff --git a/data/responses/storyTestResponses/AUTO_RSV_ELI-399_006.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-399_006.json new file mode 100644 index 00000000..a6ff81f3 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-399_006.json @@ -0,0 +1,7 @@ +{ + "meta": { + "lastUpdated": "2025-08-06T15:15:45.231568+00:00" + }, + "processedSuggestions": [], + "responseId": "f6dfcae4-32c4-493a-a0cd-5faf83f3da64" +} diff --git a/data/responses/storyTestResponses/AUTO_RSV_ELI-399_007.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-399_007.json new file mode 100644 index 00000000..408f1c61 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-399_007.json @@ -0,0 +1,22 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-405_001.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-405_001.json new file mode 100644 index 00000000..c19b20ab --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-405_001.json @@ -0,0 +1,35 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-405_002.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-405_002.json new file mode 100644 index 00000000..3ddbc187 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-405_002.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-405_003.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-405_003.json new file mode 100644 index 00000000..ca53fd09 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-405_003.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-405_004.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-405_004.json new file mode 100644 index 00000000..ca53fd09 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-405_004.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-405_005.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-405_005.json new file mode 100644 index 00000000..00c0d82d --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-405_005.json @@ -0,0 +1,46 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-405_006.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-405_006.json new file mode 100644 index 00000000..d5b67a50 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-405_006.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-406_001.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-406_001.json new file mode 100644 index 00000000..390a9f4a --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-406_001.json @@ -0,0 +1,26 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-406_002.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-406_002.json new file mode 100644 index 00000000..fc3bdba0 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-406_002.json @@ -0,0 +1,26 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-406_003.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-406_003.json new file mode 100644 index 00000000..761c1327 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-406_003.json @@ -0,0 +1,26 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-427_001.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-427_001.json new file mode 100644 index 00000000..a75d8a93 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-427_001.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-427_002.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-427_002.json new file mode 100644 index 00000000..693795db --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-427_002.json @@ -0,0 +1,36 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-427_003.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-427_003.json new file mode 100644 index 00000000..0c33bbd3 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-427_003.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-427_004.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-427_004.json new file mode 100644 index 00000000..c7a1d8d5 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-427_004.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-427_005.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-427_005.json new file mode 100644 index 00000000..7be7b23d --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-427_005.json @@ -0,0 +1,36 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-427_006.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-427_006.json new file mode 100644 index 00000000..9340e64b --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-427_006.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-440_001.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-440_001.json new file mode 100644 index 00000000..5b6e39a7 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-440_001.json @@ -0,0 +1,35 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-440_002.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-440_002.json new file mode 100644 index 00000000..3f3ce31d --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-440_002.json @@ -0,0 +1,35 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-440_003.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-440_003.json new file mode 100644 index 00000000..96e8c08b --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-440_003.json @@ -0,0 +1,46 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-440_005.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-440_005.json new file mode 100644 index 00000000..5235bc60 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-440_005.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-440_006.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-440_006.json new file mode 100644 index 00000000..5235bc60 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-440_006.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/storyTestResponses/AUTO_RSV_ELI-440_007.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-440_007.json new file mode 100644 index 00000000..605ac519 --- /dev/null +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-440_007.json @@ -0,0 +1,35 @@ +{ + "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/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_001.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_001.json new file mode 100644 index 00000000..3d1094c7 --- /dev/null +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_001.json @@ -0,0 +1,51 @@ +{ + "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/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_002.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_002.json new file mode 100644 index 00000000..e730c3c3 --- /dev/null +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_002.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_003.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_003.json new file mode 100644 index 00000000..878429f7 --- /dev/null +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_003.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_004.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_004.json new file mode 100644 index 00000000..c34de8c0 --- /dev/null +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_004.json @@ -0,0 +1,24 @@ +{ + "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/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_005.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_005.json new file mode 100644 index 00000000..de0097fe --- /dev/null +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_005.json @@ -0,0 +1,24 @@ +{ + "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/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_006.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_006.json new file mode 100644 index 00000000..71de20a7 --- /dev/null +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_006.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_007.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_007.json new file mode 100644 index 00000000..f088108d --- /dev/null +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_007.json @@ -0,0 +1,28 @@ +{ + "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/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_009.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_009.json new file mode 100644 index 00000000..c4bb0f71 --- /dev/null +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_009.json @@ -0,0 +1,28 @@ +{ + "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/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_010.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_010.json new file mode 100644 index 00000000..7a493b8b --- /dev/null +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_010.json @@ -0,0 +1,28 @@ +{ + "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/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_011.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_011.json new file mode 100644 index 00000000..db005a77 --- /dev/null +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_011.json @@ -0,0 +1,36 @@ +{ + "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/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_012.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_012.json new file mode 100644 index 00000000..36e1969a --- /dev/null +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_012.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_013.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_013.json new file mode 100644 index 00000000..94ef8120 --- /dev/null +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_013.json @@ -0,0 +1,30 @@ +{ + "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/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_014.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_014.json new file mode 100644 index 00000000..165448c6 --- /dev/null +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_014.json @@ -0,0 +1,35 @@ +{ + "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/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_500.json b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_500.json new file mode 100644 index 00000000..c6b5dcd7 --- /dev/null +++ b/data/responses/vitaIntegrationTestResponses/AUTO_RSV_VITA_INT_500.json @@ -0,0 +1,23 @@ +{ + "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." + } + ] +} From 91d3652f56ddd8d46b985932b66b2f57b494b143 Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Mon, 22 Sep 2025 17:00:09 +0100 Subject: [PATCH 29/45] update placeholder_utils.py --- utils/placeholder_utils.py | 45 +++++++++++++++++--------------------- 1 file changed, 20 insertions(+), 25 deletions(-) diff --git a/utils/placeholder_utils.py b/utils/placeholder_utils.py index d9398e68..58663712 100644 --- a/utils/placeholder_utils.py +++ b/utils/placeholder_utils.py @@ -9,23 +9,27 @@ def resolve_placeholders(value, context=None, file_name=None): - if not isinstance(value, str): - return value + """ + Replace placeholders of the form <> in a string with resolved values. + If resolution fails, the original placeholder text is left unchanged. + """ - match = re.search(r"<<(.*?)>>", value) - if not match: + if not isinstance(value, str): return value - placeholder = match.group(1) + 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 - try: - resolved = _resolve_placeholder_value(placeholder) - if context: - context.add(placeholder, resolved, file_name) - return value.replace(f"<<{placeholder}>>", resolved) - except Exception: - logger.exception("[ERROR] Could not resolve placeholder %s:", placeholder) - return value + return re.sub(r"<<(.*?)>>", replacer, value) def _resolve_placeholder_value(placeholder: str) -> str: @@ -38,10 +42,7 @@ def _resolve_placeholder_value(placeholder: str) -> str: return placeholder parts = placeholder.split("_") - if ( - len(parts) != placeholder_parts_length - or parts[0] not in valid_placeholder_types - ): + if len(parts) != placeholder_parts_length or parts[0] not in valid_placeholder_types: return result today = datetime.now(UTC) @@ -71,11 +72,7 @@ def _resolve_age_placeholder(today: datetime, years_back: int, format_type: str) 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) - ): + 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 @@ -83,6 +80,4 @@ def _resolve_age_placeholder(today: datetime, years_back: int, format_type: str) 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") - ) + return date.strftime("%Y%m%d") if format_type == "DATE" else date.strftime("%d %B %Y") From ba065bba0fc9ac0d31d8e204effd05b29dc3e742 Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Mon, 22 Sep 2025 17:00:34 +0100 Subject: [PATCH 30/45] update placeholder_utils.py --- utils/placeholder_utils.py | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/utils/placeholder_utils.py b/utils/placeholder_utils.py index 58663712..bdbb251d 100644 --- a/utils/placeholder_utils.py +++ b/utils/placeholder_utils.py @@ -42,7 +42,10 @@ def _resolve_placeholder_value(placeholder: str) -> str: return placeholder parts = placeholder.split("_") - if len(parts) != placeholder_parts_length or parts[0] not in valid_placeholder_types: + if ( + len(parts) != placeholder_parts_length + or parts[0] not in valid_placeholder_types + ): return result today = datetime.now(UTC) @@ -72,7 +75,11 @@ def _resolve_age_placeholder(today: datetime, years_back: int, format_type: str) 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): + 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 @@ -80,4 +87,6 @@ def _resolve_age_placeholder(today: datetime, years_back: int, format_type: str) 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") + return ( + date.strftime("%Y%m%d") if format_type == "DATE" else date.strftime("%d %B %Y") + ) From e5b380b3cfedb1efa3424c795cb82d74ec3643fa Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Tue, 23 Sep 2025 10:57:14 +0100 Subject: [PATCH 31/45] fixed ELI-371 tests --- data/configs/storyTestConfigs/AUTO_RSV_ELI-371.json | 4 ++-- .../dynamoDB/storyTestData/AUTO_RSV_ELI-371_001.json | 2 +- .../dynamoDB/storyTestData/AUTO_RSV_ELI-371_002.json | 12 ++++++------ .../storyTestResponses/AUTO_RSV_ELI-371_002.json | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/data/configs/storyTestConfigs/AUTO_RSV_ELI-371.json b/data/configs/storyTestConfigs/AUTO_RSV_ELI-371.json index fb60fdf4..2ee01057 100644 --- a/data/configs/storyTestConfigs/AUTO_RSV_ELI-371.json +++ b/data/configs/storyTestConfigs/AUTO_RSV_ELI-371.json @@ -78,13 +78,13 @@ { "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", + "Description": "This is a rule on it's own", "Operator": "=", "Comparator": "19820501", "AttributeLevel": "PERSON", "AttributeName": "DATE_OF_BIRTH", "CohortLabel": "rsv_75to79", - "Priority": 1000 + "Priority": 999 }, { "Type": "R", diff --git a/data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_001.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_001.json index ad25ea5b..3d941cda 100644 --- a/data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_001.json +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_001.json @@ -1,5 +1,5 @@ { - "scenario_name": "RSV - Ineligible - Suppressed by AND rule with different rule names", + "scenario_name": "RSV - NotActionable - Suppressed by AND rule with different rule names", "request_headers": { "nhs-login-nhs-number": "9900037101" }, diff --git a/data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_002.json b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_002.json index 29b5a7e9..1271515e 100644 --- a/data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_002.json +++ b/data/dynamoDB/storyTestData/AUTO_RSV_ELI-371_002.json @@ -1,14 +1,14 @@ { - "scenario_name": "RSV - Ineligible - Suppressed by single rule using a different D.O.B.", + "scenario_name": "RSV - NotActionable - Suppressed by single rule using a different D.O.B.", "request_headers": { - "nhs-login-nhs-number": "9900037101" + "nhs-login-nhs-number": "9900037102" }, "config_filenames": [ "AUTO_RSV_ELI-371.json" ], "data": [ { - "NHS_NUMBER": "9900037101", + "NHS_NUMBER": "9900037102", "ATTRIBUTE_TYPE": "COHORTS", "COHORT_MEMBERSHIPS": [ { @@ -18,9 +18,9 @@ ] }, { - "NHS_NUMBER": "9900037101", + "NHS_NUMBER": "9900037102", "ATTRIBUTE_TYPE": "PERSON", - "DATE_OF_BIRTH": "19810501", + "DATE_OF_BIRTH": "19820501", "GENDER": "0", "POSTCODE": "SG8 6EG", "POSTCODE_SECTOR": "SG86", @@ -36,7 +36,7 @@ "DE_FLAG": "N" }, { - "NHS_NUMBER": "9900037101", + "NHS_NUMBER": "9900037102", "ATTRIBUTE_TYPE": "RSV", "BOOKED_APPOINTMENT_DATE": "<>", "BOOKED_APPOINTMENT_PROVIDER": "NBS" diff --git a/data/responses/storyTestResponses/AUTO_RSV_ELI-371_002.json b/data/responses/storyTestResponses/AUTO_RSV_ELI-371_002.json index 387439f1..44793dd3 100644 --- a/data/responses/storyTestResponses/AUTO_RSV_ELI-371_002.json +++ b/data/responses/storyTestResponses/AUTO_RSV_ELI-371_002.json @@ -17,8 +17,8 @@ "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", + "ruleCode": "This is a rule on it's own and not part of the AND rules above", + "ruleText": "This is a rule on it's own", "ruleType": "S" } ] From f97bb2c26eb80ddb61abd721b0da57139ae76bbe Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Tue, 23 Sep 2025 14:32:38 +0100 Subject: [PATCH 32/45] take -vv off to speed up tests --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d75faef7..65b2482e 100644 --- a/Makefile +++ b/Makefile @@ -77,4 +77,4 @@ pre-commit: poetry run pre-commit run --all-files run-tests: - poetry run pytest tests/test_story_tests.py -vv + poetry run pytest tests/test_story_tests.py From fe3b4265b025a2f487bfd5eeca78709b0eccaf8f Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Tue, 23 Sep 2025 15:13:25 +0100 Subject: [PATCH 33/45] added logic to determine correct values for different environments. Update packages --- .github/workflows/regression_tests.yml | 8 +++----- Makefile | 4 ++-- package-lock.json | 28 +++++++++++++------------- poetry.lock | 22 ++++++++++---------- tests/conftest.py | 21 ++++++++++++++++--- utils/eligibility_api_client.py | 16 ++++++++------- 6 files changed, 57 insertions(+), 42 deletions(-) diff --git a/.github/workflows/regression_tests.yml b/.github/workflows/regression_tests.yml index 8de69b12..12eb7901 100644 --- a/.github/workflows/regression_tests.yml +++ b/.github/workflows/regression_tests.yml @@ -52,17 +52,15 @@ jobs: echo "tags: ${tags}" >> "$GITHUB_STEP_SUMMARY" echo "environment: ${environment}" >> "$GITHUB_STEP_SUMMARY" echo "id: ${id}" >> "$GITHUB_STEP_SUMMARY" - echo "pull_request_id: ${pull_request_id}" >> "$GITHUB_STEP_SUMMARY" echo "github_tag: ${github_tag}" >> "$GITHUB_STEP_SUMMARY" - name: ${{github.event.inputs.id}} env: ID: ${{github.event.inputs.id}} ENV: ${{ inputs.environment }} - PULL_REQUEST_ID: ${{ inputs.pull_request_id }} run: | - echo run identifier "$ID"-"$ENV"-"$PULL_REQUEST_ID" - echo run identifier "$ID"-"$ENV"-"$PULL_REQUEST_ID" >> "$GITHUB_STEP_SUMMARY" + echo run identifier "$ID"-"$ENV" + echo run identifier "$ID"-"$ENV" >> "$GITHUB_STEP_SUMMARY" - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 @@ -118,7 +116,7 @@ jobs: PULL_REQUEST_ID: ${{ inputs.pull_request_id }} INPUT_TAG: ${{ inputs.tags }} run: | - poetry run pytest tests/test_story_tests.py -vv + make run-tests env="$ENVIRONMENT" - name: force error on failure if: steps.tests.outcome != 'success' diff --git a/Makefile b/Makefile index 65b2482e..74b5aeca 100644 --- a/Makefile +++ b/Makefile @@ -76,5 +76,5 @@ deep-clean-install: pre-commit: poetry run pre-commit run --all-files -run-tests: - poetry run pytest tests/test_story_tests.py +run-tests: guard-env + poetry run pytest tests/test_story_tests.py --env=${env} diff --git a/package-lock.json b/package-lock.json index 53938192..de36c325 100644 --- a/package-lock.json +++ b/package-lock.json @@ -327,12 +327,12 @@ } }, "node_modules/@playwright/test": { - "version": "1.55.0", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.55.0.tgz", - "integrity": "sha512-04IXzPwHrW69XusN/SIdDdKZBzMfOT9UNT/YiJit/xpy2VuAoB8NHc8Aplb96zsWDddLnbkPL3TsmrS04ZU2xQ==", + "version": "1.55.1", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.55.1.tgz", + "integrity": "sha512-IVAh/nOJaw6W9g+RJVlIQJ6gSiER+ae6mKQ5CX1bERzQgbC1VSeBlwdvczT7pxb0GWiyrxH4TGKbMfDb4Sq/ig==", "license": "Apache-2.0", "dependencies": { - "playwright": "1.55.0" + "playwright": "1.55.1" }, "bin": { "playwright": "cli.js" @@ -3382,9 +3382,9 @@ } }, "node_modules/ansi-escapes": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-7.1.0.tgz", - "integrity": "sha512-YdhtCd19sKRKfAAUsrcC1wzm4JuzJoiX4pOJqIoW2qmKj5WzG/dL8uUJ0361zaXtHqK7gEhOwtAtz7t3Yq3X5g==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-7.1.1.tgz", + "integrity": "sha512-Zhl0ErHcSRUaVfGUeUdDuLgpkEo8KIFjB4Y9uAc46ScOpdDiU1Dbyplh7qWJeJ/ZHpbyMSM26+X3BySgnIz40Q==", "dev": true, "license": "MIT", "dependencies": { @@ -7770,12 +7770,12 @@ } }, "node_modules/playwright": { - "version": "1.55.0", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.55.0.tgz", - "integrity": "sha512-sdCWStblvV1YU909Xqx0DhOjPZE4/5lJsIS84IfN9dAZfcl/CIZ5O8l3o0j7hPMjDvqoTF8ZUcc+i/GL5erstA==", + "version": "1.55.1", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.55.1.tgz", + "integrity": "sha512-cJW4Xd/G3v5ovXtJJ52MAOclqeac9S/aGGgRzLabuF8TnIb6xHvMzKIa6JmrRzUkeXJgfL1MhukP0NK6l39h3A==", "license": "Apache-2.0", "dependencies": { - "playwright-core": "1.55.0" + "playwright-core": "1.55.1" }, "bin": { "playwright": "cli.js" @@ -7788,9 +7788,9 @@ } }, "node_modules/playwright-core": { - "version": "1.55.0", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.55.0.tgz", - "integrity": "sha512-GvZs4vU3U5ro2nZpeiwyb0zuFaqb9sUiAJuyrWpcGouD8y9/HLgGbNRjIph7zU9D3hnPaisMl9zG9CgFi/biIg==", + "version": "1.55.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.55.1.tgz", + "integrity": "sha512-Z6Mh9mkwX+zxSlHqdr5AOcJnfp+xUWLCt9uKV18fhzA8eyxUd8NUWzAjxUh55RZKSYwDGX0cfaySdhZJGMoJ+w==", "license": "Apache-2.0", "bin": { "playwright-core": "cli.js" diff --git a/poetry.lock b/poetry.lock index 9fbc0415..969370da 100644 --- a/poetry.lock +++ b/poetry.lock @@ -106,18 +106,18 @@ uvloop = ["uvloop (>=0.15.2)"] [[package]] name = "boto3" -version = "1.40.35" +version = "1.40.36" description = "The AWS SDK for Python" optional = false python-versions = ">=3.9" groups = ["main"] files = [ - {file = "boto3-1.40.35-py3-none-any.whl", hash = "sha256:f4c1b01dd61e7733b453bca38b004ce030e26ee36e7a3d4a9e45a730b67bc38d"}, - {file = "boto3-1.40.35.tar.gz", hash = "sha256:d718df3591c829bcca4c498abb7b09d64d1eecc4e5a2b6cef14b476501211b8a"}, + {file = "boto3-1.40.36-py3-none-any.whl", hash = "sha256:d7c1fe033f491f560cd26022a9dcf28baf877ae854f33bc64fffd0df3b9c98be"}, + {file = "boto3-1.40.36.tar.gz", hash = "sha256:bfc1f3d5c4f5d12b8458406b8972f8794ac57e2da1ee441469e143bc0440a5c3"}, ] [package.dependencies] -botocore = ">=1.40.35,<1.41.0" +botocore = ">=1.40.36,<1.41.0" jmespath = ">=0.7.1,<2.0.0" s3transfer = ">=0.14.0,<0.15.0" @@ -126,14 +126,14 @@ crt = ["botocore[crt] (>=1.21.0,<2.0a0)"] [[package]] name = "botocore" -version = "1.40.35" +version = "1.40.36" description = "Low-level, data-driven core of boto 3." optional = false python-versions = ">=3.9" groups = ["main"] files = [ - {file = "botocore-1.40.35-py3-none-any.whl", hash = "sha256:c545de2cbbce161f54ca589fbb677bae14cdbfac7d5f1a27f6a620cb057c26f4"}, - {file = "botocore-1.40.35.tar.gz", hash = "sha256:67e062752ff579c8cc25f30f9c3a84c72d692516a41a9ee1cf17735767ca78be"}, + {file = "botocore-1.40.36-py3-none-any.whl", hash = "sha256:d6edf75875e4013cb7078875a1d6c289afb4cc6675d99d80700c692d8d8e0b72"}, + {file = "botocore-1.40.36.tar.gz", hash = "sha256:93386a8dc54173267ddfc6cd8636c9171e021f7c032aa1df3af7de816e3df616"}, ] [package.dependencies] @@ -1812,14 +1812,14 @@ test = ["covdefaults (>=2.3)", "coverage (>=7.2.7)", "coverage-enable-subprocess [[package]] name = "wcwidth" -version = "0.2.13" +version = "0.2.14" description = "Measures the displayed width of unicode strings in a terminal" optional = false -python-versions = "*" +python-versions = ">=3.6" groups = ["main"] files = [ - {file = "wcwidth-0.2.13-py2.py3-none-any.whl", hash = "sha256:3da69048e4540d84af32131829ff948f1e022c1c6bdb8d6102117aac784f6859"}, - {file = "wcwidth-0.2.13.tar.gz", hash = "sha256:72ea0c06399eb286d978fdedb6923a9eb47e1c486ce63e9b4e64fc18303972b5"}, + {file = "wcwidth-0.2.14-py2.py3-none-any.whl", hash = "sha256:a7bb560c8aee30f9957e5f9895805edd20602f2d7f720186dfd906e82b4982e1"}, + {file = "wcwidth-0.2.14.tar.gz", hash = "sha256:4d478375d31bc5395a3c55c40ccdf3354688364cd61c4f6adacaa9215d0b3605"}, ] [[package]] diff --git a/tests/conftest.py b/tests/conftest.py index 5c27bba1..c41666f8 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -26,9 +26,19 @@ logger = logging.getLogger(__name__) -@pytest.fixture(scope="session") -def eligibility_client(): - return EligibilityApiClient(BASE_URL, cert_dir="certs") +def pytest_addoption(parser): + parser.addoption( + "--env", + required=True, + action="store", + default="", + help="Specify the environment for testing: 'dev', 'test' or 'preprod'", + ) + + +@pytest.fixture() +def eligibility_client(env): + return EligibilityApiClient(env, cert_dir="certs") @pytest.fixture @@ -53,3 +63,8 @@ def _setup(scenario, config_path): ) return _setup + + +@pytest.fixture +def env(request): + return request.config.getoption("--env") diff --git a/utils/eligibility_api_client.py b/utils/eligibility_api_client.py index 0db3b621..ae3cfa74 100644 --- a/utils/eligibility_api_client.py +++ b/utils/eligibility_api_client.py @@ -14,11 +14,13 @@ class EligibilityApiClient: - def __init__(self, api_url: str, cert_dir: str = "tests/certs") -> None: + def __init__(self, env: str, cert_dir: str = "tests/certs") -> None: load_dotenv(dotenv_path=Path(__file__).resolve().parent / "../.env") - - self.api_url: str = api_url - + env = env.lower() + assert env in ["dev", "test", "preprod"], "env must be dev, test, or preprod" + self.api_url: str = ( + f"https://{env}.eligibility-signposting-api.nhs.uk/patient-check" + ) self.cert_dir: Path = Path(cert_dir) self.cert_dir.mkdir(parents=True, exist_ok=True) @@ -29,9 +31,9 @@ def __init__(self, api_url: str, cert_dir: str = "tests/certs") -> None: } self.ssm_params: dict[str, str] = { - "private_key": "/dev/mtls/api_private_key_cert", - "client_cert": "/dev/mtls/api_client_cert", - "ca_cert": "/dev/mtls/api_ca_cert", + "private_key": f"/{env}/mtls/api_private_key_cert", + "client_cert": f"/{env}/mtls/api_client_cert", + "ca_cert": f"/{env}/mtls/api_ca_cert", } self._ensure_certs_present() From 4945d5cfbbdfc7de3fde7b7e395f64510bbac2bd Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Tue, 23 Sep 2025 15:15:43 +0100 Subject: [PATCH 34/45] Pull Request ID has been removed --- .github/workflows/regression_tests.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/regression_tests.yml b/.github/workflows/regression_tests.yml index 12eb7901..cdb3e5d1 100644 --- a/.github/workflows/regression_tests.yml +++ b/.github/workflows/regression_tests.yml @@ -16,10 +16,6 @@ on: description: 'Unique run identifier (Do not change this)' required: false default: "Manually Triggered Run" - pull_request_id: - description: 'The ID of the pull request. This should be in the format pr-xxxx where xxxx is the pull request id' - required: false - default: "" github_tag: description: 'The github tag to run the test pack from' required: false @@ -39,13 +35,11 @@ jobs: tags: ${{ inputs.tags }} environment: ${{ inputs.environment }} id: ${{ inputs.id }} - pull_request_id: ${{ inputs.pull_request_id }} github_tag: ${{ inputs.github_tag }} run: | echo "tags: ${tags}" echo "environment: ${environment}" echo "id: ${id}" - echo "pull_request_id: ${pull_request_id}" echo "github_tag: ${github_tag}" # output to summary # shellcheck disable=SC2129 From d40c834b700d5f8f772cf53d95315f31c725b2f5 Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Tue, 23 Sep 2025 15:30:07 +0100 Subject: [PATCH 35/45] more env stuff --- tests/conftest.py | 9 +++------ utils/data_helper.py | 3 ++- utils/dynamo_helper.py | 17 +++++++++++++++++ 3 files changed, 22 insertions(+), 7 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index c41666f8..aa0e4053 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -6,18 +6,14 @@ from dotenv import load_dotenv from utils.eligibility_api_client import EligibilityApiClient -from utils.s3_config_manager import upload_configs_to_s3 +from utils.s3_config_manager import upload_configs_to_s3, delete_all_configs_from_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", "") +BASE_URL = os.getenv("BASE_URL") 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 @@ -52,6 +48,7 @@ def _setup(scenario, config_path): query_params = scenario.get("query_params", {}) expected_response_code = scenario["expected_response_code"] + delete_all_configs_from_s3() upload_configs_to_s3(config_filenames, config_path) return ( diff --git a/utils/data_helper.py b/utils/data_helper.py index e3a1199f..f32c380a 100644 --- a/utils/data_helper.py +++ b/utils/data_helper.py @@ -1,7 +1,7 @@ import json from pathlib import Path -from .dynamo_helper import insert_into_dynamo +from .dynamo_helper import insert_into_dynamo, reset_dynamo_tables from .placeholder_context import PlaceholderDTO, ResolvedPlaceholderContext from .placeholder_utils import resolve_placeholders @@ -12,6 +12,7 @@ def initialise_tests(folder): folder_path = Path(folder).resolve() all_data, dto = load_all_test_scenarios(folder_path) + reset_dynamo_tables() # Insert to Dynamo (placeholder) for scenario in all_data.values(): insert_into_dynamo(scenario["dynamo_items"]) diff --git a/utils/dynamo_helper.py b/utils/dynamo_helper.py index 649702bd..e3a97d62 100644 --- a/utils/dynamo_helper.py +++ b/utils/dynamo_helper.py @@ -53,6 +53,18 @@ def get_item(self, key: dict): else: return response.get("Item") + def delete_item(self, key: dict): + """ + delete a single item by primary key. + """ + try: + response = self.table.delete(Key=key) + except ClientError as e: + logger.exception("Failed to delete item: %s", e.response["Error"]["Message"]) + raise + else: + return response + def insert_into_dynamo(data): logger.info("Inserting into Dynamo: %s", data) @@ -65,3 +77,8 @@ def insert_into_dynamo(data): logger.exception( "โŒ Failed to insert %s: %s", item, e.response["Error"]["Message"] ) + + +def reset_dynamo_tables(): + table = DynamoDBHelper(os.getenv("DYNAMODB_TABLE_NAME")) + self.table.delete() From 67cdf68c48532ac377dda3bcec38086d8c32e44e Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Tue, 23 Sep 2025 18:37:30 +0100 Subject: [PATCH 36/45] dynamo table re-created before tests begin --- .github/workflows/regression_tests.yml | 1 - Makefile | 2 +- utils/dynamo_helper.py | 65 ++++++++++++++++++++++---- 3 files changed, 58 insertions(+), 10 deletions(-) diff --git a/.github/workflows/regression_tests.yml b/.github/workflows/regression_tests.yml index cdb3e5d1..501e93ca 100644 --- a/.github/workflows/regression_tests.yml +++ b/.github/workflows/regression_tests.yml @@ -107,7 +107,6 @@ jobs: S3_PREFIX: ${{ vars.S3_PREFIX }} DYNAMODB_TABLE_NAME: ${{ vars.DYNAMODB_TABLE_NAME }} ENVIRONMENT: ${{ inputs.environment }} - PULL_REQUEST_ID: ${{ inputs.pull_request_id }} INPUT_TAG: ${{ inputs.tags }} run: | make run-tests env="$ENVIRONMENT" diff --git a/Makefile b/Makefile index 74b5aeca..691eedc7 100644 --- a/Makefile +++ b/Makefile @@ -77,4 +77,4 @@ pre-commit: poetry run pre-commit run --all-files run-tests: guard-env - poetry run pytest tests/test_story_tests.py --env=${env} + poetry run pytest --env=${env} --capture=tee-sys --show-capture=all tests/test_story_tests.py diff --git a/utils/dynamo_helper.py b/utils/dynamo_helper.py index e3a97d62..9d5f5008 100644 --- a/utils/dynamo_helper.py +++ b/utils/dynamo_helper.py @@ -10,8 +10,17 @@ 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) + self.table_name = table_name + self.dynamodb_client = boto3.client("dynamodb") + self.table_description = self.dynamodb_client.describe_table( + TableName=self.table_name + ) + self.key_schema = self.table_description["Table"]["KeySchema"] + self.attribute_definitions = self.table_description["Table"][ + "AttributeDefinitions" + ] + self.dynamodb_resource = boto3.resource("dynamodb") + self.table = self.dynamodb_resource.Table(table_name) def insert_item(self, item: dict): """ @@ -60,12 +69,57 @@ def delete_item(self, key: dict): try: response = self.table.delete(Key=key) except ClientError as e: - logger.exception("Failed to delete item: %s", e.response["Error"]["Message"]) + logger.exception( + "Failed to delete item: %s", e.response["Error"]["Message"] + ) raise else: return response +def reset_dynamo_tables(): + table = DynamoDBHelper(os.getenv("DYNAMODB_TABLE_NAME")) + + # --- Step 1: Delete the table if it exists --- + try: + print(f"Attempting to delete table '{table.table_name}'...") + table.dynamodb_client.delete_table(TableName=table.table_name) + + # Wait for the table to be completely deleted + print(f"Waiting for table '{table.table_name}' to be deleted...") + waiter = table.dynamodb_client.get_waiter("table_not_exists") + waiter.wait(TableName=table.table_name) + print(f"Table '{table.table_name}' successfully deleted.") + + except ClientError as e: + if e.response["Error"]["Code"] == "ResourceNotFoundException": + print(f"Table '{table.table_name}' does not exist. Skipping deletion.") + else: + print(f"Error deleting table '{table.table_name}': {e}") + return + + # --- Step 2: Recreate the table --- + print(f"\nAttempting to create table '{table.table_name}'...") + try: + table.dynamodb_client.create_table( + TableName=table.table_name, + KeySchema=table.key_schema, + AttributeDefinitions=table.attribute_definitions, + BillingMode="PAY_PER_REQUEST", + ) + + # Wait for the new table to become active + print( + f"Waiting for table '{table.table_name}' to be created and become active..." + ) + waiter = table.dynamodb_client.get_waiter("table_exists") + waiter.wait(TableName=table.table_name) + print(f"Table '{table.table_name}' successfully created and is now active.") + + except ClientError as e: + print(f"Error creating table '{table.table_name}': {e}") + + def insert_into_dynamo(data): logger.info("Inserting into Dynamo: %s", data) table = DynamoDBHelper(os.getenv("DYNAMODB_TABLE_NAME")) @@ -77,8 +131,3 @@ def insert_into_dynamo(data): logger.exception( "โŒ Failed to insert %s: %s", item, e.response["Error"]["Message"] ) - - -def reset_dynamo_tables(): - table = DynamoDBHelper(os.getenv("DYNAMODB_TABLE_NAME")) - self.table.delete() From d04679418ecce7875d1e891d78cf38e088f22651 Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Tue, 23 Sep 2025 18:37:30 +0100 Subject: [PATCH 37/45] dynamo table re-created before tests begin --- .github/workflows/regression_tests.yml | 1 - Makefile | 2 +- utils/dynamo_helper.py | 65 ++++++++++++++++++++++---- 3 files changed, 58 insertions(+), 10 deletions(-) diff --git a/.github/workflows/regression_tests.yml b/.github/workflows/regression_tests.yml index cdb3e5d1..501e93ca 100644 --- a/.github/workflows/regression_tests.yml +++ b/.github/workflows/regression_tests.yml @@ -107,7 +107,6 @@ jobs: S3_PREFIX: ${{ vars.S3_PREFIX }} DYNAMODB_TABLE_NAME: ${{ vars.DYNAMODB_TABLE_NAME }} ENVIRONMENT: ${{ inputs.environment }} - PULL_REQUEST_ID: ${{ inputs.pull_request_id }} INPUT_TAG: ${{ inputs.tags }} run: | make run-tests env="$ENVIRONMENT" diff --git a/Makefile b/Makefile index 74b5aeca..691eedc7 100644 --- a/Makefile +++ b/Makefile @@ -77,4 +77,4 @@ pre-commit: poetry run pre-commit run --all-files run-tests: guard-env - poetry run pytest tests/test_story_tests.py --env=${env} + poetry run pytest --env=${env} --capture=tee-sys --show-capture=all tests/test_story_tests.py diff --git a/utils/dynamo_helper.py b/utils/dynamo_helper.py index e3a97d62..9d5f5008 100644 --- a/utils/dynamo_helper.py +++ b/utils/dynamo_helper.py @@ -10,8 +10,17 @@ 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) + self.table_name = table_name + self.dynamodb_client = boto3.client("dynamodb") + self.table_description = self.dynamodb_client.describe_table( + TableName=self.table_name + ) + self.key_schema = self.table_description["Table"]["KeySchema"] + self.attribute_definitions = self.table_description["Table"][ + "AttributeDefinitions" + ] + self.dynamodb_resource = boto3.resource("dynamodb") + self.table = self.dynamodb_resource.Table(table_name) def insert_item(self, item: dict): """ @@ -60,12 +69,57 @@ def delete_item(self, key: dict): try: response = self.table.delete(Key=key) except ClientError as e: - logger.exception("Failed to delete item: %s", e.response["Error"]["Message"]) + logger.exception( + "Failed to delete item: %s", e.response["Error"]["Message"] + ) raise else: return response +def reset_dynamo_tables(): + table = DynamoDBHelper(os.getenv("DYNAMODB_TABLE_NAME")) + + # --- Step 1: Delete the table if it exists --- + try: + print(f"Attempting to delete table '{table.table_name}'...") + table.dynamodb_client.delete_table(TableName=table.table_name) + + # Wait for the table to be completely deleted + print(f"Waiting for table '{table.table_name}' to be deleted...") + waiter = table.dynamodb_client.get_waiter("table_not_exists") + waiter.wait(TableName=table.table_name) + print(f"Table '{table.table_name}' successfully deleted.") + + except ClientError as e: + if e.response["Error"]["Code"] == "ResourceNotFoundException": + print(f"Table '{table.table_name}' does not exist. Skipping deletion.") + else: + print(f"Error deleting table '{table.table_name}': {e}") + return + + # --- Step 2: Recreate the table --- + print(f"\nAttempting to create table '{table.table_name}'...") + try: + table.dynamodb_client.create_table( + TableName=table.table_name, + KeySchema=table.key_schema, + AttributeDefinitions=table.attribute_definitions, + BillingMode="PAY_PER_REQUEST", + ) + + # Wait for the new table to become active + print( + f"Waiting for table '{table.table_name}' to be created and become active..." + ) + waiter = table.dynamodb_client.get_waiter("table_exists") + waiter.wait(TableName=table.table_name) + print(f"Table '{table.table_name}' successfully created and is now active.") + + except ClientError as e: + print(f"Error creating table '{table.table_name}': {e}") + + def insert_into_dynamo(data): logger.info("Inserting into Dynamo: %s", data) table = DynamoDBHelper(os.getenv("DYNAMODB_TABLE_NAME")) @@ -77,8 +131,3 @@ def insert_into_dynamo(data): logger.exception( "โŒ Failed to insert %s: %s", item, e.response["Error"]["Message"] ) - - -def reset_dynamo_tables(): - table = DynamoDBHelper(os.getenv("DYNAMODB_TABLE_NAME")) - self.table.delete() From 21e5bb02b2e57cb3beee1dca1b00905b008e4365 Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Wed, 24 Sep 2025 18:16:54 +0100 Subject: [PATCH 38/45] environment variable ay now set by the test pack, you only need to pass in the environment name. logging level INFO will output to the console by default environment variables once set in github have been removed the .env file is no longer needed and will not work The S3 process no longer uses a prefix, it appears it was not needed. credential_helper.py file deleted because it is no longer used --- .github/workflows/regression_tests.yml | 4 -- Makefile | 2 +- tests/conftest.py | 61 +++++++++++++++----- utils/credential_helper.py | 18 ------ utils/data_helper.py | 9 ++- utils/dynamo_helper.py | 37 +++++++----- utils/eligibility_api_client.py | 18 +++--- utils/s3_config_manager.py | 78 ++++++++++---------------- 8 files changed, 114 insertions(+), 113 deletions(-) delete mode 100644 utils/credential_helper.py diff --git a/.github/workflows/regression_tests.yml b/.github/workflows/regression_tests.yml index 501e93ca..b96d4a77 100644 --- a/.github/workflows/regression_tests.yml +++ b/.github/workflows/regression_tests.yml @@ -102,10 +102,6 @@ jobs: id: tests continue-on-error: true env: - BASE_URL: ${{ vars.BASE_URL }} - S3_BUCKET_NAME: ${{ vars.S3_BUCKET_NAME }} - S3_PREFIX: ${{ vars.S3_PREFIX }} - DYNAMODB_TABLE_NAME: ${{ vars.DYNAMODB_TABLE_NAME }} ENVIRONMENT: ${{ inputs.environment }} INPUT_TAG: ${{ inputs.tags }} run: | diff --git a/Makefile b/Makefile index 691eedc7..27d95f44 100644 --- a/Makefile +++ b/Makefile @@ -77,4 +77,4 @@ pre-commit: poetry run pre-commit run --all-files run-tests: guard-env - poetry run pytest --env=${env} --capture=tee-sys --show-capture=all tests/test_story_tests.py + poetry run pytest --env=${env} --log-cli-level=INFO -s -vvv tests/test_story_tests.py diff --git a/tests/conftest.py b/tests/conftest.py index aa0e4053..c5944511 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -8,12 +8,7 @@ from utils.eligibility_api_client import EligibilityApiClient from utils.s3_config_manager import upload_configs_to_s3, delete_all_configs_from_s3 -# Load environment variables from .env.local -load_dotenv(dotenv_path=".env") - -# Constants -BASE_URL = os.getenv("BASE_URL") -DYNAMODB_TABLE_NAME = os.getenv("DYNAMODB_TABLE_NAME", "eligibility_data_store") +load_dotenv() # Resolve test data path robustly BASE_DIR = Path(__file__).resolve().parent.parent @@ -32,12 +27,53 @@ def pytest_addoption(parser): ) -@pytest.fixture() -def eligibility_client(env): - return EligibilityApiClient(env, cert_dir="certs") +def pytest_configure(config): + env = config.getoption("--env").lower() + assert env in [ + "dev", + "test", + "preprod", + ], f"env must be dev, test, or preprod but was: {env}" + logger.info(f"Setting environment variables for: {env}") + os.environ["BASE_URL"] = ( + f"https://{env}.eligibility-signposting-api.nhs.uk/patient-check/" + ) + os.environ["S3_BUCKET_NAME"] = f"eligibility-signposting-api-{env}-eli-rules" + os.environ["SSM_PARAM_KEY_FILE"] = f"/{env}/mtls/api_private_key_cert" + os.environ["SSM_PARAM_CLIENT_CERT"] = f"/{env}/mtls/api_client_cert" + os.environ["SSM_PARAM_CA_CERT"] = f"/{env}/mtls/api_ca_cert" + os.environ["DYNAMODB_TABLE_NAME"] = ( + f"eligibility-signposting-api-{env}-eligibility_datastore" + ) -@pytest.fixture + assert os.getenv("BASE_URL") is not None, "BASE_URL must be set" + assert os.getenv("S3_BUCKET_NAME") is not None, "S3_BUCKET_NAME must be set" + assert os.getenv("SSM_PARAM_KEY_FILE") is not None, "SSM_PARAM_KEY_FILE must be set" + assert ( + os.getenv("SSM_PARAM_CLIENT_CERT") is not None + ), "SSM_PARAM_CLIENT_CERT must be set" + assert os.getenv("SSM_PARAM_CA_CERT") is not None, "SSM_PARAM_CA_CERT must be set" + assert ( + os.getenv("DYNAMODB_TABLE_NAME") is not None + ), "DYNAMODB_TABLE_NAME must be set" + + logger.debug(f"Environment variables for the {env.upper()} environment:") + logger.debug(f"BASE_URL: {os.getenv("BASE_URL")}") + logger.debug(f"S3_BUCKET_NAME: {os.getenv("S3_BUCKET_NAME")}") + logger.debug(f"SSM_PARAM_KEY_FILE: {os.getenv("SSM_PARAM_KEY_FILE")}") + logger.debug(f"SSM_PARAM_CLIENT_CERT: {os.getenv("SSM_PARAM_CLIENT_CERT")}") + logger.debug(f"SSM_PARAM_CA_CERT: {os.getenv("SSM_PARAM_CA_CERT")}") + logger.debug(f"DYNAMODB_TABLE_NAME: {os.getenv("DYNAMODB_TABLE_NAME")}") + return + + +@pytest.fixture(scope="session") +def eligibility_client(): + return EligibilityApiClient(cert_dir="certs") + + +@pytest.fixture(scope="session") def get_scenario_params(request): _ = request @@ -60,8 +96,3 @@ def _setup(scenario, config_path): ) return _setup - - -@pytest.fixture -def env(request): - return request.config.getoption("--env") diff --git a/utils/credential_helper.py b/utils/credential_helper.py deleted file mode 100644 index ccb47a7c..00000000 --- a/utils/credential_helper.py +++ /dev/null @@ -1,18 +0,0 @@ -import logging - -import boto3 - -logger = logging.getLogger(__name__) - - -class AWSSession: - def __init__(self, environment): - # Create DynamoDB resource using credentials from env - self.session = boto3.session.Session(profile_name=environment) - self.credentials = self.session.get_credentials() - self.access_key = self.credentials.access_key - self.secret_key = self.credentials.secret_key - self.token = self.credentials.token - - def get_session(self): - return self.session diff --git a/utils/data_helper.py b/utils/data_helper.py index f32c380a..263f5d85 100644 --- a/utils/data_helper.py +++ b/utils/data_helper.py @@ -1,11 +1,16 @@ import json +import logging from pathlib import Path +from dotenv import load_dotenv + from .dynamo_helper import insert_into_dynamo, reset_dynamo_tables from .placeholder_context import PlaceholderDTO, ResolvedPlaceholderContext from .placeholder_utils import resolve_placeholders keys_to_ignore = ["responseId", "lastUpdated", "id"] +load_dotenv() +logger = logging.getLogger(__name__) def initialise_tests(folder): @@ -13,10 +18,10 @@ def initialise_tests(folder): all_data, dto = load_all_test_scenarios(folder_path) reset_dynamo_tables() - # Insert to Dynamo (placeholder) + logger.info("Adding data into Dynamo") for scenario in all_data.values(): insert_into_dynamo(scenario["dynamo_items"]) - + logger.info("Data Added to Dynamo") return all_data, dto diff --git a/utils/dynamo_helper.py b/utils/dynamo_helper.py index 9d5f5008..369fd2d5 100644 --- a/utils/dynamo_helper.py +++ b/utils/dynamo_helper.py @@ -3,15 +3,17 @@ import boto3 from botocore.exceptions import ClientError +from dotenv import load_dotenv logger = logging.getLogger(__name__) +load_dotenv() class DynamoDBHelper: def __init__(self, table_name): # Create DynamoDB resource using credentials from env self.table_name = table_name - self.dynamodb_client = boto3.client("dynamodb") + self.dynamodb_client = boto3.client("dynamodb", "eu-west-2") self.table_description = self.dynamodb_client.describe_table( TableName=self.table_name ) @@ -19,7 +21,7 @@ def __init__(self, table_name): self.attribute_definitions = self.table_description["Table"][ "AttributeDefinitions" ] - self.dynamodb_resource = boto3.resource("dynamodb") + self.dynamodb_resource = boto3.resource("dynamodb", "eu-west-2") self.table = self.dynamodb_resource.Table(table_name) def insert_item(self, item: dict): @@ -78,28 +80,33 @@ def delete_item(self, key: dict): def reset_dynamo_tables(): - table = DynamoDBHelper(os.getenv("DYNAMODB_TABLE_NAME")) + logger.info("Resetting DynamoDB. This may take a few moments, please be patient.") + dynamo_table_name = os.getenv("DYNAMODB_TABLE_NAME") + assert dynamo_table_name is not None, "DynamoDB table name not specified" + table = DynamoDBHelper(dynamo_table_name) # --- Step 1: Delete the table if it exists --- try: - print(f"Attempting to delete table '{table.table_name}'...") + logger.info(f"Deleting table '{table.table_name}'...") table.dynamodb_client.delete_table(TableName=table.table_name) # Wait for the table to be completely deleted - print(f"Waiting for table '{table.table_name}' to be deleted...") + logger.debug(f"Waiting for table '{table.table_name}' to be deleted...") waiter = table.dynamodb_client.get_waiter("table_not_exists") waiter.wait(TableName=table.table_name) - print(f"Table '{table.table_name}' successfully deleted.") + logger.info(f"Table '{table.table_name}' successfully deleted.") except ClientError as e: if e.response["Error"]["Code"] == "ResourceNotFoundException": - print(f"Table '{table.table_name}' does not exist. Skipping deletion.") + logger.warning( + f"Table '{table.table_name}' does not exist. Skipping deletion." + ) else: - print(f"Error deleting table '{table.table_name}': {e}") + logger.exception(f"Error deleting table '{table.table_name}': {e}") return # --- Step 2: Recreate the table --- - print(f"\nAttempting to create table '{table.table_name}'...") + logger.info(f"Creating table '{table.table_name}'...") try: table.dynamodb_client.create_table( TableName=table.table_name, @@ -109,24 +116,26 @@ def reset_dynamo_tables(): ) # Wait for the new table to become active - print( + logger.debug( f"Waiting for table '{table.table_name}' to be created and become active..." ) waiter = table.dynamodb_client.get_waiter("table_exists") waiter.wait(TableName=table.table_name) - print(f"Table '{table.table_name}' successfully created and is now active.") + logger.info( + f"Table '{table.table_name}' successfully created and is now active." + ) except ClientError as e: - print(f"Error creating table '{table.table_name}': {e}") + logger.exception(f"Error creating table '{table.table_name}': {e}") def insert_into_dynamo(data): - logger.info("Inserting into Dynamo: %s", data) + logger.debug("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) + logger.debug("โœ… Inserted: %s", item) except ClientError as e: logger.exception( "โŒ Failed to insert %s: %s", item, e.response["Error"]["Message"] diff --git a/utils/eligibility_api_client.py b/utils/eligibility_api_client.py index ae3cfa74..2e2d0065 100644 --- a/utils/eligibility_api_client.py +++ b/utils/eligibility_api_client.py @@ -1,4 +1,5 @@ import json +import os from pathlib import Path from typing import Any @@ -7,20 +8,15 @@ from botocore.exceptions import ClientError from dotenv import load_dotenv from requests import Response - from utils.data_helper import clean_responses ignore_keys = ["lastUpdated", "responseId", "id"] +load_dotenv() class EligibilityApiClient: - def __init__(self, env: str, cert_dir: str = "tests/certs") -> None: - load_dotenv(dotenv_path=Path(__file__).resolve().parent / "../.env") - env = env.lower() - assert env in ["dev", "test", "preprod"], "env must be dev, test, or preprod" - self.api_url: str = ( - f"https://{env}.eligibility-signposting-api.nhs.uk/patient-check" - ) + def __init__(self, cert_dir: str = "tests/certs") -> None: + self.api_url: str = os.getenv("BASE_URL") self.cert_dir: Path = Path(cert_dir) self.cert_dir.mkdir(parents=True, exist_ok=True) @@ -31,9 +27,9 @@ def __init__(self, env: str, cert_dir: str = "tests/certs") -> None: } self.ssm_params: dict[str, str] = { - "private_key": f"/{env}/mtls/api_private_key_cert", - "client_cert": f"/{env}/mtls/api_client_cert", - "ca_cert": f"/{env}/mtls/api_ca_cert", + "private_key": os.getenv("SSM_PARAM_KEY_FILE"), + "client_cert": os.getenv("SSM_PARAM_CLIENT_CERT"), + "ca_cert": os.getenv("SSM_PARAM_CA_CERT"), } self._ensure_certs_present() diff --git a/utils/s3_config_manager.py b/utils/s3_config_manager.py index 65328c6e..95cafd05 100644 --- a/utils/s3_config_manager.py +++ b/utils/s3_config_manager.py @@ -5,24 +5,23 @@ from pathlib import Path import boto3 -import botocore +import botocore.exceptions from dotenv import load_dotenv from utils.data_helper import resolve_placeholders_in_data from utils.placeholder_context import PlaceholderDTO -load_dotenv(dotenv_path=".env") +load_dotenv() logger = logging.getLogger(__name__) class S3ConfigManager: - def __init__(self, bucket_name: str, s3_prefix: str = "") -> None: + def __init__(self, bucket_name: 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) + return str(Path() / filename) def _calculate_file_hash(self, file_path: Path) -> str: """Return SHA256 hash of the given file.""" @@ -38,40 +37,31 @@ def upload_if_missing_or_changed(self, local_path: Path) -> None: try: if self.config_exists_and_matches(local_path, s3_key): - logger.info( + logger.debug( "\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() + logger.debug("๐Ÿงน A different config exists. Deleting all existing files...") + self.delete_all() except self.s3_client.exceptions.NoSuchKey: - logger.info( - "\n๐Ÿ†• No config found under '%s/'. Proceeding to upload.", - self.s3_prefix, - ) + logger.debug("๐Ÿ†• No config found. Proceeding to upload.") 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, - ) + logger.debug("๐Ÿ†• No config found. Proceeding to upload.") else: raise - logger.info("โฌ†๏ธ Uploading new config '%s' to S3...", filename) + logger.debug("โฌ†๏ธ 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) + logger.debug("๐Ÿ“„ 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) + assert credentials.access_key is not None, "aws_access_key_id not set" + assert credentials.secret_key is not None, "aws_secret_access_key not set" + assert credentials.token is not None, "aws_token not set" try: s3_obj = self.s3_client.get_object(Bucket=self.bucket_name, Key=s3_key) @@ -87,24 +77,18 @@ def config_exists_and_matches(self, local_path: Path, s3_key: str) -> bool: 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 - ) + def delete_all(self) -> None: + """Delete all S3 objects""" + response = self.s3_client.list_objects_v2(Bucket=self.bucket_name) 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, - ) + logger.debug("๐Ÿ—‘๏ธ Deleted %d file(s).", len(to_delete)) else: - logger.info("๐Ÿ“ญ Nothing to delete under prefix '%s/'.", self.s3_prefix) + logger.warning("๐Ÿ“ญ Nothing to delete.") def upload_all_configs(self, local_paths: list[Path]) -> None: desired_filenames = [p.name for p in local_paths] @@ -121,7 +105,7 @@ def upload_all_configs(self, local_paths: list[Path]) -> None: filename = path.name s3_key = self._s3_key(filename) - logger.info("๐Ÿ”ง Resolving placeholders in config: %s", filename) + logger.debug("๐Ÿ”ง Resolving placeholders in config: %s", filename) with path.open() as f: raw_data = json.load(f) @@ -130,18 +114,18 @@ def upload_all_configs(self, local_paths: list[Path]) -> None: resolved_json_str = json.dumps(resolved, indent=2) if self.config_exists_and_matches_str(resolved_json_str, s3_key): - logger.info( + logger.warning( "โœ… Config '%s' is unchanged in S3. Skipping upload.", filename ) else: - logger.info("โฌ†๏ธ Uploading config '%s' to S3...", filename) + logger.debug("โฌ†๏ธ 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) + logger.debug("๐Ÿ“„ 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: @@ -152,10 +136,8 @@ def config_exists_and_matches_str(self, local_json_str: str, s3_key: str) -> boo 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 - ) + """List all object keys.""" + response = self.s3_client.list_objects_v2(Bucket=self.bucket_name) return [obj["Key"] for obj in response.get("Contents", [])] def _delete_keys(self, keys: list[str]) -> None: @@ -164,21 +146,21 @@ def _delete_keys(self, keys: list[str]) -> None: Bucket=self.bucket_name, Delete={"Objects": [{"Key": key} for key in keys]}, ) - logger.info("๐Ÿ—‘๏ธ Deleted %d obsolete file(s): %s", len(keys), keys) + logger.debug("๐Ÿ—‘๏ธ 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 = S3ConfigManager(os.getenv("S3_BUCKET_NAME")) 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 = S3ConfigManager(os.getenv("S3_BUCKET_NAME")) 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() + s3_connection = S3ConfigManager(os.getenv("S3_BUCKET_NAME")) + s3_connection.delete_all() From 5563375a322138e0e3988a0acb665405da2d1252 Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Wed, 24 Sep 2025 18:23:12 +0100 Subject: [PATCH 39/45] update python packages --- poetry.lock | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/poetry.lock b/poetry.lock index 969370da..92e8d6b5 100644 --- a/poetry.lock +++ b/poetry.lock @@ -106,18 +106,18 @@ uvloop = ["uvloop (>=0.15.2)"] [[package]] name = "boto3" -version = "1.40.36" +version = "1.40.37" description = "The AWS SDK for Python" optional = false python-versions = ">=3.9" groups = ["main"] files = [ - {file = "boto3-1.40.36-py3-none-any.whl", hash = "sha256:d7c1fe033f491f560cd26022a9dcf28baf877ae854f33bc64fffd0df3b9c98be"}, - {file = "boto3-1.40.36.tar.gz", hash = "sha256:bfc1f3d5c4f5d12b8458406b8972f8794ac57e2da1ee441469e143bc0440a5c3"}, + {file = "boto3-1.40.37-py3-none-any.whl", hash = "sha256:ccc5aa217e41bcc80e243c12e6b4330a010b5752cdda2618d67d0b854cd730d5"}, + {file = "boto3-1.40.37.tar.gz", hash = "sha256:222de1ac6b878c2a2ea75ecfdd876ff3e8bd71930a5f9a3631379dfacc402eda"}, ] [package.dependencies] -botocore = ">=1.40.36,<1.41.0" +botocore = ">=1.40.37,<1.41.0" jmespath = ">=0.7.1,<2.0.0" s3transfer = ">=0.14.0,<0.15.0" @@ -126,14 +126,14 @@ crt = ["botocore[crt] (>=1.21.0,<2.0a0)"] [[package]] name = "botocore" -version = "1.40.36" +version = "1.40.37" description = "Low-level, data-driven core of boto 3." optional = false python-versions = ">=3.9" groups = ["main"] files = [ - {file = "botocore-1.40.36-py3-none-any.whl", hash = "sha256:d6edf75875e4013cb7078875a1d6c289afb4cc6675d99d80700c692d8d8e0b72"}, - {file = "botocore-1.40.36.tar.gz", hash = "sha256:93386a8dc54173267ddfc6cd8636c9171e021f7c032aa1df3af7de816e3df616"}, + {file = "botocore-1.40.37-py3-none-any.whl", hash = "sha256:9d4cee2ae0fe273003c6d1a8c9f7b98c4e40a6f74ba2f37eacba27d97fb7734f"}, + {file = "botocore-1.40.37.tar.gz", hash = "sha256:9d2cfc41963a3a8be8ece395292e29afad2e25aa602d02bc0c0c3a598405a318"}, ] [package.dependencies] @@ -1166,14 +1166,14 @@ typing-extensions = ">=4.6.0,<4.7.0 || >4.7.0" [[package]] name = "pydantic-settings" -version = "2.10.1" +version = "2.11.0" description = "Settings management using Pydantic" optional = false python-versions = ">=3.9" groups = ["main"] files = [ - {file = "pydantic_settings-2.10.1-py3-none-any.whl", hash = "sha256:a60952460b99cf661dc25c29c0ef171721f98bfcb52ef8d9ea4c943d7c8cc796"}, - {file = "pydantic_settings-2.10.1.tar.gz", hash = "sha256:06f0062169818d0f5524420a360d632d5857b83cffd4d42fe29597807a1614ee"}, + {file = "pydantic_settings-2.11.0-py3-none-any.whl", hash = "sha256:fe2cea3413b9530d10f3a5875adffb17ada5c1e1bab0b2885546d7310415207c"}, + {file = "pydantic_settings-2.11.0.tar.gz", hash = "sha256:d0e87a1c7d33593beb7194adb8470fc426e95ba02af83a0f23474a04c9a08180"}, ] [package.dependencies] From c52d215d47d0dd3fb2ec5b6b1269faf193290165 Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Wed, 24 Sep 2025 18:48:30 +0100 Subject: [PATCH 40/45] pass in the log level you want commented out continue-on-error: true not sure if we need this to fail the build because this is not Behave testing --- .github/workflows/regression_tests.yml | 18 ++++++++++++++---- Makefile | 4 ++-- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/.github/workflows/regression_tests.yml b/.github/workflows/regression_tests.yml index b96d4a77..7adfe811 100644 --- a/.github/workflows/regression_tests.yml +++ b/.github/workflows/regression_tests.yml @@ -12,13 +12,19 @@ on: type: environment required: true default: "dev" + log_level: + description: 'Log level to output to console' + type: choice + options: ["INFO", "DEBUG"] + required: false + default: "INFO" id: description: 'Unique run identifier (Do not change this)' - required: false + required: true default: "Manually Triggered Run" github_tag: description: 'The github tag to run the test pack from' - required: false + required: true default: "main" jobs: @@ -34,17 +40,20 @@ jobs: env: tags: ${{ inputs.tags }} environment: ${{ inputs.environment }} + log_level: ${{ inputs.log_level }} id: ${{ inputs.id }} github_tag: ${{ inputs.github_tag }} run: | echo "tags: ${tags}" echo "environment: ${environment}" + echo "log_level: ${log_level}" echo "id: ${id}" echo "github_tag: ${github_tag}" # output to summary # shellcheck disable=SC2129 echo "tags: ${tags}" >> "$GITHUB_STEP_SUMMARY" echo "environment: ${environment}" >> "$GITHUB_STEP_SUMMARY" + echo "log_level: ${log_level}" >> "$GITHUB_STEP_SUMMARY" echo "id: ${id}" >> "$GITHUB_STEP_SUMMARY" echo "github_tag: ${github_tag}" >> "$GITHUB_STEP_SUMMARY" @@ -100,12 +109,13 @@ jobs: - name: Regression Tests id: tests - continue-on-error: true +# continue-on-error: true env: ENVIRONMENT: ${{ inputs.environment }} + LOG_LEVEL: ${{ inputs.log_level }} INPUT_TAG: ${{ inputs.tags }} run: | - make run-tests env="$ENVIRONMENT" + make run-tests env="$ENVIRONMENT" log_level="$LOG_LEVEL" - name: force error on failure if: steps.tests.outcome != 'success' diff --git a/Makefile b/Makefile index 27d95f44..b1ef34c6 100644 --- a/Makefile +++ b/Makefile @@ -76,5 +76,5 @@ deep-clean-install: pre-commit: poetry run pre-commit run --all-files -run-tests: guard-env - poetry run pytest --env=${env} --log-cli-level=INFO -s -vvv tests/test_story_tests.py +run-tests: guard-env guard-log_level + poetry run pytest --env=${env} --log-cli-level=${log_level} -s tests/test_story_tests.py From 00b187dd0a6aeb215aa10b15089dcbee4a8ed843 Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Wed, 24 Sep 2025 19:01:40 +0100 Subject: [PATCH 41/45] removed the force error on failure step because it's not needed --- .github/workflows/regression_tests.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/workflows/regression_tests.yml b/.github/workflows/regression_tests.yml index 7adfe811..cb6a912b 100644 --- a/.github/workflows/regression_tests.yml +++ b/.github/workflows/regression_tests.yml @@ -109,16 +109,9 @@ jobs: - name: Regression Tests id: tests -# continue-on-error: true env: ENVIRONMENT: ${{ inputs.environment }} LOG_LEVEL: ${{ inputs.log_level }} INPUT_TAG: ${{ inputs.tags }} run: | make run-tests env="$ENVIRONMENT" log_level="$LOG_LEVEL" - - - name: force error on failure - if: steps.tests.outcome != 'success' - run: | - echo The regression tests step failed, this likely means there are test failures. - exit 1 From 9cff26c1f71dc3abe6083bf5e887275200ede310 Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Thu, 25 Sep 2025 17:18:41 +0100 Subject: [PATCH 42/45] Prevent DynamoDB tables being reset in any environment that is not dev or test Restoration of existing tags will also be included deletion of test_regression_tests.py and test_smoke_tests.py files --- tests/conftest.py | 2 + tests/test_regression_tests.py | 46 ----------------- tests/test_smoke_tests.py | 44 ---------------- utils/dynamo_helper.py | 94 ++++++++++++++++++++++------------ 4 files changed, 64 insertions(+), 122 deletions(-) delete mode 100644 tests/test_regression_tests.py delete mode 100644 tests/test_smoke_tests.py diff --git a/tests/conftest.py b/tests/conftest.py index c5944511..2a87341f 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -36,6 +36,7 @@ def pytest_configure(config): ], f"env must be dev, test, or preprod but was: {env}" logger.info(f"Setting environment variables for: {env}") + os.environ["ENVIRONMENT"] = env os.environ["BASE_URL"] = ( f"https://{env}.eligibility-signposting-api.nhs.uk/patient-check/" ) @@ -59,6 +60,7 @@ def pytest_configure(config): ), "DYNAMODB_TABLE_NAME must be set" logger.debug(f"Environment variables for the {env.upper()} environment:") + logger.debug(f"ENVIRONMENT {os.getenv("ENVIRONMENT")}") logger.debug(f"BASE_URL: {os.getenv("BASE_URL")}") logger.debug(f"S3_BUCKET_NAME: {os.getenv("S3_BUCKET_NAME")}") logger.debug(f"SSM_PARAM_KEY_FILE: {os.getenv("SSM_PARAM_KEY_FILE")}") diff --git a/tests/test_regression_tests.py b/tests/test_regression_tests.py deleted file mode 100644 index d9380ec3..00000000 --- a/tests/test_regression_tests.py +++ /dev/null @@ -1,46 +0,0 @@ -import http - -import pytest - -from tests import test_config -from 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/test_smoke_tests.py b/tests/test_smoke_tests.py deleted file mode 100644 index db7d7536..00000000 --- a/tests/test_smoke_tests.py +++ /dev/null @@ -1,44 +0,0 @@ -import http - -import pytest - -from tests import test_config -from 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/utils/dynamo_helper.py b/utils/dynamo_helper.py index 369fd2d5..c3437915 100644 --- a/utils/dynamo_helper.py +++ b/utils/dynamo_helper.py @@ -14,13 +14,6 @@ def __init__(self, table_name): # Create DynamoDB resource using credentials from env self.table_name = table_name self.dynamodb_client = boto3.client("dynamodb", "eu-west-2") - self.table_description = self.dynamodb_client.describe_table( - TableName=self.table_name - ) - self.key_schema = self.table_description["Table"]["KeySchema"] - self.attribute_definitions = self.table_description["Table"][ - "AttributeDefinitions" - ] self.dynamodb_resource = boto3.resource("dynamodb", "eu-west-2") self.table = self.dynamodb_resource.Table(table_name) @@ -78,55 +71,92 @@ def delete_item(self, key: dict): else: return response + def get_table_information(self): + logger.debug(f"Describe table: {self.table_name}") + try: + table_description = self.dynamodb_client.describe_table( + TableName=self.table_name + ) + except ClientError as e: + logger.exception( + f"Failed to get table information: {e.response["Error"]["Message"]}" + ) + raise + table_arn = table_description["Table"]["TableArn"] + return table_description, table_arn + def reset_dynamo_tables(): + environment = os.getenv("ENVIRONMENT") logger.info("Resetting DynamoDB. This may take a few moments, please be patient.") - dynamo_table_name = os.getenv("DYNAMODB_TABLE_NAME") - assert dynamo_table_name is not None, "DynamoDB table name not specified" - table = DynamoDBHelper(dynamo_table_name) - - # --- Step 1: Delete the table if it exists --- + if environment not in ["dev", "test"]: + logger.warning( + f"{environment} is not supported. Resetting DynamoDB is only supported in dev or test." + ) + return + logger.info("Resetting DynamoDB. This may take a few moments, please be patient.") + dynamo_db_table = DynamoDBHelper(os.getenv("DYNAMODB_TABLE_NAME")) + table_name = dynamo_db_table.table_name + + # --- Step 1: Fetch table information --- + table_description, table_arn = dynamo_db_table.get_table_information() + key_schema = table_description["Table"]["KeySchema"] + logger.debug(f"KeySchema: {key_schema}") + attribute_definitions = table_description["Table"]["AttributeDefinitions"] + logger.debug(f"attribute_definitions: {attribute_definitions}") + tags = dynamo_db_table.dynamodb_client.list_tags_of_resource(ResourceArn=table_arn) + logger.debug(f"tags: {tags}") + # --- Step 2: Delete the table --- try: - logger.info(f"Deleting table '{table.table_name}'...") - table.dynamodb_client.delete_table(TableName=table.table_name) + logger.info(f"Deleting table '{table_name}'...") + dynamo_db_table.dynamodb_client.delete_table(TableName=table_name) # Wait for the table to be completely deleted - logger.debug(f"Waiting for table '{table.table_name}' to be deleted...") - waiter = table.dynamodb_client.get_waiter("table_not_exists") - waiter.wait(TableName=table.table_name) - logger.info(f"Table '{table.table_name}' successfully deleted.") + logger.debug( + f"Waiting for table '{dynamo_db_table.table_name}' to be deleted..." + ) + waiter = dynamo_db_table.dynamodb_client.get_waiter("table_not_exists") + waiter.wait(TableName=dynamo_db_table.table_name) + logger.info(f"Table '{dynamo_db_table.table_name}' successfully deleted.") except ClientError as e: if e.response["Error"]["Code"] == "ResourceNotFoundException": logger.warning( - f"Table '{table.table_name}' does not exist. Skipping deletion." + f"Table '{dynamo_db_table.table_name}' does not exist. Skipping deletion." ) else: - logger.exception(f"Error deleting table '{table.table_name}': {e}") + logger.exception( + f"Error deleting table '{dynamo_db_table.table_name}': {e}" + ) return - # --- Step 2: Recreate the table --- - logger.info(f"Creating table '{table.table_name}'...") + # --- Step 3: Recreate the table --- + logger.info(f"Creating table '{dynamo_db_table.table_name}'...") try: - table.dynamodb_client.create_table( - TableName=table.table_name, - KeySchema=table.key_schema, - AttributeDefinitions=table.attribute_definitions, + dynamo_db_table.dynamodb_client.create_table( + TableName=dynamo_db_table.table_name, + KeySchema=key_schema, + AttributeDefinitions=attribute_definitions, BillingMode="PAY_PER_REQUEST", ) # Wait for the new table to become active logger.debug( - f"Waiting for table '{table.table_name}' to be created and become active..." + f"Waiting for table '{dynamo_db_table.table_name}' to be created and become active..." ) - waiter = table.dynamodb_client.get_waiter("table_exists") - waiter.wait(TableName=table.table_name) + waiter = dynamo_db_table.dynamodb_client.get_waiter("table_exists") + waiter.wait(TableName=dynamo_db_table.table_name) logger.info( - f"Table '{table.table_name}' successfully created and is now active." + f"Table '{dynamo_db_table.table_name}' successfully created and is now active." ) - except ClientError as e: - logger.exception(f"Error creating table '{table.table_name}': {e}") + logger.exception(f"Error creating table '{dynamo_db_table.table_name}': {e}") + + # --- Step 4: Restore the tags --- + logger.debug(f"restoring tags to table '{dynamo_db_table.table_name}'...") + dynamo_db_table.dynamodb_client.tag_resource( + ResourceArn=table_arn, Tags=tags["Tags"] + ) def insert_into_dynamo(data): From 84dcc8853920c384f3b461670fc0850437d1e42f Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Fri, 26 Sep 2025 10:31:40 +0100 Subject: [PATCH 43/45] will now run all tests in all environments, not just story tests --- Makefile | 2 ++ utils/dynamo_helper.py | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b1ef34c6..9f1e2ea5 100644 --- a/Makefile +++ b/Makefile @@ -78,3 +78,5 @@ pre-commit: run-tests: guard-env guard-log_level poetry run pytest --env=${env} --log-cli-level=${log_level} -s tests/test_story_tests.py + poetry run pytest --env=${env} --log-cli-level=${log_level} -s tests/test_error_scenario_tests.py + poetry run pytest --env=${env} --log-cli-level=${log_level} -s tests/test_vita_integration_tests.py diff --git a/utils/dynamo_helper.py b/utils/dynamo_helper.py index c3437915..ac9ff4dd 100644 --- a/utils/dynamo_helper.py +++ b/utils/dynamo_helper.py @@ -94,7 +94,6 @@ def reset_dynamo_tables(): f"{environment} is not supported. Resetting DynamoDB is only supported in dev or test." ) return - logger.info("Resetting DynamoDB. This may take a few moments, please be patient.") dynamo_db_table = DynamoDBHelper(os.getenv("DYNAMODB_TABLE_NAME")) table_name = dynamo_db_table.table_name From aab0a5c28a07889c4a2bde131aef838cd042dbc5 Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Fri, 26 Sep 2025 11:09:52 +0100 Subject: [PATCH 44/45] automerge dependabots --- .github/workflows/auto-merge-dependabot.yml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/.github/workflows/auto-merge-dependabot.yml b/.github/workflows/auto-merge-dependabot.yml index 321dbe2f..fecd193a 100644 --- a/.github/workflows/auto-merge-dependabot.yml +++ b/.github/workflows/auto-merge-dependabot.yml @@ -2,20 +2,16 @@ name: Dependabot auto-approve on: pull_request permissions: + id-token: write pull-requests: write contents: write + issues: write jobs: dependabot: runs-on: ubuntu-22.04 if: ${{ github.actor == 'dependabot[bot]' }} steps: - - name: Get token from Github App - id: get_app_token - uses: actions/create-github-app-token@v1 - with: - app-id: ${{ secrets.AUTOMERGE_APP_ID }} - private-key: ${{ secrets.AUTOMERGE_PEM }} - name: Dependabot metadata id: dependabot-metadata uses: dependabot/fetch-metadata@v2 @@ -26,13 +22,13 @@ jobs: run: gh pr review "$PR_URL" --approve -b "I'm **approving** this pull request because **it includes a patch or minor update**" env: PR_URL: ${{github.event.pull_request.html_url}} - GITHUB_TOKEN: ${{ steps.get_app_token.outputs.token }} + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - name: Approve major updates of development dependencies if: ${{steps.dependabot-metadata.outputs.update-type == 'version-update:semver-major' && steps.dependabot-metadata.outputs.dependency-type == 'direct:development'}} run: gh pr review "$PR_URL" --approve -b "I'm **approving** this pull request because **it includes a major update of a dependency used only in development**" env: PR_URL: ${{github.event.pull_request.html_url}} - GITHUB_TOKEN: ${{ steps.get_app_token.outputs.token }} + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - name: Comment on major updates of non-development dependencies if: ${{steps.dependabot-metadata.outputs.update-type == 'version-update:semver-major' && steps.dependabot-metadata.outputs.dependency-type == 'direct:production'}} run: | @@ -40,10 +36,10 @@ jobs: gh pr edit "$PR_URL" --add-label "requires-manual-qa" env: PR_URL: ${{github.event.pull_request.html_url}} - GITHUB_TOKEN: ${{ steps.get_app_token.outputs.token }} + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} # enable auto merge on all dependabot prs - name: Enable auto-merge for Dependabot PRs - run: gh pr merge --auto --squash "$PR_URL" + run: gh pr merge --auto --merge "$PR_URL" env: PR_URL: ${{github.event.pull_request.html_url}} - GITHUB_TOKEN: ${{ steps.get_app_token.outputs.token }} + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} From f4b90fe259b8ffe2b11c5d0d1037fc9961402f13 Mon Sep 17 00:00:00 2001 From: SeanSteberis <103416906+seansteberisal@users.noreply.github.com> Date: Fri, 26 Sep 2025 11:30:59 +0100 Subject: [PATCH 45/45] update poetry version and packages --- .tool-versions | 2 +- package-lock.json | 25 ++------- poetry.lock | 129 +++++++++++++++++++++++++--------------------- 3 files changed, 75 insertions(+), 81 deletions(-) diff --git a/.tool-versions b/.tool-versions index f9ebb4fb..357623e0 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,5 +1,5 @@ python 3.13.5 -poetry 2.1.4 +poetry 2.2.0 shellcheck 0.11.0 actionlint 1.7.7 nodejs 22.18.0 diff --git a/package-lock.json b/package-lock.json index 9aed8ee6..7c95253d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3495,7 +3495,6 @@ "version": "5.6.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz", "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==", - "dev": true, "license": "MIT", "engines": { "node": "^12.17.0 || ^14.13 || >=16.0.0" @@ -4333,7 +4332,6 @@ "version": "4.2.11", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", - "dev": true, "license": "ISC" }, "node_modules/handlebars": { @@ -4362,7 +4360,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -4395,7 +4392,6 @@ "version": "7.0.2", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.2.tgz", "integrity": "sha512-puUZAUKT5m8Zzvs72XWy3HtvVbTWljRE66cP60bxJzAqf2DgICo7lYTY2IHUmLnNpjYvw5bvmoHvPc0QO2a62w==", - "dev": true, "license": "ISC", "dependencies": { "lru-cache": "^10.0.1" @@ -4505,9 +4501,9 @@ } }, "node_modules/index-to-position": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/index-to-position/-/index-to-position-1.1.0.tgz", - "integrity": "sha512-XPdx9Dq4t9Qk1mTMbWONJqU7boCoumEH7fRET37HX5+khDUl3J2W6PdALxhILYlIYx2amlwYcRPp28p0tSiojg==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/index-to-position/-/index-to-position-1.2.0.tgz", + "integrity": "sha512-Yg7+ztRkqslMAS2iFaU+Oa4KTSidr63OsFGlOrJoW981kIYO3CGCS3wA95P1mUi/IVSJkn0D479KTJpVpvFNuw==", "dev": true, "license": "MIT", "engines": { @@ -4528,7 +4524,6 @@ "version": "1.3.8", "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", - "dev": true, "license": "ISC" }, "node_modules/into-stream": { @@ -4635,7 +4630,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", - "dev": true, "license": "ISC" }, "node_modules/issue-parser": { @@ -4696,7 +4690,6 @@ "version": "2.3.1", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", - "dev": true, "license": "MIT" }, "node_modules/jsonfile": { @@ -4816,7 +4809,6 @@ "version": "10.4.3", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", - "dev": true, "license": "ISC" }, "node_modules/marked": { @@ -4931,7 +4923,6 @@ "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true, "license": "MIT" }, "node_modules/mz": { @@ -4980,7 +4971,6 @@ "version": "6.0.2", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.2.tgz", "integrity": "sha512-V6gygoYb/5EmNI+MEGrWkC+e6+Rr7mTmfHrxDbLzxQogBkgzo76rkok0Am6thgSF7Mv2nLOajAJj5vDJZEFn7g==", - "dev": true, "license": "BSD-2-Clause", "dependencies": { "hosted-git-info": "^7.0.0", @@ -7564,7 +7554,6 @@ "version": "7.0.3", "resolved": "https://registry.npmjs.org/p-map/-/p-map-7.0.3.tgz", "integrity": "sha512-VkndIv2fIB99swvQoA65bm+fsmt6UNdGeIB0oxBs+WhAhdh08QA04JXpI7rbB9r08/nkbysKoya9rtDERYOYMA==", - "dev": true, "license": "MIT", "engines": { "node": ">=18" @@ -8038,7 +8027,6 @@ "version": "7.7.2", "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", - "dev": true, "license": "ISC", "bin": { "semver": "bin/semver.js" @@ -8253,7 +8241,6 @@ "version": "3.2.0", "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", - "dev": true, "license": "Apache-2.0", "dependencies": { "spdx-expression-parse": "^3.0.0", @@ -8264,14 +8251,12 @@ "version": "2.5.0", "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz", "integrity": "sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==", - "dev": true, "license": "CC-BY-3.0" }, "node_modules/spdx-expression-parse": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", - "dev": true, "license": "MIT", "dependencies": { "spdx-exceptions": "^2.1.0", @@ -8282,7 +8267,6 @@ "version": "3.0.22", "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.22.tgz", "integrity": "sha512-4PRT4nh1EImPbt2jASOKHX7PB7I+e4IWNLvkKFDxNhJlfjbYlleYQh285Z/3mPTHSAK/AvdMmw5BNNuYH8ShgQ==", - "dev": true, "license": "CC0-1.0" }, "node_modules/split2": { @@ -8408,7 +8392,6 @@ "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -8717,7 +8700,6 @@ "version": "3.0.4", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", - "dev": true, "license": "Apache-2.0", "dependencies": { "spdx-correct": "^3.0.0", @@ -8728,7 +8710,6 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, "license": "ISC", "dependencies": { "isexe": "^2.0.0" diff --git a/poetry.lock b/poetry.lock index df761064..9a972d60 100644 --- a/poetry.lock +++ b/poetry.lock @@ -377,7 +377,7 @@ description = "Cross-platform colored terminal text." optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" groups = ["main"] -markers = "platform_system == \"Windows\" or sys_platform == \"win32\"" +markers = "sys_platform == \"win32\" or platform_system == \"Windows\"" files = [ {file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"}, {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, @@ -1166,14 +1166,14 @@ typing-extensions = ">=4.6.0,<4.7.0 || >4.7.0" [[package]] name = "pydantic-settings" -version = "2.10.1" +version = "2.11.0" description = "Settings management using Pydantic" optional = false python-versions = ">=3.9" groups = ["main"] files = [ - {file = "pydantic_settings-2.10.1-py3-none-any.whl", hash = "sha256:a60952460b99cf661dc25c29c0ef171721f98bfcb52ef8d9ea4c943d7c8cc796"}, - {file = "pydantic_settings-2.10.1.tar.gz", hash = "sha256:06f0062169818d0f5524420a360d632d5857b83cffd4d42fe29597807a1614ee"}, + {file = "pydantic_settings-2.11.0-py3-none-any.whl", hash = "sha256:fe2cea3413b9530d10f3a5875adffb17ada5c1e1bab0b2885546d7310415207c"}, + {file = "pydantic_settings-2.11.0.tar.gz", hash = "sha256:d0e87a1c7d33593beb7194adb8470fc426e95ba02af83a0f23474a04c9a08180"}, ] [package.dependencies] @@ -1365,65 +1365,78 @@ dev = ["black", "build", "mypy", "pytest", "pytest-cov", "setuptools", "tox", "t [[package]] name = "pyyaml" -version = "6.0.2" +version = "6.0.3" description = "YAML parser and emitter for Python" optional = false python-versions = ">=3.8" groups = ["main", "dev"] files = [ - {file = "PyYAML-6.0.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:0a9a2848a5b7feac301353437eb7d5957887edbf81d56e903999a75a3d743086"}, - {file = "PyYAML-6.0.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:29717114e51c84ddfba879543fb232a6ed60086602313ca38cce623c1d62cfbf"}, - {file = "PyYAML-6.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8824b5a04a04a047e72eea5cec3bc266db09e35de6bdfe34c9436ac5ee27d237"}, - {file = "PyYAML-6.0.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7c36280e6fb8385e520936c3cb3b8042851904eba0e58d277dca80a5cfed590b"}, - {file = "PyYAML-6.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ec031d5d2feb36d1d1a24380e4db6d43695f3748343d99434e6f5f9156aaa2ed"}, - {file = "PyYAML-6.0.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:936d68689298c36b53b29f23c6dbb74de12b4ac12ca6cfe0e047bedceea56180"}, - {file = "PyYAML-6.0.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:23502f431948090f597378482b4812b0caae32c22213aecf3b55325e049a6c68"}, - {file = "PyYAML-6.0.2-cp310-cp310-win32.whl", hash = "sha256:2e99c6826ffa974fe6e27cdb5ed0021786b03fc98e5ee3c5bfe1fd5015f42b99"}, - {file = "PyYAML-6.0.2-cp310-cp310-win_amd64.whl", hash = "sha256:a4d3091415f010369ae4ed1fc6b79def9416358877534caf6a0fdd2146c87a3e"}, - {file = "PyYAML-6.0.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:cc1c1159b3d456576af7a3e4d1ba7e6924cb39de8f67111c735f6fc832082774"}, - {file = "PyYAML-6.0.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1e2120ef853f59c7419231f3bf4e7021f1b936f6ebd222406c3b60212205d2ee"}, - {file = "PyYAML-6.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5d225db5a45f21e78dd9358e58a98702a0302f2659a3c6cd320564b75b86f47c"}, - {file = "PyYAML-6.0.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5ac9328ec4831237bec75defaf839f7d4564be1e6b25ac710bd1a96321cc8317"}, - {file = "PyYAML-6.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3ad2a3decf9aaba3d29c8f537ac4b243e36bef957511b4766cb0057d32b0be85"}, - {file = "PyYAML-6.0.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:ff3824dc5261f50c9b0dfb3be22b4567a6f938ccce4587b38952d85fd9e9afe4"}, - {file = "PyYAML-6.0.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:797b4f722ffa07cc8d62053e4cff1486fa6dc094105d13fea7b1de7d8bf71c9e"}, - {file = "PyYAML-6.0.2-cp311-cp311-win32.whl", hash = "sha256:11d8f3dd2b9c1207dcaf2ee0bbbfd5991f571186ec9cc78427ba5bd32afae4b5"}, - {file = "PyYAML-6.0.2-cp311-cp311-win_amd64.whl", hash = "sha256:e10ce637b18caea04431ce14fabcf5c64a1c61ec9c56b071a4b7ca131ca52d44"}, - {file = "PyYAML-6.0.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:c70c95198c015b85feafc136515252a261a84561b7b1d51e3384e0655ddf25ab"}, - {file = "PyYAML-6.0.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ce826d6ef20b1bc864f0a68340c8b3287705cae2f8b4b1d932177dcc76721725"}, - {file = "PyYAML-6.0.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1f71ea527786de97d1a0cc0eacd1defc0985dcf6b3f17bb77dcfc8c34bec4dc5"}, - {file = "PyYAML-6.0.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9b22676e8097e9e22e36d6b7bda33190d0d400f345f23d4065d48f4ca7ae0425"}, - {file = "PyYAML-6.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:80bab7bfc629882493af4aa31a4cfa43a4c57c83813253626916b8c7ada83476"}, - {file = "PyYAML-6.0.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:0833f8694549e586547b576dcfaba4a6b55b9e96098b36cdc7ebefe667dfed48"}, - {file = "PyYAML-6.0.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8b9c7197f7cb2738065c481a0461e50ad02f18c78cd75775628afb4d7137fb3b"}, - {file = "PyYAML-6.0.2-cp312-cp312-win32.whl", hash = "sha256:ef6107725bd54b262d6dedcc2af448a266975032bc85ef0172c5f059da6325b4"}, - {file = "PyYAML-6.0.2-cp312-cp312-win_amd64.whl", hash = "sha256:7e7401d0de89a9a855c839bc697c079a4af81cf878373abd7dc625847d25cbd8"}, - {file = "PyYAML-6.0.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:efdca5630322a10774e8e98e1af481aad470dd62c3170801852d752aa7a783ba"}, - {file = "PyYAML-6.0.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:50187695423ffe49e2deacb8cd10510bc361faac997de9efef88badc3bb9e2d1"}, - {file = "PyYAML-6.0.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0ffe8360bab4910ef1b9e87fb812d8bc0a308b0d0eef8c8f44e0254ab3b07133"}, - {file = "PyYAML-6.0.2-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:17e311b6c678207928d649faa7cb0d7b4c26a0ba73d41e99c4fff6b6c3276484"}, - {file = "PyYAML-6.0.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:70b189594dbe54f75ab3a1acec5f1e3faa7e8cf2f1e08d9b561cb41b845f69d5"}, - {file = "PyYAML-6.0.2-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:41e4e3953a79407c794916fa277a82531dd93aad34e29c2a514c2c0c5fe971cc"}, - {file = "PyYAML-6.0.2-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:68ccc6023a3400877818152ad9a1033e3db8625d899c72eacb5a668902e4d652"}, - {file = "PyYAML-6.0.2-cp313-cp313-win32.whl", hash = "sha256:bc2fa7c6b47d6bc618dd7fb02ef6fdedb1090ec036abab80d4681424b84c1183"}, - {file = "PyYAML-6.0.2-cp313-cp313-win_amd64.whl", hash = "sha256:8388ee1976c416731879ac16da0aff3f63b286ffdd57cdeb95f3f2e085687563"}, - {file = "PyYAML-6.0.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:24471b829b3bf607e04e88d79542a9d48bb037c2267d7927a874e6c205ca7e9a"}, - {file = "PyYAML-6.0.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d7fded462629cfa4b685c5416b949ebad6cec74af5e2d42905d41e257e0869f5"}, - {file = "PyYAML-6.0.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d84a1718ee396f54f3a086ea0a66d8e552b2ab2017ef8b420e92edbc841c352d"}, - {file = "PyYAML-6.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9056c1ecd25795207ad294bcf39f2db3d845767be0ea6e6a34d856f006006083"}, - {file = "PyYAML-6.0.2-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:82d09873e40955485746739bcb8b4586983670466c23382c19cffecbf1fd8706"}, - {file = "PyYAML-6.0.2-cp38-cp38-win32.whl", hash = "sha256:43fa96a3ca0d6b1812e01ced1044a003533c47f6ee8aca31724f78e93ccc089a"}, - {file = "PyYAML-6.0.2-cp38-cp38-win_amd64.whl", hash = "sha256:01179a4a8559ab5de078078f37e5c1a30d76bb88519906844fd7bdea1b7729ff"}, - {file = "PyYAML-6.0.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:688ba32a1cffef67fd2e9398a2efebaea461578b0923624778664cc1c914db5d"}, - {file = "PyYAML-6.0.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:a8786accb172bd8afb8be14490a16625cbc387036876ab6ba70912730faf8e1f"}, - {file = "PyYAML-6.0.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d8e03406cac8513435335dbab54c0d385e4a49e4945d2909a581c83647ca0290"}, - {file = "PyYAML-6.0.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f753120cb8181e736c57ef7636e83f31b9c0d1722c516f7e86cf15b7aa57ff12"}, - {file = "PyYAML-6.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3b1fdb9dc17f5a7677423d508ab4f243a726dea51fa5e70992e59a7411c89d19"}, - {file = "PyYAML-6.0.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:0b69e4ce7a131fe56b7e4d770c67429700908fc0752af059838b1cfb41960e4e"}, - {file = "PyYAML-6.0.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:a9f8c2e67970f13b16084e04f134610fd1d374bf477b17ec1599185cf611d725"}, - {file = "PyYAML-6.0.2-cp39-cp39-win32.whl", hash = "sha256:6395c297d42274772abc367baaa79683958044e5d3835486c16da75d2a694631"}, - {file = "PyYAML-6.0.2-cp39-cp39-win_amd64.whl", hash = "sha256:39693e1f8320ae4f43943590b49779ffb98acb81f788220ea932a6b6c51004d8"}, - {file = "pyyaml-6.0.2.tar.gz", hash = "sha256:d584d9ec91ad65861cc08d42e834324ef890a082e591037abe114850ff7bbc3e"}, + {file = "pyyaml-6.0.3-cp310-cp310-macosx_10_13_x86_64.whl", hash = "sha256:214ed4befebe12df36bcc8bc2b64b396ca31be9304b8f59e25c11cf94a4c033b"}, + {file = "pyyaml-6.0.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:02ea2dfa234451bbb8772601d7b8e426c2bfa197136796224e50e35a78777956"}, + {file = "pyyaml-6.0.3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b30236e45cf30d2b8e7b3e85881719e98507abed1011bf463a8fa23e9c3e98a8"}, + {file = "pyyaml-6.0.3-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:66291b10affd76d76f54fad28e22e51719ef9ba22b29e1d7d03d6777a9174198"}, + {file = "pyyaml-6.0.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9c7708761fccb9397fe64bbc0395abcae8c4bf7b0eac081e12b809bf47700d0b"}, + {file = "pyyaml-6.0.3-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:418cf3f2111bc80e0933b2cd8cd04f286338bb88bdc7bc8e6dd775ebde60b5e0"}, + {file = "pyyaml-6.0.3-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:5e0b74767e5f8c593e8c9b5912019159ed0533c70051e9cce3e8b6aa699fcd69"}, + {file = "pyyaml-6.0.3-cp310-cp310-win32.whl", hash = "sha256:28c8d926f98f432f88adc23edf2e6d4921ac26fb084b028c733d01868d19007e"}, + {file = "pyyaml-6.0.3-cp310-cp310-win_amd64.whl", hash = "sha256:bdb2c67c6c1390b63c6ff89f210c8fd09d9a1217a465701eac7316313c915e4c"}, + {file = "pyyaml-6.0.3-cp311-cp311-macosx_10_13_x86_64.whl", hash = "sha256:44edc647873928551a01e7a563d7452ccdebee747728c1080d881d68af7b997e"}, + {file = "pyyaml-6.0.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:652cb6edd41e718550aad172851962662ff2681490a8a711af6a4d288dd96824"}, + {file = "pyyaml-6.0.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:10892704fc220243f5305762e276552a0395f7beb4dbf9b14ec8fd43b57f126c"}, + {file = "pyyaml-6.0.3-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:850774a7879607d3a6f50d36d04f00ee69e7fc816450e5f7e58d7f17f1ae5c00"}, + {file = "pyyaml-6.0.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b8bb0864c5a28024fac8a632c443c87c5aa6f215c0b126c449ae1a150412f31d"}, + {file = "pyyaml-6.0.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:1d37d57ad971609cf3c53ba6a7e365e40660e3be0e5175fa9f2365a379d6095a"}, + {file = "pyyaml-6.0.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:37503bfbfc9d2c40b344d06b2199cf0e96e97957ab1c1b546fd4f87e53e5d3e4"}, + {file = "pyyaml-6.0.3-cp311-cp311-win32.whl", hash = "sha256:8098f252adfa6c80ab48096053f512f2321f0b998f98150cea9bd23d83e1467b"}, + {file = "pyyaml-6.0.3-cp311-cp311-win_amd64.whl", hash = "sha256:9f3bfb4965eb874431221a3ff3fdcddc7e74e3b07799e0e84ca4a0f867d449bf"}, + {file = "pyyaml-6.0.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:7f047e29dcae44602496db43be01ad42fc6f1cc0d8cd6c83d342306c32270196"}, + {file = "pyyaml-6.0.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:fc09d0aa354569bc501d4e787133afc08552722d3ab34836a80547331bb5d4a0"}, + {file = "pyyaml-6.0.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9149cad251584d5fb4981be1ecde53a1ca46c891a79788c0df828d2f166bda28"}, + {file = "pyyaml-6.0.3-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5fdec68f91a0c6739b380c83b951e2c72ac0197ace422360e6d5a959d8d97b2c"}, + {file = "pyyaml-6.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ba1cc08a7ccde2d2ec775841541641e4548226580ab850948cbfda66a1befcdc"}, + {file = "pyyaml-6.0.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:8dc52c23056b9ddd46818a57b78404882310fb473d63f17b07d5c40421e47f8e"}, + {file = "pyyaml-6.0.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:41715c910c881bc081f1e8872880d3c650acf13dfa8214bad49ed4cede7c34ea"}, + {file = "pyyaml-6.0.3-cp312-cp312-win32.whl", hash = "sha256:96b533f0e99f6579b3d4d4995707cf36df9100d67e0c8303a0c55b27b5f99bc5"}, + {file = "pyyaml-6.0.3-cp312-cp312-win_amd64.whl", hash = "sha256:5fcd34e47f6e0b794d17de1b4ff496c00986e1c83f7ab2fb8fcfe9616ff7477b"}, + {file = "pyyaml-6.0.3-cp312-cp312-win_arm64.whl", hash = "sha256:64386e5e707d03a7e172c0701abfb7e10f0fb753ee1d773128192742712a98fd"}, + {file = "pyyaml-6.0.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:8da9669d359f02c0b91ccc01cac4a67f16afec0dac22c2ad09f46bee0697eba8"}, + {file = "pyyaml-6.0.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:2283a07e2c21a2aa78d9c4442724ec1eb15f5e42a723b99cb3d822d48f5f7ad1"}, + {file = "pyyaml-6.0.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ee2922902c45ae8ccada2c5b501ab86c36525b883eff4255313a253a3160861c"}, + {file = "pyyaml-6.0.3-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a33284e20b78bd4a18c8c2282d549d10bc8408a2a7ff57653c0cf0b9be0afce5"}, + {file = "pyyaml-6.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0f29edc409a6392443abf94b9cf89ce99889a1dd5376d94316ae5145dfedd5d6"}, + {file = "pyyaml-6.0.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:f7057c9a337546edc7973c0d3ba84ddcdf0daa14533c2065749c9075001090e6"}, + {file = "pyyaml-6.0.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:eda16858a3cab07b80edaf74336ece1f986ba330fdb8ee0d6c0d68fe82bc96be"}, + {file = "pyyaml-6.0.3-cp313-cp313-win32.whl", hash = "sha256:d0eae10f8159e8fdad514efdc92d74fd8d682c933a6dd088030f3834bc8e6b26"}, + {file = "pyyaml-6.0.3-cp313-cp313-win_amd64.whl", hash = "sha256:79005a0d97d5ddabfeeea4cf676af11e647e41d81c9a7722a193022accdb6b7c"}, + {file = "pyyaml-6.0.3-cp313-cp313-win_arm64.whl", hash = "sha256:5498cd1645aa724a7c71c8f378eb29ebe23da2fc0d7a08071d89469bf1d2defb"}, + {file = "pyyaml-6.0.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:8d1fab6bb153a416f9aeb4b8763bc0f22a5586065f86f7664fc23339fc1c1fac"}, + {file = "pyyaml-6.0.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:34d5fcd24b8445fadc33f9cf348c1047101756fd760b4dacb5c3e99755703310"}, + {file = "pyyaml-6.0.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:501a031947e3a9025ed4405a168e6ef5ae3126c59f90ce0cd6f2bfc477be31b7"}, + {file = "pyyaml-6.0.3-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b3bc83488de33889877a0f2543ade9f70c67d66d9ebb4ac959502e12de895788"}, + {file = "pyyaml-6.0.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c458b6d084f9b935061bc36216e8a69a7e293a2f1e68bf956dcd9e6cbcd143f5"}, + {file = "pyyaml-6.0.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7c6610def4f163542a622a73fb39f534f8c101d690126992300bf3207eab9764"}, + {file = "pyyaml-6.0.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:5190d403f121660ce8d1d2c1bb2ef1bd05b5f68533fc5c2ea899bd15f4399b35"}, + {file = "pyyaml-6.0.3-cp314-cp314-win_amd64.whl", hash = "sha256:4a2e8cebe2ff6ab7d1050ecd59c25d4c8bd7e6f400f5f82b96557ac0abafd0ac"}, + {file = "pyyaml-6.0.3-cp314-cp314-win_arm64.whl", hash = "sha256:93dda82c9c22deb0a405ea4dc5f2d0cda384168e466364dec6255b293923b2f3"}, + {file = "pyyaml-6.0.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:02893d100e99e03eda1c8fd5c441d8c60103fd175728e23e431db1b589cf5ab3"}, + {file = "pyyaml-6.0.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:c1ff362665ae507275af2853520967820d9124984e0f7466736aea23d8611fba"}, + {file = "pyyaml-6.0.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6adc77889b628398debc7b65c073bcb99c4a0237b248cacaf3fe8a557563ef6c"}, + {file = "pyyaml-6.0.3-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a80cb027f6b349846a3bf6d73b5e95e782175e52f22108cfa17876aaeff93702"}, + {file = "pyyaml-6.0.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:00c4bdeba853cc34e7dd471f16b4114f4162dc03e6b7afcc2128711f0eca823c"}, + {file = "pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:66e1674c3ef6f541c35191caae2d429b967b99e02040f5ba928632d9a7f0f065"}, + {file = "pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:16249ee61e95f858e83976573de0f5b2893b3677ba71c9dd36b9cf8be9ac6d65"}, + {file = "pyyaml-6.0.3-cp314-cp314t-win_amd64.whl", hash = "sha256:4ad1906908f2f5ae4e5a8ddfce73c320c2a1429ec52eafd27138b7f1cbe341c9"}, + {file = "pyyaml-6.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:ebc55a14a21cb14062aa4162f906cd962b28e2e9ea38f9b4391244cd8de4ae0b"}, + {file = "pyyaml-6.0.3-cp39-cp39-macosx_10_13_x86_64.whl", hash = "sha256:b865addae83924361678b652338317d1bd7e79b1f4596f96b96c77a5a34b34da"}, + {file = "pyyaml-6.0.3-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:c3355370a2c156cffb25e876646f149d5d68f5e0a3ce86a5084dd0b64a994917"}, + {file = "pyyaml-6.0.3-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3c5677e12444c15717b902a5798264fa7909e41153cdf9ef7ad571b704a63dd9"}, + {file = "pyyaml-6.0.3-cp39-cp39-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5ed875a24292240029e4483f9d4a4b8a1ae08843b9c54f43fcc11e404532a8a5"}, + {file = "pyyaml-6.0.3-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0150219816b6a1fa26fb4699fb7daa9caf09eb1999f3b70fb6e786805e80375a"}, + {file = "pyyaml-6.0.3-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:fa160448684b4e94d80416c0fa4aac48967a969efe22931448d853ada8baf926"}, + {file = "pyyaml-6.0.3-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:27c0abcb4a5dac13684a37f76e701e054692a9b2d3064b70f5e4eb54810553d7"}, + {file = "pyyaml-6.0.3-cp39-cp39-win32.whl", hash = "sha256:1ebe39cb5fc479422b83de611d14e2c0d3bb2a18bbcb01f229ab3cfbd8fee7a0"}, + {file = "pyyaml-6.0.3-cp39-cp39-win_amd64.whl", hash = "sha256:2e71d11abed7344e42a8849600193d15b6def118602c4c176f748e4583246007"}, + {file = "pyyaml-6.0.3.tar.gz", hash = "sha256:d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f"}, ] [[package]]