|
|
|
@ -68,75 +68,77 @@ class _UpdateSoapIndexState extends State<UpdateSoapIndex>
|
|
|
|
|
// baseViewModel: model,
|
|
|
|
|
isLoading: _isLoading,
|
|
|
|
|
isShowAppBar: false,
|
|
|
|
|
body: Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
Container(
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
boxShadow: <BoxShadow>[],
|
|
|
|
|
color: Theme.of(context).scaffoldBackgroundColor),
|
|
|
|
|
child: Column(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
// PatientPageHeaderWidget(patient),
|
|
|
|
|
PatientProfileHeaderNewDesign(patient, '7', '7', height: MediaQuery.of(context).size.height * 0.28,),
|
|
|
|
|
Container(
|
|
|
|
|
width: double.infinity,
|
|
|
|
|
height: 1,
|
|
|
|
|
color: Color(0xffCCCCCC),
|
|
|
|
|
),
|
|
|
|
|
Container(
|
|
|
|
|
color: Theme.of(context).scaffoldBackgroundColor,
|
|
|
|
|
margin: EdgeInsets.only(
|
|
|
|
|
left: MediaQuery.of(context).size.width * 0.05,
|
|
|
|
|
right: MediaQuery.of(context).size.width * 0.05),
|
|
|
|
|
child: StepsWidget(
|
|
|
|
|
index: _currentIndex,
|
|
|
|
|
changeCurrentTab: changePageViewIndex,
|
|
|
|
|
height: MediaQuery.of(context).size.height * 0.21,
|
|
|
|
|
body: SingleChildScrollView(
|
|
|
|
|
child: Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
Container(
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
boxShadow: <BoxShadow>[],
|
|
|
|
|
color: Theme.of(context).scaffoldBackgroundColor),
|
|
|
|
|
child: Column(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
// PatientPageHeaderWidget(patient),
|
|
|
|
|
PatientProfileHeaderNewDesign(patient, '7', '7', height: MediaQuery.of(context).size.height * 0.28,),
|
|
|
|
|
Container(
|
|
|
|
|
width: double.infinity,
|
|
|
|
|
height: 1,
|
|
|
|
|
color: Color(0xffCCCCCC),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
Container(
|
|
|
|
|
color: Theme.of(context).scaffoldBackgroundColor,
|
|
|
|
|
height: MediaQuery.of(context).size.height * 0.50,
|
|
|
|
|
child: PageView(
|
|
|
|
|
physics: NeverScrollableScrollPhysics(),
|
|
|
|
|
controller: _controller,
|
|
|
|
|
onPageChanged: (index) {
|
|
|
|
|
setState(() {
|
|
|
|
|
_currentIndex = index;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
scrollDirection: Axis.horizontal,
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
UpdateSubjectivePage(
|
|
|
|
|
changePageViewIndex: changePageViewIndex,
|
|
|
|
|
myAllergiesList: myAllergiesList,
|
|
|
|
|
myHistoryList: myHistoryList,
|
|
|
|
|
patientInfo: patient,
|
|
|
|
|
changeLoadingState: changeLoadingState),
|
|
|
|
|
UpdateObjectivePage(
|
|
|
|
|
changePageViewIndex: changePageViewIndex,
|
|
|
|
|
mySelectedExamination: mySelectedExamination,
|
|
|
|
|
patientInfo: patient,
|
|
|
|
|
changeLoadingState: changeLoadingState),
|
|
|
|
|
UpdateAssessmentPage(
|
|
|
|
|
changePageViewIndex: changePageViewIndex,
|
|
|
|
|
mySelectedAssessmentList: mySelectedAssessment,
|
|
|
|
|
patientInfo: patient,
|
|
|
|
|
changeLoadingState: changeLoadingState),
|
|
|
|
|
UpdatePlanPage(
|
|
|
|
|
changePageViewIndex: changePageViewIndex,
|
|
|
|
|
patientInfo: patient,
|
|
|
|
|
patientProgressNote: patientProgressNote,
|
|
|
|
|
changeLoadingState: changeLoadingState)
|
|
|
|
|
],
|
|
|
|
|
Container(
|
|
|
|
|
color: Theme.of(context).scaffoldBackgroundColor,
|
|
|
|
|
margin: EdgeInsets.only(
|
|
|
|
|
left: MediaQuery.of(context).size.width * 0.05,
|
|
|
|
|
right: MediaQuery.of(context).size.width * 0.05),
|
|
|
|
|
child: StepsWidget(
|
|
|
|
|
index: _currentIndex,
|
|
|
|
|
changeCurrentTab: changePageViewIndex,
|
|
|
|
|
height: MediaQuery.of(context).size.height * 0.20,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
Container(
|
|
|
|
|
color: Theme.of(context).scaffoldBackgroundColor,
|
|
|
|
|
height: MediaQuery.of(context).size.height * 0.50,
|
|
|
|
|
child: PageView(
|
|
|
|
|
physics: NeverScrollableScrollPhysics(),
|
|
|
|
|
controller: _controller,
|
|
|
|
|
onPageChanged: (index) {
|
|
|
|
|
setState(() {
|
|
|
|
|
_currentIndex = index;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
scrollDirection: Axis.horizontal,
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
UpdateSubjectivePage(
|
|
|
|
|
changePageViewIndex: changePageViewIndex,
|
|
|
|
|
myAllergiesList: myAllergiesList,
|
|
|
|
|
myHistoryList: myHistoryList,
|
|
|
|
|
patientInfo: patient,
|
|
|
|
|
changeLoadingState: changeLoadingState),
|
|
|
|
|
UpdateObjectivePage(
|
|
|
|
|
changePageViewIndex: changePageViewIndex,
|
|
|
|
|
mySelectedExamination: mySelectedExamination,
|
|
|
|
|
patientInfo: patient,
|
|
|
|
|
changeLoadingState: changeLoadingState),
|
|
|
|
|
UpdateAssessmentPage(
|
|
|
|
|
changePageViewIndex: changePageViewIndex,
|
|
|
|
|
mySelectedAssessmentList: mySelectedAssessment,
|
|
|
|
|
patientInfo: patient,
|
|
|
|
|
changeLoadingState: changeLoadingState),
|
|
|
|
|
UpdatePlanPage(
|
|
|
|
|
changePageViewIndex: changePageViewIndex,
|
|
|
|
|
patientInfo: patient,
|
|
|
|
|
patientProgressNote: patientProgressNote,
|
|
|
|
|
changeLoadingState: changeLoadingState)
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|