toDeactivationReason method

PatientDtoDeactivationReasonEnum toDeactivationReason()

Implementation

PatientDtoDeactivationReasonEnum toDeactivationReason() =>
    PatientDtoDeactivationReasonEnum.values.findFirst((it) => it.value == this.value) ?? PatientDtoDeactivationReasonEnum.none;