HL7 ORM Process Failure: NonUniquePatientException, Ambiguous

790 views
Skip to first unread message

mukoya

unread,
Jan 30, 2013, 8:47:35 AM1/30/13
to dcm...@googlegroups.com
I am using DCM4CHEE as SCP for DMWL, MPPS, Storage as well as HL7 server.

All is fime most of the time except an occasional error when sending a new HL7 message:



2013-01-24 10:23:57,832 WARN  -> (TCPServer-2) [org.dcm4chex.archive.hl7.HL7ServerService] Processing HL7 failed:
org.dcm4chex.archive.hl7.HL7Exception: Patient[id=13001407, issuer=null, name=CETHERINE^NJOKI^null^null] ambiguous
at org.dcm4chex.archive.hl7.ORMService.process(ORMService.java:272)
at org.dcm4chex.archive.hl7.ORMService.process(ORMService.java:213)
at org.dcm4chex.archive.hl7.HL7ServerService.handle(HL7ServerService.java:503)
at org.dcm4cheri.server.ServerImpl.run(ServerImpl.java:288)
at org.dcm4cheri.util.LF_ThreadPool.join(LF_ThreadPool.java:174)
at org.dcm4cheri.server.ServerImpl$1.run(ServerImpl.java:242)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.dcm4chex.archive.exceptions.NonUniquePatientException: Patient[id=13001407, issuer=null, name=CETHERINE^NJOKI^null^null] ambiguous
at org.dcm4chex.archive.ejb.entity.PatientBean.selectPatient(PatientBean.java:655)
at org.dcm4chex.archive.ejb.entity.PatientBean.ejbHomeSelectPatient(PatientBean.java:588)
at sun.reflect.GeneratedMethodAccessor202.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)



Have tried very many permutations in the patient matching fileds of StoreSCP, HL7 ORM and MPPS Scp services without success. have also tried enabling/disabling suppliment issuer in storescp and mppsscp without success.

While checking on forums, I saw a suggestion that having an issuer for all HL7 messages will probably resolve the issue.

All my messages have no issuer.

Most of the time, there is a previous MPPS message or Study with same PID. This is difficult to completely avoid in my setting.

I would like DCM4CHEE to assume that each study belongs to a totally different patient despite similarities in the PID and other attributes.

How do I achieve this? I see a preprocess xsl file in the hl7 config folder, can it be of help? 

Thanks.

Mukoya



Mark Messer

unread,
Feb 1, 2013, 6:16:44 PM2/1/13
to dcm...@googlegroups.com

Cledio Moreira Paiva

unread,
Nov 19, 2015, 1:20:23 PM11/19/15
to dcm4che
Still with no solution ?
Reply all
Reply to author
Forward
0 new messages