module pydicom.uid has no attribute [SOP Class]

27 views
Skip to first unread message

Kyle Burke

unread,
Oct 11, 2023, 11:24:36 AM10/11/23
to pydicom
I am attempting to get SOP Class UIDs from pydicom.uid like so:

getattr(pydicom.uid, 'ModalityPerformedProcedureStep')

For the below list, I get this error:
module pydicom.uid has no attribute ModalityPerformedProcedureStep

[
'UltrasoundMultiFrameImageStorageRetired',
'NuclearMedicineImageStorageRetired',
'UltrasoundImageStorageRetired',
'StandaloneOverlayStorage',
'StandaloneCurveStorage',
'WaveformStorageTrial',
'XRayAngiographicBiPlaneImageStorage',
'ModalityPerformedProcedureStep',
'StorageCommitmentPushModel'
]

Anything special about these?  I can see them listed in UID_dictionary.  Maybe there is a better way to get the UID by SOP Class name?
Reply all
Reply to author
Forward
0 new messages