Support for RDSR format from Ziehm Vision RFD 3D C-Arm

Issue #499 resolved
Tim de Wit
created an issue

Modality supports RDSR, but on import I get the following error:

Traceback (most recent call last):
  File "/usr/local/bin/", line 23, in <module>
  File "/usr/local/lib/python2.7/dist-packages/celery/", line 191, in __call__
    return self._get_current_object()(*a, **kw)
  File "/usr/local/lib/python2.7/dist-packages/celery/app/", line 379, in __call__
    return*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/openrem/remapp/extractors/", line 996, in rdsr
  File "/usr/local/lib/python2.7/dist-packages/openrem/remapp/extractors/", line 946, in _rsdr2db
    _generalstudymoduleattributes(dataset, g, ch)
  File "/usr/local/lib/python2.7/dist-packages/openrem/remapp/extractors/", line 907, in _generalstudymoduleattributes
    if dataset.ContentTemplateSequence[0].TemplateIdentifier == '10001':
  File "/usr/local/lib/python2.7/dist-packages/dicom/", line 256, in __getattr__
AttributeError: Dataset does not have attribute 'ContentTemplateSequence'.

Modality details:

Comments (9)

  1. Luuk


    The DICOM object doesn't contain any dose information. Was the procedure aborted? A dump with dsrdump (offis) only reveals the following information in the (invalid) object:

    dsrdump -Ec -Ee Ziehm_vision_rfd_3d_c-arm_RDSR.dcm
    W: PersonName (0040,a123) empty in content item (type 1)
    W: Reading invalid/incomplete content item PNAME "1.5"
    X-Ray Radiation Dose SR Document
    Patient             : XXXTEST^K^^ (M, 20100101, #nnnnnn)
    Referring Physician : nnnnnnn^xx^^
    Study               : DL POLS LI (#nnnnnnnn)
    Manufacturer        : Ziehm Imaging (Ziehm Vision RFD, #xxxxx)
    Completion Flag     : PARTIAL
    Verification Flag   : UNVERIFIED
    Content Date/Time   : yyyymmdd hhmmss
    <CONTAINER:(,,"X-Ray Radiation Dose Report")=SEPARATE>
      <has concept mod CODE:(,,"Procedure reported")=(113704,DCM,"Projection X-Ray")>
        <has concept mod CODE:(,,"Has Intent")=(R-408C3,SRT,"Diagnostic Intent")>
      <contains TEXT:(,,"Comment")="Dose Protocol">
      <contains CODE:(,,"Source of Dose Information")=(113858,DCM,"MPPS Content")>
      <has obs context CODE:(,,"Observer Type")=(121007,DCM,"Person")>
      <has obs context PNAME:(,,"Person Observer Name")="">

    A dcmdump (tag level information) confirms that it only contains the above information. I think the code should be changed to recover from the error, but an import will be impossible.

  2. Log in to comment