Example CodeSystem/gender-identity (XML)
Raw XML (canonical form + also see XML Format Specification)
Definition for Code SystemGenderIdentity
<?xml version="1.0" encoding="UTF-8"?>
<CodeSystem xmlns="http://hl7.org/fhir">
<id value="gender-identity"/>
<meta>
<lastUpdated value="2022-09-10T04:52:37.223+10:00"/>
<profile value="http://hl7.org/fhir/StructureDefinition/shareablecodesystem"/>
</meta>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<p> This code system
<code> http://hl7.org/fhir/gender-identity</code> defines the following codes:
</p>
<table class="codes">
<tr>
<td style="white-space:nowrap">
<b> Code</b>
</td>
<td>
<b> Display</b>
</td>
<td>
<b> Definition</b>
</td>
</tr>
<tr>
<td style="white-space:nowrap">non-binary
<a name="gender-identity-non-binary"> </a>
</td>
<td> Non-binary</td>
<td> the individual identifies with neither/both female and male</td>
</tr>
<tr>
<td style="white-space:nowrap">male
<a name="gender-identity-male"> </a>
</td>
<td> Male</td>
<td> the individual identifies as male</td>
</tr>
<tr>
<td style="white-space:nowrap">female
<a name="gender-identity-female"> </a>
</td>
<td> Female</td>
<td> the individual identifies as female</td>
</tr>
<tr>
<td style="white-space:nowrap">other
<a name="gender-identity-other"> </a>
</td>
<td> Other</td>
<td> other gender identity</td>
</tr>
<tr>
<td style="white-space:nowrap">non-disclose
<a name="gender-identity-non-disclose"> </a>
</td>
<td> Does not wish to disclose</td>
<td> the individual does not wish to disclose their gender identity</td>
</tr>
</table>
</div>
</text>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
<valueCode value="pa"/>
</extension>
<url value="http://hl7.org/fhir/gender-identity"/>
<identifier>
<system value="urn:ietf:rfc:3986"/>
<value value="urn:oid:2.16.840.1.113883.4.642.4.973"/>
</identifier>
<version value="5.0.0-ballot"/>
<name value="GenderIdentity"/>
<status value="draft"/>
<experimental value="true"/>
<description value="This example code system defines a set of codes that can be used to indicate a
individual's gender identity."/>
<caseSensitive value="true"/>
<content value="complete"/>
<concept>
<code value="non-binary"/>
<display value="Non-binary"/>
<definition value="the individual identifies with neither/both female and male"/>
</concept>
<concept>
<code value="male"/>
<display value="Male"/>
<definition value="the individual identifies as male"/>
</concept>
<concept>
<code value="female"/>
<display value="Female"/>
<definition value="the individual identifies as female"/>
</concept>
<concept>
<code value="other"/>
<display value="Other"/>
<definition value="other gender identity"/>
</concept>
<concept>
<code value="non-disclose"/>
<display value="Does not wish to disclose"/>
<definition value="the individual does not wish to disclose their gender identity"/>
</concept>
</CodeSystem>
Usage note: every effort has been made to ensure that the
examples are correct and useful, but they are not a normative part
of the specification.