My site was down for a few days, it seems that y’all love it so much, I exceeded my bandwidth for the month, so my hosting company locked it down.
I have upgraded my account so I can keep the site up.
I am not sure that you have seen this, but this is some cool information about MOM and HL7 that I just came across.
Comments Off
I had forgot that a while ago, I had to create a custom HL7 message, and I saw a question on the forum asking how you can do it.
Here are the steps: (All modifications take place in both the MSH_24_GLO_DEF and the tablevalues.xsd). In this example I am creating a ZZZ^Z01 message;
- Edit Table76 and add the message type (add an enumeration) by editing the schema in a text editor:(in my case ZZZ)

- Edit Table3 to represent the trigger:(in my case Z01)

- Edit the Table354 that represents the Message_Trigger: (in my case ZZZ_Z01)

- Finally create your schema with the roon node that follows the following algorithm: Body schema type = TargetNS + “#” + MSH9.1 + MSH9.2 + MSH12.1 (with dots removed) + MSH12.2 (or GLO if the value is blank) + MSH12.3 (or DEF if the value is blank), and don’t forget to make sure that the target namespace of the schema matches what you have defined in the BTAHL7 Configuration Explorer

And finally, here is a sample.
One little documented behavior of the MLLP adapter is that it is a streaming adapter. The implications are that if you are developing custom pipeline components, you need to make sure that you stay away from reading the Length of the Stream. What should be done is your pipeline component should read the stream completely before doing it’s ‘work.’ (Loop till Read method returns 0).
I have included this VB and this C# example to look at.
I want to thank support for this bit of info!
Comments Off
To extend the previous post, the following question was asked: How can the flat file parser consume a positional file when the end of each record might not be the length that is defined.
This actually is a very common occurrence, as I have had to deal with it, it mainly has to do with transfers from mainframes to windows based machines.
I deviated from the original file a little:

I enabled Allow Early Termination:

And here is the sample.
Comments Off
I was helping Alberto on this flat file problem. I thought that I had created the flat file schema correctly to parse this correctly.

However when I would validate the schema I was constantly getting the following message: “The element ‘OuterLoop’ has incomplete content. List of possible elements expected: ‘KLoop, ZRecord’.” This was the resulting xml output:

However, I knew that the schema was set up correctly. I fiddled with it for quite a while, until I went to the Schema object and changed the Parse Optimization from Speed to Complexity.
It then parsed correctly and here is the result:

After seaching this is the closest definition I can find on the difference between Speed and Complexity:
“In speed mode, the parser tries to fit data as it appears in the stream. In complexity mode, the flat-file parsing engine uses both top-down and bottom-up parsing, and tries to fit data more accurately.”
Here is a sample file and the schema, try changing the parsing optimization setting and see the differences.
Comments Off