12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- import 'package:fis_jsonrpc/services/vitalPatient.m.dart';
- class PatientFullInfoModel extends PatientDTO {
- // PatientDetailInfoModel? detailInfo;
- // PatientHealthInfoModel? healthInfo;
- Map<String, dynamic>? extJsonMap;
- PatientFullInfoModel fromJson(Map<String, dynamic> map) {
- final baseDto = PatientDTO.fromJson(map);
- code = baseDto.code;
- recordNo = baseDto.recordNo;
- patientName = baseDto.patientName;
- phone = baseDto.phone;
- emergencyName = baseDto.emergencyName;
- emergencyPhone = baseDto.emergencyPhone;
- cardNo = baseDto.cardNo;
- nationality = baseDto.nationality;
- birthday = baseDto.birthday;
- crowdLabels = baseDto.crowdLabels;
- cardType = baseDto.cardType;
- patientGender = baseDto.patientGender;
- patientAddress = baseDto.patientAddress;
- permanentResidenceAddress = baseDto.permanentResidenceAddress;
- teamRegionCode = baseDto.teamRegionCode;
- createdDoctor = baseDto.createdDoctor;
- contractedDoctor = baseDto.contractedDoctor;
- labelNames = baseDto.labelNames;
- createdDoctorName = baseDto.createdDoctorName;
- createdOrgName = baseDto.createdOrgName;
- createdTeamName = baseDto.createdTeamName;
- status = baseDto.status;
- createdOrgCode = baseDto.createdOrgCode;
- createdTeamCode = baseDto.createdTeamCode;
- currentTeamCode = baseDto.currentTeamCode;
- currentOrgCode = baseDto.currentOrgCode;
- contractedDoctorName = baseDto.contractedDoctorName;
- contractState = baseDto.contractState;
- photos = baseDto.photos;
- createTime = baseDto.createTime;
- updateTime = baseDto.updateTime;
- return this;
- }
- }
|