public enum GenderIdentity extends Enum<GenderIdentity>
| Enum Constant and Description |
|---|
FEMALE
the patient identifies as female
|
MALE
the patient identifies as male
|
NONBINARY
the patient identifies with neither/both female and male
|
NONDISCLOSE
the patient does not wish to disclose his gender identity
|
NULL
added to help the parsers
|
OTHER
other gender identity
|
TRANSGENDERFEMALE
the patient identifies as transgender male-to-female
|
TRANSGENDERMALE
the patient identifies as transgender female-to-male
|
| Modifier and Type | Method and Description |
|---|---|
static GenderIdentity |
fromCode(String codeString) |
String |
getDefinition() |
String |
getDisplay() |
String |
getSystem() |
String |
toCode() |
static GenderIdentity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GenderIdentity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GenderIdentity TRANSGENDERFEMALE
public static final GenderIdentity TRANSGENDERMALE
public static final GenderIdentity NONBINARY
public static final GenderIdentity MALE
public static final GenderIdentity FEMALE
public static final GenderIdentity OTHER
public static final GenderIdentity NONDISCLOSE
public static final GenderIdentity NULL
public static GenderIdentity[] values()
for (GenderIdentity c : GenderIdentity.values()) System.out.println(c);
public static GenderIdentity valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static GenderIdentity fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic String getDefinition()
public String getDisplay()
Copyright © 2014–2021 Health Level 7. All rights reserved.