WD: reverting the value of enum

update_flutter_3.24_vida_plus_episode_MDS
taha.alam 11 months ago
parent 0526896745
commit 70114b8f19

@ -1223,7 +1223,7 @@ const Map<String, Map<String, String>> localizedValues = {
"areYouSureYouWantToDeleteDiagnosis": {
"en": "Are you sure you want to delete diagnosis",
"ar": "هل أنت متأكد من أنك تريد حذف التشخيص"
}
},
"activate": {"en": "Activate", "ar":"فعل"},
"resolved": {"en": "Resolved", "ar":"تم الحل"},

@ -5,7 +5,7 @@ enum MasterKeysService {
HistorySocial,
HistorySports,
HistorySurgical,
PostPhysicalExaminationModel,
PhysicalExamination,
AllergySeverity,
physiotherapyGoals,
DiagnosisCondition,
@ -45,7 +45,7 @@ extension SelectedMasterKeysService on MasterKeysService {
case MasterKeysService.HistorySurgical:
return 66;
break;
case MasterKeysService.PostPhysicalExaminationModel:
case MasterKeysService.PhysicalExamination:
return 59;
break;
case MasterKeysService.AllergySeverity:

@ -109,7 +109,7 @@ class LookupService extends BaseService {
_historySurgicalList.add(MasterKeyModel.fromJson(v));
});
break;
case MasterKeysService.PostPhysicalExaminationModel:
case MasterKeysService.PhysicalExamination:
_physicalExaminationList.clear();
entryList.forEach((v) {
_physicalExaminationList.add(MasterKeyModel.fromJson(v));

@ -38,7 +38,7 @@ class _AddExaminationPageState extends State<AddExaminationPage> {
if (model.physicalExaminationList.length == 0) {
WidgetsBinding.instance.addPostFrameCallback((_) async {
await model.getMasterLookup(
MasterKeysService.PostPhysicalExaminationModel,
MasterKeysService.PhysicalExamination,
);
});
}

@ -63,11 +63,11 @@ class _UpdateObjectivePageState extends State<UpdateObjectivePage> implements Ob
await model.getPatientPhysicalExam(widget.patientInfo);
if (model.patientPhysicalExamList.isNotEmpty) {
if (model.physicalExaminationList.length == 0) {
await model.getMasterLookup(MasterKeysService.PostPhysicalExaminationModel);
await model.getMasterLookup(MasterKeysService.PhysicalExamination);
}
model.patientPhysicalExamList.forEach((element) {
MasterKeyModel? examMaster = model.getOneMasterKey(
masterKeys: MasterKeysService.PostPhysicalExaminationModel,
masterKeys: MasterKeysService.PhysicalExamination,
id: element.examId,
);
MySelectedExamination tempEam = SoapUtils.generateMySelectedExamination(

Loading…
Cancel
Save