How to load volume from DICOM database in slicer by patient name by py script?

在我的DICOM database中, 有30多病人, 我想通过patient Name导入dcm,我该怎么做呢?
另外, 我还想对做过的病人在DICOM database中做个标记比如[v]/等, 能实现吗?

In my DICOM database, there are more than 30 patients, I want to load dcm by patient Name, how can I do it?
In addition, I also want to mark the patients who have done it in the DICOM database, such as or etc. Can this be achieved?