Duplicate patient records after MPPS COMPLETE message

294 views
Skip to first unread message

Tarmo

unread,
Feb 3, 2016, 7:26:36 AM2/3/16
to dcm4che
Hi there!

DCM4CHEE (dcm4chee-2.18.0-mysql) as PACS, MWL, MPPS server.

PACS works fine, MWL works fine, but there are problems with patient records after MPPS messages from certain modalities.

With X-RAY modalities MWL status gets updated as needed, but with ultrasound  when exam has finished duplicate patient record with right patient ID, but without name is created.

After duplicate record is created no worklist subscription are accepted for that patient before the duplicate is deleted.

Maybe it's because end exam triggers MPPS COMPLETE before any image is stored, but it happens on ultrasound.

Patient matching is set to pid,issuer? in StoreScp; MPPSScp.


Question: How to avoid from creating duplicate (incomplete) patient records in this situation?


2016-02-03 11:00:56,384 INFO  -> (TCPServer-1-254) [org.dcm4cheri.server.ServerImpl] handle - Socket[addr=/192.168.0.6,port=29117,localport=104]
2016-02-03 11:00:56,384 INFO  -> (TCPServer-1-254) [org.dcm4cheri.net.FsmImpl] Socket[addr=/192.168.0.6,port=29117,localport=104]
2016-02-03 11:00:56,385 INFO  RZDCX->VILJANDIPACS (TCPServer-1-254) [org.dcm4cheri.net.FsmImpl] received AAssociateRQ
appCtxName: 1.2.840.10008.3.1.1.1/DICOM Application Context Name
implClass: 2.16.124.113543.6021.1
implVersion: RZDCX_2_0_1_9
calledAET: VILJANDIPACS
callingAET: RZDCX
maxPDULen: 32768
asyncOpsWindow:
pc-1: as=1.2.840.10008.1.1/Verification SOP Class
ts=1.2.840.10008.1.2.1/Explicit VR Little Endian
ts=1.2.840.10008.1.2.2/Explicit VR Big Endian
ts=1.2.840.10008.1.2/Implicit VR Little Endian
pc-3: as=1.2.840.10008.3.1.2.3.3/Modality Performed Procedure Step SOP Class
ts=1.2.840.10008.1.2/Implicit VR Little Endian
2016-02-03 11:00:56,387 INFO  RZDCX->VILJANDIPACS (TCPServer-1-254) [org.dcm4cheri.net.FsmImpl] sending AAssociateAC
appCtxName: 1.2.840.10008.3.1.1.1/DICOM Application Context Name
implClass: 1.2.40.0.13.1.1.1
implVersion: dcm4che-1.4.34
calledAET: VILJANDIPACS
callingAET: RZDCX
maxPDULen: 16352
asyncOpsWindow:
pc-1: 0 - acceptance
ts=1.2.840.10008.1.2/Implicit VR Little Endian
pc-3: 0 - acceptance
ts=1.2.840.10008.1.2/Implicit VR Little Endian
2016-02-03 11:00:56,388 INFO  RZDCX->VILJANDIPACS (TCPServer-1-254) [org.dcm4cheri.net.FsmImpl] received [pc-3] 1:N_SET_RQ with Dataset
class: 1.2.840.10008.3.1.2.3.3/Modality Performed Procedure Step SOP Class
inst: 1.2.40.0.13.1.1.1.192.168.0.15.20160107141644886.37482/?
2016-02-03 11:00:56,411 INFO  RZDCX->VILJANDIPACS (TCPServer-1-254) [org.dcm4chex.archive.dcm.mwlscp.MWLFindScpService] Update MWL item[spsid=20985950, status=COMPLETED]
2016-02-03 11:00:56,413 WARN  RZDCX->VILJANDIPACS (TCPServer-1-254) [org.dcm4chex.archive.ejb.session.MPPSManagerBean] Performed Series item 0 of mpps (iuid:1.2.40.0.13.1.1.1.192.168.0.15.20160107141644886.37482) neither has image nor nonimage references! Leave this series out. iuid:1.2.3.4.5.6
2016-02-03 11:00:56,421 INFO  RZDCX->VILJANDIPACS (TCPServer-1-254) [org.dcm4chex.archive.tce.ExportManagerService] handle IAN Notification:
2016-02-03 11:00:56,422 INFO  RZDCX->VILJANDIPACS (TCPServer-1-254) [org.dcm4chex.archive.dcm.gpwlscp.GPWLFeedService2] No mpps2gpwl.xsl found for RZDCX
2016-02-03 11:00:56,424 INFO  RZDCX->VILJANDIPACS (TCPServer-1-254) [org.dcm4chex.archive.dcm.ups.UPSFeedService] Creating 1 UPS(s) triggered by MPPS from RZDCX
2016-02-03 11:00:56,430 INFO  RZDCX->VILJANDIPACS (TCPServer-1-254) [org.dcm4chex.archive.ejb.entity.PatientBean] Created Patient[pk=13523, pid=123456789, issuer=null, name=null]
2016-02-03 11:00:56,435 INFO  RZDCX->VILJANDIPACS (TCPServer-1-254) [org.dcm4chex.archive.ejb.entity.UPSRequestBean] Created UPSRequest[pk=1840, rpid=20985950, accno=HVJHUH5160203001]
2016-02-03 11:00:56,435 INFO  RZDCX->VILJANDIPACS (TCPServer-1-254) [org.dcm4chex.archive.ejb.entity.UPSBean] Created UPS[pk=2353, uid=1.2.40.0.13.1.1.1.192.168.0.15.20160107141644886.37483]
2016-02-03 11:00:56,443 INFO  RZDCX->VILJANDIPACS (TCPServer-1-254) [org.dcm4chex.archive.xdsi.XDSIService] ianListener called!
2016-02-03 11:00:56,443 INFO  RZDCX->VILJANDIPACS (TCPServer-1-254) [org.dcm4cheri.net.FsmImpl] sending [pc-3] 1:N_SET_RSP
class: 1.2.840.10008.3.1.2.3.3/Modality Performed Procedure Step SOP Class
inst: 1.2.40.0.13.1.1.1.192.168.0.15.20160107141644886.37482/?
status: 0
2016-02-03 11:00:56,444 INFO  RZDCX->VILJANDIPACS (TCPServer-1-254) [org.dcm4cheri.net.FsmImpl] received A-RELEASE-RQ
2016-02-03 11:00:56,444 INFO  RZDCX->VILJANDIPACS (TCPServer-1-254) [org.dcm4cheri.net.FsmImpl] sending A-RELEASE-RP
2016-02-03 11:00:56,494 INFO  RZDCX->VILJANDIPACS (TCPServer-1-254) [org.dcm4cheri.net.FsmImpl] closing connection - Socket[addr=/192.168.0.6,port=29117,localport=104]
2016-02-03 11:00:56,494 INFO  -> (TCPServer-1-254) [org.dcm4cheri.server.ServerImpl] finished - Socket[addr=/192.168.0.6,port=29117,localport=104]

fleetwoodfc

unread,
Feb 3, 2016, 8:23:57 AM2/3/16
to dcm4che
Your system is configured to create an UPS item which is controlled by mpps2ups.xsl. You do not supply an 'issuer of patient id' so this is probably the root cause - when it tries to create the UPS it cannot find an existing patient record so it creates a new one and the default mpps2ups.xsl does not map the patient name etc. If you do not need UPS then remove the mpps2ups.xsl.   

Tarmo

unread,
Feb 3, 2016, 8:48:36 AM2/3/16
to dcm4che
THANK YOU!!!

It worked!

mirzasa...@gmail.com

unread,
Dec 12, 2022, 9:19:16 PM12/12/22
to dcm4che
Dear,
I am facing some problem in dcm4chee PACS.
MRI system (GE MRI machine) not getting Modality worklist.

2022-12-12 20:19:42,202 INFO  kizuna_goc->RADWLSERVER (TCPServer-1-2) [org.dcm4cheri.net.FsmImpl] received AAssociateRQ

    appCtxName:    1.2.840.10008.3.1.1.1/DICOM Application Context Name
    implClass:    1.2.840.113619.6.260
    implVersion:    NUEVO_1_0
    calledAET:    RADWLSERVER
    callingAET:    kizuna_goc
    maxPDULen:    32768
    asyncOpsWindow:    
    pc-1:    as=1.2.840.10008.3.1.2.3.3/Modality Performed Procedure Step SOP Class
        ts=1.2.840.10008.1.2/Implicit VR Little Endian
        ts=1.2.840.10008.1.2.2/Explicit VR Big Endian
        ts=1.2.840.10008.1.2.1/Explicit VR Little Endian

2022-12-12 20:19:42,202 INFO  kizuna_goc->RADWLSERVER (TCPServer-1-2) [org.dcm4cheri.net.FsmImpl] sending AAssociateAC

    appCtxName:    1.2.840.10008.3.1.1.1/DICOM Application Context Name
    implClass:    1.2.40.0.13.1.1.1
    implVersion:    dcm4che-1.4.34
    calledAET:    RADWLSERVER
    callingAET:    kizuna_goc

    maxPDULen:    16352
    asyncOpsWindow:    
    pc-1:    0 - acceptance
        ts=1.2.840.10008.1.2.1/Explicit VR Little Endian

2022-12-12 20:19:42,222 INFO  kizuna_goc->RADWLSERVER (TCPServer-1-2) [org.dcm4cheri.net.FsmImpl] received [pc-1] 0:N_SET_RQ with Dataset

    class:    1.2.840.10008.3.1.2.3.3/Modality Performed Procedure Step SOP Class
    inst:    1.2.840.113619.6.408.325559053779525862868286969179347899796/?

2022-12-12 20:19:42,283 INFO  kizuna_goc->RADWLSERVER (TCPServer-1-2) [org.dcm4cheri.net.FsmImpl] sending [pc-1] 0:N_SET_RSP

    class:    1.2.840.10008.3.1.2.3.3/Modality Performed Procedure Step SOP Class
    inst:    1.2.840.113619.6.408.325559053779525862868286969179347899796/?
    status:    0

2022-12-12 20:19:42,353 INFO  kizuna_goc->RADWLSERVER (TCPServer-1-2) [org.dcm4cheri.net.FsmImpl] received A-RELEASE-RQ

2022-12-12 20:19:42,353 INFO  kizuna_goc->RADWLSERVER (TCPServer-1-2) [org.dcm4cheri.net.FsmImpl] sending A-RELEASE-RP

2022-12-12 20:19:42,412 INFO  kizuna_goc->RADWLSERVER (TCPServer-1-2) [org.dcm4cheri.net.FsmImpl] closing connection - Socket[addr=/10.200.112.40,port=55582,localport=5678]

2022-12-12 20:19:42,412 INFO  -> (TCPServer-1-2) [org.dcm4cheri.server.ServerImpl] finished - Socket[addr=/10.200.112.40,port=55582,localport=5678]

2022-12-12 20:19:45,654 INFO  -> (Thread-51409) [org.dcm4chex.archive.mbean.FileSystemMgt2Service] Check file system group ONLINE_STORAGE for deletion of orphaned private files

2022-12-12 20:19:45,654 INFO  -> (Thread-51410) [org.dcm4chex.archive.mbean.FileSystemMgt2Service] Check file system group LOSSY_STORAGE for deletion of orphaned private files

2022-12-12 20:20:45,655 INFO  -> (Thread-51412) [org.dcm4chex.archive.mbean.FileSystemMgt2Service] Check file system group LOSSY_STORAGE for deletion of orphaned private files

2022-12-12 20:20:45,655 INFO  -> (Thread-51414) [org.dcm4chex.archive.mbean.FileSystemMgt2Service] Check file system group ONLINE_STORAGE for deletion of orphaned private files

2022-12-12 20:21:25,556 INFO  -> (Timer-3) [org.dcm4chex.wado.mbean.cache.WADOCacheImpl] getFreeDiskSpace from :C:\apps\dcm4chee-2.18.3\server\default\wadocachedata free:118842327040

2022-12-12 20:21:41,204 INFO  -> (TCPServer-1-1) [org.dcm4cheri.server.ServerImpl] handle - Socket[addr=/10.200.112.40,port=55676,localport=5678]

2022-12-12 20:21:41,204 INFO  -> (TCPServer-1-1) [org.dcm4cheri.net.FsmImpl] Socket[addr=/10.200.112.40,port=55676,localport=5678]

2022-12-12 20:21:41,204 INFO  kizuna_goc->RADWLSERVER (TCPServer-1-1) [org.dcm4cheri.net.FsmImpl] received AAssociateRQ

    appCtxName:    1.2.840.10008.3.1.1.1/DICOM Application Context Name
    implClass:    1.2.840.113619.6.260
    implVersion:    NUEVO_1_0
    calledAET:    RADWLSERVER
    callingAET:    kizuna_goc
    maxPDULen:    32768
    asyncOpsWindow:    
    pc-1:    as=1.2.840.10008.3.1.2.3.3/Modality Performed Procedure Step SOP Class
        ts=1.2.840.10008.1.2/Implicit VR Little Endian
        ts=1.2.840.10008.1.2.2/Explicit VR Big Endian
        ts=1.2.840.10008.1.2.1/Explicit VR Little Endian

2022-12-12 20:21:41,204 INFO  kizuna_goc->RADWLSERVER (TCPServer-1-1) [org.dcm4cheri.net.FsmImpl] sending AAssociateAC

    appCtxName:    1.2.840.10008.3.1.1.1/DICOM Application Context Name
    implClass:    1.2.40.0.13.1.1.1
    implVersion:    dcm4che-1.4.34
    calledAET:    RADWLSERVER
    callingAET:    kizuna_goc

    maxPDULen:    16352
    asyncOpsWindow:    
    pc-1:    0 - acceptance
        ts=1.2.840.10008.1.2.1/Explicit VR Little Endian

But other modalities lite CT scan, DR, CR, USG getting modality worklist smoothly.
What can I do?
Please help me.
Reply all
Reply to author
Forward
0 new messages