Sending hl7 file to DCM with command line tool

127 views
Skip to first unread message

Antoine Adam

unread,
Dec 11, 2023, 7:45:04 AM12/11/23
to dcm4che
Hi,

can you help me for sending directly hl7 file to my DCM instance with batch script ?
Is it possible from any OS system ?
Or is an external application mandatory ?

thank you.
Antoine

fleetwoodfc

unread,
Dec 11, 2023, 11:44:36 AM12/11/23
to dcm4che
You can use the dcm4che hl7snd tool.

Antoine Adam

unread,
Dec 11, 2023, 11:55:46 AM12/11/23
to dcm4che
Thank you.
Sorry for the stupid question. I've looked at the git repo.
Is it something I have to install ? Or native linux commands ?

fleetwoodfc

unread,
Dec 11, 2023, 1:08:09 PM12/11/23
to dcm4che
Download here - has scripts to run the java apps on Windows or Linux (and MAC)

fleetwoodfc

unread,
Dec 11, 2023, 1:33:10 PM12/11/23
to dcm4che
P.S. There is also a dcm4che-tools docker image available. e.g to send one of the provided  test HL7 files to dcm4chee (running on <DCM4CHEE-HOSTNAME>) the command would be:
docker run --rm dcm4che/dcm4che-tools hl7snd -c<DCM4CHEE-HOSTNAME>:2575 /opt/dcm4che/etc/testdata/hl7/ORM^O01-GeneralOrder.hl7

Antoine Adam

unread,
Dec 11, 2023, 1:39:51 PM12/11/23
to dcm4che
Sorry not sure i understand. I can run the scripts from y mac if I install weasis the dicom viewer ?

fleetwoodfc

unread,
Dec 11, 2023, 4:05:03 PM12/11/23
to dcm4che
The dcm4che-5.31.1-bin.zip or dcm4che-5.31.1-bin.tar.gz files contains the tools
Reply all
Reply to author
Forward
0 new messages