|
|
|
|
@ -219,7 +219,7 @@ class _UpdateSubjectivePageState extends State<UpdateSubjectivePage>
|
|
|
|
|
? 0
|
|
|
|
|
: int.parse(widget.patientInfo.admissionNo),
|
|
|
|
|
patientMRN: widget.patientInfo.patientMRN,
|
|
|
|
|
appointmentNo:
|
|
|
|
|
appointmentNo:widget.patientInfo.appointmentNo == null?0:
|
|
|
|
|
int.parse(widget.patientInfo.appointmentNo.toString()),
|
|
|
|
|
episodeId: widget.patientInfo.episodeNo,
|
|
|
|
|
episodeID: widget.patientInfo.episodeNo,
|
|
|
|
|
@ -236,9 +236,11 @@ class _UpdateSubjectivePageState extends State<UpdateSubjectivePage>
|
|
|
|
|
'\n \n'
|
|
|
|
|
: model.patientChiefComplaintList[0].currentMedication;
|
|
|
|
|
}
|
|
|
|
|
if(widget.patientInfo.appointmentNo != null) {
|
|
|
|
|
await getHistory(model);
|
|
|
|
|
await getAllergies(model);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
await getHistory(model);
|
|
|
|
|
await getAllergies(model);
|
|
|
|
|
|
|
|
|
|
widget.changeLoadingState(false);
|
|
|
|
|
},
|
|
|
|
|
|