π Problem
Patient data may be stored without proper validation, leading to inconsistent or invalid records.
π― Objective
Ensure all patient inputs are validated before saving.
β
Tasks
- Add validation for:
- name (not empty)
- age (valid range)
- email/phone format
- Use validation annotations (e.g.,
@NotNull, @Email)
- Return meaningful error messages
π§ͺ Acceptance Criteria
- Invalid inputs are rejected
- Clear error messages are returned
- Data integrity is improved
π Problem
Patient data may be stored without proper validation, leading to inconsistent or invalid records.
π― Objective
Ensure all patient inputs are validated before saving.
β Tasks
@NotNull,@Email)π§ͺ Acceptance Criteria