If we send an Cancel (A11) to MIDAS, the account is canceled and removed from the data base. If a subsequent A08 or P01 is sent for whatever reason, Midas will recreate the account. The problem then becomes the created account will never get a Discharge message so length of stay will continue to grow.
The vendor says they do not have a way to set a flag to only create an account when an Admit (A01) or Reg (A04) transaction is received.
The only way I can see correcting this is to added a cancel flag to the messages as the HIS system generates them, and then filter them in the engine. This seems like overkill for one ADT feed.
Can anyone offer any words of wisdom on this?