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
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
ROWS Data Sheet Function
Use: Displays the number of rows in a data sheet on the template Syntax: {ROWS( «datasheet» )} Arguments: «datasheet» Name of the data sheet Note: The data sheet must be on the same template as the function. Returns: The number of data sheet rows Example: Data sheet vital_signs{ROWS( vital_signs )} Result: 6 Parent topic: Functions
NextGen® Enterprise EHR Template Editor Help 8
ISOPEN Function
Use: Determines if panel is expanded or collapsed. Syntax: {ISOPEN( «panel» )} Arguments: «panel» panel value Returns: 1 = Exapanded 0 = Collapsed Example: {ISOPEN("panel vitals")} Result: If this panel is expanded then it will return 1. 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
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
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