Measurements in Dicom file

Please i m new in orthanc. i would like to know befor installing my system if the Dicom file sent to orthenc server contains all measurements with the image ( like in echo_doppler ) . thanks

Hello,

If I understand correctly, you want to perform some checks once an ultrasound series has been received by Orthanc ?

First of all, if the instances are accepted by Orthanc, it already means that the DICOM files are valid and that you can rely on the basic tags being present.

Then, you need to decide which tags you should check based on your use case.

For performance reasons, you might want to check tags at the series level, not instance level though :

  • You need to register Python callback when a new series is received.
def OnChange(changeType, level, resourceId):
    if changeType == orthanc.ChangeType.STABLE_SERIES:
        print('Stable series: %s' % resourceId)
         tags = json.load(orthanc.RestApiGet('/series/%s/shared-tags' % resourceId)
        # make checks on `tags` values

orthanc.RegisterOnChangeCallback(OnChange)

Before doing that in Python, you might want to use curl to test the request with something like:

curl -X GET http://localhost:8042/series/24a4b7a5-9200f24e-5f18cdc7-af16562f-0fbb15a2/shared-tags

to get a feel for what it returns.

Then you need to decide what you want to do if the file check is unsuccessful: do you wish to delete the instance? Send an e-mail to someone? With a Python script, you have many possibilities.

Regarding the checks themselves, here’s what ChatGPT has to say about the tags that we should expect in such a series.

This is purely informative and I don’t know at all if that’s correct.

Please ask for more info if what I have written is not very clear (or , perhaps, not very correct :smile: )

Hope this helps

–Benjamin

To verify that a DICOM file represents a proper echocardiography (echo) Doppler study, you should check a combination of modality, ultrasound-specific tags, and acquisition parameters. Here’s a detailed breakdown of what to look for:

Basic Identification Tags

These help confirm the imaging modality and general type of study.

Tag Name Purpose
0008,0060 Modality Should be "US" (Ultrasound)
0008,103E Series Description Often contains “Doppler”, “PW”, “CW”, or “Color Doppler”
0008,1030 Study Description May also include “Echo” or “Echocardiography”

Ultrasound-Specific Tags

These distinguish different ultrasound modes like B-mode, M-mode, and Doppler.

Tag Name Notes
0018,6012 Transducer Type Optional but may say “Cardiac” or similar
0018,6014 Transducer Frequency May help identify cardiac probe
0018,6016 Doppler Sample Volume X Position Indicates PW/CW Doppler
0018,6031 Color Flow Map Present in color Doppler studies
0018,6018 Sample Volume Depth Important in PW Doppler

Image Type & Frame Details

These can help detect if it’s a Doppler sequence (especially for spectral Doppler or color Doppler cine loops).

Tag Name Purpose
0008,0008 Image Type Should include terms like DOPPLER, PW, CW, COLOR
0028,0008 Number of Frames If >1, usually a cine loop or Doppler trace
7FE0,0010 Pixel Data Analyze waveform traces if you’re parsing Doppler

Hello,

If you don’t provide a sample DICOM study generated by your modality, nobody will be able to answer you.

Also, your question is by no way specific to Orthanc: Ask such questions to the support team of your vendor, you pay them to help you.

Regards,
Sébastien-