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
CEILING Function
Use: Calculates the ceiling of the provided value. Syntax: {CEILING(<<value>>)} Arguments: <<value>> Numeric or decimal value Returns: The rounds up to the integer. Example: {CEILING(7.2)} Result: 8 Parent topic: Functions
NextGen® Enterprise EHR Template Editor Help 8
REPEAT String Function
Use: Repeats a string a specified number of times Syntax: {REPEAT( «string» , «num»)} Arguments: «string» String value to repeat«num» Number of times to repeat Returns: A string of the repeated substrings Example: {REPEAT( XYZ , 3)} Result: XYZXYZXYZ 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
RIGHT String Function
Use: Extracts the specified rightmost characters in a character string Syntax: {RIGHT( «string» , «num» )} Arguments: «string» Character string to be evaluated«num» Number of characters from the right to return Returns: The specified number of characters on the right in the character string Example: Field = txt_field{template_name_.txt_field} = John Shaw{RIGHT( {template_name_.txt_field}, 4 )} Result: Shaw Parent topic: Functions
NextGen® Enterprise EHR Template Editor Help 8
GROUPMEMBER Database Function
Use: Checks whether a specified user is a member of a predefined user (security) group Syntax: {GROUPMEMBER( «userid» , «groupid» )} Arguments: «userid» User’s ID in the System Administrator application You can type the user ID or use the @US. ID function.«groupid» Group ID or group name You can type the group ID or extract it from a selected template field. Returns: Y = user is a group member N = user is not a group member Example: The current user is a member of the Nurses group, but not a member of the Physicians group{GROUPMEMBER( {@US.ID} , Nurses )} Result: Y {GROUPMEMBER( {@US.ID}, Physicians )} Result: N Parent topic: Functions