Protocol Deviation Digital Healthcare Product
  • INTRODUCTION
    • Purpose
    • Scope
    • Deployment
  • USER GUIDE
    • User Login
    • User Roles and Permissions
      • Administration
        • User Management
        • Team Management
        • Study Management
        • Audit Trail
    • Data Files
      • Data File Requirements
      • Spreadsheets
        • Using the Spreadsheet for AI Categorisation
        • Using the Spreadsheet for Manual Categorisation
    • Data Upload
      • Audit Trail
      • Data Trail
      • Data Categorisation
    • Data Visualisation
      • Team Visualisations
      • Study Visualisations
    • Maintenance and Support
      • Troubleshooting for users
      • Support contact information
  • TECHNICAL DOCUMENTATION
    • Web App
      • Design
        • Database
        • Backend
        • Frontend
      • Installation
    • AI Classifier
      • User documentation
      • Administrator documentation
      • Code documentation
    • Developer Guide
      • Requirements
      • Installation
      • Builds
      • Database
Powered by GitBook
On this page
  • Available Spreadsheets
  • What Are Macros?
  • Categorisation Options
  • Macro-Enabled Spreadsheet (.xlsm)
  • Non-Macro-Enabled Spreadsheet (.xlsx)
  1. USER GUIDE
  2. Data Files

Spreadsheets

This documentation provides guidance on the spreadsheet options and categorisation methods available. If you encounter any issues, refer to the troubleshooting sections in the relevant section.

PreviousData File RequirementsNextUsing the Spreadsheet for AI Categorisation

Last updated 1 month ago

Available Spreadsheets

There are two types of spreadsheets available for categorisation:

  1. Macro-enabled spreadsheet (.xlsm) – This version includes a macro that assists in manual categorisation -

  2. Non-macro-enabled spreadsheet (.xlsx) – This version does not include a macro but still allows manual categorisation. -

The spreadsheets are identical however the macro aids in manual categorisation, although it is possible to categorise without the use of a macro. There are two options for spreadsheets as not all institutions will allow the use of 'macro-enabled' spreadsheets, in this case the user should use the 'non-macro-enabled spreadsheet. Once you have formatted the data and are ready to upload, you should export the file to a csv format to upload into the application.

What Are Macros?

Macros are small programs embedded in a spreadsheet that automate repetitive tasks. In the macro-enabled spreadsheet, macros help streamline manual categorisation by providing dropdown selections and automatic population of related fields.

Potential Risks of Macros

While macros can be useful, they also pose security risks if they come from an untrusted source. Malicious macros can execute harmful commands on your computer. To mitigate these risks only enable macros from trusted sources.

Each file contains a set of predefined headers, which structure the data for categorisation.

Header Name

Header Label

Requirement

SITEID

Study Site Identifier

Mandatory

STUDYID

Study Identifier

Mandatory

DVSPONDES

PD Descriptor Assigned by Sponsor

Mandatory

DVCAT

Category for Protocol Deviation

Non-mandatory

DVDECOD

Protocol Deviation Coded Term

Non-mandatory

DVTERM

Protocol Deviation Term

Non-mandatory (auto-populated

Categorisation Options

There are multiple ways to categorise data:

  • Uncategorised Data – Data can remain uncategorised.

  • Manual Categorisation – Users manually assign categories.

  • Multi-Categorisation – Users assign multiple categories to a single entry.

  • AI Categorisation – The system automatically categorises uncategorised data during upload.

  • Mixed Approach – Users can mix manual and AI categorisation, leaving some data uncategorised for AI processing.

Uncategorised Data

Data can be left uncategorised if categorisation is not required. Uncategorised entries will remain unchanged unless AI categorisation is enabled during upload.

All data can be recategorised once uploaded. This allows uncategorised entries to be categorised after they are uploaded.

Manual Categorisation

Both spreadsheets support manual categorisation, with the macro-enabled version making the process easier. Users manually select DVCAT and DVDECOD values from dropdown lists. If the selected DVCAT is changed, the DVDECOD must also be updated accordingly.

Multi-Categorisation

Multi-categorisation allows users to assign multiple DVCATs and DVDECODs to a single entry:

  • Separate multiple DVCATs using a semicolon (;).

  • Separate multiple DVDECODs using a semicolon (;).

  • If the DVDECODs are entered correctly, the DVTERM field will auto-populate with corresponding values.

  • The macro-enabled file provides dropdowns with multi-selection to facilitate multi-categorisation.

AI Categorisation

AI categorisation is available through the web application when uploading data. If enabled, any uncategorised entries (those without DVCATs and DVDECODs) will be processed automatically to predict a categorisation.

How to Use AI Categorisation

  • Simply leave entries uncategorised.

  • The AI model will assign categories during the upload process.

Mixed Categorisation

Users can apply a combination of manual and AI categorisation:

  • Some entries can be manually categorised while others remain uncategorised for AI processing.

  • This approach is useful when manual categorisation is preferred for certain data but AI assistance is needed for the rest.

Invalid Categorisation

If a categorisation is invalid, the data will be uploaded as uncategorised. Categorisation is considered invalid when:

  • The DVCAT(s) is unrecognised (only valid DVCATs are considered).

  • The DVDECOD is unrecognised or does not belong to the assigned DVCAT.

  • In the case of multi-categorisation, all assigned DVCATs are first processed, rejecting the invalid ones. The DVDECODs are then verified against the list of valid DVCATs.

Macro-Enabled Spreadsheet (.xlsm)

Instructions

  1. Enable Macros when opening the file. If prompted, allow macros. If no prompt appears, enable macros manually:

  • Go to File > Options > Trust Centre > Trust Centre Settings > Macro Settings > Enable all macros.

  • After using the file, revert this setting to "Disable VBA macros with notification" for security.

  1. Enter Data:

  • Use the dropdowns to select a DVCAT.

  • The DVDECOD dropdown will populate based on the selected DVCAT.

  • Select a DVDECOD.

  • The DVTERM should populate automatically.

  • Add a new row for each additional entry.

Troubleshooting

If macros are blocked:

  1. Right-click the file in File Explorer.

  2. Select Properties.

  3. Check Unblock and apply the changes.

  4. Refer to Microsoft Support for further assistance.

Non-Macro-Enabled Spreadsheet (.xlsx)

Instructions

  1. Enter Data:

  • Use the DVCAT dropdown.

  • The DVDECOD dropdown will populate based on the selected DVCAT.

  • Select a DVDECOD.

  • The DVTERM should populate automatically.

  1. Multi-Categorisation:

  • Separate multiple DVCATs with a semicolon (;).

  • This disables the DVDECOD dropdown.

  • Manually enter multiple DVDECODs, separating them with a semicolon (;).

  • If correctly formatted, the DVTERM field will auto-populate with each corresponding DVTERM, separated by a semicolon.

Troubleshooting

  • Ensure DVCATs are spelled correctly and separated properly.

  • Check DVDECODs against DVTERMs:

  • If correctly entered, DVTERMs will populate automatically, separated by a semicolon.

  • If there is an error, the DVTERM field will remain empty.

  • Reference Sheet2 to view all valid DVCATs, DVDECODs, and DVTERMs.

  • Do not modify Sheet2.

  • Note: On Sheet2, commas in DVDECODs are replaced with underscores.

see here for instructions
see here for instructions
34KB
PD Macro-Enabled Spreadsheet v1.0.xlsm
19KB
PD Non-Macro-Enabled Spreadsheet v1.0.xlsx