toICD10CMAttributeType method

ICD10CMAttributeType toICD10CMAttributeType()

Implementation

ICD10CMAttributeType toICD10CMAttributeType() {
  switch (this) {
    case 'ACUITY':
      return ICD10CMAttributeType.acuity;
    case 'DIRECTION':
      return ICD10CMAttributeType.direction;
    case 'SYSTEM_ORGAN_SITE':
      return ICD10CMAttributeType.systemOrganSite;
    case 'QUALITY':
      return ICD10CMAttributeType.quality;
    case 'QUANTITY':
      return ICD10CMAttributeType.quantity;
  }
  throw Exception('$this is not known in enum ICD10CMAttributeType');
}