|
@@ -16,7 +16,7 @@ class PatientInfomationState {
|
|
|
final RxString _name = RxString("");
|
|
|
final Rx<CardTypeEnum> _cardType = Rx<CardTypeEnum>(CardTypeEnum.Identity);
|
|
|
final RxString _cardNo = RxString("");
|
|
|
- final Rx<GenderEnum?> _gender = Rx<GenderEnum?>(null);
|
|
|
+ final Rx<GenderEnum?> _gender = Rx<GenderEnum?>(GenderEnum.Male);
|
|
|
final RxString _nation = RxString("");
|
|
|
final Rx<DateTime?> _birthday = Rx<DateTime?>(null);
|
|
|
final RxString _age = RxString("");
|
|
@@ -29,8 +29,8 @@ class PatientInfomationState {
|
|
|
final RxString _createdDoctorName = RxString("");
|
|
|
final RxString _contractedDoctorName = RxString("");
|
|
|
final RxString _createTime = RxString("");
|
|
|
- final Rx<PatientDetailInfoModel> _detailInfo =
|
|
|
- Rx<PatientDetailInfoModel>(PatientDetailInfoModel());
|
|
|
+ final Rx<PatientDetailInfoModel> _detailInfo = Rx<PatientDetailInfoModel>(
|
|
|
+ PatientDetailInfoModel(permanentlyResideType: "1"));
|
|
|
final RxBool _isSyncAddresses = RxBool(true);
|
|
|
final RxString _villageCode = RxString('');
|
|
|
final Rx<PatientDTO> _dto = Rx<PatientDTO>(
|
|
@@ -44,7 +44,25 @@ class PatientInfomationState {
|
|
|
|
|
|
/// 健康信息
|
|
|
final Rx<PatientHealthInfoModel> _healthInfo =
|
|
|
- Rx<PatientHealthInfoModel>(PatientHealthInfoModel());
|
|
|
+ Rx<PatientHealthInfoModel>(PatientHealthInfoModel(
|
|
|
+ historyDrugAllergies: ["1"],
|
|
|
+ historyExposure: ["1"],
|
|
|
+ operation: "1",
|
|
|
+ trauma: "1",
|
|
|
+ transfusion: "1",
|
|
|
+ father: ["1"],
|
|
|
+ mother: ["1"],
|
|
|
+ sibling: ["1"],
|
|
|
+ children: ["1"],
|
|
|
+ historyGenetic: "1",
|
|
|
+ disabilitySituation: ["1"],
|
|
|
+ historyPreviousDisease: ["1"],
|
|
|
+ kitchenExhaustFacilities: "1",
|
|
|
+ fuel: "1",
|
|
|
+ drinkingWater: "1",
|
|
|
+ toilet: "1",
|
|
|
+ animalPen: "1",
|
|
|
+ ));
|
|
|
|
|
|
///服务区域
|
|
|
String get villageCode => _villageCode.value;
|