# How to get Get Patient Details

**URL:** <https://discourse.slicer.org/t/how-to-get-get-patient-details/13395>\
**Category:** Support\
**Created:** [September 9, 2020, 4:49am UTC](https://discourse.slicer.org/t/how-to-get-get-patient-details/13395 "2020-09-09T04:49:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [September 9, 2020, 5:02am UTC](https://discourse.slicer.org/t/how-to-get-get-patient-details/13395/2 "2020-09-09T05:02:47Z")

</div>

The [Slicer script repository](https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository) includes many python scripting examples of common Slicer actions including manipulating DICOM database details.

This thread details some of that

> [@How to read the value of certain attribute (tag) in DICOM Metadata" from "Python Interactor"](https://discourse.slicer.org/t/how-to-read-the-value-of-certain-attribute-tag-in-dicom-metadata-from-python-interactor/7184/3):
>
> Hi Steve Thanks a lot for sending to me the link to ScriptRepository. I can access to tags such as (0020,0010) to (300a,000c), but unfortunately I can not read tags that are located in item, such as (300a,012c), highlighted in the following figure. The following figure is screenshot of DICOM File Browser and the tag that I want to access its value (300a,012c). [Screenshot%20from%202019-06-17%2011-58-27] I enter the following commands: \>\>\> patientList=db.patients() \>\>\> studyList=db.studie…

---

_[View the full topic](https://discourse.slicer.org/t/how-to-get-get-patient-details/13395)._
