activeField constant

FieldDefinition<bool> const activeField

Field definition for active.

Implementation

static const activeField = FieldDefinition(
  name: 'active',
  getValue: _getActive,
  description: '''
Whether this patient record is in active use.
Many systems use this property to mark as non-current patients, such as those that have not been seen for a period of time based on an organization's business rules.

It is often used to filter patient lists to exclude inactive patients

Deceased patients may also be marked as inactive for the same reasons, but may be active for some time after death.''',
  cardinality: Cardinality(
    min: 0,
    max: IntegerChoice(1),
  ),
);