Predefined functions in the system library
(Optional) Use sections to add and organize related content if another section heading is needed.
Classification | Function | Purpose |
---|---|---|
Clinical Functions |
_CalculateBMI |
Calculates the Body-Mass Index, based on height and weight. |
– |
_CalculateBSA |
Calculates the body surface area. |
– |
_CalculateWaistHipRatio |
Calculates the waist-to-hip ratio. |
Clinical Validation Functions |
_CheckPatientInitials |
Checks the format of the subject initials. |
Date Manipulation Functions |
_CalculateDateTime |
Calculates a new date and time by adding an interval to or subtracting an interval from another date and time. The interval is based on a date part, for example, a number of days. |
– |
_CompareDates |
Compares two date times to determine whether the first date time is less than, equal to, or greater than the second date time. |
– |
_CompareDatesWithRange |
Compares two date times to determine whether they are within a specified range of each other. |
– |
_GetCurrentDate |
Returns the current date and time on the Oracle Health Sciences InForm server. |
– |
_GetDateDifference |
Returns the number of units between two specified dates, based on the requested date part. |
– |
_NormalizeDate |
Normalizes a date based on the specified template. |
– |
_NormalizeDateToMax |
Normalizes UNKNOWN or EMPTY date time parts to the maximum values for those parts. |
Date/Time, Float, Integer, or Text Array Comparison Functions These functions take different parameters depending on the data type of the value to which you are comparing the values in the array. |
_Count |
Counts the number of occurrences of a specified value in an array. |
– |
_IsValueGreaterThanArray |
Checks whether a specified value is greater than all values in an array. |
– |
_IsValueGreaterThanOrEqualToArray |
Checks whether a specified value is greater than or equal to at least one of the values in an array. |
– |
_IsValueInArray |
Checks whether a specified value is equal to one of the values in an array. |
– |
_IsValueLessThanArray |
Checks whether a specified value is less than all values in an array. |
– |
_IsValueLessThanOrEqualToArray |
Checks whether a specified value is less than or equal to at least one of the values in an array. |
EDC |
GetScreeningNumber |
Returns the screening number of the subject in the Oracle Health Sciences InForm application. |
– |
GetSiteLocale |
Returns the locale of the study site, such as en-US or ja-JP. |
– |
GetSiteMnemonic |
Returns the mnemonic (abbreviated site name, specified in the Admin area of the Oracle Health Sciences InForm application) for the site of the current subject. |
– |
GetSiteTime |
Returns the current time at the data-entry site. |
– |
GetSubjectNumber |
Returns the number of the subject in the Oracle Health Sciences InForm application. |
– |
GetTrialName |
Returns the name of the trial in the Oracle Health Sciences InForm application. |
– |
GetUserName |
Returns the name of user who is currently logged in to the Oracle Health Sciences InForm application. |
– |
Randomize |
Returns a drug kit number based on the randomization type and the sequence and drug kit numbers stored in the randomization source database on the Oracle Health Sciences InForm host computer. |
Rule Event Functions |
_SaveToDb (String, String) |
Determines whether to send data to the Oracle Health Sciences InForm Publisher queue. |
Parent topic: About predefined functions