|
|
|
@ -1,26 +1,29 @@
|
|
|
|
import 'dart:convert';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//PatiantInformtion patiantInformtionFromJson(String str) => PatiantInformtion.fromJson(json.decode(str));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
////String patiantInformtionToJson(PatiantInformtion data) => json.encode(data.toJson());
|
|
|
|
|
|
|
|
//****************************** */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
*@author: Amjad Amireh
|
|
|
|
|
|
|
|
*@Date:27/4/2020
|
|
|
|
|
|
|
|
*@param:
|
|
|
|
|
|
|
|
*@return:Patian information Model
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*@desc:
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// TODO : it have to be changed.
|
|
|
|
|
|
|
|
|
|
|
|
class PatiantInformtion {
|
|
|
|
class PatiantInformtion {
|
|
|
|
final List<PatiantInformtion> list;
|
|
|
|
final List<PatiantInformtion> list;
|
|
|
|
|
|
|
|
int genderInt;
|
|
|
|
|
|
|
|
String age;
|
|
|
|
|
|
|
|
String appointmentDate;
|
|
|
|
|
|
|
|
int appointmentNo;
|
|
|
|
|
|
|
|
String appointmentType;
|
|
|
|
|
|
|
|
String arrivedOn;
|
|
|
|
|
|
|
|
int clinicGroupId;
|
|
|
|
|
|
|
|
String companyName;
|
|
|
|
|
|
|
|
Null dischargeStatus;
|
|
|
|
|
|
|
|
Null doctorDetails;
|
|
|
|
|
|
|
|
int doctorId;
|
|
|
|
|
|
|
|
String endTime;
|
|
|
|
|
|
|
|
int episodeNo;
|
|
|
|
|
|
|
|
int fallRiskScore;
|
|
|
|
|
|
|
|
bool isSigned;
|
|
|
|
|
|
|
|
int medicationOrders;
|
|
|
|
|
|
|
|
String mobileNumber;
|
|
|
|
|
|
|
|
String nationality;
|
|
|
|
int projectId;
|
|
|
|
int projectId;
|
|
|
|
int clinicId;
|
|
|
|
int clinicId;
|
|
|
|
int doctorId;
|
|
|
|
|
|
|
|
int patientId;
|
|
|
|
int patientId;
|
|
|
|
String doctorName;
|
|
|
|
String doctorName;
|
|
|
|
String doctorNameN;
|
|
|
|
String doctorNameN;
|
|
|
|
@ -33,7 +36,6 @@ class PatiantInformtion {
|
|
|
|
int gender;
|
|
|
|
int gender;
|
|
|
|
String dateofBirth;
|
|
|
|
String dateofBirth;
|
|
|
|
String nationalityId;
|
|
|
|
String nationalityId;
|
|
|
|
String mobileNumber;
|
|
|
|
|
|
|
|
String emailAddress;
|
|
|
|
String emailAddress;
|
|
|
|
String patientIdentificationNo;
|
|
|
|
String patientIdentificationNo;
|
|
|
|
int patientType;
|
|
|
|
int patientType;
|
|
|
|
@ -47,10 +49,8 @@ class PatiantInformtion {
|
|
|
|
String clinicDescriptionN;
|
|
|
|
String clinicDescriptionN;
|
|
|
|
String nationalityName;
|
|
|
|
String nationalityName;
|
|
|
|
String nationalityNameN;
|
|
|
|
String nationalityNameN;
|
|
|
|
String age;
|
|
|
|
|
|
|
|
String genderDescription;
|
|
|
|
String genderDescription;
|
|
|
|
String nursingStationName;
|
|
|
|
String nursingStationName;
|
|
|
|
String appointmentDate;
|
|
|
|
|
|
|
|
String startTime;
|
|
|
|
String startTime;
|
|
|
|
|
|
|
|
|
|
|
|
PatiantInformtion({
|
|
|
|
PatiantInformtion({
|
|
|
|
@ -89,10 +89,24 @@ class PatiantInformtion {
|
|
|
|
this.nursingStationName,
|
|
|
|
this.nursingStationName,
|
|
|
|
this.appointmentDate,
|
|
|
|
this.appointmentDate,
|
|
|
|
this.startTime,
|
|
|
|
this.startTime,
|
|
|
|
|
|
|
|
this.appointmentNo,
|
|
|
|
|
|
|
|
this.appointmentType,
|
|
|
|
|
|
|
|
this.arrivedOn,
|
|
|
|
|
|
|
|
this.clinicGroupId,
|
|
|
|
|
|
|
|
this.companyName,
|
|
|
|
|
|
|
|
this.dischargeStatus,
|
|
|
|
|
|
|
|
this.doctorDetails,
|
|
|
|
|
|
|
|
this.endTime,
|
|
|
|
|
|
|
|
this.episodeNo,
|
|
|
|
|
|
|
|
this.fallRiskScore,
|
|
|
|
|
|
|
|
this.genderInt,
|
|
|
|
|
|
|
|
this.isSigned,
|
|
|
|
|
|
|
|
this.medicationOrders,
|
|
|
|
|
|
|
|
this.nationality,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
factory PatiantInformtion.fromJson(Map<String, dynamic> json) => PatiantInformtion(
|
|
|
|
factory PatiantInformtion.fromJson(Map<String, dynamic> json) =>
|
|
|
|
|
|
|
|
PatiantInformtion(
|
|
|
|
projectId: json["ProjectID"],
|
|
|
|
projectId: json["ProjectID"],
|
|
|
|
clinicId: json["ClinicID"],
|
|
|
|
clinicId: json["ClinicID"],
|
|
|
|
doctorId: json["DoctorID"],
|
|
|
|
doctorId: json["DoctorID"],
|
|
|
|
@ -127,6 +141,19 @@ class PatiantInformtion {
|
|
|
|
nursingStationName: json["NursingStationName"],
|
|
|
|
nursingStationName: json["NursingStationName"],
|
|
|
|
appointmentDate: json["AppointmentDate"]?? '',
|
|
|
|
appointmentDate: json["AppointmentDate"]?? '',
|
|
|
|
startTime: json["StartTime"],
|
|
|
|
startTime: json["StartTime"],
|
|
|
|
|
|
|
|
appointmentNo :json['appointmentNo'],
|
|
|
|
|
|
|
|
appointmentType :json['appointmentType'],
|
|
|
|
|
|
|
|
arrivedOn :json['arrivedOn'],
|
|
|
|
|
|
|
|
clinicGroupId :json['clinicGroupId'],
|
|
|
|
|
|
|
|
companyName :json['companyName'],
|
|
|
|
|
|
|
|
dischargeStatus :json['dischargeStatus'],
|
|
|
|
|
|
|
|
doctorDetails :json['doctorDetails'],
|
|
|
|
|
|
|
|
endTime :json['endTime'],
|
|
|
|
|
|
|
|
episodeNo :json['episodeNo'],
|
|
|
|
|
|
|
|
fallRiskScore :json['fallRiskScore'],
|
|
|
|
|
|
|
|
isSigned :json['isSigned'],
|
|
|
|
|
|
|
|
medicationOrders :json['medicationOrders'],
|
|
|
|
|
|
|
|
nationality :json['nationality'],
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|