Customizing Documents
Smartcare documents supports text formulas NOT found in any other software. These functions can be used to create highly customized legal copy for your organization. A formula-formatted document should be publishable as-is, as plain text.
In this article
Use formulas
- 1
- Go to Settings > Organization > Documents
- 2
- Type a Curly bracket { } in the text where you want to use variable data.
Available operators
Operators tell our compiler to perform a specific logical function. Smartcare currently supports two operators, dollar sign ($) used to import specific data and vertical line or pipe (|) used to initiate the pluralizer logic .
Import data
Use of import ($) operator allows access to intelligent data directly from our database. It's intelligent because the data it returns will be relative to the device(s) you are referencing. Ex.
Your device comes with a {$LND_WARRANTY_LENGTH} L&D Warranty
Will produce this intelligent results, within documentation, when used in practice:
"Your device comes with a 3yr L&D Warranty"
Pluralize data
Use of vertical line or pipe (|) to separate two text strings { singular | plural } will activate our pluralizer operation. Pluralizer will evaluate targeted devices and return the appropriate pluralized text in reference to the patients fit. Ex.
Your hearing {device is|devices are} covered by a manufacturer repair warranty.
Will return this result, when used in a document that only references a single device:
"Your hearing device is covered by a manufacturer repair warranty."
Import function list
We currently support this growing list of functions.
CURRENCY | ||
ASSUMED_EARMOLD_VALUE | $ | Assumed Earmold Value established in Settings > Organization > Documents > Purchase Agreement |
LND_PROCESSING_FEE | $ | L&D Processing fee for targeted device manufacturer. |
RETURN_CHARGE | $ | 15% of the Purchase Agreement total |
TIME | ||
LND_WARRANTY_LENGTH | #yr | L&D Warranty Length, in years, for targeted device manufacturer. |
REPAIR_WARRANTY_LENGTH | #yr | Repair Warranty Length, in years, for targeted device manufacturer. |
TEXT | ||
ORGANIZATION_NAME | Aa | Organizations name established in Settings > Organization > General |