Question Brian Hunsicker · Jun 15, 2023

Newbie question on calculate size of X12 messages.

Go to the original post@Brian Hunsicker

How do I determine the size of an X12 message within the Rule Editor?  I should add this is for HealthConnect or Ensemble.

The FullSize property always shows 122, and the FullSizeGet method isn't available within the Rule Editor.

Our vendor can't handle messages over 500,000 characters, so I need to write those to another queue for later processing, and to get the interface into they're system from crashing.

Thanks,

Product version: IRIS 2022.1
$ZV: InterSystems Studio Client 2022.1.0 Build 209 Server IRIS for UNIX (Red Hat Enterprise Linux 8 for x86-64) 2022.1.2 (Build 574_0_22345U)

Comments

Alex Woodhead · Jun 15, 2023

Hi Brian,

Possibly the new size is not calculated if message is not already saved.

However, Custom RuleSet functions can be implemented in classes for example:

Then the Rule Condition could be:

(DocSizeX12(Document))>500000

0
Brian Hunsicker  Jun 19, 2023 to Alex Woodhead

Thank you Alex, I think that's going to solve my issue.

0