zdavatz / gdt2dicom

Convert a gdt file and an image folder to a dicom file
GNU General Public License v3.0
0 stars 1 forks source link

Remove `(0008,0018)` before running `dump2dcm` #25

Closed zdavatz closed 1 year ago

zdavatz commented 1 year ago
  1. The tag (0008,0018) has to be removed before running dump2dcm.
  2. This is the bare minimum dump file
    (0008,0005) CS (no value available)                     #   0, 0 SpecificCharacterSet
    (0008,0050) SH (no value available)                     #   0, 0 AccessionNumber
    (0010,0010) PN [VIVALDI^ANTONIO]                        #  16, 1 PatientName
    (0010,0020) LO [AV35674]                                #   8, 1 PatientID
    (0010,0030) DA [16780304]                               #   8, 1 PatientBirthDate
    (0010,0040) CS [M]                                      #   2, 1 PatientSex
    (0010,2000) LO (no value available)                     #   0, 0 MedicalAlerts
    (0010,2110) LO (no value available)                     #   0, 0 Allergies
    (0020,000d) UI [1.2.276.0.7230010.3.2.101]              #  26, 1 StudyInstanceUID
    (0032,1032) PN (no value available)                     #   0, 0 RequestingPhysician
    (0032,1060) LO [holter]                                 #   6, 1 RequestedProcedureDescription
    (0040,0100) SQ (Sequence with explicit length #=1)      #  50, 1 ScheduledProcedureStepSequence
    (fffe,e000) na (Item with explicit length #=3)          #  42, 1 Item
    (0008,0060) CS [ECG]                                    #   4, 1 Modality
    (0040,0002) DA [20230530]                               #   8, 1 ScheduledProcedureStepStartDate
    (0040,0003) TM [085607]                                 #   6, 1 ScheduledProcedureStepStartTime
    (fffe,e00d) na (ItemDelimitationItem for re-encoding)   #   0, 0 ItemDelimitationItem
    (fffe,e0dd) na (SequenceDelimitationItem for re-encod.) #   0, 0 SequenceDelimitationItem
zdavatz commented 1 year ago

solved with: https://github.com/zdavatz/gdt2dicom/pull/26