vital sign screen
parent
691e7dbac6
commit
5e7526f2c7
@ -0,0 +1,77 @@
|
||||
|
||||
/*
|
||||
*@author: Elham Rababah
|
||||
*@Date:27/4/2020
|
||||
*@param:
|
||||
*@return:
|
||||
*@desc: VitalSignReqModel
|
||||
*/
|
||||
class VitalSignReqModel {
|
||||
int patientID;
|
||||
int projectID;
|
||||
int patientTypeID;
|
||||
int inOutpatientType;
|
||||
int transNo;
|
||||
int languageID;
|
||||
String stamp ;
|
||||
String iPAdress;
|
||||
double versionID;
|
||||
int channel;
|
||||
String tokenID;
|
||||
String sessionID;
|
||||
bool isLoginForDoctorApp;
|
||||
bool patientOutSA;
|
||||
|
||||
VitalSignReqModel(
|
||||
{this.patientID,
|
||||
this.projectID,
|
||||
this.inOutpatientType,
|
||||
this.transNo,
|
||||
this.languageID,
|
||||
this.tokenID,
|
||||
this.stamp = '2020-04-26T09:32:18.317Z',
|
||||
this.iPAdress='11.11.11.11',
|
||||
this.versionID=1.2,
|
||||
this.channel=9,
|
||||
this.sessionID='E2bsEeYEJo',
|
||||
this.isLoginForDoctorApp=true,
|
||||
this.patientTypeID,
|
||||
this.patientOutSA=false});
|
||||
|
||||
VitalSignReqModel.fromJson(Map<String, dynamic> json) {
|
||||
projectID = json['ProjectID'];
|
||||
patientID = json['PatientID'];
|
||||
languageID = json['LanguageID'];
|
||||
inOutpatientType = json['InOutpatientType'];
|
||||
transNo = json['TransNo'];
|
||||
stamp = json['stamp'];
|
||||
iPAdress = json['IPAdress'];
|
||||
versionID = json['VersionID'];
|
||||
channel = json['Channel'];
|
||||
tokenID = json['TokenID'];
|
||||
sessionID = json['SessionID'];
|
||||
isLoginForDoctorApp = json['IsLoginForDoctorApp'];
|
||||
patientOutSA = json['PatientOutSA'];
|
||||
patientTypeID = json['PatientTypeID'];
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||
data['ProjectID'] = this.projectID;
|
||||
data['PatientID'] = this.patientID;
|
||||
data['InOutpatientType'] = this.inOutpatientType;
|
||||
data['TransNo'] = this.transNo;
|
||||
data['LanguageID'] = this.languageID;
|
||||
data['stamp'] = this.stamp;
|
||||
data['IPAdress'] = this.iPAdress;
|
||||
data['VersionID'] = this.versionID;
|
||||
data['Channel'] = this.channel;
|
||||
data['TokenID'] = this.tokenID;
|
||||
data['SessionID'] = this.sessionID;
|
||||
data['IsLoginForDoctorApp'] = this.isLoginForDoctorApp;
|
||||
data['PatientOutSA'] = this.patientOutSA;
|
||||
data['PatientTypeID'] = this.patientTypeID;
|
||||
return data;
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue