Standard reference

ISO/IEC 5218 (https://www.iso.org/standard/36266.html)

Codes for the representation of human sexes. Numeric codes mapped to readable identifiers. EBSI PID schemas extend ISO 5218 with additional codes: 3 (other), 4 (inter), 5 (diverse), 6 (open). PublicSchema follows the base ISO standard. Systems using the EBSI extension can map values 3-6 to not_applicable.

Values

Code Label Standard code Definition
not_known Not known 0 Sex has not been recorded or is not known.
male Male 1 Male sex.
female Female 2 Female sex.
not_applicable Not applicable 9 Sex is not applicable in this context (e.g., legal entities).

System mappings

openspp

System code Canonical value
0 not_known
1 male
2 female
9 not_applicable

spdci

System code Canonical value
male male
female female
other not_applicable
unknown not_known

opencrvs

System code Canonical value
male male
female female
other not_applicable
unknown not_known

fhir_r4

System code Canonical value
male male
female female
other not_applicable
unknown not_known