encode method

Implementation

String encode(PatientDtoPersonalStatusEnum data) => data.value;