translate progress_note_screen

merge-requests/626/head
Elham Rababah 5 years ago
parent d5d57e7997
commit 0b473f630f

@ -654,8 +654,8 @@ const Map<String, Map<String, String>> localizedValues = {
}, },
'progressNoteSOAP': {'en': "Progress Note", 'ar': "ملاحظة التقدم"}, 'progressNoteSOAP': {'en': "Progress Note", 'ar': "ملاحظة التقدم"},
'addProgressNote': {'en': "Add Progress Note", 'ar': "أضف ملاحظة التقدم"}, 'addProgressNote': {'en': "Add Progress Note", 'ar': "أضف ملاحظة التقدم"},
'createdBy': {'en': "Created By :", 'ar': "أضيفت : "}, 'createdBy': {'en': "Created By :", 'ar': "أضيفت من قبل : "},
'editedBy': {'en': "Edited By :", 'ar': "عدلت : "}, 'editedBy': {'en': "Edited By :", 'ar': "عدلت من قبل : "},
'currentMedications': {'en': "Current Medications", 'ar': "الأدوية الحالية"}, 'currentMedications': {'en': "Current Medications", 'ar': "الأدوية الحالية"},
'noItem': { 'noItem': {
'en': "No items exists in this list", 'en': "No items exists in this list",
@ -783,7 +783,7 @@ const Map<String, Map<String, String>> localizedValues = {
"open-rad": {"en": "Open Radiology Image", "ar": "فتح صور الاشعة"}, "open-rad": {"en": "Open Radiology Image", "ar": "فتح صور الاشعة"},
'fileNumber': {'en': "File Number: ", 'ar': " :رقم الملف"}, 'fileNumber': {'en': "File Number: ", 'ar': "رقم الملف : "},
'searchPatient-name': { 'searchPatient-name': {
'en': 'Search Name, Medical File, Phone Number', 'en': 'Search Name, Medical File, Phone Number',
'ar': "اسم البحث ، الملف الطبي ، رقم الهاتف" 'ar': "اسم البحث ، الملف الطبي ، رقم الهاتف"
@ -946,4 +946,16 @@ 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": "أضف ورقة طلب جديدة"},
"addNewProgressNote": {"en": "Add a New Progress Note", "ar": "أضف ملاحظة تقدم جديدة"},
"notePending": {"en": "Pending", "ar": "قيد الانتظار"},
"noteCanceled": {"en": "Canceled", "ar": "ألغيت"},
"noteVerified": {"en": "Verified", "ar": "تم التحقق"},
'noteVerify': {'en': 'Verify', 'ar': 'تحقق'},
'noteConfirm': {'en': 'Confirm', 'ar': 'تاكيد'},
'noteAdd': {'en': 'Add ', 'ar': 'اضف '},
'noteUpdateْْ': {'en': 'Update ', 'ar': 'تحديت'},
'orderSheet': {'en': 'Order Sheet', 'ar': 'ورقة الطلب'},
}; };

@ -2,6 +2,7 @@ import 'package:doctor_app_flutter/core/model/note/note_model.dart';
import 'package:doctor_app_flutter/core/model/note/update_note_model.dart'; import 'package:doctor_app_flutter/core/model/note/update_note_model.dart';
import 'package:doctor_app_flutter/core/viewModel/auth_view_model.dart'; import 'package:doctor_app_flutter/core/viewModel/auth_view_model.dart';
import 'package:doctor_app_flutter/core/viewModel/patient_view_model.dart'; import 'package:doctor_app_flutter/core/viewModel/patient_view_model.dart';
import 'package:doctor_app_flutter/core/viewModel/project_view_model.dart';
import 'package:doctor_app_flutter/icons_app/doctor_app_icons.dart'; import 'package:doctor_app_flutter/icons_app/doctor_app_icons.dart';
import 'package:doctor_app_flutter/models/patient/progress_note_request.dart'; import 'package:doctor_app_flutter/models/patient/progress_note_request.dart';
import 'package:doctor_app_flutter/screens/base/base_view.dart'; import 'package:doctor_app_flutter/screens/base/base_view.dart';
@ -42,9 +43,10 @@ class _ProgressNoteState extends State<ProgressNoteScreen> {
var _isInit = true; var _isInit = true;
bool isDischargedPatient = false; bool isDischargedPatient = false;
AuthViewModel authProvider; AuthViewModel authProvider;
ProjectViewModel projectViewModel;
getProgressNoteList(BuildContext context, PatientViewModel model,
getProgressNoteList(BuildContext context, PatientViewModel model, {bool isLocalBusy = false}) async { {bool isLocalBusy = false}) async {
final routeArgs = ModalRoute.of(context).settings.arguments as Map; final routeArgs = ModalRoute.of(context).settings.arguments as Map;
PatiantInformtion patient = routeArgs['patient']; PatiantInformtion patient = routeArgs['patient'];
String token = await sharedPref.getString(TOKEN); String token = await sharedPref.getString(TOKEN);
@ -59,7 +61,10 @@ class _ProgressNoteState extends State<ProgressNoteScreen> {
tokenID: token, tokenID: token,
patientTypeID: patient.patientType, patientTypeID: patient.patientType,
languageID: 2); languageID: 2);
model.getPatientProgressNote(progressNoteRequest.toJson(), isLocalBusy: isLocalBusy).then((c) { model
.getPatientProgressNote(progressNoteRequest.toJson(),
isLocalBusy: isLocalBusy)
.then((c) {
notesList = model.patientProgressNoteList; notesList = model.patientProgressNoteList;
}); });
} }
@ -67,97 +72,124 @@ class _ProgressNoteState extends State<ProgressNoteScreen> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
authProvider = Provider.of(context); authProvider = Provider.of(context);
final routeArgs = ModalRoute.of(context).settings.arguments as Map; projectViewModel = Provider.of(context);
final routeArgs = ModalRoute
.of(context)
.settings
.arguments as Map;
PatiantInformtion patient = routeArgs['patient']; PatiantInformtion patient = routeArgs['patient'];
String arrivalType = routeArgs['arrivalType']; String arrivalType = routeArgs['arrivalType'];
if(routeArgs.containsKey('isDischargedPatient')) if (routeArgs.containsKey('isDischargedPatient'))
isDischargedPatient = routeArgs['isDischargedPatient']; isDischargedPatient = routeArgs['isDischargedPatient'];
return BaseView<PatientViewModel>( return BaseView<PatientViewModel>(
onModelReady: (model) => getProgressNoteList(context, model), onModelReady: (model) => getProgressNoteList(context, model),
builder: (_, model, w) => AppScaffold( builder: (_, model, w) =>
baseViewModel: model, AppScaffold(
backgroundColor: Theme.of(context).scaffoldBackgroundColor, baseViewModel: model,
// appBarTitle: TranslationBase.of(context).progressNote, backgroundColor: Theme
appBar: PatientProfileHeaderNewDesignAppBar( .of(context)
patient, patient.patientType.toString() ?? '0', arrivalType,isInpatient: true,), .scaffoldBackgroundColor,
body: model.patientProgressNoteList == null || model.patientProgressNoteList.length == 0 // appBarTitle: TranslationBase.of(context).progressNote,
? DrAppEmbeddedError( appBar: PatientProfileHeaderNewDesignAppBar(
error: TranslationBase.of(context).errorNoProgressNote) patient,
: Container( patient.patientType.toString() ?? '0',
color: Colors.grey[200], arrivalType,
isInpatient: true,
),
body: model.patientProgressNoteList == null ||
model.patientProgressNoteList.length == 0
? DrAppEmbeddedError(
error: TranslationBase
.of(context)
.errorNoProgressNote)
: Container(
color: Colors.grey[200],
child: Column( child: Column(
children: <Widget>[ children: <Widget>[
if(!isDischargedPatient) if (!isDischargedPatient)
AddNewOrder( onTap: () { AddNewOrder(
Navigator.push( onTap: () {
context, Navigator.push(
MaterialPageRoute( context,
builder: (context) => UpdateNoteOrder( MaterialPageRoute(
patientModel: model, builder: (context) =>
patient: patient, UpdateNoteOrder(
visitType: widget.visitType, patientModel: model,
isUpdate: false, patient: patient,
)), visitType: widget.visitType,
); isUpdate: false,
},label: widget.visitType ==3?'Add a New Order Sheet':'Create a New Progress Note',), )),
Expanded( );
child: Container( },
label: widget.visitType == 3
child: ListView.builder( ? TranslationBase
itemCount: model.patientProgressNoteList.length, .of(context)
itemBuilder: (BuildContext ctxt, int index) { .addNewOrderSheet
return FractionallySizedBox( : TranslationBase
widthFactor: 0.95, .of(context)
child: CardWithBgWidget( .addProgressNote,
hasBorder: false, ),
bgColor: model.patientProgressNoteList[index] Expanded(
.status == child: Container(
1 && child: ListView.builder(
authProvider.doctorProfile.doctorID != itemCount: model.patientProgressNoteList.length,
model itemBuilder: (BuildContext ctxt, int index) {
.patientProgressNoteList[ return FractionallySizedBox(
index] widthFactor: 0.95,
.createdBy child: CardWithBgWidget(
? Color(0xFFCC9B14):model hasBorder: false,
.patientProgressNoteList[ bgColor: model.patientProgressNoteList[index]
index] .status ==
.status == 1 &&
4?Colors.red.shade700 authProvider.doctorProfile.doctorID !=
: model model
.patientProgressNoteList[ .patientProgressNoteList[
index] index]
.status == .createdBy
2?Colors.green[600]:Color(0xFFCC9B14), ? Color(0xFFCC9B14)
widget: Column( : model.patientProgressNoteList[index]
children: [ .status ==
Column( 4
crossAxisAlignment: ? Colors.red.shade700
CrossAxisAlignment.start, : model.patientProgressNoteList[index]
children: [ .status ==
if (model 2
.patientProgressNoteList[ ? Colors.green[600]
index] : Color(0xFFCC9B14),
.status == widget: Column(
1 && children: [
authProvider Column(
.doctorProfile.doctorID != crossAxisAlignment:
model CrossAxisAlignment.start,
.patientProgressNoteList[ children: [
index] if (model
.createdBy) .patientProgressNoteList[
AppText( index]
'Pending', .status ==
fontWeight: FontWeight.bold, 1 &&
color: Color(0xFFCC9B14), authProvider
fontSize: 12, .doctorProfile.doctorID !=
), model
.patientProgressNoteList[
index]
.createdBy)
AppText(
TranslationBase
.of(context)
.notePending,
fontWeight: FontWeight.bold,
color: Color(0xFFCC9B14),
fontSize: 12,
),
if (model if (model
.patientProgressNoteList[ .patientProgressNoteList[
index] index]
.status == .status ==
4) 4)
AppText( AppText(
'Canceled', TranslationBase
.of(context)
.noteCanceled,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
color: Colors.red.shade700, color: Colors.red.shade700,
fontSize: 12, fontSize: 12,
@ -168,7 +200,9 @@ class _ProgressNoteState extends State<ProgressNoteScreen> {
.status == .status ==
2) 2)
AppText( AppText(
'Verified', TranslationBase
.of(context)
.noteVerified,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
color: Colors.green[600], color: Colors.green[600],
fontSize: 12, fontSize: 12,
@ -229,7 +263,10 @@ class _ProgressNoteState extends State<ProgressNoteScreen> {
width: 2, width: 2,
), ),
AppText( AppText(
'Update', TranslationBase
.of(
context)
.update,
fontSize: 10, fontSize: 10,
color: Colors.white, color: Colors.white,
), ),
@ -309,7 +346,10 @@ class _ProgressNoteState extends State<ProgressNoteScreen> {
width: 2, width: 2,
), ),
AppText( AppText(
'Verify', TranslationBase
.of(
context)
.noteVerify,
fontSize: 10, fontSize: 10,
color: Colors.white, color: Colors.white,
), ),
@ -325,22 +365,26 @@ class _ProgressNoteState extends State<ProgressNoteScreen> {
onTap: () async { onTap: () async {
showMyDialog( showMyDialog(
context: context, context: context,
actionName: "cancel", actionName:
TranslationBase
.of(
context)
.cancel,
confirmFun: () async { confirmFun: () async {
GifLoaderDialogUtils GifLoaderDialogUtils
.showMyDialog( .showMyDialog(
context, context,
); );
UpdateNoteReqModel UpdateNoteReqModel
reqModel = reqModel =
UpdateNoteReqModel( UpdateNoteReqModel(
admissionNo: int admissionNo: int
.parse(patient .parse(patient
.admissionNo), .admissionNo),
cancelledNote: true, cancelledNote: true,
lineItemNo: model lineItemNo: model
.patientProgressNoteList[ .patientProgressNoteList[
index] index]
.lineItemNo, .lineItemNo,
createdBy: model createdBy: model
.patientProgressNoteList[ .patientProgressNoteList[
@ -398,7 +442,6 @@ class _ProgressNoteState extends State<ProgressNoteScreen> {
padding: EdgeInsets.all(6), padding: EdgeInsets.all(6),
), ),
), ),
SizedBox( SizedBox(
width: 10, width: 10,
) )
@ -428,7 +471,10 @@ class _ProgressNoteState extends State<ProgressNoteScreen> {
.start, .start,
children: [ children: [
AppText( AppText(
'Created By: ', TranslationBase
.of(
context)
.createdBy,
fontSize: 10, fontSize: 10,
), ),
Expanded( Expanded(
@ -452,26 +498,34 @@ class _ProgressNoteState extends State<ProgressNoteScreen> {
children: [ children: [
AppText( AppText(
model model
.patientProgressNoteList[
index]
.createdOn !=
null
? DateUtils
.getDayMonthYearDateFormatted(
DateUtils
.getDateTimeFromServerFormat(
model
.patientProgressNoteList[ .patientProgressNoteList[
index] index]
.createdOn != .createdOn),
null isArabic:
? DateUtils.getDayMonthYearDateFormatted( projectViewModel
DateUtils.getDateTimeFromServerFormat( .isArabic)
model
.patientProgressNoteList[
index]
.createdOn))
: DateUtils : DateUtils
.getDayMonthYearDateFormatted( .getDayMonthYearDateFormatted(
DateTime.now()), DateTime.now(),
isArabic:
projectViewModel
.isArabic),
fontWeight: FontWeight.w600, fontWeight: FontWeight.w600,
fontSize: 14, fontSize: 14,
), ),
AppText( AppText(
model model
.patientProgressNoteList[ .patientProgressNoteList[
index] index]
.createdOn != .createdOn !=
null null
? DateUtils.getHour(DateUtils ? DateUtils.getHour(DateUtils
@ -508,21 +562,21 @@ class _ProgressNoteState extends State<ProgressNoteScreen> {
), ),
), ),
]) ])
], ],
), ),
SizedBox( SizedBox(
height: 20, height: 20,
), ),
], ],
),
), ),
); ),
}), );
), }),
), ),
], ),
],
), ),
), ),
), ),
); );
} }
@ -541,38 +595,49 @@ class _ProgressNoteState extends State<ProgressNoteScreen> {
isShowAppBar: false, isShowAppBar: false,
body: Container( body: Container(
color: Colors.white, color: Colors.white,
child: Center( child: Center(
child: Column( child: Column(
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center,
children: [ children: [
// SizedBox(height: 20,), // SizedBox(height: 20,),
SizedBox(height: 10,), SizedBox(
height: 10,
),
Row( Row(
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,
children: [ children: [
AppText( AppText(
"Confirm", fontWeight: FontWeight.w600, TranslationBase
.of(context)
.noteConfirm,
fontWeight: FontWeight.w600,
color: Colors.black, color: Colors.black,
fontSize: 16,), fontSize: 16,
),
], ],
), ),
SizedBox(height: 10,), SizedBox(
height: 10,
),
DividerWithSpacesAround(), DividerWithSpacesAround(),
SizedBox(height: 12,), SizedBox(
height: 12,
),
Container( Container(
padding: EdgeInsets.all(20), padding: EdgeInsets.all(20),
color: Colors.white, color: Colors.white,
child: AppText( child: AppText(
'Are you sure you want $actionName this order?', projectViewModel.isArabic?"هل أنت متأكد أنك تريد تنفيذ $actionName هذا الأمر؟":'Are you sure you want $actionName this order?',
fontSize: 15, fontSize: 15,
textAlign: TextAlign.center, textAlign: TextAlign.center,
), ),
), ),
SizedBox(height: 8,), SizedBox(
height: 8,
),
DividerWithSpacesAround(), DividerWithSpacesAround(),
FractionallySizedBox( FractionallySizedBox(
widthFactor: 0.75, widthFactor: 0.75,
@ -581,22 +646,29 @@ class _ProgressNoteState extends State<ProgressNoteScreen> {
children: [ children: [
FlatButton( FlatButton(
child: AppText( child: AppText(
"Cancel", fontWeight: FontWeight.w600, TranslationBase
.of(context)
.cancel,
fontWeight: FontWeight.w600,
color: Colors.black, color: Colors.black,
fontSize: 16,),//Text("Cancel"), fontSize: 16,
), //Text("Cancel"),
onPressed: () { onPressed: () {
Navigator.of(context).pop(); Navigator.of(context).pop();
}), }),
FlatButton( FlatButton(
child: AppText( child: AppText(
"Confirm", fontWeight: FontWeight.w600, TranslationBase
.of(context)
.noteConfirm,
fontWeight: FontWeight.w600,
color: Colors.red.shade700, color: Colors.red.shade700,
fontSize: 16,), //Text("Confirm", ), fontSize: 16,
), //Text("Confirm", ),
onPressed: () async { onPressed: () async {
await confirmFun(); await confirmFun();
Navigator.of(context).pop(); Navigator.of(context).pop();
}) })
], ],
), ),
) )
@ -608,8 +680,4 @@ class _ProgressNoteState extends State<ProgressNoteScreen> {
), ),
)); ));
} }
} }

@ -7,6 +7,7 @@ import 'package:doctor_app_flutter/core/model/note/note_model.dart';
import 'package:doctor_app_flutter/core/model/note/update_note_model.dart'; import 'package:doctor_app_flutter/core/model/note/update_note_model.dart';
import 'package:doctor_app_flutter/core/provider/robot_provider.dart'; import 'package:doctor_app_flutter/core/provider/robot_provider.dart';
import 'package:doctor_app_flutter/core/viewModel/patient_view_model.dart'; import 'package:doctor_app_flutter/core/viewModel/patient_view_model.dart';
import 'package:doctor_app_flutter/core/viewModel/project_view_model.dart';
import 'package:doctor_app_flutter/icons_app/doctor_app_icons.dart'; import 'package:doctor_app_flutter/icons_app/doctor_app_icons.dart';
import 'package:doctor_app_flutter/models/doctor/doctor_profile_model.dart'; import 'package:doctor_app_flutter/models/doctor/doctor_profile_model.dart';
import 'package:doctor_app_flutter/models/patient/patiant_info_model.dart'; import 'package:doctor_app_flutter/models/patient/patiant_info_model.dart';
@ -22,6 +23,7 @@ import 'package:doctor_app_flutter/widgets/shared/speech-text-popup.dart';
import 'package:doctor_app_flutter/widgets/shared/text_fields/app-textfield-custom.dart'; import 'package:doctor_app_flutter/widgets/shared/text_fields/app-textfield-custom.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:permission_handler/permission_handler.dart'; import 'package:permission_handler/permission_handler.dart';
import 'package:provider/provider.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;
@ -51,6 +53,8 @@ class _UpdateNoteOrderState extends State<UpdateNoteOrder> {
stt.SpeechToText speech = stt.SpeechToText(); stt.SpeechToText speech = stt.SpeechToText();
var reconizedWord; var reconizedWord;
var event = RobotProvider(); var event = RobotProvider();
ProjectViewModel projectViewModel;
TextEditingController progressNoteController = TextEditingController(); TextEditingController progressNoteController = TextEditingController();
setSelectedType(int val) { setSelectedType(int val) {
@ -74,6 +78,8 @@ class _UpdateNoteOrderState extends State<UpdateNoteOrder> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
projectViewModel = Provider.of(context);
if (widget.note != null) { if (widget.note != null) {
progressNoteController.text = widget.note.notes; progressNoteController.text = widget.note.notes;
} }
@ -91,8 +97,10 @@ class _UpdateNoteOrderState extends State<UpdateNoteOrder> {
children: [ children: [
BottomSheetTitle( BottomSheetTitle(
title: widget.visitType == 3 title: widget.visitType == 3
? (widget.isUpdate ? 'Update' : 'Add') + ' Order Sheet' ? (widget.isUpdate ? TranslationBase.of(context).noteUpdate : TranslationBase.of(context).noteAdd) +
: (widget.isUpdate ? 'Update' : 'Add') + ' Progress Note', 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,
@ -106,10 +114,10 @@ class _UpdateNoteOrderState extends State<UpdateNoteOrder> {
children: [ children: [
AppTextFieldCustom( AppTextFieldCustom(
hintText: widget.visitType == 3 hintText: widget.visitType == 3
? (widget.isUpdate ? 'Update' : 'Add') + ? (widget.isUpdate ? TranslationBase.of(context).noteUpdate : TranslationBase.of(context).noteAdd) +
' Order Sheet' TranslationBase.of(context).orderSheet
: (widget.isUpdate ? 'Update' : 'Add') + : (widget.isUpdate ? TranslationBase.of(context).noteUpdate : TranslationBase.of(context).noteAdd) +
' Progress Note', TranslationBase.of(context).progressNote,
//TranslationBase.of(context).addProgressNote, //TranslationBase.of(context).addProgressNote,
controller: progressNoteController, controller: progressNoteController,
maxLines: 35, maxLines: 35,
@ -124,8 +132,8 @@ class _UpdateNoteOrderState extends State<UpdateNoteOrder> {
: null, : null,
), ),
Positioned( Positioned(
top: 0, //MediaQuery.of(context).size.height * 0, top: -2, //MediaQuery.of(context).size.height * 0,
right: 15, right: projectViewModel.isArabic? MediaQuery.of(context).size.width * 0.75 : 15,
child: IconButton( child: IconButton(
icon: Icon( icon: Icon(
DoctorApp.speechtotext, DoctorApp.speechtotext,
@ -155,8 +163,10 @@ class _UpdateNoteOrderState extends State<UpdateNoteOrder> {
children: <Widget>[ children: <Widget>[
AppButton( AppButton(
title: widget.visitType == 3 title: widget.visitType == 3
? (widget.isUpdate ? 'Update' : 'Add') + ' Order Sheet' ? (widget.isUpdate ? TranslationBase.of(context).noteUpdate : TranslationBase.of(context).noteAdd) +
: (widget.isUpdate ? 'Update' : 'Add') + ' Progress Note', TranslationBase.of(context).orderSheet
: (widget.isUpdate ? TranslationBase.of(context).noteUpdate : TranslationBase.of(context).noteAdd) +
TranslationBase.of(context).progressNote,
color: Color(0xff359846), color: Color(0xff359846),
// disabled: progressNoteController.text.isEmpty, // disabled: progressNoteController.text.isEmpty,
fontWeight: FontWeight.w700, fontWeight: FontWeight.w700,

@ -1303,6 +1303,28 @@ class TranslationBase {
String get severe => localizedValues["severe"][locale.languageCode]; String get severe => localizedValues["severe"][locale.languageCode];
String get graphDetails => String get graphDetails =>
localizedValues["graphDetails"][locale.languageCode]; localizedValues["graphDetails"][locale.languageCode];
String get addNewOrderSheet =>
localizedValues["addNewOrderSheet"][locale.languageCode];
String get addNewProgressNote =>
localizedValues["addNewProgressNote"][locale.languageCode];
String get notePending =>
localizedValues["notePending"][locale.languageCode];
String get noteCanceled =>
localizedValues["noteCanceled"][locale.languageCode];
String get noteVerified =>
localizedValues["noteVerified"][locale.languageCode];
String get noteVerify =>
localizedValues["noteVerify"][locale.languageCode];
String get noteConfirm =>
localizedValues["noteConfirm"][locale.languageCode];
String get noteAdd =>
localizedValues["noteAdd"][locale.languageCode];
String get noteUpdate =>
localizedValues["noteUpdate"][locale.languageCode];
String get orderSheet =>
localizedValues["orderSheet"][locale.languageCode];
} }
class TranslationBaseDelegate extends LocalizationsDelegate<TranslationBase> { class TranslationBaseDelegate extends LocalizationsDelegate<TranslationBase> {

Loading…
Cancel
Save