MedicCR PixHandler.HandlePixAdmit error

Dear All,

I have a problem with MedicCR

i send this request

$adr01_llp="\vMSH|^~&|NIST_Pearl_PIX_Source^^|NIST^^|CR1^^|MOH_CAAT^^|20141104174451||ADT^A01^ADT_A01|NIST-20141104174451|P|2.3.1\r
EVN>>20101020\r
PID>>>RJ-438^^^&2.16.840.1.113883.3.72.5.9.1||JOHNSTON^ROBERT^^^^^L|MURRAY^^^^^^L|19830205|M|||1220 Centennial Farm Road^^ELLIOTT^IA^51532||^PRN^PH^^^712^7670867||||||481-27-4185\r
PV1||I\r".Chr(28)."\r";

this below is response

MSH>^~&|DESKTOP-QPUANNN|Fake Jurisdiction|NIST_Pearl_PIX_Source|NIST|201704061100||ACK^A01|8926ee73-0b4d-4f98-9fbf-1a0bcaa83b03|P|2.3.1
MSA>AR>NIST-20141104174451
ERR>^^^207&Application internal error&&&Object reference
not set to an instance of an object.

this below is log

4/6/2017 11:00:44 AM : ClientRegistry.exe Error: 0 : 4/6/2017 11:00:44 AM : System.NullReferenceException: Object reference not set to an instance of an object.
at MARC.HI.EHRS.CR.Messaging.PixPdqv2.ComponentUtility.CreatePerson(PID pid, List1 dtls, OidData aaut) at MARC.HI.EHRS.CR.Messaging.PixPdqv2.ComponentUtility.CreateComponents(ADT_A01 request, List1 dtls)
at MARC.HI.EHRS.CR.Messaging.PixPdqv2.PixHandler.HandlePixAdmit(ADT_A01 request, Hl7MessageReceivedEventArgs evt)

i think something wrong with my request string.

thanks in advance,
Sovannoty

Hi,

I ran into the same problem when I had a Social Security Number in my message. I see you do to “481-27-4185”, try removing that. I think you have to have a particular OID setup if you want to use a SSN.

Cheers,

Ryan

···

On Thu, Apr 6, 2017 at 6:23 AM noty chea noty.setec@gmail.com wrote:

Dear All,

I have a problem with MedicCR

i send this request

$adr01_llp="\vMSH|^~&|NIST_Pearl_PIX_Source^^|NIST^^|CR1^^|MOH_CAAT^^|20141104174451||ADT^A01^ADT_A01|NIST-20141104174451|P|2.3.1\r
EVN>>20101020\r
PID>>>RJ-438^^^&2.16.840.1.113883.3.72.5.9.1||JOHNSTON^ROBERT^^^^^L|MURRAY^^^^^^L|19830205|M|||1220 Centennial Farm Road^^ELLIOTT^IA^51532||^PRN^PH^^^712^7670867||||||481-27-4185\r
PV1||I\r".Chr(28)."\r";

this below is response

MSH>^~&|DESKTOP-QPUANNN|Fake Jurisdiction|NIST_Pearl_PIX_Source|NIST|201704061100||ACK^A01|8926ee73-0b4d-4f98-9fbf-1a0bcaa83b03|P|2.3.1
MSA>AR>NIST-20141104174451
ERR>^^^207&Application internal error&&&Object reference
not set to an instance of an object.

this below is log

4/6/2017 11:00:44 AM : ClientRegistry.exe Error: 0 : 4/6/2017 11:00:44 AM : System.NullReferenceException: Object reference not set to an instance of an object.
at MARC.HI.EHRS.CR.Messaging.PixPdqv2.ComponentUtility.CreatePerson(PID pid, List1 dtls, OidData aaut) at MARC.HI.EHRS.CR.Messaging.PixPdqv2.ComponentUtility.CreateComponents(ADT_A01 request, List1 dtls)
at MARC.HI.EHRS.CR.Messaging.PixPdqv2.PixHandler.HandlePixAdmit(ADT_A01 request, Hl7MessageReceivedEventArgs evt)

i think something wrong with my request string.

thanks in advance,
Sovannoty

You received this message because you are subscribed to the Google Groups “OpenHIE Implementers Network (OHIN)” group.

To unsubscribe from this group and stop receiving emails from it, send an email to ohie-implementers+unsubscribe@googlegroups.com.

To post to this group, send email to ohie-implementers@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/ohie-implementers/21c660e9-e46f-483d-9e1f-7afa8d9ee5d7%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Ryan Crichton

Lead Developer, Jembi Health Systems | SOUTH AFRICA

Mobile: +27845829934 | Skype: ryan.graham.crichton
E-mail: ryan@jembi.org

Hi Ryan,

i have change my request string to this below

MSH>^~\&|NIST_Pearl_PIX_Source^^|NIST^^|CR1^^|MOH_CAAT^^|20141104174451||ADT^A01^ADT_A01|NIST-20141104174451|P|2.3.1
EVN>>20101020
PID>>>RJ-438^^^&0.0.0.0.6||JOHNSTON^ROBERT^^^^^L|MURRAY^^^^^^L|19830205|M|||1220 Centennial Farm Road^^ELLIOTT^IA^51532||^PRN^PH^^^712^7670867||||||
PV1||I

the response is the same

I see OID in Medic CR like this i try to use 0.0.0.0.6

is it any work doing?

Sovannoty

 

Capture.PNG