Loading...
Recommendations
Explore
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
FLOOR Function
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.3.1
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
IFELSE Function
Use: Returns a true or false value based on the condition passed to the function Syntax: {IFELSE( «condition» , «true», «false»)} Arguments: «condition» Condition to determine if the function returns a true or false value«true» The true value«false» The false value Note: You can use ASSIGN, CONFIRM, INPUTBOX, and PICKARRAY function parameters for the true/false values. To ensure that these values are correctly assigned, insert the SUBF$ function. Returns: The true or false value, which can be a string or numeric value Example 1: {IFELSE( 5 > 3 , do this, do that)} Result: do this Example 2: {IFELSE( 5 > 7 , do this, do that)} Result: do that Parent topic: Functions
NextGen® Enterprise EHR Template Editor Help 8
INSERT String Function
Use: Inserts a substring into another string at a given position Syntax: {INSERT( «string» , «string», «num»)} Arguments: First «string» Character string to insert another string intoSecond «string» String value to insert in another string«num» Zero-based character position where the substring is to be inserted Returns: A string with the substring inserted Example: Fields = txt_field1, txt_field2{template_name_.txt_field1} = Add: text.{template_name_.txt_field2} = new{INSERT( {template_name_.txt_field1}, {template_name_.txt_field2}, 5 )} Or {INSERT( {template_name_.txt_field1}, new, 5 )} Result: Add: newtext. Parent topic: Functions
NextGen® Enterprise EHR Template Editor Help, 8.3.1
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
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