voice commad updated

merge-requests/636/head
Sultan Khan 5 years ago
parent d6e621e4ce
commit 5a42184716

@ -946,8 +946,14 @@ const Map<String, Map<String, String>> localizedValues = {
"approvals22": {"en": "Approvals", "ar": "التامين"}, "approvals22": {"en": "Approvals", "ar": "التامين"},
"severe": {"en": "Severe", "ar": "الشدة"}, "severe": {"en": "Severe", "ar": "الشدة"},
"graphDetails": {"en": "Graph Details", "ar": "تفاصيل الرسم البياني"}, "graphDetails": {"en": "Graph Details", "ar": "تفاصيل الرسم البياني"},
"addNewOrderSheet": {"en": "Add a New Order Sheet", "ar": "أضف ورقة طلب جديدة"}, "addNewOrderSheet": {
"addNewProgressNote": {"en": "Add a New Progress Note", "ar": "أضف ملاحظة تقدم جديدة"}, "en": "Add a New Order Sheet",
"ar": "أضف ورقة طلب جديدة"
},
"addNewProgressNote": {
"en": "Add a New Progress Note",
"ar": "أضف ملاحظة تقدم جديدة"
},
"notePending": {"en": "Pending", "ar": "قيد الانتظار"}, "notePending": {"en": "Pending", "ar": "قيد الانتظار"},
"noteCanceled": {"en": "Canceled", "ar": "ألغيت"}, "noteCanceled": {"en": "Canceled", "ar": "ألغيت"},
"noteVerified": {"en": "Verified", "ar": "تم التحقق"}, "noteVerified": {"en": "Verified", "ar": "تم التحقق"},
@ -964,4 +970,5 @@ const Map<String, Map<String, String>> localizedValues = {
"discharged": {"en": "Discharged", "ar": "المفرغين"}, "discharged": {"en": "Discharged", "ar": "المفرغين"},
"none": {"en": "None", "ar": "لا شيء"}, "none": {"en": "None", "ar": "لا شيء"},
"notRepliedYet": {"en": "Not Replied yet", "ar": "لم يرد بعد"}, "notRepliedYet": {"en": "Not Replied yet", "ar": "لم يرد بعد"},
"clearText": {"en": "Clear Text", "ar": "نص واضح"},
}; };

@ -97,10 +97,14 @@ class _UpdateNoteOrderState extends State<UpdateNoteOrder> {
children: [ children: [
BottomSheetTitle( BottomSheetTitle(
title: widget.visitType == 3 title: widget.visitType == 3
? (widget.isUpdate ? TranslationBase.of(context).noteUpdate : TranslationBase.of(context).noteAdd) + ? (widget.isUpdate
TranslationBase.of(context).orderSheet ? TranslationBase.of(context).noteUpdate
: (widget.isUpdate ? TranslationBase.of(context).noteUpdate : TranslationBase.of(context).noteAdd) + : TranslationBase.of(context).noteAdd) +
TranslationBase.of(context).progressNote, TranslationBase.of(context).orderSheet
: (widget.isUpdate
? TranslationBase.of(context).noteUpdate
: TranslationBase.of(context).noteAdd) +
TranslationBase.of(context).progressNote,
), ),
SizedBox( SizedBox(
height: 10.0, height: 10.0,
@ -114,10 +118,18 @@ class _UpdateNoteOrderState extends State<UpdateNoteOrder> {
children: [ children: [
AppTextFieldCustom( AppTextFieldCustom(
hintText: widget.visitType == 3 hintText: widget.visitType == 3
? (widget.isUpdate ? TranslationBase.of(context).noteUpdate : TranslationBase.of(context).noteAdd) + ? (widget.isUpdate
TranslationBase.of(context).orderSheet ? TranslationBase.of(context)
: (widget.isUpdate ? TranslationBase.of(context).noteUpdate : TranslationBase.of(context).noteAdd) + .noteUpdate
TranslationBase.of(context).progressNote, : TranslationBase.of(context)
.noteAdd) +
TranslationBase.of(context).orderSheet
: (widget.isUpdate
? TranslationBase.of(context)
.noteUpdate
: TranslationBase.of(context)
.noteAdd) +
TranslationBase.of(context).progressNote,
//TranslationBase.of(context).addProgressNote, //TranslationBase.of(context).addProgressNote,
controller: progressNoteController, controller: progressNoteController,
maxLines: 35, maxLines: 35,
@ -132,19 +144,23 @@ class _UpdateNoteOrderState extends State<UpdateNoteOrder> {
: null, : null,
), ),
Positioned( Positioned(
top: -2, //MediaQuery.of(context).size.height * 0, top:
right: projectViewModel.isArabic? MediaQuery.of(context).size.width * 0.75 : 15, -2, //MediaQuery.of(context).size.height * 0,
child: IconButton( right: projectViewModel.isArabic
icon: Icon( ? MediaQuery.of(context).size.width * 0.75
DoctorApp.speechtotext, : 15,
color: Colors.black, child: Column(
), children: [
onPressed: () { IconButton(
initSpeechState() icon: Icon(DoctorApp.speechtotext,
.then((value) => {onVoiceText()}); color: Colors.black, size: 35),
}, onPressed: () {
), initSpeechState()
) .then((value) => {onVoiceText()});
},
),
],
))
], ],
), ),
], ],
@ -161,77 +177,98 @@ class _UpdateNoteOrderState extends State<UpdateNoteOrder> {
child: Wrap( child: Wrap(
alignment: WrapAlignment.center, alignment: WrapAlignment.center,
children: <Widget>[ children: <Widget>[
AppButton( progressNoteController.text.isEmpty
title: widget.visitType == 3 ? SizedBox()
? (widget.isUpdate ? TranslationBase.of(context).noteUpdate : TranslationBase.of(context).noteAdd) + : Container(
TranslationBase.of(context).orderSheet margin: EdgeInsets.all(5),
: (widget.isUpdate ? TranslationBase.of(context).noteUpdate : TranslationBase.of(context).noteAdd) + child: Expanded(
TranslationBase.of(context).progressNote, child: AppButton(
color: Color(0xff359846), title: TranslationBase.of(context).clearText,
// disabled: progressNoteController.text.isEmpty, onPressed: () {
fontWeight: FontWeight.w700, setState(() {
onPressed: () async { progressNoteController.text = '';
setState(() { });
isSubmitted = true; },
}); )),
if (progressNoteController.text.trim().isNotEmpty) { ),
GifLoaderDialogUtils.showMyDialog(context); Container(
Map profile = await sharedPref.getObj(DOCTOR_PROFILE); margin: EdgeInsets.all(5),
child: AppButton(
DoctorProfileModel doctorProfile = title: widget.visitType == 3
DoctorProfileModel.fromJson(profile); ? (widget.isUpdate
? TranslationBase.of(context).noteUpdate
if (widget.isUpdate) { : TranslationBase.of(context).noteAdd) +
UpdateNoteReqModel reqModel = UpdateNoteReqModel( TranslationBase.of(context).orderSheet
admissionNo: int.parse(widget.patient.admissionNo), : (widget.isUpdate
cancelledNote: false, ? TranslationBase.of(context).noteUpdate
lineItemNo: widget.note.lineItemNo, : TranslationBase.of(context).noteAdd) +
createdBy: widget.note.createdBy, TranslationBase.of(context).progressNote,
notes: progressNoteController.text, color: Color(0xff359846),
verifiedNote: false, // disabled: progressNoteController.text.isEmpty,
patientTypeID: widget.patient.patientType, fontWeight: FontWeight.w700,
patientOutSA: false, onPressed: () async {
); setState(() {
await widget.patientModel isSubmitted = true;
.updatePatientProgressNote(reqModel); });
} else { if (progressNoteController.text.trim().isNotEmpty) {
CreateNoteModel reqModel = CreateNoteModel( GifLoaderDialogUtils.showMyDialog(context);
admissionNo: int.parse(widget.patient.admissionNo), Map profile = await sharedPref.getObj(DOCTOR_PROFILE);
createdBy: doctorProfile.doctorID,
visitType: widget.visitType,
patientID: widget.patient.patientId,
nursingRemarks: ' ',
patientTypeID: widget.patient.patientType,
patientOutSA: false,
notes: progressNoteController.text);
await widget.patientModel DoctorProfileModel doctorProfile =
.createPatientProgressNote(reqModel); DoctorProfileModel.fromJson(profile);
}
if (widget.patientModel.state == ViewState.ErrorLocal) { if (widget.isUpdate) {
Helpers.showErrorToast(widget.patientModel.error); UpdateNoteReqModel reqModel = UpdateNoteReqModel(
} else { admissionNo: int.parse(widget.patient.admissionNo),
ProgressNoteRequest progressNoteRequest = cancelledNote: false,
ProgressNoteRequest( lineItemNo: widget.note.lineItemNo,
visitType: widget.visitType, createdBy: widget.note.createdBy,
// if equal 5 then this will return progress note notes: progressNoteController.text,
verifiedNote: false,
patientTypeID: widget.patient.patientType,
patientOutSA: false,
);
await widget.patientModel
.updatePatientProgressNote(reqModel);
} else {
CreateNoteModel reqModel = CreateNoteModel(
admissionNo: admissionNo:
int.parse(widget.patient.admissionNo), int.parse(widget.patient.admissionNo),
projectID: widget.patient.projectId, createdBy: doctorProfile.doctorID,
visitType: widget.visitType,
patientID: widget.patient.patientId,
nursingRemarks: ' ',
patientTypeID: widget.patient.patientType, patientTypeID: widget.patient.patientType,
languageID: 2); patientOutSA: false,
await widget.patientModel notes: progressNoteController.text);
.getPatientProgressNote(progressNoteRequest.toJson());
} await widget.patientModel
GifLoaderDialogUtils.hideDialog(context); .createPatientProgressNote(reqModel);
DrAppToastMsg.showSuccesToast( }
"Your Order added Successfully");
Navigator.of(context).pop(); if (widget.patientModel.state == ViewState.ErrorLocal) {
} else { Helpers.showErrorToast(widget.patientModel.error);
Helpers.showErrorToast("You cant add only spaces"); } else {
} ProgressNoteRequest progressNoteRequest =
}), ProgressNoteRequest(
visitType: widget.visitType,
// if equal 5 then this will return progress note
admissionNo:
int.parse(widget.patient.admissionNo),
projectID: widget.patient.projectId,
patientTypeID: widget.patient.patientType,
languageID: 2);
await widget.patientModel.getPatientProgressNote(
progressNoteRequest.toJson());
}
GifLoaderDialogUtils.hideDialog(context);
DrAppToastMsg.showSuccesToast(
"Your Order added Successfully");
Navigator.of(context).pop();
} else {
Helpers.showErrorToast("You cant add only spaces");
}
})),
], ],
), ),
), ),
@ -278,7 +315,7 @@ class _UpdateNoteOrderState extends State<UpdateNoteOrder> {
setState(() { setState(() {
SpeechToText.closeAlertDialog(context); SpeechToText.closeAlertDialog(context);
speech.stop(); speech.stop();
progressNoteController.text = reconizedWord; progressNoteController.text += reconizedWord + '\n';
}); });
} else { } else {
print(result.finalResult); print(result.finalResult);

@ -19,7 +19,6 @@ import 'package:permission_handler/permission_handler.dart';
import 'package:speech_to_text/speech_recognition_error.dart'; import 'package:speech_to_text/speech_recognition_error.dart';
import 'package:speech_to_text/speech_to_text.dart' as stt; import 'package:speech_to_text/speech_to_text.dart' as stt;
class AddReplayOnReferralPatient extends StatefulWidget { class AddReplayOnReferralPatient extends StatefulWidget {
final PatientReferralViewModel patientReferralViewModel; final PatientReferralViewModel patientReferralViewModel;
final MyReferralPatientModel myReferralInPatientModel; final MyReferralPatientModel myReferralInPatientModel;
@ -33,8 +32,8 @@ class AddReplayOnReferralPatient extends StatefulWidget {
_AddReplayOnReferralPatientState(); _AddReplayOnReferralPatientState();
} }
class _AddReplayOnReferralPatientState extends State<AddReplayOnReferralPatient> { class _AddReplayOnReferralPatientState
extends State<AddReplayOnReferralPatient> {
bool isSubmitted = false; bool isSubmitted = false;
stt.SpeechToText speech = stt.SpeechToText(); stt.SpeechToText speech = stt.SpeechToText();
var reconizedWord; var reconizedWord;
@ -46,7 +45,6 @@ class _AddReplayOnReferralPatientState extends State<AddReplayOnReferralPatient>
super.initState(); super.initState();
} }
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return AppScaffold( return AppScaffold(
@ -84,12 +82,13 @@ class _AddReplayOnReferralPatientState extends State<AddReplayOnReferralPatient>
: null, : null,
), ),
Positioned( Positioned(
top: 0,//MediaQuery.of(context).size.height * 0, top: 0, //MediaQuery.of(context).size.height * 0,
right: 15, right: 15,
child: IconButton( child: IconButton(
icon: Icon( icon: Icon(
DoctorApp.speechtotext, DoctorApp.speechtotext,
color: Colors.black, color: Colors.black,
size: 35,
), ),
onPressed: () { onPressed: () {
onVoiceText(); onVoiceText();
@ -112,32 +111,53 @@ class _AddReplayOnReferralPatientState extends State<AddReplayOnReferralPatient>
child: Wrap( child: Wrap(
alignment: WrapAlignment.center, alignment: WrapAlignment.center,
children: <Widget>[ children: <Widget>[
AppButton( progressNoteController.text.isEmpty
title: 'Submit Replay', ? SizedBox()
color: Color(0xff359846), : Container(
fontWeight: FontWeight.w700, margin: EdgeInsets.all(5),
onPressed: () async { child: Expanded(
setState(() { child: AppButton(
isSubmitted = true; title: TranslationBase.of(context).clearText,
}); onPressed: () {
if (progressNoteController.text.isNotEmpty) { setState(() {
GifLoaderDialogUtils.showMyDialog(context); progressNoteController.text = '';
await widget.patientReferralViewModel.replay(progressNoteController.text.trim(), widget.myReferralInPatientModel); });
if (widget.patientReferralViewModel.state == ViewState.ErrorLocal) { },
Helpers.showErrorToast(widget.patientReferralViewModel.error); )),
} else { ),
GifLoaderDialogUtils.hideDialog(context); Container(
DrAppToastMsg.showSuccesToast("Your Replay Added Successfully"); margin: EdgeInsets.all(5),
Navigator.of(context).pop(); child: AppButton(
Navigator.of(context).pop(); title: 'Submit Replay',
} color: Color(0xff359846),
}else { fontWeight: FontWeight.w700,
Helpers.showErrorToast("You can't add empty replay"); onPressed: () async {
setState(() { setState(() {
isSubmitted = false; isSubmitted = true;
}); });
} if (progressNoteController.text.isNotEmpty) {
}), GifLoaderDialogUtils.showMyDialog(context);
await widget.patientReferralViewModel.replay(
progressNoteController.text.trim(),
widget.myReferralInPatientModel);
if (widget.patientReferralViewModel.state ==
ViewState.ErrorLocal) {
Helpers.showErrorToast(
widget.patientReferralViewModel.error);
} else {
GifLoaderDialogUtils.hideDialog(context);
DrAppToastMsg.showSuccesToast(
"Your Replay Added Successfully");
Navigator.of(context).pop();
Navigator.of(context).pop();
}
} else {
Helpers.showErrorToast("You can't add empty replay");
setState(() {
isSubmitted = false;
});
}
})),
], ],
), ),
), ),
@ -179,7 +199,7 @@ class _AddReplayOnReferralPatientState extends State<AddReplayOnReferralPatient>
if (result.finalResult == true) { if (result.finalResult == true) {
setState(() { setState(() {
SpeechToText.closeAlertDialog(context); SpeechToText.closeAlertDialog(context);
progressNoteController.text = reconizedWord; progressNoteController.text += reconizedWord + '\n';
}); });
} }
} }

@ -22,6 +22,7 @@ import 'package:intl/intl.dart';
import 'package:permission_handler/permission_handler.dart'; import 'package:permission_handler/permission_handler.dart';
import 'package:speech_to_text/speech_recognition_error.dart'; import 'package:speech_to_text/speech_recognition_error.dart';
import 'package:speech_to_text/speech_to_text.dart' as stt; import 'package:speech_to_text/speech_to_text.dart' as stt;
class PatientMakeInPatientReferralScreen extends StatefulWidget { class PatientMakeInPatientReferralScreen extends StatefulWidget {
@override @override
_PatientMakeInPatientReferralScreenState createState() => _PatientMakeInPatientReferralScreenState createState() =>
@ -104,7 +105,7 @@ class _PatientMakeInPatientReferralScreenState
setState(() { setState(() {
SpeechToText.closeAlertDialog(context); SpeechToText.closeAlertDialog(context);
speech.stop(); speech.stop();
_remarksController.text = reconizedWord; _remarksController.text += reconizedWord + '\n';
}); });
} else { } else {
print(result.finalResult); print(result.finalResult);
@ -140,13 +141,17 @@ class _PatientMakeInPatientReferralScreenState
final screenSize = MediaQuery.of(context).size; final screenSize = MediaQuery.of(context).size;
return BaseView<PatientReferralViewModel>( return BaseView<PatientReferralViewModel>(
onModelReady: (model) => model.getReferralFrequencyList(), onModelReady: (model) => model.getReferralFrequencyList(),
builder: (_, model, w) => AppScaffold( builder: (_, model, w) => AppScaffold(
baseViewModel: model, baseViewModel: model,
appBarTitle: TranslationBase.of(context).referPatient, appBarTitle: TranslationBase.of(context).referPatient,
isShowAppBar: true, isShowAppBar: true,
appBar: PatientProfileHeaderNewDesignAppBar( appBar: PatientProfileHeaderNewDesignAppBar(
patient, patientType, arrivalType,isInpatient: isInpatient,), patient,
patientType,
arrivalType,
isInpatient: isInpatient,
),
body: SingleChildScrollView( body: SingleChildScrollView(
child: Container( child: Container(
child: Column( child: Column(
@ -466,19 +471,21 @@ class _PatientMakeInPatientReferralScreenState
Stack( Stack(
children: [ children: [
AppTextFieldCustom( AppTextFieldCustom(
hintText:"Remarks", hintText: "Remarks",
controller: _remarksController, controller: _remarksController,
inputType: TextInputType.multiline, inputType: TextInputType.multiline,
minLines: 4, minLines: 4,
maxLines: 6, maxLines: 6,
), ),
Positioned( Positioned(
top: 0, //MediaQuery.of(context).size.height * 0, top:
0, //MediaQuery.of(context).size.height * 0,
right: 15, right: 15,
child: IconButton( child: IconButton(
icon: Icon( icon: Icon(
DoctorApp.speechtotext, DoctorApp.speechtotext,
color: Colors.black, color: Colors.black,
size: 35,
), ),
onPressed: () { onPressed: () {
initSpeechState() initSpeechState()
@ -493,73 +500,91 @@ class _PatientMakeInPatientReferralScreenState
) )
], ],
), ),
Container( Column(
margin: EdgeInsets.symmetric(horizontal: 16, vertical: 8), children: [
child: AppButton( _remarksController.text.isEmpty
title: TranslationBase.of(context).refer, ? SizedBox()
fontWeight: FontWeight.w700, : Container(
color: Color(0XFF359846), margin: EdgeInsets.all(5),
onPressed: () async{ child: Expanded(
setState(() { child: AppButton(
if (_referTo == null) { title: TranslationBase.of(context).clearText,
branchError = onPressed: () {
TranslationBase.of(context).fieldRequired; setState(() {
} else { _remarksController.text = '';
branchError = null; });
} },
if (_selectedBranch == null) { ))),
hospitalError = Container(
TranslationBase.of(context).fieldRequired; margin: EdgeInsets.symmetric(horizontal: 16, vertical: 8),
} else { child: AppButton(
hospitalError = null; title: TranslationBase.of(context).refer,
} fontWeight: FontWeight.w700,
if (_selectedClinic == null) { color: Color(0XFF359846),
clinicError = onPressed: () async {
TranslationBase.of(context).fieldRequired; setState(() {
} else { if (_referTo == null) {
clinicError = null; branchError =
} TranslationBase.of(context).fieldRequired;
if (_selectedDoctor == null) { } else {
doctorError = branchError = null;
TranslationBase.of(context).fieldRequired; }
} else { if (_selectedBranch == null) {
doctorError = null; hospitalError =
} TranslationBase.of(context).fieldRequired;
if (_selectedFrequency == null) { } else {
frequencyError = hospitalError = null;
TranslationBase.of(context).fieldRequired; }
} else { if (_selectedClinic == null) {
frequencyError = null; clinicError =
} TranslationBase.of(context).fieldRequired;
}); } else {
if (_selectedFrequency == null || clinicError = null;
_selectedBranch == null || }
_selectedClinic == null || if (_selectedDoctor == null) {
_selectedDoctor == null || doctorError =
_remarksController.text == null || TranslationBase.of(context).fieldRequired;
_extController.text == null) return;{ } else {
doctorError = null;
await model.makeInPatientReferral( }
patient: patient, if (_selectedFrequency == null) {
projectID: _selectedBranch['facilityId'], frequencyError =
clinicID: _selectedClinic['ClinicID'], TranslationBase.of(context).fieldRequired;
doctorID: _selectedDoctor['DoctorID'], } else {
frequencyCode: _selectedFrequency['ParameterCode'], frequencyError = null;
ext: _extController.text, }
remarks: _remarksController.text, });
priority: _activePriority, if (_selectedFrequency == null ||
referralDate: appointmentDate _selectedBranch == null ||
); _selectedClinic == null ||
if(model.state == ViewState.ErrorLocal) _selectedDoctor == null ||
DrAppToastMsg.showErrorToast(model.error); _remarksController.text == null ||
else{ _extController.text == null) return;
DrAppToastMsg.showSuccesToast(TranslationBase.of(context).referralSuccessMsg); {
Navigator.pop(context); await model.makeInPatientReferral(
} patient: patient,
projectID: _selectedBranch['facilityId'],
clinicID: _selectedClinic['ClinicID'],
doctorID: _selectedDoctor['DoctorID'],
frequencyCode:
_selectedFrequency['ParameterCode'],
ext: _extController.text,
remarks: _remarksController.text,
priority: _activePriority,
referralDate: appointmentDate);
if (model.state == ViewState.ErrorLocal)
DrAppToastMsg.showErrorToast(model.error);
else {
DrAppToastMsg.showSuccesToast(
TranslationBase.of(context)
.referralSuccessMsg);
Navigator.pop(context);
}
} }
}, },
), ),
)
],
) )
], ],
), ),

@ -1301,41 +1301,34 @@ class TranslationBase {
String get insurance22 => localizedValues["insurance22"][locale.languageCode]; String get insurance22 => localizedValues["insurance22"][locale.languageCode];
String get approvals22 => localizedValues["approvals22"][locale.languageCode]; String get approvals22 => localizedValues["approvals22"][locale.languageCode];
String get severe => localizedValues["severe"][locale.languageCode]; String get severe => localizedValues["severe"][locale.languageCode];
String get graphDetails => localizedValues["graphDetails"][locale.languageCode]; String get graphDetails =>
localizedValues["graphDetails"][locale.languageCode];
String get discharged => localizedValues["discharged"][locale.languageCode]; String get discharged => localizedValues["discharged"][locale.languageCode];
String get addNewOrderSheet => String get addNewOrderSheet =>
localizedValues["addNewOrderSheet"][locale.languageCode]; localizedValues["addNewOrderSheet"][locale.languageCode];
String get addNewProgressNote => String get addNewProgressNote =>
localizedValues["addNewProgressNote"][locale.languageCode]; localizedValues["addNewProgressNote"][locale.languageCode];
String get notePending => String get notePending => localizedValues["notePending"][locale.languageCode];
localizedValues["notePending"][locale.languageCode];
String get noteCanceled => String get noteCanceled =>
localizedValues["noteCanceled"][locale.languageCode]; localizedValues["noteCanceled"][locale.languageCode];
String get noteVerified => String get noteVerified =>
localizedValues["noteVerified"][locale.languageCode]; localizedValues["noteVerified"][locale.languageCode];
String get noteVerify => String get noteVerify => localizedValues["noteVerify"][locale.languageCode];
localizedValues["noteVerify"][locale.languageCode]; String get noteConfirm => localizedValues["noteConfirm"][locale.languageCode];
String get noteConfirm => String get noteAdd => localizedValues["noteAdd"][locale.languageCode];
localizedValues["noteConfirm"][locale.languageCode];
String get noteAdd => String get noteUpdate => localizedValues["noteUpdate"][locale.languageCode];
localizedValues["noteAdd"][locale.languageCode];
String get orderSheet => localizedValues["orderSheet"][locale.languageCode];
String get noteUpdate => String get order => localizedValues["order"][locale.languageCode];
localizedValues["noteUpdate"][locale.languageCode]; String get sheet => localizedValues["sheet"][locale.languageCode];
String get medical => localizedValues["medical"][locale.languageCode];
String get orderSheet => String get report => localizedValues["report"][locale.languageCode];
localizedValues["orderSheet"][locale.languageCode];
String get order =>
localizedValues["order"][locale.languageCode];
String get sheet =>
localizedValues["sheet"][locale.languageCode];
String get medical =>
localizedValues["medical"][locale.languageCode];
String get report =>
localizedValues["report"][locale.languageCode];
String get discharge => localizedValues["discharge"][locale.languageCode]; String get discharge => localizedValues["discharge"][locale.languageCode];
String get none => localizedValues["none"][locale.languageCode]; String get none => localizedValues["none"][locale.languageCode];
String get notRepliedYet => localizedValues["notRepliedYet"][locale.languageCode]; String get notRepliedYet =>
localizedValues["notRepliedYet"][locale.languageCode];
String get clearText => localizedValues["clearText"][locale.languageCode];
} }
class TranslationBaseDelegate extends LocalizationsDelegate<TranslationBase> { class TranslationBaseDelegate extends LocalizationsDelegate<TranslationBase> {

Loading…
Cancel
Save