value property

int get value

Implementation

int get value {
  switch (this) {
    case ElectrocardiogramClassification.NOT_SET:
      return 0;
    case ElectrocardiogramClassification.SINUS_RHYTHM:
      return 1;
    case ElectrocardiogramClassification.ATRIAL_FIBRILLATION:
      return 2;
    case ElectrocardiogramClassification.INCONCLUSIVE_LOW_HEART_RATE:
      return 3;
    case ElectrocardiogramClassification.INCONCLUSIVE_HIGH_HEART_RATE:
      return 4;
    case ElectrocardiogramClassification.INCONCLUSIVE_POOR_READING:
      return 5;
    case ElectrocardiogramClassification.INCONCLUSIVE_OTHER:
      return 6;
    case ElectrocardiogramClassification.UNRECOGNIZED:
      return 100;
  }
}