Archives
- ► 2012 (8)
- ► 2011 (157)
- ► 2010 (174)
- ► 2009 (12)
Which topics would you like us to cover more?
Latest comments
- How to reset you Kindle
3, eve...
Thanks for this article and the related "Inside th...
By H K - How to reset you Kindle
3, eve...
How do you drain power on the board? I dont have r...
By Grace - How to reset you Kindle
3, eve...
You're welcome!
By Bas - How to reset you Kindle
3, eve...
Thanks man....removing the battery worked like a c...
By DaveMan - nHapi
example
Hi Slypete, Thank you for your comment. This way w...
By Bas - nHapi
example
Hello, Employing .Net dynamics, one can implement ...
By slypete - Implementing MLLP in C#
Hi Mayura, I'm not sure I understand your question...
By Bas - Implementing MLLP in C#
I have used SSL stream to secure the MLLP transact...
By Mayura
Latest tweets
| HL7 event grouping in version 2.4 (nHapi) |
| Written by Division by Zero |
| Tuesday, 27 September 2011 09:30 |
|
Recently someone posted a question on an older post of mine. Since the question is one of the kind that more people will encounter, I want to highlight it. In the nHapi HL7 versions before 2.4 the event mapping was quite clear. The header would describe the event type, for example ADT_A08 would describe a ADT A08 event. In version 2.4 Hl7 grouped events that needs the same data. In the nHapi implementation this grouping means that for some event there won't be a specific class. You won't be able to find an A08 class implementation. Let's keep working with the A08 event as an example. In 2.4 the A08 event is a kind of subtype of the ADT_A01
event. Instead of this: MSH|^~&|SomeApp||||20110215100411||ADT^A08|11873630|P^T|2.4|||AL|EN This way nHapi will parse the message as an ADT_A01 type object. If you have parsed is to an object you can do the following to get the 'sub-event':
|
Only put off until tomorrow what you are willing to die having left undone. - Pablo Picasso




