genderField constant
Field definition for gender.
Implementation
static const genderField = FieldDefinition(
name: 'gender',
getValue: _getGender,
description: '''
Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes.''',
cardinality: Cardinality(
min: 0,
max: IntegerChoice(1),
),
allowedStringValues: [
'male',
'female',
'other',
'unknown',
],
);