LOG10 Function
Use:
Calculates the base 10 logarithm of a number.
Syntax:
{LOG10 (<<value>>)}
Arguments:
<<value>> Value to be log10 of.
Returns:
Returns the base 10 logarithm of a value.
Example:
{Log10(100)}
Result: 2
Recommendations
Explore
NextGen® Enterprise EHR Template Editor Help 8
FLOOR Function
Use: Calculates the floor of the provided value. Syntax: {FLOOR( «value» )} Arguments: «value» Numeric or decimal value Returns: The rounds down to the integer. Example: {CEILING(7.2) Result: 7 Parent topic: Functions
NextGen® Enterprise EHR Template Editor Help 8
SQRT Function
Use: Calculates the square root of the provided value Syntax: {SQRT(<<value>>)} Arguments: <<value>> Numeric or decimal value Returns: The calculated square root as decimal Example: {SQRT(144)} Result: 12 Parent topic: Functions
NextGen® Enterprise EHR Template Editor Help 8
REVERSE String Function
Use: Reverses the characters in a string Syntax: {REVERSE( «string» )} Arguments: «string» Character string to be reversed Returns: The character string in reverse order Example: {REVERSE( 123 )} Result: 321 Parent topic: Functions
NextGen® Enterprise EHR Template Editor Help 8
ASSIGN Function
Use: Assigns the source value to a list of destination parameters (fields and/or variables). Syntax: {ASSIGN( «source» , «dest1», «dest2»,,,, )} Arguments: {source} Source value«dest1» Field or variable to be assigned the source value«dest2»,,,, (to «destn») Each additional field or variable to be assigned the source value Returns: The source value Example: Source value = ""dest1 = template_name_.field1dest2 = template_name_.field 2dest3 = @variable1{ASSIGN( "" , template_name_.field1 , template_name_.field2 , @variable1)} Result: An empty value is assigned to the destination fields and variable. Parent topic: Functions
NextGen® Enterprise EHR Template Editor Help 8
TRACE String Function
Use: Sends output to Trigger Script Debug window. Syntax: {TRACE(«expression_string»)} Arguments: «expression_string» When a trigger script trigger is being run in Debug Mode only. This function is meant for Trigger Script Code. Returns: Returns the output Example: {TRACE( "field master_im.height = " + {master_im.height} )} Result: field master_im, height = 56 (example value). Parent topic: Functions
NextGen® Enterprise EHR Template Editor Help 8
ROUND Function
Use: Rounds the provided value to the specified number of decimal places. Syntax: {ROUND( «value» ,«digits» )} Arguments: «value» Numeric or decimal value to be rounded«digits» Number or decimal places to round Returns: The rounded decimal value. Example: {ROUND(76.456, 1)} Result: 76.5 Parent topic: Functions