MeridianMERIDIAN

Gender

Administrative gender per HL7 FHIR AdministrativeGender: male, female, other, or unknown. Matched case-insensitively (ac-02), so "Male"/"MALE" validate. Identities beyond the administrative four (e.g. non-binary) map to FHIR `other` at the data layer.

Gender

identity.person.gender

Administrative gender per HL7 FHIR AdministrativeGender: male, female, other, or unknown. Matched case-insensitively (ac-02), so "Male"/"MALE" validate. Identities beyond the administrative four (e.g. non-binary) map to FHIR `other` at the data layer.

Domain
identity
Category
person
Casts to
VARCHAR
Scope
broad_words

Try it

CLI
$ finetype infer -i "Male" --mode column
→ identity.person.gender

DuckDB

Detect
SELECT ft_infer('Male');
-- → 'identity.person.gender'
Cast expression
CAST({col} AS VARCHAR)
Safe cast pipeline
-- Normalise and cast in one step
SELECT TRY_CAST(ft_cast(my_column) AS VARCHAR) AS clean_value
FROM my_table
WHERE ft_infer(my_column) = 'identity.person.gender';

JSON Schema

finetype taxonomy identity.person.gender -o json-schema
{
  "$id": "https://meridian.online/schemas/identity.person.gender",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "Administrative gender per HL7 FHIR AdministrativeGender: male, female, other, or unknown. Matched case-insensitively (ac-02), so \"Male\"/\"MALE\" validate. Identities beyond the administrative four (e.g. non-binary) map to FHIR `other` at the data layer.",
  "enum": [
    "male",
    "female",
    "other",
    "unknown"
  ],
  "examples": [
    "Male",
    "Female",
    "Other",
    "Unknown"
  ],
  "title": "Gender",
  "type": "string",
  "x-finetype-label": "identity.person.gender",
  "x-finetype-pii": false
}

Examples

MaleFemaleOtherUnknown

Type Registry