pynetdicom.sop_class.uid_to_service_class

pynetdicom.sop_class.uid_to_service_class(uid)[source][source]

Return the ServiceClass object corresponding to uid.

Parameters:uid (pydicom.uid.UID) – The SOP or Service Class UID to use to find the corresponding Service Class.
Returns:The Service Class corresponding to the SOP Class UID.
Return type:service_class.ServiceClass
Raises:NotImplementedError – If the Service Class corresponding to the SOP Class uid hasn’t been implemented.