---
title: "Gender diversity code fields & selectors"
id: "gender-diversity-code-fields-selectors"
project: "EHR User Guide"
url: "https://help.cloud5.com.au/articles/ehr-user-guide/gender-diversity-code-fields-selectors"
updated: 2026-10-19T00:54:16Z
---

# Gender diversity code fields & selectors

In this topic, we show how to complete the [gender diversity control code fields](/articles/ehr-user-guide/gender-diversity-code-fields-selectors/a/h2_825717775) for:

* Employee Gender Identity
* Sexual Orientation
* Sex Characteristics Variable

But first, let's talk about configuring the selector...

## How do I configure the selector?

From the control code, EmpowerHR allows you to configure the selector in a way that best suits your organisation's requirements. You can:

* order the code in a certain way in the selector (**Sort By**)
* display the additional information field when a user selects a certain option (code), allowing them to add comments (**Display Additional Information?** flag)
* apply a rule, for example, requiring the user to select a response (**Placeholder PH**), or to simply accept a default value (**Default DV**)

### 

To learn more about configuring the selector, check this case study about collecting commonplace data.
[+] [Show case study](javascript:void%280%29)
 [-] [Hide case study](javascript:void%280%29)
 #### Case study: configuring the selector

Welcome to the Hotel California!

To help fine-tune our services and enhance the customer experience, we want to collect information about our event patrons’ preferences.

We use three screen selectors:

* Favourite bath robe
* Dietary requirement
* Favourite breakfast drink

Here's what we did...

| Favourite bath robe | Hotel California configured the selector to:<br><ul><li>Sort by <span style="font-weight: bold;">N (Number)</span> with the value <span style="font-weight: bold;">Don’t have one</span><span style="color: #172b4d; font-style: italic;"> </span>set to<span style="color: #172b4d; font-style: italic;"> </span><span style="font-weight: bold;">Number 1</span></li><li>apply the rule,&#160;<b>DV</b> <b>(Default Value)</b>, to the value <b>N</b><span style="font-weight: bold;">one selected</span></li></ul><br>![](/resources/Storage/ehr-user-guide/gender-diversity-code-fields/Fav%20bath%20none%20sel.png) ![](/resources/Storage/ehr-user-guide/gender-diversity-code-fields/Fav%20dont%20have%20one.png)<br><br>The first time the page loads for the user, the favourite bath robe selector displays:<br><ul><li>the default value,<b> None selected</b></li><li>numbered values first, and then the rest in alphabetical order</li></ul><br>![](/resources/Storage/ehr-user-guide/gender-diversity-code-fields/Fav%20bath%20robe.png)<br><br>The user doesn’t need to change the default value, and can save the data. |
| --- | --- |
| Dietary requirement | Hotel California configured the selector to:<br><ul> <li>Sort by <span style="font-weight: bold;">N (Number)</span> with the value <span style="font-weight: bold;">None</span><span style="color: #172b4d; font-style: italic;"> </span>set to<span style="color: #172b4d; font-style: italic;"> </span><span style="font-weight: bold;">Number 1</span></li><li>apply the rule,&#160;<b>PH</b> <b>(Placeholder)</b>, to the value <span style="font-weight: bold;">Please select</span></li></ul>![](/resources/Storage/ehr-user-guide/gender-diversity-code-fields/dietary%20req%20-%20none.png) ![](/resources/Storage/ehr-user-guide/gender-diversity-code-fields/dietary%20req%20-%20please%20sel.png)<br><br>The first time the page loads for the user, the dietary requirement selector displays:<br><ul><li>the placeholder, <b>Please select</b></li><li>numbered values first, and then the rest in alphabetical order</li></ul><br>![](/resources/Storage/ehr-user-guide/gender-diversity-code-fields/Dietary%20req.png)<br><br>The user must make a selection before the data is saved. |
| Favourite breakfast drink | Hotel California configured the selector to:<br><ul><li>Sort by <span style="font-weight: bold;">A (Number)</span> with the value <span style="font-weight: bold;">None</span><span style="color: #172b4d; font-style: italic;"> </span>set to<span style="color: #172b4d; font-style: italic;"> </span><span style="font-weight: bold;">Number 1</span></li><li>apply the rule, <b>PH</b> <b>(Placeholder)</b>,&#160;to the value <span style="font-weight: bold;">Please select</span></li></ul><br>![](/resources/Storage/ehr-user-guide/gender-diversity-code-fields/Fav%20bfast%20drink%20-%20none%20sel.png) ![](/resources/Storage/ehr-user-guide/gender-diversity-code-fields/Fav%20bfast%20drink%20-%20coff%20alpha.png)<br><br>The first time the page loads for the user, the favourite breakfast drink selector displays:<br><ul> <li><b>None selected</b></li><li>the values in alphabetical order</li></ul><br>![](/resources/Storage/ehr-user-guide/gender-diversity-code-fields/Fav%20bfast%20drink.png)<br><br>The user doesn’t need to change the default value, and can save the data. |

## Gender diversity control code fields

| **In this field...** | **Do this...** |
| --- | --- |
| Code | If:<br><ul><li><span style="font-size: 10pt; font-family: Arial, &quot;Helvetica Neue&quot;, Helvetica, sans-serif;">adding a new code to the table, enter the code (up to 4 characters)</span></li><li><span style="font-size: 10pt; font-family: Arial, &quot;Helvetica Neue&quot;, Helvetica, sans-serif;">updating an existing code, you cannot change this field</span></li></ul> |
| Description | Enter/change the full description (up to 40 characters). |
| Abbreviation | Enter/change the abbreviation (up to 10 characters). |
| Display Additional Information? | At the dropdown list, select **y** (yes) from the dropdown list to flag that you want to display the additional information field when the user selects this code (option).<br><br>Otherwise, keep the default value of **n**(no).<br><br><br>| ![Information](/resources/Storage/ehr-user-guide/ehr-user-guide/Info.png) | Only **Employee Gender Identity** and **Sexual Orientation** control codes have the **Display Additional Information?** flag. |<br>| --- | --- | |
| Sort By | Select a sorting option from the dropdown list:<br><ul class="ak-ul" data-indent-level="1" style="margin: 10px 0px 0px; padding-left: var(--ed--list--item-counter--padding,24px); box-sizing: border-box; display: flow-root; color: #172b4d; white-space: pre-wrap; background-color: #ffffff; text-decoration-color: initial;"><li><span style="letter-spacing: -0.005em; font-family: Arial, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 10pt;"><b>[ ] (blank)</b> = there is no sort order in the selector</span></li><li><span style="letter-spacing: -0.005em; font-family: Arial, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 10pt;"><b>Alphabetic (A)</b> = the sort order is alphabetical</span></li><li><span style="letter-spacing: -0.005em; font-family: Arial, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 10pt;"><b>Number (N) </b>= the sort order is by the <b>Number </b>you assign</span></li></ul> |
| Number | If you selected **Number (N)** in the **Sort By** field, enter a value in the **Number** field to indicate the position in the selector. |
| Rule | Select a rule from the dropdown list:<br><ul><li><span style="font-size: 10pt; font-family: Arial, &quot;Helvetica Neue&quot;, Helvetica, sans-serif;"><b>None </b>= no rules attached</span></li><li><span style="font-size: 10pt; font-family: Arial, &quot;Helvetica Neue&quot;, Helvetica, sans-serif;"><b>Default (DV</b>) =&#160;<span style="color: #172b4d; letter-spacing: -0.08px; white-space: pre-wrap; background-color: #ffffff; text-decoration-color: initial;">the default value. The value displays in the selector and is a valid selection. This means you can save the screen with this default value. You may want a description that says <b>---Not provided---</b></span></span></li><li><span style="font-family: Arial, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 10pt;"><b>P/holder (PH) </b>= a&#160;placeholder displays in the selector and is an invalid selection if the user does not change the value. This means a user can&#39;t save the screen until they&#39;ve made a selection. You many want a description that says <b>---Please select---</b></span></li></ul> |
| Sort Code 1 - Sort Code 6 | N/A |

| Next topic<br><br>[Employee personal data codes](/articles/ehr-user-guide/employee-personal-data-codes) |
| --- |

© 2023 Fusion5. All rights reserved.