Skip to main content

mDIS Behaviors - Detailed Visual Guide


mDIS Behaviors - Detailed Visual Guide

This document provides detailed screenshots and information about each configurable behavior available in the mDIS Template Manager.

Related: System Behaviors Catalog - focus on non-configurable behaviors.

In the mDIS Template Manager, the behavior selection and configuration is done through a user-friendly interface. The behavior list is displayed after clicking the "ADD" button at the bottom of the page.

How to find the ADD buttonList of Behaviors
In any Model Designer of the Template Manager...
:
Scroll down to end of page..., click this "ADD" button.
It will open a dropdown list.

Dropdown list opened by clicking on the "ADD" behavior button. It can be filtered when making a selection.

Note that the list of available behaviors may vary depending on the context and the specific model being edited.


Create or Update Core Box

Create or Update Core Box

Parameters:

  • coreboxNameColumn - The column that contains the name of the core box
  • coreboxIdColumn - The column that holds the id of the generated or assigned core box

Description: Coming Soon

Usage: This behavior can be added to any compatible model in the Template Manager.


Cumulative Section Length

Cumulative Section Length

Parameters:

  • minRelativeLength - The lower cut-off value for core validation (ratio, between 0.8 and 1.0).
  • maxRelativeLength - The upper cut-off value for core validation (ratio, between 1.0 and 1.2).

Description: Coming Soon

Usage: This behavior can be added to any compatible model in the Template Manager.


Default Value from Other Column

Default Value from Other Column

Parameters:

  • sourceColumn - The column from where to copy the default value
  • targetColumn - The column to copy the value to if it is empty or the sourceColumn value was changed

Description: Coming Soon

Usage: This behavior can be added to any compatible model in the Template Manager.


Default from Parent

Default from Parent

Parameters:

  • parentSourceColumn - The parent column that contains the value you want to copy
  • destinationColumn - the column name that holds the copied value

Description: Coming Soon

Usage: This behavior can be added to any compatible model in the Template Manager.


Default from Sibling

Default from Sibling

Parameters:

  • parentRefColumn - The column that contains the id of the parent record
  • sourceColumn - The sibling column that contains the value you want to copy
  • destinationColumn - the column name that holds the copied value

Description: Coming Soon

Usage: This behavior can be added to any compatible model in the Template Manager.


Default from Sibling Units

Default from Sibling Units

Parameters:

  • unitsRelationName - The name of the relation from section-split to unit. See definitions (@) in BaseCurationSectionSplit.php.
  • positionOnSectionColumnName - Name of the column that holds the position measurement on the core section.

Description: Coming Soon

Usage: This behavior can be added to any compatible model in the Template Manager.


Leading Zeros

Leading Zeros

Parameters:

  • column - The Column to add leading zeros to
  • length - The length of the resulting numeric values

Description: Coming Soon

Usage: This behavior can be added to any compatible model in the Template Manager.


Sample Fraction Taken from Sample Size

Sample: Fraction-Taken from Sample-Size

Parameters:

  • defaultDiameter - The default diameter of the core [mm] (if not given in CoreCore.core_diameter)

Description: Coming Soon

Usage: This behavior can be added to any compatible model in the Template Manager.


Siblings Limit

Siblings Limit

Parameters:

  • parentRefColumn - The column that contains the id of the parent record
  • limit - Maximum number of sibling records

Description: Coming Soon

Usage: This behavior can be added to any compatible model in the Template Manager.


Children Limit From Parent

Children Limit From Parent

Parameters:

  • parentRefColumn - The column that contains the id of the parent record
  • parentSourceColumn - The column in parent that has the limit value

Description: Coming Soon

Usage: This behavior can be added to any compatible model in the Template Manager.


Splittable Section

Splittable Section

Parameters:

  • splitsModel - The table where the splits will be saved e.g. CurationSectionSplit

Description: Coming Soon

Usage: This behavior can be added to any compatible model in the Template Manager.


Unique Combination Auto Increment

Unique Combination Auto Increment

Parameters:

  • searchFields - columns names (comma separated) that build the group in which a unique value should be created
  • fieldToFill - column name to be filled by the calculated value
  • useAlphabet - use A-Z values for auto increment? (y/n) or (true/false)

Description: Coming Soon

Usage: This behavior can be added to any compatible model in the Template Manager.


Validate Origin Split Type Value

Validate Origin Split Type Value

Description: Coming Soon

Usage: This behavior can be added to any compatible model in the Template Manager.


Summary

Behavior NameParameters CountScreenshot
Create or update core box2Create or update core box
Cumulative section length2Cumulative section length
Default value from other column2Default value from other column
Default from Parent2Default from Parent
Default from Sibling3Default from Sibling
Default from Sibling Units2Default from Sibling Units
Leading Zeros2Leading Zeros
Sample: Fraction-Taken from Sample-Size1Sample: Fraction-Taken from Sample-Size
Siblings Limit2Siblings Limit
Children Limit From Parent2Children Limit From Parent
Splittable Section1Splittable Section
Unique Combination Auto Increment3Unique Combination Auto Increment
Validate Origin Split Type Value0Validate Origin Split Type Value

Related: System Behaviors Catalog - focus on non-configurable behaviors.