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
CEILING Function
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
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
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.3.1
ATTRIB Function
Use: Returns a particular Field attribute setting for passed in field name. Syntax: {ATTRIB( «name» , «field» )} Arguments: «name» Field attribute setting«field» Field name Returns: The particular field attribute setting. Example: {ATTRIB("KBM.CodifyField", {master_im.fieldvalue} )} Result: Returns True or False Parent topic: Functions
NextGen® Enterprise EHR Template Editor Help, 8.3.1
ISVALID Function
Use: Checks a diagnosis (ICD) or procedure(CPT4) code for validity. The IFELSE function can be used to display a message to the user. For diagnoses, the ISVALID function can be used to compare ICD-9 code effective and expiration dates to the encounter date. When a diagnosis search is made for an invalid ICD-9 code, the window opens in ICD Legacy Mapping mode, showing the equivalent ICD-10 codes. If an ICD-9 or CPT code has a delete_ind = Y, the function returns an invalid result. Syntax: {ISVALID( «table» , «code1», «code2»,,,, )} Arguments: «table» DIAG or PROC«code» Field(s) that contain the diagnosis code or procedure code Returns: 1 = Valid 0 = Invalid Example 1: Data entry field for procedure code = template_name_.Proc_code}{ISVALID( PROC , {template_name_.Proc_code})} Result: 1 for a valid code Example 2: Data entry field for diagnosis code = template_name_.Diag_code}{ISVALID( DIAG , {template_name_.Diag_code})} Result: 0 for an invalid code Parent topic: Functions
NextGen® Enterprise EHR Template Editor Help, 8.3.1
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