Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def processDicomField(self, dcm_info, field):
value = "no value provided"
if field in dcm_info:
value = pypx.utils.sanitize(dcm_info.data_element(field).value)
return value