# How to custom dicom browser header?

**URL:** <https://discourse.slicer.org/t/how-to-custom-dicom-browser-header/30755>\
**Category:** Development\
**Created:** [July 24, 2023, 11:18am UTC](https://discourse.slicer.org/t/how-to-custom-dicom-browser-header/30755 "2023-07-24T11:18:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![icedream](https://avatars.discourse-cdn.com/v4/letter/i/48db29/32.png) [@icedream](https://discourse.slicer.org/u/icedream)\
**Post date:** [July 24, 2023, 11:18am UTC](https://discourse.slicer.org/t/how-to-custom-dicom-browser-header/30755/1 "2023-07-24T11:18:43Z")

</div>

![a84307c54e3b2aa40790080b26b72c9](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/4/74bfd730c7926803915f91f5b105767701d3804a.png)  
i want to remove sex header from patient table,how to do it through python or c++ or other method?  
I found dicom-schema.sql has config ,but when i changed the data , it’s not work

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [July 24, 2023, 3:56pm UTC](https://discourse.slicer.org/t/how-to-custom-dicom-browser-header/30755/2 "2023-07-24T15:56:15Z")

</div>

See examples for customizing columns displayed in the DICOM browser in the [script repository](https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#customize-table-columns-in-dicom-browser).

Note that the `Sex` field in you screenshot shows invalid value. The [allowed values for this allowed in DICOM](https://dicom.innolitics.com/ciods/general-ecg/patient/00100040) are `M`, `F`, `O`. Where does this DICOM data set comes from?

---

<div class="post-metadata">

**Author:** ![icedream](https://avatars.discourse-cdn.com/v4/letter/i/48db29/32.png) [@icedream](https://discourse.slicer.org/u/icedream)\
**Post date:** [July 25, 2023, 1:08am UTC](https://discourse.slicer.org/t/how-to-custom-dicom-browser-header/30755/3 "2023-07-25T01:08:51Z")

</div>

thank you lassoan !!
