# DICOM patient name not showing in database module

**URL:** https://discourse.slicer.org/t/dicom-patient-name-not-showing-in-database-module/34368
**Category:** Support
**Tags:** dicom
**Created:** [February 16, 2024, 4:49pm UTC](https://discourse.slicer.org/t/dicom-patient-name-not-showing-in-database-module/34368 "2024-02-16T16:49:46Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![Michael\_Allen](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/michael_allen/32/66371_2.png) [@Michael\_Allen](https://discourse.slicer.org/u/Michael_Allen)
#### Post date: [February 16, 2024, 4:49pm UTC](https://discourse.slicer.org/t/dicom-patient-name-not-showing-in-database-module/34368/1 "2024-02-16T16:49:46Z")

</div>

Hello, at some point in recent updates the patient name field in the dicom browser has stopped displaying the name. If I right click and view metadata, the name is still there. If I search for the name in the browser, slicer shows me the patient scans, but no name is present in the column. The other fields, ID, DOB, sex still populate fine. Any ideas what’s going on here?

Using 5.6.1 but it wasn’t working with 5.5 either.  
MacOS 12.7

---

<div class="post-metadata">

### Author: ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)
#### Post date: [February 16, 2024, 4:51pm UTC](https://discourse.slicer.org/t/dicom-patient-name-not-showing-in-database-module/34368/2 "2024-02-16T16:51:36Z")

</div>

Can you reproduce this with public data or share data for which this happens?

---

<div class="post-metadata">

### Author: ![Michael\_Allen](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/michael_allen/32/66371_2.png) [@Michael\_Allen](https://discourse.slicer.org/u/Michael_Allen)
#### Post date: [February 17, 2024, 4:12am UTC](https://discourse.slicer.org/t/dicom-patient-name-not-showing-in-database-module/34368/3 "2024-02-17T04:12:07Z")

</div>

I don’t know of any public downloads that have Name metadata, if you have a link to any I would check it out. I’d prefer not to share any of my patient data.

---

<div class="post-metadata">

### Author: ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)
#### Post date: [February 17, 2024, 3:07pm UTC](https://discourse.slicer.org/t/dicom-patient-name-not-showing-in-database-module/34368/4 "2024-02-17T15:07:58Z")

</div>

There’s a lot of freely available dicom data with (anonymized) name strings. For example here: [https://portal.imaging.datacommons.cancer.gov/](https://portal.imaging.datacommons.cancer.gov/), but at many other sites too.

---

<div class="post-metadata">

### Author: ![Michael\_Allen](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/michael_allen/32/66371_2.png) [@Michael\_Allen](https://discourse.slicer.org/u/Michael_Allen)
#### Post date: [February 17, 2024, 11:53pm UTC](https://discourse.slicer.org/t/dicom-patient-name-not-showing-in-database-module/34368/5 "2024-02-17T23:53:28Z")

</div>

Yep, sure enough loading a public dataset loads the name. All my data loads up fine in Horos, displaying the patient name. I deleted an existing older patient dataset, whose name was displayed fine, and re added it. The name no longer appears in the field.

I don’t think it’s a problem with the data, it’s the Slicer DICOM browser not displaying it. If I load a CT series, in the loaded data window it displays the patient name just fine.

---

<div class="post-metadata">

### Author: ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)
#### Post date: [February 18, 2024, 3:55pm UTC](https://discourse.slicer.org/t/dicom-patient-name-not-showing-in-database-module/34368/6 "2024-02-18T15:55:58Z")

</div>

If you think it’s not something specific to your data, can you describe the sequence of steps that leads to the name being missing? If I understand correctly you say the name was there, but then it’s missing if you delete and re-add the same data?

There is some logic to map dicom header values to display names and maybe it gets out of sync with this operation.

---

<div class="post-metadata">

### Author: ![Michael\_Allen](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/michael_allen/32/66371_2.png) [@Michael\_Allen](https://discourse.slicer.org/u/Michael_Allen)
#### Post date: [February 18, 2024, 10:19pm UTC](https://discourse.slicer.org/t/dicom-patient-name-not-showing-in-database-module/34368/7 "2024-02-18T22:19:16Z")

</div>

Hi Steve, thank you for your help on this.

Previously, what I would do is just add (or drag a folder) a patient CT DICOM, and it would display Name, ID, birth date, sex as expected. Some time this fall, I updated to 5.5 and then 5.6, and since then when I load new patient data in the same way, the patient name column is empty. The previously added patients still display the name properly. I deleted one of these properly displayed patients, then re-added it and the name column is now blank.

I can right click and read the metadata and the name is there in field 0010,0010. I can search the name in the browser search bar, and the correct patient shows up though the name column is blank. Slicer is reading the name, it’s just not showing it in the browser patient column.

---

<div class="post-metadata">

### Author: ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)
#### Post date: [February 19, 2024, 2:45pm UTC](https://discourse.slicer.org/t/dicom-patient-name-not-showing-in-database-module/34368/8 "2024-02-19T14:45:05Z")

</div>

Okay, thanks. Maybe you can help us narrow down what is happening and whether it’s something to do with the change of versions or whether it’s inherent with 5.6.1 and/or if certain dicom files trigger it or not.

What I tried is this:

- Launch 5.6.1
- Set the dicom database directory to a newly created folder
- drag and drop a dicom directory (patient name appears and data loads)
- Delete patient from database
- drag and drop directory again (patient name appears and data still loads).

Are you able to replicate this? How is your scenario different?

---

<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: [February 19, 2024, 4:32pm UTC](https://discourse.slicer.org/t/dicom-patient-name-not-showing-in-database-module/34368/9 "2024-02-19T16:32:03Z")

</div>

Seems reminiscent of a previous reported issue where the user deleted all files associated with the Slicer dicom database and re-created it.

> [@Problems in version 5.6.0](https://discourse.slicer.org/t/problems-in-version-5-6-0/33228/13):
>
> I resolved that problem when I deleted all the files (ctkDICOMTagCache.sql, ctkDICOM.sql) in dicom database. Maybe some old files in dicom database were not deleted when I uninstall the slicer. Sorry to bother you and thanks for your answer!

Does the patient name have any non-ASCII characters (non-English special characters)?

---

<div class="post-metadata">

### Author: ![Michael\_Allen](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/michael_allen/32/66371_2.png) [@Michael\_Allen](https://discourse.slicer.org/u/Michael_Allen)
#### Post date: [February 19, 2024, 10:26pm UTC](https://discourse.slicer.org/t/dicom-patient-name-not-showing-in-database-module/34368/10 "2024-02-19T22:26:07Z")

</div>

OK i deleted all the patients, changed the database folder, and then re added all the patients. They are now showing up with the name. In the browser the last, first name is separated by a comma. Looking at the metadata name tag they are separated by a ^. It seems somehow during the update there was an issue with the database, and deleting and changing to a new database seems to have solved the problem. I did not need to delete any of the files like in the link posted above.

---

<div class="post-metadata">

### Author: ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)
#### Post date: [February 19, 2024, 10:37pm UTC](https://discourse.slicer.org/t/dicom-patient-name-not-showing-in-database-module/34368/11 "2024-02-19T22:37:07Z")

</div>

Thanks for reporting and investigating. We are always trying to improve things and sometimes there can be some hiccups along the way.

---

<div class="post-metadata">

### Author: ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)
#### Post date: [February 20, 2024, 9:45am UTC](https://discourse.slicer.org/t/dicom-patient-name-not-showing-in-database-module/34368/12 "2024-02-20T09:45:53Z")

</div>

Just for the record, the name is displayed with a comma instead of the DICOM-style ^ because we have special display fields and “rules” that generate these fields, so that the raw DICOM information is more human readable. It is almost impossible to debug this on a non-developer computer (meaning no access to CTK debug build), but I’m glad that using a brand new database solved the issue. There has been a version increment recently in the DICOM database schema, maybe there was an issue with the update process.

---

<div class="post-metadata">

### Author: ![mvergnat](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@mvergnat](https://discourse.slicer.org/u/mvergnat)
#### Post date: [January 29, 2025, 10:13am UTC](https://discourse.slicer.org/t/dicom-patient-name-not-showing-in-database-module/34368/13 "2025-01-29T10:13:43Z")

</div>

Dear 3d slicer colleagues,

Unfortunately, I encounter the same problem as Michael Allen, at the beginning of the post:

patient name field in the dicom browser has stopped displaying the name.

It was good working with 5.6.2

then

I did Slicer version Update,

Now using 5.8.0 r33216 / d20ee94

PC windows 10

The Slicer asked me to update DICOM database, I did it,

And now, no name anymore.

Of course (same problem), the names are in the system (for example, **If I right click and view metadata, the name is still there** ), BUT they are not displayed in the Field:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/4/b/4bb9d393671e8d8bb595c72740d04feeee881029.png)

I have 40 dicoms here, reload everything will be bad.

EVEN, I uploaded a new DICOM, and it has also no name displayed, so reload does not solve problem.

I did not find the answer to this problem in the posts.

Thx for help!!

cheers

---

<div class="post-metadata">

### Author: ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)
#### Post date: [January 29, 2025, 9:31pm UTC](https://discourse.slicer.org/t/dicom-patient-name-not-showing-in-database-module/34368/14 "2025-01-29T21:31:59Z")

</div>

Did you try deleting the tag cache, as described earlier in this thread?

---

<div class="post-metadata">

### Author: ![mvergnat](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@mvergnat](https://discourse.slicer.org/u/mvergnat)
#### Post date: [January 30, 2025, 9:06am UTC](https://discourse.slicer.org/t/dicom-patient-name-not-showing-in-database-module/34368/15 "2025-01-30T09:06:36Z")

</div>

Dear Steve,  
**MANY thx for your quick answer!!**  
So…  
I had to use my brain…it hurts…

I followed your instruction:  
" \* Launch 5.6.1 [_I used my 5.8.0 r33216 / d20ee94_]

- Set the dicom database directory to a newly created folder
- drag and drop a dicom directory  
-\>i_t worked_: patient name appears and data loads"  
when I come back on my initial dicom database, name still missing.

would you advice that I have to rebuild my entire 40 patients database and drag and drop all 40 patients again???  
if yes, it would be very painful ( **unless there is an easy way to reload it…but I need intruction like for a 4y old boy…I am pretty much incompetent** ).

as comment, when I switch to “show experiemntal database” display…  
all the name are here!!! but not with the classic display (frustration…!)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/d/2/d201378eb07445064d14b262417504d8eb6fac49.png)

MANY THX FOR HELP!!!  
mathieu

---

<div class="post-metadata">

### Author: ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)
#### Post date: [January 30, 2025, 9:19pm UTC](https://discourse.slicer.org/t/dicom-patient-name-not-showing-in-database-module/34368/16 "2025-01-30T21:19:14Z")

</div>

If all your dicom data is in subfolders of a single top folder you can just drag and drop the top level and slicer will import it all. Otherwise maybe you can multiselect and get all the dicom folders in a few steps.
