Home > Expression Operators > Accrual Basis Operators > #SERVICE

#SERVICE

Returns a duration (or elapsed time), such as a member's service measured from a particular date, e.g., ServiceDate, or adds a duration (or elapsed time) to current service, e.g., CurrentService..

Syntax:

#SERVICE ServiceDate, or

#SERVICE CurrentService.

ServiceDate and CurrentService must be accrual basis components linked to a database fields. The field type must be either a date field or a numeric field.

Examples:

#SERVICE DOH

#SERVICE SVC95

A customized version of this operator (that references a Service Definition Set and does not take a right argument) can be created for plan-specific provisions; see the Service Custom Operator .