MedicCR Invalid LLP First Byte

Dear All

I send request from OpenHIM to MedicCR by Transport ER7 over LLP

and i get this error

3/14/2017 4:11:23 PM : ClientRegistry.exe Error: 0 : 3/14/2017 4:11:23 PM : System.InvalidOperationException: Invalid LLP First Byte

at MARC.HI.EHRS.CR.Messaging.HL7.TransportProtocol.LlpTransport.OnReceiveMessage(Object client)

i try to add some string in-front that mes but it not work.

but if i change to ER7 over TPC it work fine.

Maybe i miss some config?

Thanks In advent

Sovannoty

Hi Sovannoty,

The LLP receiver looks for a vertical tab (VTAB) character as the first byte of a message and requires a file separator (FS) carriage return (CR) at the end of the message. This is because LLP allows you to stream messages and these characters represent the start/stop of individual messages in the stream.

If you send

MSH|…
PID>…

You should receive an acknowledgement in the same format.

Cheers

-Justin

···

On Thursday, March 16, 2017 at 12:42:39 AM UTC-4, noty chea wrote:

Dear All

I send request from OpenHIM to MedicCR by Transport ER7 over LLP

and i get this error

3/14/2017 4:11:23 PM : ClientRegistry.exe Error: 0 : 3/14/2017 4:11:23 PM : System.InvalidOperationException: Invalid LLP First Byte

at MARC.HI.EHRS.CR.Messaging.HL7.TransportProtocol.LlpTransport.OnReceiveMessage(Object client)

i try to add some string in-front that mes but it not work.

but if i change to ER7 over TPC it work fine.

Maybe i miss some config?

Thanks In advent

Sovannoty

Thank you very much Justin Fyfe,

yes you are right ** i need to add vertical tab (VTAB) file separator (FS) carriage return (CR) **

**i try to add ** but it not work.

and I try this it is work now **** = \v = char(13) and = \r

Cheers,

Sovannoty

···

On Thursday, March 16, 2017 at 4:22:11 PM UTC+7, Justin Fyfe wrote:

Hi Sovannoty,

The LLP receiver looks for a vertical tab (VTAB) character as the first byte of a message and requires a file separator (FS) carriage return (CR) at the end of the message. This is because LLP allows you to stream messages and these characters represent the start/stop of individual messages in the stream.

If you send

MSH|…
PID>…

You should receive an acknowledgement in the same format.

Cheers

-Justin

On Thursday, March 16, 2017 at 12:42:39 AM UTC-4, noty chea wrote:

Dear All

I send request from OpenHIM to MedicCR by Transport ER7 over LLP

and i get this error

3/14/2017 4:11:23 PM : ClientRegistry.exe Error: 0 : 3/14/2017 4:11:23 PM : System.InvalidOperationException: Invalid LLP First Byte

at MARC.HI.EHRS.CR.Messaging.HL7.TransportProtocol.LlpTransport.OnReceiveMessage(Object client)

i try to add some string in-front that mes but it not work.

but if i change to ER7 over TPC it work fine.

Maybe i miss some config?

Thanks In advent

Sovannoty