patient_information.dart 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. import 'package:fis_jsonrpc/rpc.dart';
  2. import 'package:vitalapp/pages/patient/info/widgets/ext_model.dart';
  3. ///居民档案信息,包含居民基础信息、详细信息、健康信息
  4. class PatientInformation {
  5. ///姓名
  6. final String name;
  7. ///证件号
  8. final String code;
  9. ///证件类型
  10. final CardTypeEnum cardType;
  11. ///性别
  12. final GenderEnum gender;
  13. ///生日
  14. final DateTime? birthday;
  15. ///年龄
  16. final String age;
  17. ///手机号
  18. final String phoneNo;
  19. ///紧急联系人手机号
  20. final String emergencyPhone;
  21. ///居住地址
  22. final String address;
  23. ///户籍地址
  24. final String permanentResidenceAddress;
  25. ///建档机构
  26. final String createdOrgName;
  27. ///建档人
  28. final String createdDoctorName;
  29. ///签约医生
  30. final String contractedDoctorName;
  31. ///创建时间
  32. final String createTime;
  33. ///详细信息
  34. final PatientDetailInfoModel? detailInfo;
  35. ///健康信息
  36. final PatientHealthInfoModel? healthInfo;
  37. PatientInformation({
  38. required this.name,
  39. required this.code,
  40. this.cardType = CardTypeEnum.Identity,
  41. this.gender = GenderEnum.Unknown,
  42. this.birthday,
  43. this.age = '',
  44. this.phoneNo = '',
  45. this.emergencyPhone = '',
  46. this.address = "",
  47. this.permanentResidenceAddress = '',
  48. this.createdOrgName = '',
  49. this.createdDoctorName = '',
  50. this.contractedDoctorName = '',
  51. this.createTime = '',
  52. this.detailInfo,
  53. this.healthInfo,
  54. });
  55. }