From 033de3d20e306f1a5108c65496b702385e803e72 Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 7 Apr 2022 23:45:30 +0100 Subject: [PATCH] . --- generic/management/commands/checkdicoms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generic/management/commands/checkdicoms.py b/generic/management/commands/checkdicoms.py index f35219ef..d50df6b7 100644 --- a/generic/management/commands/checkdicoms.py +++ b/generic/management/commands/checkdicoms.py @@ -37,7 +37,7 @@ class Command(BaseCommand): for code in site_codes: # TODO rewrite try: - if code in ds.PatientId: + if code in ds.PatientID: self.stdout.write(self.style.WARNING(f"Identifiable dicom {file}")) except AttributeError: pass