Loading...
Recommendations
Explore
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
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
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
NextGen® Enterprise EHR Template Editor Help 8
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
SPLIT Function
Use: Assigns values to an Array variable from a delimited character string. Syntax: {SPLIT( «delimiter» , «string» )} Arguments: «delimiter» Character that separates the values in a supplied character string (for example, comma or vertical line)«string» Character string that contains the delimiter Returns: Values for an Array variable Example: Field = txt_field with contents: red|yellow|blue|orange|green|purpleArray = @colors{SPLIT( |, {template_name_.txt_field} )}Array: Assign Field Value trigger: Result: The function assigns the delimited values to the @colors Array 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
NextGen® Enterprise EHR Template Editor Help 8
WEIGHT versus HEIGHT (normal) Growth Percentage Function
Use: Calculates the weight vs. height percentile for a patient up to 3 years old compared with other individuals of the same age and gender. This function uses weight and height values calculated with standard, non-metric measurements. The percentile is derived from the normal pediatric chart. Note: This function calculates percentiles using data from the World Health Organization (WHO) for patients aged 0-24 months and from the Centers for Disease Control and Prevention (CDC) for patients aged 2-20 years and for premature infants and Turner syndrome patients. To obtain the accurate calculations for patients born prematurely or with Turner syndrome, you must set up specific template fields and define them in Universal Preferences in the System Administrator application. The standard growth charts are used for Down syndrome patients. Syntax: Trigger Info Condition {GCPCT2( «string» , «value» ,13)}Macro Function Body and Assign Field Value Calculation {GCPCT2( «value» , «value» ,13)} Arg