|
|
|
|
@ -293,8 +293,7 @@ class _UpdateSubjectivePageState extends State<UpdateSubjectivePage>
|
|
|
|
|
model.medicationControllerError = '';
|
|
|
|
|
model.illnessControllerError = '';
|
|
|
|
|
if (complaintsController.text.isNotEmpty &&
|
|
|
|
|
illnessController.text.isNotEmpty &&
|
|
|
|
|
complaintsController.text.length > 25) {
|
|
|
|
|
illnessController.text.isNotEmpty) {
|
|
|
|
|
await model.postSubjectServices(
|
|
|
|
|
patientInfo: widget.patientInfo,
|
|
|
|
|
complaintsText: complaintsController.text,
|
|
|
|
|
@ -312,9 +311,6 @@ class _UpdateSubjectivePageState extends State<UpdateSubjectivePage>
|
|
|
|
|
if (complaintsController.text.isEmpty) {
|
|
|
|
|
model.complaintsControllerError =
|
|
|
|
|
TranslationBase.of(context).emptyMessage;
|
|
|
|
|
} else if (complaintsController.text.length < 25) {
|
|
|
|
|
model.complaintsControllerError =
|
|
|
|
|
TranslationBase.of(context).chiefComplaintLength;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (illnessController.text.isEmpty) {
|
|
|
|
|
|