dbdicom.patients#

dbdicom.patients(path, name: str | None = None, contains: str | None = None, isin: list | None = None) list[source]#

Return a list of patients in the DICOM folder.

Parameters:
  • path (str) – path to the DICOM folder

  • name (str, optional) – value of PatientName, to search for individuals with a given name. Defaults to None.

  • contains (str, optional) – substring of PatientName, to search for individuals based on part of their name. Defaults to None.

  • isin (list, optional) – List of PatientName values, to search for patients whose name is in the list. Defaults to None.

Returns:

list of patients fulfilling the criteria.

Return type:

list