toICD10CMTraitName method

ICD10CMTraitName toICD10CMTraitName()

Implementation

ICD10CMTraitName toICD10CMTraitName() {
  switch (this) {
    case 'NEGATION':
      return ICD10CMTraitName.negation;
    case 'DIAGNOSIS':
      return ICD10CMTraitName.diagnosis;
    case 'SIGN':
      return ICD10CMTraitName.sign;
    case 'SYMPTOM':
      return ICD10CMTraitName.symptom;
  }
  throw Exception('$this is not known in enum ICD10CMTraitName');
}