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 escape characters and nHapi |
| Written by Division by Zero | ||||||||||||||||||||||||
| Friday, 28 May 2010 07:46 | ||||||||||||||||||||||||
|
After some testing I found out that nHapi does not convert all escape characters provided by the HL7 standard. So here's a list of escape characters and the way nHapi handles them. As you'll probably know the characters to signify an escape character is defined in the header of a Hl7 message along with the field separator, the repetition separator, the component separator and the subcomponent separator. For example the following header is the default: MSH|^~\&|ADT1 (here '^' is defined as component separator and '\' is defined as escape character) The following table uses the default escape characters (as defined in the example above).
A special note on the last one: The hexadecimal data is supported by nHapi. That is, it is partly supported. To narrow it down further: I only got one hexadecimal sequence working. This sequence is \X000d\ (carriage return, ASCII 13). To test the hexadecimal conversion I wrote a loop with all possible hexadecimal values and only the carriage return was converted. |
Only put off until tomorrow what you are willing to die having left undone. - Pablo Picasso




