CCTC-team / redcap_cypress

REDCap Cypress Test Framework
MIT License
0 stars 0 forks source link

113. Additional Customizations #52

Open MintooXavier opened 3 months ago

MintooXavier commented 3 months ago

Brief description: Missing Data Codes: Fields that have a blank/missing value may be marked with a custom 'Missing Data Code' to note why the value is blank. These missing codes may be used to aid in data analysis by specifying why a field lacks a value. Data History popup: This will list the history of all data entered into a field for that record. It will display all previous values, who changed the value at each instance, and the time it was changed. Prevent branching logic from hiding fields that have values: If this setting is not enabled (default), then whenever a field is to be hidden by branching logic on a data entry form, it will always ask the user if they wish to hide the field and erase its value, whereas on survey pages it will automatically erase the value of the field being hidden without displaying the confirmation prompt, which has always been the default behavior for surveys. If this setting is enabled, the branching logic behavior will change so that fields with values will not cause the 'Erase the Value of the Field?' confirmation prompt to ask the user if they wish to keep the value or hide the field, and instead fields with values will not be hidden by branching logic and will stay visible. Thus they will be exempt from branching logic. This will prevent data from being erased as it normally does if fields are hidden by branching logic. NOTE: This setting affects both data entry forms and survey pages. Require a 'reason' when making changes to existing records?: Require users to enter a reason (200 character max) in a text box when making any data changes to an already existing record on a data collection instrument. The prompt is triggered when clicking the Save button on the page. Any 'reasons' entered can then be viewed anytime afterward on the Logging page.

User spec: https://github.com/CCTC-team/redcap_cypress/blob/redcap_val/user_requirement_specification/non_core/113_additional_customizations.spec

Feature link: https://github.com/CCTC-team/redcap_cypress/blob/redcap_val/manual_scripts/14_Additional_Customizations.gfm

Pre review:

Post review: