Skip to content

Commit

Permalink
Match patient search behavior by allowing blank StudyDate
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonwilliams committed Feb 1, 2019
1 parent 7935e5c commit 3b8f868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pacsman/filesystem_dev_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def search_series(self, query_dataset, additional_tags=None) -> List[Dataset]:
]
ds.PatientStudyInstanceUIDs = MultiValue(UID, [dataset.StudyInstanceUID])
ds.PacsmanPrivateIdentifier = PRIVATE_ID
ds.PatientMostRecentStudyDate = dataset.StudyDate
ds.PatientMostRecentStudyDate = getattr(dataset, 'StudyDate', '')
copy_dicom_attributes(ds, dataset, additional_tags)
result_datasets.append(ds)
return result_datasets
Expand Down

0 comments on commit 3b8f868

Please sign in to comment.