1 Cross-study setup
Do the tasks listed in this chapter when you set up DMW. Settings apply to all studies.
- Set up lab and other file-based data sources
- Select Oracle InForm tables and views for use in Oracle Health Sciences Workbench
- Create categories for flags, discrepancies, and validation checks
- Create flags for data
- Use tags and APIs to create a custom discrepancy workflow
- Compare flags, tags, and categories
- Set up coding in TMS
- Set up a data visualization tool
- Configure session timeout (optional)
Set up lab and other file-based data sources
This list populates the list of values for creating file-based input clinical data models. Add each lab and any other entity that sends data files to Oracle Health Sciences Workbench. If you are using a clinical electronic data capture system other than Oracle Health Sciences InForm, enter it here.
Parent topic: Cross-study setup
Select Oracle InForm tables and views for use in Oracle Health Sciences Workbench
Select tables and views to be available in all studies by default. The study configurator can override these choices.
Internal InForm metadata and operational tables can be used in DMW studies as source tables in data transformations and viewed in the Default Listings page. Any tables and views used in study templates or standard transformations should be included in studies by default. For example, you may need SUBJECTVISITS metadata for structural reference.
The system stores the tables and views in two internal clinical data models:
-
The Metadata model contains tables used by the DMW metadata loading process to create the tables in each InForm input clinical data model.
-
The Operational Data model contains tables that store information collected during the course of the study that supports clinical data, including InForm queries, form state flags, comments, and subject visit information.
Parent topic: Cross-study setup
Available InForm tables and views
Required tables are marked with an asterisk (*).
Metadata
IRV_CONTROL_REVS
IRV_FORM_REVS
*IRV_ITEM_REVS
IRV_ITEMSET_REVS
*IRV_MD_FORMS_CONTROLS
IRV_STUDYVERSIONS
IRV_SECTION_REVS
*IRV_STUDYVERSION_FORMS
*IRV_STUDYVERSION_REVISIONS
*IRV_STUDYVERSION_VISITS
IRV_VISIT_REVS
*RD_DATADICTIONARY
In addition, the Metadata model includes the following required DMW tables:
*DME_IA_SRC_TABLES
*DME_IA_SRC_COLUMNS
*DME_IA_STANDARD_COLUMNS
*DME_IA_TABLE_MAPPING
*DME_IA_COLUMN_MAPPING
*DME_IA_COLUMN_MAPPING_SOURCES
Operational Data
*IRV_COMMENT_REVS
IRV_CUR_COMMENT
IRV_CUR_QUERY
IRV_CUR_SITE
*IRV_CUR_SUBJECT
IRV_CUR_USER
IRV_DIM_SUBJECTVISIT
*IRV_QUERY_REVS
IRV_SV_SUBJECTVISITS
IRV_SUBJECT_REVS
IRV_USERS_SITES
*RT_ACTIVATED_FORMS
*RT_ITEMSTATE
Create categories for flags, discrepancies, and validation checks
Categories are used for two purposes:
-
Labeling Discrepancies Users can filter discrepancies by category.
Create categories to characterize discrepancies (for example, Protocol Violation, Validation Check Not Working, Range or Date Alignment). Categories can also indicate who should review a discrepancy next (for example, Medical Review, DM Review) as an alternative to creating custom actions using APIs with these labels as tags.
-
Users can assign a category directly to a discrepancy.
-
Users can assign a category to a validation check. The validation check then assigns the category to all discrepancies it creates.
-
-
Flagging Records Categories determine which flags are available to assign to which records. You assign categories to clinical data model types. When you create a flag, you assign a category to it. The flag is then available for users to assign to records in model types assigned to the same category.
Users can assign flags to records and then filter records by flag.
Tip:
To simplify flag creation, include the clinical data model type (Input (InForm), Input (File), and Target) in the name of flag categories.
A discrepancy, validation check, or flag can have only one category assigned at a time. Some categories are created and used by the system and cannot be modified. They have IDs under 100.
To create a category:
Parent topic: Cross-study setup
Create flags for data
Flags can help track the data review process or move the process along. See Examples of flag use. Users can apply flags to records (not discrepancies) in the Listings pages and filter records by flag in the Listings and Discrepancies pages.
Each flag can have any number of states, and users must assign a flag state to a record as well as the flag. A record can have multiple flags assigned, but only one state per flag. The system does not enforce any rules concerning the transition of a record from one flag state to another.
Flags created in DMW are assigned to records in DMW. These flag assignments are not sent to InForm. The system imports InForm form and item states as flags with the records they are assigned to in InForm. These flag assignments cannot be changed in DMW.
The system audits changes in flag assignments to records with the timestamp and user name, by category, in the internal table DME_FLAG_DATA_A.
Tip:
To have a single flag's assignments audited separately, you can create a separate category for it.
Parent topic: Cross-study setup
Examples of flag use
Flags can help track the data review process or move the process along:
You can create the following flags and write validation check custom programs that examine data and call the public API dme_pub_flag_data.setFlag to set the flag. See the API guide for information about initializing APIs.
-
Create a flag called Needs Review with states Medical Monitor and Data Manager. These users can then check for data needing their review.
-
Create a flag called Record Complete with two states: Yes and No. Data managers can use this flag to filter for missing data.
Write a custom program to ascertain that all required fields in a record have a value and apply the flag with the state Yes if they do.
-
Create a flag called Validation Checks with the states Validation Not Done, Validation Incomplete, and Validation Complete.
Write a custom program that compares the timestamp of the last data update for each unlocked record to the execution timestamp for all validation checks run for that study and sets the Validation Checks flag for each record with the appropriate state.
-
Create a flag called Data Readiness with states: Not Clean, Clean for Medical Review, and Clean for Analysis. Medical reviewers and statisticians can then query for data with the appropriate flag for their review.
Write a custom program that uses the above flags or others to set its values.
-
Create a subject visit flag called Subject Visit Complete with a single state of On, to be applied only when the subject visit is complete.
Write a custom program that aggregates flag values for the individual clinical record flags in the examples above: loop through each subject/visit combination and set the Subject Visit Complete flag to On when every record for the current subject and visit in the Adverse Events, Concommitant Medications, and Vital Signs tables, for example, has the Record Complete flag set to On, the Validation Checks flag set to Validation Complete, and the Number of Discrepancies set to an acceptable number.
A validation check can apply a flag to records if it has a custom program that calls the API DME_PUB_FLAG_DATA.SetFlag. The API requires the target table instance object ID and the record's surrogate key value as input. See the and the Oracle Health Sciences Data Management Workbench Application Programming Interface Guide for more information.
Parent topic: Create flags for data
Use tags and APIs to create a custom discrepancy workflow
Data reviewers apply an action to a discrepancy to change its state, send it to an external data source, or mark it for review by someone else. Oracle DMW comes with a set of actions; see Default actions.
If your company needs a more granular workflow such as the ability to send a discrepancy for review by different teams while remaining in an Open state, you can use tags and APIs to create custom actions and disable any default actions you do not need.
Custom actions must conform to allowed state transitions; see Discrepancy states and allowed transitions.
Tip:
The Discrepancies page allows users to apply only actions that are valid for all selected discrepancies. Valid actions are determined by:
-
The discrepancies' Start State.
-
The discrepancies' Start Tag, if any. Default actions do not have Start Tags but custom actions may have them.
-
The data source. For example, the Send to InForm action is not available for discrepancies on lab data.
- Create a tag in the DMW user interface. Tags serve as substates. See Create tags for discrepancies for details.
- Run an API. See Use APIs to create or modify actions.
- Discrepancy states and allowed transitions
- Default actions
- Create tags for discrepancies
- Use APIs to create or modify actions
Parent topic: Cross-study setup
Discrepancy states and allowed transitions
Figure 1-1 Discrepancy States and Allowed Transitions for Discrepancies
Description of "Figure 1-1 Discrepancy States and Allowed Transitions for Discrepancies"
The diagram shows valid transitions for discrepancies in Oracle DMW integrated with InForm.
Note:
If you are using Oracle DMW with a clinical data system other than InForm, the conditions are configurable. See My Oracle Support article ID 2172786.1, Using the Generic Connector to Integrate DMW with a Clinical Data System.
-
Candidate and Open are the two valid beginning states for a discrepancy.
-
Cancelled and Closed are the two valid end states for a discrepancy.
-
Candidate discrepancies can always move to Open.
-
Candidate discrepancies can always move to Cancelled.
-
Candidate discrepancies can move to Closed if they have not been sent to InForm. Candidate discrepancies that are in InForm (whether they originated in InForm or DMW) can move to Closed if they were previously in the Open state within InForm. This matches InForm rules.
-
Open discrepancies can move to Answered if they were created in Oracle DMW and have not been sent to InForm.
-
Open discrepancies can always move to Closed.
-
Open discrepancies can move to Cancelled only if they were created in Oracle DMW and have not been sent to InForm.
-
Open discrepancies can move to Candidate if they were created in Oracle DMW and have not been sent to InForm.
-
Answered discrepancies can be reopened in either the Open or Candidate state.
-
Discrepancies can be always be closed from the Open or Answered state.
When a discrepancy is sent to InForm, the system limits the actions an Oracle DMW user can take on the discrepancy. The same limited actions are allowed whether the discrepancy originated in InForm or in Oracle DMW.
-
While a discrepancy is in InForm, Oracle DMW users can apply comments and categories to it. These are never sent to the source system.
-
While a discrepancy is in Oracle DMW, a user can apply an action that changes the state of the discrepancy and must supply a reason for the change. The reason for change is sent to InForm.
Default actions
Table 1-1 Default Actions
Start State | Action Name | Routing Operation | Result State | Result Tag |
---|---|---|---|---|
Open |
None |
Open |
None |
|
Candidate |
Cancel Discrepancy |
None |
Cancelled |
None |
Candidate |
Open in InForm |
SendToInForm |
Open |
SentToInForm (This action creates a new Open InForm query.) |
Candidate |
Send to InForm |
SendToInForm |
Candidate |
SentToInForm (This action creates a new Candidate InForm query.) |
Candidate |
Close Discrepancy |
None |
Closed |
ClosedAsIs |
Candidate |
Needs DM Review |
None |
Candidate |
NeedsDMReview |
Candidate |
Send to Spreadsheet |
Send to Spreadsheet |
Open |
None |
Cancel |
None |
None |
||
Open |
Send to InForm |
Send To InForm |
Open |
Sent To InForm (This action creates a new Open InForm query.) |
Open |
Send to Spreadsheet |
Send To Spreadsheet |
Open |
Sent to Spreadsheet (This action generates a .csv file in the location you specify that includes all selected discrepancies. The file can then be sent to the lab.) |
Open |
Needs DM Review |
None |
Open |
NeedsDMReview |
Open |
Answer Discrepancy |
None |
Answered |
Answered By User Response (if a user uses the action Answer) Answered By Data Change (if a data change occurred in the source system) |
Open |
Reset to Candidate |
None |
Candidate |
None |
Open |
Close Discrepancy |
None |
Closed By Data Change (if a data change occurred in the source system) |
|
Answered |
Reopen Discrepancy |
None |
Open |
None |
Reopen to Candidate |
None |
Candidate |
None |
|
Answered |
Close Discrepancy |
None |
Closed |
Closed With Answer |
Create tags for discrepancies
A tag is a label that a user can apply to discrepancies by using an action. A discrepancy can have only one tag at a time. Tag uses include:
-
Users can filter discrepancies by state/tag combination.
-
You can use tags to create substates to direct communication among teams while the discrepancy remains in the same state. For example, two discrepancies might have the state Open but different tags such as DM Review and Med Review.
Use APIs to create or modify actions
See the API Guide for details on using APIs to create or modify actions. Their attributes include:
-
Start and Result States: An action is available to a user only for discrepancies that are in the start state. When the user applies an action, the discrepancy's state changes to the result state.
The start and result states must constitute an allowed transition (see Discrepancy states and allowed transitions) or be the same. If an action does not change the state, it must apply a tag.
Note:
No defined action is required to create a discrepancy.
-
Start and Result Tags (Optional): An action is available to a user only for discrepancies with the start tag. When the user applies an action, the discrepancy's tag changes to the result tag.
-
Enabled: This attribute determines whether an action is available for use.
Compare flags, tags, and categories
The following table compares flags, tags, and categories. All are available for use in any study.
Table 1-2 Flags, Tags, and Categories
Object | Applied To | Applied By | Used as Filter? | Has Multiple States? | Used for |
---|---|---|---|---|---|
Flag |
Records |
User or validation check. InForm flag assignments are imported and can be viewed but not changed. |
Yes |
Yes |
Data management |
Tag |
Discrepancies |
User or validation check, via actions |
Yes |
No, but can be used to create discrepancy substates |
Discrepancy management |
Category |
Discrepancies, Validation Checks, Flags |
Validation check or user |
Yes |
No |
Discrepancy and data management |
Parent topic: Cross-study setup
Set up coding in TMS
Prerequisites:
-
TMS must be installed.
-
TMS must be integrated with DMW as specified in the DMW Installation Guide.
-
Dictionaries and TMS domains must be defined in TMS. Domains allow you to customize terminologies differently for different studies by creating domain-specific terms and classifications. Domains also determine default TMS system behavior.
Tip:
DMW displays the domain description, if there is one, for the user to select a TMS domain for use with a particular study. If there is no description, the system displays the TMS domain name.
Define TMS Sets
Specify which information to derive by creating one or more TMS Sets for each dictionary. The study configurator then associates TMS domains and their terminologies to a study and maps TMS Set columns to target data model columns.
The study configurator does not need to map all the columns in the TMS Set. You can either:
-
Define a single TMS Set for each dictionary in TMS with the maximum number of columns that might ever be required, and let the study configurator select and map the columns needed in each study.
-
Define multiple TMS Sets for each dictionary, each with exactly the columns required in a particular study. The study configurator can then map all TMS Set columns to target table columns in that study.
- Click the Navigation icon at the top of any page and then click Administration.
- Click the TMS tab.
- Click the Add icon in the TMS Sets pane.
- Enter a Name and Description for the TMS Set. Both are displayed on the Study Configuration page.
- Select a Terminology to code against. All terminologies (dictionaries) defined in the local TMS instance are listed.
- Click OK. The system adds a column for the dictionary coding level to the TMS Set columns.
Next: Define TMS Set columns
Parent topic: Set up coding in TMS
Define TMS Set columns
Define a TMS Set column for each piece of information to be derived from TMS to DMW for each coded term.
Parent topic: Set up coding in TMS
Force rederivation
Normally, transformations process only new or changed data. Use the Force Rederivation job to process all data when you have made structural changes related to TMS in an ongoing study such as:
-
Adding columns to target tables to hold derived data.
-
Updating a dictionary to a new version with a different structure from the old one.
-
Changing domain-related settings in the TMS reference codelist TMS_CONFIGURATION.
- Go to the Home page.
- Select the study.
- Click the Modify icon at the top of the Studies pane.
- In the Modify Study window, click TMS.
- Click Force Rederivation. A confirmation message appears because running the job may take a long time. You can still work while it runs.
- Click OK.
For information about TMS-DMW data processing, forced rederivation, and DMW data displayed in TMS, see Oracle Thesaurus Management System (TMS) integration.
Parent topic: Set up coding in TMS
Set up a data visualization tool
You can integrate an external data visualization tool so that users can view data graphically and interactively with the protection of Oracle DMW security and blinding access privileges.
Visualization tools access one clinical data model at a time, along with any custom listings that read from the model. If you are using custom listings, we recommend setting a profile value as detailed in Use custom listing name for the custom listing schema.
You can use:
- Third-party tools that use generic-type business areas to work with Oracle LSH and Oracle DMW.
- Oracle Business Intelligence Enterprise Edition (OBIEE). An adapter is included with
Oracle LSH. See the Oracle Life Sciences Data Hub Installation Guide and
System Administrator's Guide for instructions.
Note:
To use OBIEE, you must create business areas in Oracle LSH. The business areas that are created automatically for a clinical data model in Oracle DMW are "generic," not specialized for OBIEE. See the Oracle Life Sciences Data Hub Application Developer's Guide for instructions. - You can build an integration to a different tool. See the DMW Data Visualization Integration Guide, My Oracle Support article 2284413.1. If you are using custom listings, use the API CDR_PUB_API_GVA.getCustomListingBA.
To allow users to see data in a particular DMW clinical data model, the study configurator must select the Business Area option for the model.
Parent topic: Cross-study setup
Configure session timeout (optional)
By default, a user session times out after 20 minutes of inactivity. To change this setting:
Parent topic: Cross-study setup