Conditional Colors can be assigned in the BST Take Record Appt Embed for the appropriate template.

 

%MyInstance = the template instance of the BST Template you are working with.  It appears on the template, and also on the embed point you are going into.

 

Save the default color and then you can assign a new color, depending on your condition.

Remember the Conflict Color will override these colors when a conflict is detected by the template.

 

BST:ApptTextColor%MyInstance

BST:ApptBackColor%MyInstance

BST:AptDurTextColor%MyInstance

BST:AptDurColor%MyInstance

 

Example Code(when the template instance = 8)

 

IF (MyCondition)  ! Pays Cash

BST:ApptBackColor8 = COLOR:GREEN

ELSIF (MyCondition2) ! Hard Payer

BST:ApptBackColor8 = COLOR:RED

ELSE ! Has insurance

BST:ApptBackColor8 = DefaultSavedBackColor

END