|
|
|
|
@ -83,6 +83,7 @@ class Patientobject {
|
|
|
|
|
String dateofBirth;
|
|
|
|
|
int gender;
|
|
|
|
|
String nationalityID;
|
|
|
|
|
String eHealthIDField;
|
|
|
|
|
String dateofBirthN;
|
|
|
|
|
String emailAddress;
|
|
|
|
|
String sourceType;
|
|
|
|
|
@ -96,15 +97,16 @@ class Patientobject {
|
|
|
|
|
this.mobileNumber,
|
|
|
|
|
this.patientOutSA,
|
|
|
|
|
this.firstName,
|
|
|
|
|
this.middleName,
|
|
|
|
|
this.lastName,
|
|
|
|
|
this.firstNameN,
|
|
|
|
|
this.middleNameN,
|
|
|
|
|
this.lastNameN,
|
|
|
|
|
this.middleName,
|
|
|
|
|
this.lastName,
|
|
|
|
|
this.firstNameN,
|
|
|
|
|
this.middleNameN,
|
|
|
|
|
this.lastNameN,
|
|
|
|
|
this.strDateofBirth,
|
|
|
|
|
this.dateofBirth,
|
|
|
|
|
this.gender,
|
|
|
|
|
this.nationalityID,
|
|
|
|
|
this.eHealthIDField,
|
|
|
|
|
this.dateofBirthN,
|
|
|
|
|
this.emailAddress,
|
|
|
|
|
this.sourceType,
|
|
|
|
|
@ -127,6 +129,7 @@ class Patientobject {
|
|
|
|
|
dateofBirth = json['DateofBirth'];
|
|
|
|
|
gender = json['Gender'];
|
|
|
|
|
nationalityID = json['NationalityID'];
|
|
|
|
|
eHealthIDField = json['eHealthIDField'];
|
|
|
|
|
dateofBirthN = json['DateofBirthN'];
|
|
|
|
|
emailAddress = json['EmailAddress'];
|
|
|
|
|
sourceType = json['SourceType'];
|
|
|
|
|
@ -152,10 +155,10 @@ class Patientobject {
|
|
|
|
|
data['DateofBirth'] = this.dateofBirth;
|
|
|
|
|
data['Gender'] = this.gender;
|
|
|
|
|
data['NationalityID'] = this.nationalityID;
|
|
|
|
|
data['eHealthIDField'] = this.eHealthIDField;
|
|
|
|
|
data['DateofBirthN'] = this.dateofBirthN;
|
|
|
|
|
data['EmailAddress'] = this.emailAddress;
|
|
|
|
|
data['SourceType'] = this.sourceType;
|
|
|
|
|
|
|
|
|
|
data['PreferredLanguage'] = this.preferredLanguage;
|
|
|
|
|
data['Marital'] = this.marital;
|
|
|
|
|
return data;
|
|
|
|
|
|