6.15.3     Edit Check Attributes and Functions

 

[<Object>.<Attribute>]

 

Attribute

Description

1,2,3,4...

Defines a specific instance dependency numerically

 !n

Defines an instance to exclude. The associated [ProEdits] record has GroupInstanceNo as -2. The application is to apply to all instances except the one specified. For example, if there were 5 instances of a group, enable all except the 2nd instance.

-1

Access the Previous instance

*

Defines all instance dependencies

<

Defines all dependencies in which instance number is less than the instance number of the target path

 

 

[<Object>.<Attribute>].Func

 

.Func

Description

.ALL

Returns all occurrences in a list of occurrences.

.MAX

Retrieves maximum value of a numeric item in a list of occurrences. E.g. [New Site][New Subject][ADVERSE EVENTS][AE][AE1][AESPID].MAX will return the max AESPID value for in all AE forms for a given patient.

.MIN

Retrieves minimum value of a numeric item in a list of occurrences; complement of .MAX.

.FORMST

Form state upon load.

.SAVEST

Form state upon saving.

The form state values include:

Monitored = 1

Incomplete = 2

Complete = 3

No Data = 4

Signed  = 5

Locked = 6

Partial Monitored = 7

.NOTNULL

Prevents null values from being evaluated

.NOTNULL cannot be used alone; it will prevent evaluation of the expression, but must be part of a boolean test. Example:  [AE01.1][AEENDT].NOTNULL >= [AE01.1][AESTDT].NOTNULL This expression will only be evaluated if AEENDT and AESTDT are both not null.

.ISCHANGED

Returns true if an item has changed since the form was loaded at the time of saving

.CreatedVer

Returns MSC version when the form was created

.EntryVer

Returns MSC version when data was saved for the form

 

 

Functions

 

Function

Description

GetRoleName

Retrieves the current user’s selected role caption.

GetUserName

Retrieves the current user’s name.

FormInstanceNo

Retrieves the form instance number.

GroupInstanceNo 

Retrieves the group instance number of the current group (row).

VisitInstanceNo

Retrieves the visit instance number.

GetUserLang 

Retrieves the current user's language.

 

 

Default Client Script function

 

Function

Description

AddDaysToDate

Calculates a new future date based on a date entered.  Used to schedule new visits, for example.

CheckLabsRange

Compares a lab result to an allowable range, and flags results that are out of range.

GetCustomValueFromTable

Grabs a specific value from a user-created Unique Numbering Table, based on data entered by the user.

GetNextNumber

Retrieves the next number based on a value level  entered. Allows the incrementing of forms, visits, etc.(e.g. Site, Patient, Visit).

GetNextNumberFromTable

Grabs the next number available from a user-created Unique Numbering Table.  Primarily used for randomization.