Skip to content

Commit a9d1fa6

Browse files
Feature/bcss 21219 selenium to playwright endoscopyinvesigationdatasetscenarios 17 18 (#120)
<!-- markdownlint-disable-next-line first-line-heading --> ## Description <!-- Describe your changes in detail. --> Migrating scenarios 17 - 18 from the EndoscopyInvestigationDatasetScenarios feature file: 17: Scenario: Check cross-field validation between the Bowel Preparation Administered and Bowel Preparation Quality fields in an incomplete Colonoscopy investigation dataset 18: Scenario: Check cross-field validation between the General Anaesthetic/Other Drugs Administered and the Sedation fields in an incomplete Colonoscopy investigation dataset ## Context <!-- Why is this change required? What problem does it solve? --> Migrating scenarios 17 - 18 from the EndoscopyInvestigationDatasetScenarios feature file: 17: Scenario: Check cross-field validation between the Bowel Preparation Administered and Bowel Preparation Quality fields in an incomplete Colonoscopy investigation dataset 18: Scenario: Check cross-field validation between the General Anaesthetic/Other Drugs Administered and the Sedation fields in an incomplete Colonoscopy investigation dataset ## Type of changes <!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply. --> - [ ] Refactoring (non-breaking change) - [x] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would change existing functionality) - [ ] Bug fix (non-breaking change which fixes an issue) ## Checklist <!-- Go over all the following points, and put an `x` in all the boxes that apply. --> - [x] I am familiar with the [contributing guidelines](https://github.com/nhs-england-tools/playwright-python-blueprint/blob/main/CONTRIBUTING.md) - [x] I have followed the code style of the project - [x] I have added tests to cover my changes (where appropriate) - [x] I have updated the documentation accordingly - [ ] This PR is a result of pair or mob programming --- ## Sensitive Information Declaration To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including [PII (Personal Identifiable Information) / PID (Personal Identifiable Data)](https://digital.nhs.uk/data-and-information/keeping-data-safe-and-benefitting-the-public) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter. - [x] I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.
1 parent 2aa8cd1 commit a9d1fa6

File tree

2 files changed

+500
-7
lines changed

2 files changed

+500
-7
lines changed

pages/datasets/investigation_dataset_page.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1478,6 +1478,17 @@ class EndoscopeNotInsertedOptions(StrEnum):
14781478
UNSCHEDULED_ATTENDANCE_TIME = "203001"
14791479

14801480

1481+
class SedationOptions(StrEnum):
1482+
"""Enum for sedation options"""
1483+
1484+
UNSEDATED = "18504~Read-only"
1485+
AWAKE = "17324"
1486+
DROWSY = "17325"
1487+
ASLEEP_BUT_RESPONDING_TO_NAME = "17326"
1488+
ASLEEP_BUT_RESPONDING_TO_TOUCH = "17327"
1489+
ASLEEP_AND_UNRESPONSIVE = "17328"
1490+
1491+
14811492
# Registry of all known Enums to search when matching string values
14821493
ALL_ENUMS: List[type[Enum]] = [
14831494
obj

0 commit comments

Comments
 (0)