# tag undefined

**URL:** https://discourse.orthanc-server.org/t/tag-undefined/427
**Category:** Google Groups archive
**Created:** [May 20, 2016, 1:57am UTC](https://discourse.orthanc-server.org/t/tag-undefined/427 "2016-05-20T01:57:10Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Marcelo\_Ribeiro](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/m/bbce88/32.png) [@Marcelo\_Ribeiro](https://discourse.orthanc-server.org/u/Marcelo_Ribeiro)
#### Post date: [May 20, 2016, 1:57am UTC](https://discourse.orthanc-server.org/t/tag-undefined/427/1 "2016-05-20T01:57:10Z")

</div>

Hello gentlemen,

Sorry ignorance on the subject, I am studying about DICOM, the first problem that I see.

I imported some DCM files in Orthanc, but it is imported with PatientName = undefined

My procedure was to compare the tags between DCM files, what I see is that the tag “patientName” does not really exist in this case is a configuration problem in the sport? What is the correct procedure to fix this problem?

Thank you all.

Marcelo

---

<div class="post-metadata">

### Author: ![jodogne](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/jodogne/32/1511_2.png) [@jodogne](https://discourse.orthanc-server.org/u/jodogne)
#### Post date: [May 21, 2016, 8:27am UTC](https://discourse.orthanc-server.org/t/tag-undefined/427/2 "2016-05-21T08:27:09Z")

</div>

Hello,

The “Patient Name” tag (0x0010,0x0010) should be added by your acquisition device.

Please get in touch with the commercial support of your device to ask them why the “Patient Name” is empty in the DICOM files they generate.

HTH,  
Sébastien-

---

<div class="post-metadata">

### Author: ![Marcelo\_Ribeiro](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/m/bbce88/32.png) [@Marcelo\_Ribeiro](https://discourse.orthanc-server.org/u/Marcelo_Ribeiro)
#### Post date: [May 24, 2016, 3:44am UTC](https://discourse.orthanc-server.org/t/tag-undefined/427/3 "2016-05-24T03:44:04Z")

</div>

Hello Sebastien,

Thank you for your support! But is there any way to fix my side? Imagine that the vendor says that his side’s OK, prove it or fix me?

Just as an example, imagine that the “Patient Name” come in another tag and I want to create a setting to move the wrong tag to tag (0x0010,0x0010), is this possible?

Thanks!  
Marcelo

---

<div class="post-metadata">

### Author: ![Robert\_van\_Ommen](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/r/d26b3c/32.png) [@Robert\_van\_Ommen](https://discourse.orthanc-server.org/u/Robert_van_Ommen)
#### Post date: [May 24, 2016, 6:40am UTC](https://discourse.orthanc-server.org/t/tag-undefined/427/4 "2016-05-24T06:40:24Z")

</div>

Hello,

if you look at the dicomtags can you find another tag with the patientname in it?  
if so you can get an idea of how to change dicomtags in Orthanc here:  
[https://bitbucket.org/sjodogne/orthanc/src/4d099fee5eca/Resources/Samples/Lua/?at=default](https://bitbucket.org/sjodogne/orthanc/src/4d099fee5eca/Resources/Samples/Lua/?at=default)  
look at modifyinstancewithsequence.lua and autoroutingmodification.lua

Regards,  
Robert

---

<div class="post-metadata">

### Author: ![jodogne](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/jodogne/32/1511_2.png) [@jodogne](https://discourse.orthanc-server.org/u/jodogne)
#### Post date: [May 24, 2016, 7:01am UTC](https://discourse.orthanc-server.org/t/tag-undefined/427/5 "2016-05-24T07:01:33Z")

</div>

In complement to Robert’s answer, read the following link:  
[https://orthanc.chu.ulg.ac.be/book/users/anonymization.html](https://orthanc.chu.ulg.ac.be/book/users/anonymization.html)
