|
|
|
@ -49,8 +49,8 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
|
|
|
|
patientMRN: patient.patientMRN);
|
|
|
|
patientMRN: patient.patientMRN);
|
|
|
|
await model.postEpisode(postEpisodeReqModel);
|
|
|
|
await model.postEpisode(postEpisodeReqModel);
|
|
|
|
patient.episodeNo = model.episodeID;
|
|
|
|
patient.episodeNo = model.episodeID;
|
|
|
|
Navigator.of(context)
|
|
|
|
Navigator.of(context).pushNamed(CREATE_EPISODE,
|
|
|
|
.pushNamed(CREATE_EPISODE, arguments: {'patient': patient});
|
|
|
|
arguments: {'patient': patient});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
isLoading: model.state == ViewState.BusyLocal,
|
|
|
|
isLoading: model.state == ViewState.BusyLocal,
|
|
|
|
icon: 'create-episod.png'),
|
|
|
|
icon: 'create-episod.png'),
|
|
|
|
@ -63,7 +63,6 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
|
|
|
|
nameLine2: TranslationBase.of(context).episode,
|
|
|
|
nameLine2: TranslationBase.of(context).episode,
|
|
|
|
route: UPDATE_EPISODE,
|
|
|
|
route: UPDATE_EPISODE,
|
|
|
|
icon: 'modilfy-episode.png'),
|
|
|
|
icon: 'modilfy-episode.png'),
|
|
|
|
|
|
|
|
|
|
|
|
if (int.parse(patientType) == 7 || int.parse(patientType) == 6)
|
|
|
|
if (int.parse(patientType) == 7 || int.parse(patientType) == 6)
|
|
|
|
PatientProfileButton(
|
|
|
|
PatientProfileButton(
|
|
|
|
key: key,
|
|
|
|
key: key,
|
|
|
|
@ -80,7 +79,6 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
|
|
|
|
nameLine1: TranslationBase.of(context).insurance,
|
|
|
|
nameLine1: TranslationBase.of(context).insurance,
|
|
|
|
nameLine2: TranslationBase.of(context).service,
|
|
|
|
nameLine2: TranslationBase.of(context).service,
|
|
|
|
icon: 'lab.png'),
|
|
|
|
icon: 'lab.png'),
|
|
|
|
|
|
|
|
|
|
|
|
if (int.parse(patientType) == 7 || int.parse(patientType) == 6)
|
|
|
|
if (int.parse(patientType) == 7 || int.parse(patientType) == 6)
|
|
|
|
PatientProfileButton(
|
|
|
|
PatientProfileButton(
|
|
|
|
key: key,
|
|
|
|
key: key,
|
|
|
|
@ -131,7 +129,7 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
|
|
|
|
? PatientProfileButton(
|
|
|
|
? PatientProfileButton(
|
|
|
|
key: key,
|
|
|
|
key: key,
|
|
|
|
patient: patient,
|
|
|
|
patient: patient,
|
|
|
|
route: ORDER_PRESCRIPTION_HISTORY,
|
|
|
|
route: ORDER_PRESCRIPTION,
|
|
|
|
nameLine1: TranslationBase.of(context).orders,
|
|
|
|
nameLine1: TranslationBase.of(context).orders,
|
|
|
|
nameLine2: TranslationBase.of(context).prescription,
|
|
|
|
nameLine2: TranslationBase.of(context).prescription,
|
|
|
|
icon: 'lab.png')
|
|
|
|
icon: 'lab.png')
|
|
|
|
|