This applies only to the ORU channels that use observation terms. The new clinical list (CL) channels do not need this type of clean up.
o Enable the "comboDuplicateCleanup" channel cache
o Populate the "ComboAndGenericVaccineRules" with rules consistent with your organizations vaccine inventory
NOTE: Before rules are fired vaccines are grouped by date (RXA-3) and lot (RXA-15). If it seems that a rule failed, make sure the vaccines in question have the same date and lot.
o Rules are then applied to the date/lot groups.
o Rules are processed first by "Type" (Combo rules then Generic), then by ascending "Group" and ascending "Priority".
Here are a few examples:
This is example if for "Combo" rules:
Group |
Priority |
Type |
CVX Code |
Components |
Description |
1 |
1 |
Combo |
94 |
(03,21) or (05,06,07,21) |
MMRV |
1 |
2 |
Combo |
03 |
05,06,07 |
MMR |
NOTE: The Components Column contains the CVX Codes that when combined are equivalent to the CVX Code in the CVX Code column.
In this example the first rule (Group 1, Priority 1) is the first rule to execute. Note how the components are listed. For this rule, if a date/lot group contains vaccines in the first component set (03,21) then they are combined into one 94(MMRV) vaccine. It then looks for vaccines in the second component set (05,06,07,21), if found they are combined into one 94(MMRV) vaccine.
Then the it moves on to the second rule (Group 1, Priority 2). This rule only has one component set (05,06,07). In this case the set can be defined without parentheses. If found they are combined into one 03(MMR) vaccine.
This next example is for "Generic" rules:
Group |
Priority |
Type |
CVX Code |
Components |
Description |
3 |
1 |
Generic |
134 |
129 |
Japanese Encephalitis-IM |
3 |
2 |
Generic |
39 |
129 |
Japanese Encephalitis-IM |
Generic rules are used to remove generic vaccines when both a generic and a non-generic equivalent is included in the message for the same vacine.
Here two generic rules are grouped together the first (Group 3, Priority 1) will remove the 129 when a 134 is also present. The second rule in this group would then fire and remove the 129 when a 39 is also present. So the priority controls which rule fires first in the group.
The rest of the rules defined below have a single priority entry for each group. This list was used by a client that had the following generic and combo vaccines in their inventory. These rules may have been specific to their needs and the registry they sent them to. Feel free to use them but they may not be the same for every circumstance.