Fixed dicom2fhir python library, changes to components, examples.
This is an application to ingest dicom medical images images using dimse operations and convert the studies to FHIR resources from InterSystems IRIS Embedded Python and send them to the FHIR Accelerator Service.
$ git clone https://gitlab.com/d6202/iris-dicom-fhir.git
Update Dockerfile with FHIR API Key and FHIR Endpoint.
Open a Docker terminal in this directory and run:
$ docker-compose build
$ docker-compose up -d
By default, the solution has a DICOM Service Class Provider (SCP) listening on port 5000, with an AETITLE of "DIMSE". The solution has contexts and an association prepared to allow a calling AETITLE of "MESCU".
Using any SCU software, such as the below dcmtk binary, you can send an image in using the following:
(base) sween @ dimsecloud-pop-os ~/Desktop └─ $ ▶ /usr/bin/storescu -v -aet "MESCU" -aec "DIMSE" localhost 5000 CT_Anno.dcm I: checking input files ... I: Requesting Association I: Association Accepted (Max Send PDV: 16372) I: Sending file: /home/sween/Desktop/DICOM/CT/CT_Anno.dcm I: Converting transfer syntax: Little Endian Implicit -> Little Endian Implicit I: Sending Store Request (MsgID 1, CT) XMIT: ................................. I: Received Store Response (Success) I: Releasing Association
Then, inspect your FHIR repository by doing a GET against the /ImagingStudy resource and your message trace in IRIS.
This service is an example derived and launched on DIMSE Cloud.
Fixes to FHIR module, some changes to component names