Merge branch 'patient_type_fix' into 'development'

fix issue

See merge request Cloud_Solution/doctor_app_flutter!370
merge-requests/372/merge
Mohammad Aljammal 5 years ago
commit 55d4ff1436

@ -139,7 +139,8 @@ class PatiantInformtion {
emailAddress: json["EmailAddress"] ?? json["emailAddress"],
patientIdentificationNo:
json["PatientIdentificationNo"] ?? json["patientIdentificationNo"],
patientType: json["PatientType"] ?? json["patientType"],
//TODO make 7 dynamic when the backend retrun it in patient arrival
patientType: json["PatientType"] ?? json["patientType"]??7,
admissionNo: json["AdmissionNo"] ?? json["admissionNo"],
admissionDate: json["AdmissionDate"] ?? json["admissionDate"],
createdOn: json["CreatedOn"] ?? json["CreatedOn"],

Loading…
Cancel
Save