|
|
|
@ -55,6 +55,7 @@ class BaseAppClient {
|
|
|
|
|
|
|
|
|
|
|
|
body['DeviceTypeID'] = DeviceTypeID;
|
|
|
|
body['DeviceTypeID'] = DeviceTypeID;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(!body.containsKey('IsPublicRequest')) {
|
|
|
|
body['PatientType'] = body.containsKey('PatientType')
|
|
|
|
body['PatientType'] = body.containsKey('PatientType')
|
|
|
|
? body['PatientType'] != null ? body['PatientType'] : PATIENT_TYPE
|
|
|
|
? body['PatientType'] != null ? body['PatientType'] : PATIENT_TYPE
|
|
|
|
: PATIENT_TYPE;
|
|
|
|
: PATIENT_TYPE;
|
|
|
|
@ -72,6 +73,7 @@ class BaseAppClient {
|
|
|
|
body['PatientOutSA'] = user['OutSA'];
|
|
|
|
body['PatientOutSA'] = user['OutSA'];
|
|
|
|
body['SessionID'] = getSessionId(token);
|
|
|
|
body['SessionID'] = getSessionId(token);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
print("URL : $url");
|
|
|
|
print("URL : $url");
|
|
|
|
print("Body : ${json.encode(body)}");
|
|
|
|
print("Body : ${json.encode(body)}");
|
|
|
|
|