Cancel study using HL7 message

27 views
Skip to first unread message

Jose Luis Campos Bautista

unread,
Jun 11, 2025, 10:39:24 AMJun 11
to dcm4che

Hi everyone, I hope you're doing well.

I have a question regarding HL7 messages in DCM4CHEE. I'm currently able to create a study using an HL7 ORM^O01 message, and it appears in the system with the status SCHEDULED, which works fine.

However, when I try to cancel the same study using another ORM^O01 message with the ORC segment set to CA, instead of updating the existing study's status to CANCELED, it seems to create a new entry in the worklist with the CANCELED status.

Here is the HL7 message I used to schedule the study:

MSH|^~\&|Santa|DCM4CHEE|DCM4CHEE|20220303120000||ORM^O01|5cd29226-df3a-4bd1-9a60-2d4a959cf37b|P|2.5|||
PID|1||123456789023||B D||20250608|M|||Soto^H^Calle B Número 230^42000^Mexico||1234567890|||H|||||||||||||||||||||||||
PV1|1|I||||Eva Bautista Hernandez|||||||||||20250609||||||||||||||||||||||||||||||||||||||||||
ORC|NW|ACC-20250609164646|ACC-20250609164646||SC|||||20250609
OBR|1|ACC-20250609164646||Radiografía de tórax estándar^CR - Radiografía Computarizada||||20250609|||||||||||||||CR|||||||||
IPC|ACC-20250609164646||||CR||||DCM4CHEE

And this is the message I used to cancel it:

MSH|^~\&|Santa|DCM4CHEE|DCM4CHEE|20220303120000||ORM^O01|17b493d7-22b0-48a0-ab93-2586d15ac209|P|2.5|||
PID|1||123456789023||B D||20250608|M|||Soto^H^Calle B Número 230^42000^Mexico||1234567890|||H|||||||||||||||||||||||||
PV1|1|I||||Eva Bautista Hernandez|||||||||||20250609||||||||||||||||||||||||||||||||||||||||||
ORC|CA|ACC-20250609164646|ACC-20250609164646||CA|||||20250609
OBR|1|ACC-20250609164646||Radiografía de tórax estándar^CR - Radiografía Computarizada||||20250609|||||||||||||||CR|||||||||
IPC|ACC-20250609164646||||CR||||DCM4CHEE

What am I missing?
Is there a required configuration in DCM4CHEE to update the status of an existing scheduled order instead of creating a new one?

Thank you very much in advance for your support!

fleetwoodfc

unread,
Jun 16, 2025, 9:33:33 AMJun 16
to dcm4che
You need to provide Requested Procedure id and Scheduled Procedure id in the IPC segment
Screenshot 2025-06-16 at 9.28.34 AM.png

Vrinda Nayak

unread,
Jun 27, 2025, 6:49:37 AM (11 days ago) Jun 27
to dcm4che
Two MWLs are created because the HL7 order message does not contain Requested Procedure ID / Study Instance UID & Scheduled Procedure Step ID and the default value of HL7 Order Missing Study Instance UID Policy is set to GENERATE. See unique constraint for MWL record.
mwl-unique-constraint.png
Reply all
Reply to author
Forward
0 new messages