Use Distribution Rules Table

Navigation:  System Setup (F4) > Devices >

Use Distribution Rules Table

Previous pageReturn to chapter overviewNext page

Distribution rules are a powerful way to setup complex distribution of documents to one of several different devices, based on the logic.  This is most useful when printing or batching, but can be used with any device(s).

 

When you have documents that are of a certain form (or work type) for certain providers with certain locations, that need to distribute do different devices, you can setup a distribution rule list to accommodate this.  Each device used in the rules must be configured as a device

 

Steps – main Tab

1.        DEVICE CODE:  Enter a device code: – for example: Rules

2.        DEVICE DESCRIPTION:  For example: Distribution rules

3.        OUTPUT LOCATION: Host

4.        ALLOW WEB PORTAL USERS TO DISTRIBUTE TO THIS DEVICE: Click this box

5.        THIS DEVICE WILL CHANGE THE REPORT'S STATUS TO 'DELIVERED': Click this box

 

Distrib Rules tab

The syntax is below.  Note:  Each statement should be on its own line.  All logic is separated by a hard return. The expression can contain any field listed in the report table.

 

DeviceCode; Logical expression

 

For example if there are 20 physicians, and 5 of those physicians should distribute to printer A device, and 5 of those physicians should print to the printer B device, and another 5 of those physicians should distribute to the batch device, and the remaining 5 should distribute to the HL7 only if the location was “main”  your logic would look like this:

 

PrinterA; (doctor=’1’) or (doctor=’2’) or (doctor=’3’) or (doctor=’4’) or (doctor=’5’)

PrinterB; (doctor=’61’) or (doctor=’7’) or (doctor=’8’) or (doctor=’9’) or (doctor=’10’)

Batch; (doctor=’11’) or (doctor=’12’) or (doctor=’13’) or (doctor=’14’) or (doctor=’15’)

HL7; ((location =’main’) and (doctor=’16’) or (doctor=’17’) or (doctor=’18’) or (doctor=’19’) or (doctor=’20’))

 

Note:  Each device will be on its own line – separated by a hard return.  The rule will stop and distribute the document as soon as it matches the first available logic.  If a document doesn’t match any logic, it will not distribute and will remain in distribution pending.