Derivations
[Rate this topic]

Derivations are rules for calculation. They are used to derive a new value from one or more existing data points entered elsewhere on the CRF.  For example, a patient's age is considered a derivation function.  It depends on two data points - the birth date and the date of enrollment.

The derivation is defined by specifying the data points involved in the derivation and the actions performed on them.

 

You can do any of the following on the Derivations page

 

To sort  Derivations

The list of derivations on the Derivations page can be sorted by:

 

A Filter icon (descending) or (ascending) will display next to the header of the column that is sorted.

 

  1. Derivation Name - Click the filter icon to sort alphabetically in descending order or to sort in an ascending order.

  1. Bypass During Migration - Click the Bypass During Migration column name to sort Derivations in descending "Bypass During Migration" order with the Derivations selected as "Bypass During Migration" on top of the list, and then by name. When clicked again, the list will sort in  ascending order.

  1. Derivations - A filter control drop down list will ONLY display on the Derivations page when there are derivations on the page that have been copied using the Global Library. For more information, see Search Edit Checks or Derivations Copied using the Global Library Wizard.

 

To add a derivation to a particular form or on all forms
 

  1. Select and navigate to the Project or a Global Library Volume main page from the Architect main page.

  2. Select a Draft and navigate to the Draft Details page.

  3. Select Derivations from the list of Draft Items on the Draft page.

The Derivations main page displays the following information on the Derivation:

 

      • Name

      • Whether marked to bypass during Migration

      • Derivation Status (whether Active)

      • Field or Variable to which the Derivation applies. 

 

If only the Variable is specified here, the system will calculate the Derived value and apply it to all occurrences of the specified Variable across the study.

  1. Click the Add Derivation link.
    Empty fields for the new derivation will display.

  1. Enter the following information:

 

 

  1. Click Update to save your changes.

 

To edit a derivation

  1. Click the Edit icon for the derivation you want to edit.

The derivation fields will display for editing.

  1. Edit the derivation.  

The following fields are available for editing:

 

 

  1. Click Update or click Cancel to discard your changes.

  2. To delete the Derivation, check box Delete and click Update .

 

To add derivation steps to a derivation

 

  1. Click the Derivation Steps details icon for the derivation you want to add derivation steps.

The existing derivation step (s) for the derivation will display.

  1. Click Add Derivation Step link.

  1. Select one of the following derivation types:

 

 

If you select a Derivation Step of Type Data Value, the following information must be completed for the data value:

 


 

Note: When setting a derivation for a singly occurring form in conjunction with a form occurring multiple times within the same folder, the variable's Form Repeat Number, pointing to a form that occurs only once must be set to 0 (zero) and for the form occurring multiple times, it must be left blank (or *).  This is to ensure that if a form occurs multiple times, the edit check must run for every instance the form occurs.     

Note: When setting a derivation for a singly occurring folder in conjunction with a folder occurring multiple times within the same parent folder, the variable's Folder Repeat Number, pointing to a folder that occurs only once must be set to 0 (zero) and for the folder occurring multiple times, it must be left blank (or *).  This is to ensure that if a folder occurs multiple times, the edit check must run for every instance the folder occurs.

The following settings are available for Logical Record position:

      • None - when selected, the system bypasses the Logical Record Position filter

      • Max by Subject

      • Max by Instance

      • Max by DataPage

      • Last

      • Next

      • Previous

      • First

      • Min by Subject

      • Min by Instance

      • Min by DataPage

 

The following data values are available:

 

Note: If you specify only the variable, the derivation triggers every time data is updated for a field that is associated with that variable.

You can specify the Logical Record Position for a Log Field.  The Logical Record Position is a specific log line number.  Logical Record Positions for Log Form start at 1. (The first log line has Record Position 1).  You will not be able to specify Logical Record Positions for non-log fields.

If Logical Record Position is used for a log and a record date has been set for the log form, the system uses the record date for the Record Position.  

If you select a Derivation Step of Type Constant, the Constant is associated with the

following:

 

If you select a Derivation Step of Type Step Function, the Step Function is associated with the following functions:

 

 

 

See Related Topics for more information on functions of type Step Function.  

 

If you select a Derivation Step of Type Custom Function, the Custom Function is associated

with a Custom Function name and Input.

 

 

To edit a Derivation step
 

  1. Click Edit for the derivation step you want to edit.

The fields for the derivation step will display in edit mode.

  1. Edit the information as required and click Update to save your Changes or click Cancel to discard your changes.

  2. To delete the derivation step, check box Delete and click Update.

 

Related Topics

 

Copyright © 2014 Medidata Solutions, Inc. All rights reserved.



How do you rate this topic?