Always Coerce CT image to different patient

281 views
Skip to first unread message

Sofyan Afandi

unread,
Feb 4, 2014, 3:56:50 AM2/4/14
to dcm...@googlegroups.com
Hi,

This is log file text from server :
2014-02-04 14:11:43,433 INFO  AN_CT44253->REVOLUTION (TCPServer-1-1) [org.dcm4cheri.net.FsmImpl] received [pc-3] 451:C_STORE_RQ with Dataset
class: 1.2.840.10008.5.1.4.1.1.2/CT Image Storage
inst: 1.3.12.2.1107.5.1.4.44253.30000014020405060426500001253/?
2014-02-04 14:11:43,480 INFO  AN_CT44253->REVOLUTION (TCPServer-1-1) [org.dcm4chex.archive.mbean.TemplatesService] Compiling Stylesheet E:\Revolution-1\2.17.3-mssql\server\default\conf\dcm4chee-ae\cstorerq.xsl
2014-02-04 14:11:43,495 INFO  AN_CT44253->REVOLUTION (TCPServer-1-1) [org.dcm4chex.archive.mbean.FileSystemMgt2Service] Free disk space on E:\Revolution-1\2.17.3-mssql\server\default\archive: 3398.0364GB
2014-02-04 14:11:43,495 INFO  AN_CT44253->REVOLUTION (TCPServer-1-1) [org.dcm4chex.archive.dcm.storescp.StoreScpService] M-WRITE file:E:\Revolution-1\2.17.3-mssql\server\default\archive\2014\2\4\14\02C82A38\E2CB19E6\62DE8817
2014-02-04 14:11:43,620 INFO  AN_CT44253->REVOLUTION (TCPServer-1-1) [org.dcm4chex.archive.ejb.session.StorageBean] inserting instance FileMetaInfo[uid=1.3.12.2.1107.5.1.4.44253.30000014020405060426500001253
class=1.2.840.10008.5.1.4.1.1.2/CT Image Storage
ts=1.2.840.10008.1.2/Implicit VR Little Endian
impl=1.2.40.0.13.1.1.1-dcm4che-1.4.33]
2014-02-04 14:11:43,620 WARN  AN_CT44253->REVOLUTION (TCPServer-1-1) [org.dcm4chex.archive.ejb.session.StorageBean] Series 1.3.12.2.1107.5.1.4.44253.30000014020405104953100000006 not found with cached pk! Cache entry removed!
2014-02-04 14:11:43,636 WARN  AN_CT44253->REVOLUTION (TCPServer-1-1) [org.dcm4chex.archive.ejb.entity.PatientBean] Coerce (0010,0010) Patient's Name,PN,*1,#26,[SATRIA GAMPANG LOHANA, AN ] to (0010,0010) Patient's Name,PN,*1,#18,[NANDA ROMADON, SDR]
2014-02-04 14:11:43,636 WARN  AN_CT44253->REVOLUTION (TCPServer-1-1) [org.dcm4chex.archive.ejb.entity.PatientBean] Coerce (0010,0020) Patient ID,LO,*1,#8,[14-1508 ] to (0010,0020) Patient ID,LO,*1,#8,[14-1441 ]
2014-02-04 14:11:43,636 WARN  AN_CT44253->REVOLUTION (TCPServer-1-1) [org.dcm4chex.archive.ejb.entity.PatientBean] Coerce (0010,0021) Issuer of Patient ID,LO,*0,#0,[] to (0010,0021) Issuer of Patient ID,LO,*1,#4,[RIS ]
2014-02-04 14:11:43,636 WARN  AN_CT44253->REVOLUTION (TCPServer-1-1) [org.dcm4chex.archive.ejb.entity.PatientBean] Coerce (0010,0030) Patient's Birth Date,DA,*1,#8,[20090204] to (0010,0030) Patient's Birth Date,DA,*1,#8,[20130203]
2014-02-04 14:11:43,636 WARN  AN_CT44253->REVOLUTION (TCPServer-1-1) [org.dcm4chex.archive.ejb.entity.PatientBean] Coerce (0010,1010) Patient's Age,AS,*1,#4,[005Y] to (0010,1010) Patient's Age,AS,*1,#4,[16Y ]
2014-02-04 14:11:43,636 WARN  AN_CT44253->REVOLUTION (TCPServer-1-1) [org.dcm4chex.archive.ejb.entity.PatientBean] Coerce (0010,4000) Patient Comments,LT,*1,#28,[HIDROCEPHALUS POST VP SHUNT ] to (0010,4000) Patient Comments,LT,*1,#4,[CKS ]
2014-02-04 14:11:43,636 WARN  AN_CT44253->REVOLUTION (TCPServer-1-1) [org.dcm4chex.archive.ejb.entity.StudyBean] Coerce (0008,0020) Study Date,DA,*1,#8,[20140204] to (0008,0020) Study Date,DA,*1,#8,[20140203]
2014-02-04 14:11:43,636 WARN  AN_CT44253->REVOLUTION (TCPServer-1-1) [org.dcm4chex.archive.ejb.entity.StudyBean] Coerce (0008,0030) Study Time,TM,*1,#14,[134959.375000 ] to (0008,0030) Study Time,TM,*1,#14,[191308.703000 ]
2014-02-04 14:11:43,636 WARN  AN_CT44253->REVOLUTION (TCPServer-1-1) [org.dcm4chex.archive.ejb.entity.StudyBean] Coerce (0008,0050) Accession Number,SH,*1,#6,[044283] to (0008,0050) Accession Number,SH,*1,#6,[542405]
2014-02-04 14:11:43,636 WARN  AN_CT44253->REVOLUTION (TCPServer-1-1) [org.dcm4chex.archive.ejb.entity.StudyBean] Coerce (0008,0090) Referring Physician's Name,PN,*1,#30,[AGUS BUDI SETIAWAN, Sp.BS, dr ] to (0008,0090) Referring Physician's Name,PN,*1,#18,[AGUS PURWANTO, dr ]
2014-02-04 14:11:43,636 WARN  AN_CT44253->REVOLUTION (TCPServer-1-1) [org.dcm4chex.archive.ejb.entity.StudyBean] Coerce (0008,1030) Study Description,LO,*1,#20,[Head^HeadSeq (Child)] to (0008,1030) Study Description,LO,*1,#26,[Head^HeadSeq_RSMS (Adult) ]
2014-02-04 14:11:43,636 WARN  AN_CT44253->REVOLUTION (TCPServer-1-1) [org.dcm4chex.archive.ejb.entity.StudyBean] Coerce (0020,0010) Study ID,SH,*1,#8,[14-1508 ] to (0020,0010) Study ID,SH,*1,#2,[1 ]
2014-02-04 14:11:43,636 INFO  AN_CT44253->REVOLUTION (TCPServer-1-1) [org.dcm4chex.archive.ejb.entity.SeriesRequestBean] Created SeriesRequestAttribute[pk=3136, accno=null, rpid=14-1508, spsid=14-1508, service=null, phys=null, series->ejb/Series:4714]
2014-02-04 14:11:43,636 INFO  AN_CT44253->REVOLUTION (TCPServer-1-1) [org.dcm4chex.archive.ejb.entity.SeriesBean] Created Series[pk=4714, uid=1.3.12.2.1107.5.1.4.44253.30000014020405104953100000006, study->ejb/Study:2635]
2014-02-04 14:11:43,636 INFO  AN_CT44253->REVOLUTION (TCPServer-1-1) [org.dcm4chex.archive.ejb.entity.InstanceBean] Created Instance[pk=10212, iuid=1.3.12.2.1107.5.1.4.44253.30000014020405060426500001253, cuid=1.2.840.10008.5.1.4.1.1.2, series->ejb/Series:4714]
2014-02-04 14:11:43,636 INFO  AN_CT44253->REVOLUTION (TCPServer-1-1) [org.dcm4chex.archive.ejb.entity.FileBean] Created File[pk=10403, filepath=2014/2/4/14/02C82A38/E2CB19E6/62DE8817, tsuid=1.2.840.10008.1.2, filesystem->ejb/FileSystem:1, inst->ejb/Instance:10212]
2014-02-04 14:11:43,651 INFO  AN_CT44253->REVOLUTION (TCPServer-1-1) [org.dcm4chex.archive.ejb.session.StorageBean] inserted records for instance[uid=1.3.12.2.1107.5.1.4.44253.30000014020405060426500001253]
2014-02-04 14:11:43,667 INFO  AN_CT44253->REVOLUTION (TCPServer-1-1) [org.dcm4cheri.net.FsmImpl] sending [pc-3] 451:C_STORE_RSP
class: 1.2.840.10008.5.1.4.1.1.2/CT Image Storage
inst: 1.3.12.2.1107.5.1.4.44253.30000014020405060426500001253/?
status: 0
2014-02-04 14:11:43,682 INFO  AN_CT44253->REVOLUTION (TCPServer-1-1) [org.dcm4cheri.net.FsmImpl] received [pc-3] 452:C_STORE_RQ with Dataset
class: 1.2.840.10008.5.1.4.1.1.2/CT Image Storage
inst: 1.3.12.2.1107.5.1.4.44253.30000014020405060426500001257/?
2014-02-04 14:11:43,698 INFO  AN_CT44253->REVOLUTION (TCPServer-1-1) [org.dcm4chex.archive.dcm.storescp.StoreScpService] M-WRITE file:E:\Revolution-1\2.17.3-mssql\server\default\archive\2014\2\4\14\02C82A38\62DE881A\62DE881B
2014-02-04 14:11:43,823 INFO  AN_CT44253->REVOLUTION (TCPServer-1-1) [org.dcm4chex.archive.ejb.session.StorageBean] inserting instance FileMetaInfo[uid=1.3.12.2.1107.5.1.4.44253.30000014020405060426500001257
class=1.2.840.10008.5.1.4.1.1.2/CT Image Storage
ts=1.2.840.10008.1.2/Implicit VR Little Endian
impl=1.2.40.0.13.1.1.1-dcm4che-1.4.33]
2014-02-04 14:11:43,823 WARN  AN_CT44253->REVOLUTION (TCPServer-1-1) [org.dcm4chex.archive.ejb.session.StorageBean] Series 1.3.12.2.1107.5.1.4.44253.30000014020405060426500001256 not found with cached pk! Cache entry removed!

why it always happen with a new study from CT ? but from CR no problem. Please help me, Thanks

Rgds,
Sofyan

fleetwoodfc

unread,
Feb 4, 2014, 5:57:43 AM2/4/14
to dcm...@googlegroups.com
I had a similar case that was caused by a non unique instance UID on the CT Localizer image.

Sofyan Afandi

unread,
Feb 4, 2014, 7:45:47 AM2/4/14
to dcm...@googlegroups.com
Oowh i see, so i must to fill in unique UID manually or coerce with xsl ? How do you solve it? Tks fleetwood

fleetwoodfc

unread,
Feb 4, 2014, 8:30:59 AM2/4/14
to dcm...@googlegroups.com
I would verify that this is the problem is first.
I would say it is the responsibility of the acquisition modality to assign a unique ID.

Sofyan Afandi

unread,
Feb 4, 2014, 11:53:46 AM2/4/14
to dcm...@googlegroups.com
Yes, there is no UID like CR on web console, but i don't know why CT doesn't assign UID and i have no knowledge on this modality. Is there another way ?

Eduardo Bubols

unread,
Jan 31, 2019, 8:23:28 AM1/31/19
to dcm4che
====== PORTUGUÊS BR =======
Olá Sofyan,
Eu estava com exatamente o mesmo problema e realmente a coerção ocorria porque havia um StudyInstanceUID e StudyID único para exames diferentes.
Vi que as soluções corretas são um segredo por aqui, porém irei postar o que EU fiz para corrigir. Não sei se é o jeito correto mas aí vai:

No meu caso havia uma imagem apenas com falha.
1) Exclui o study/série/instance errado no DCM4CHEE;
2) Certifiquei que os itens que ficaram eram realmente daquele paciente;
3) Localizei o arquivo DICOM correspondente e copiei do storage para o meu PC;
4) Editei-o com o Quick DICOM bath editor (https://sourceforge.net/projects/dicomeditorbybenp/).
5) Alterei StudyInstanceUID e StudyID (incrementei o último digito) e certifiquei que eles já não exisitam em outro exame.
6) Confirmei que as demais TAGs eram realmente daquele exame/paciente
7) Reenviei o arquivo DICOM editado para o DCM4CHEE usando dcmsnd.

Existem alguns geradores de UID na web, mas não tinha tempo disponível para implementar e testar. Esta foi a saída pra mim.

======== ENGLISH (tranlated by Google) ======
Hello Sofyan,
I was having exactly the same problem and was caused by a non unique StudyInstanceUID and StudyID.
I have noticed that the right solutions are a secret here, however I'll post what I did to resolve. I don't know if it's the right way, but there it goes:

In my case there was only one study with a single serie/instance that failed.
1) Exclude the wrong study / series / instance in DCM4CHEE;
2) I made sure that the items that were left were really that patient;
3) I located the corresponding DICOM file and copied it from the storage to my PC;
4) I edited it with the Quick DICOM bath editor (https://sourceforge.net/projects/dicomeditorbybenp/);
5) I changed StudyInstanceUID and StudyID (I incremented the last digit) and made sure they no longer exist in another study;
6) I confirmed that the other DICOM TAGs were really from that study/patient;
7) I resubmitted the edited DICOM file to DCM4CHEE using dcmsnd.jar

There are some UID generators on the web, but I did not have the time available to implement and test. This was the way out for me.
Reply all
Reply to author
Forward
0 new messages