Worklist and MPPS scu from python does not clean pending.

199 views
Skip to first unread message

Cesar Matias Martinez Lopez

unread,
Sep 14, 2022, 4:05:38 PM9/14/22
to dcm4che
Hi, we are wanting to implement dcm4chee to manage the work lists, but our Computerized Radiography (CR) team does not have MPPS, so I decided to use a library made in python Pynetdicom which will send the MPPS states to dcm4chee (In process and Completed), but the work list is not cleared, it is still pending.
vmwl.PNGmpps.PNG
I found a modal emulator, which when sending the mpps in the In process state, clears the work list, and I would like to understand why the python that sends the mpps cannot do it.
emulartormpps.PNGworklistvacio.PNGmppsss.PNG
I am attaching the python file that will send the mpps to the worklist server. I found the example of sending mpps in this link https://pydicom.github.io/pynetdicom/stable/examples/mpps.html
Any help is welcome. Thank you in advance.
mpps_scu.py

Adriel Gomes Costa

unread,
Sep 26, 2022, 5:12:54 PM9/26/22
to dcm4che
você não precisa usar o pynetdicom. Use apenas o REST do DCM4CHEE, na modalidade MWL.

Cesar Matias Martinez Lopez

unread,
Sep 27, 2022, 8:28:32 AM9/27/22
to dcm4che
Bom dia, um prazer, muito obrigado por responder.
Você poderia me orientar como fazê-lo, ou se você pode fornecer um link para ler? Tente fazer com Hl7, eu gero o pedido depois mando atualizar e ele gera outro.
MSH|^~\&|HIS|DCM4CHEE|RIS|DCM4CHEE|||OMI^O23^OMI_O23|MSG00001|P|2.5.1
PID|||33||PEREZ^JUAN||19951210|M
PV1||U||||||7^GONZALEZ^CARLOS|||||||||||333
ORC|NW|333|333||SC
OBR||333||||||||||||||317^LOPEZ^FREDDY
IPC|||||CR||||

1.PNG
uma vez criado, enviou a mensagem para atualizar e gerou outra, por esse motivo, fui obrigado a procurar outras alternativas, foi aí que encontrei pynetdicom
MSH|^~\&|HIS|DCM4CHEE|RIS|DCM4CHEE|||OMI^O23^OMI_O23|MSG00001|P|2.5.1
PID|||33||PEREZ^JUAN||19951210|M
PV1||U||||||7^GONZALEZ^CARLOS|||||||||||333
ORC|XO|333|333||SC
OBR||333||||||||||||||317^LOPEZ^FREDDY
IPC|||||CR||||

1.PNG
como pode ser visto não, não há registro em mpps, referente a esta ordem
1.PNG
Desde já muito obrigado pelo seu tempo.

ThaiRIS Software

unread,
Sep 28, 2022, 1:25:42 AM9/28/22
to dcm...@googlegroups.com
My system working fine with this messages:
MSH|^~\&|RIS|THAIRIS|PACS|DCM4CHEE|20220928072222||ORM^O01|20220928072222|D|2.3.1|
PID||T001|T001||TESTNAME^TESTLASTNAME^||20220901|M|
PV1|1|A||||||^^^|||||||||^^^^^|||||||||||||||||||||||||||20220928072222|
ORC|SC|01|01||CM||||20220928072222|||^^^^^|||20220928072222|||||
OBR|1|01||50002^ABDOMEN (SUPINE, UPRIGHT)|50002^ABDOMEN (SUPINE, UPRIGHT)|20220928072222|20220928072222|||||||||||01|||||||F|||||||||||20220928072222||||||
ZDS|1.2.4.0.13.1.432252867.1552647.1202209280722063988936555^100^Application^DICOM

You need send dicom UID with ORM message to dcm4chee

ในวันที่ อ. 27 ก.ย. 2022 เวลา 19:28 Cesar Matias Martinez Lopez <cmatiasm...@gmail.com> เขียนว่า:
--
You received this message because you are subscribed to the Google Groups "dcm4che" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dcm4che+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dcm4che/3f02f348-b0d1-454f-8163-545829318bc4n%40googlegroups.com.

Cesar Matias Martinez Lopez

unread,
Sep 30, 2022, 11:48:58 AM9/30/22
to dcm4che
Thank you very much for your answer, I will try.
Reply all
Reply to author
Forward
0 new messages