|
@@ -51,7 +51,7 @@ class Dcom extends Controller //Base
|
|
|
public function insertPatient($info,$institution)
|
|
|
{
|
|
|
$where = [
|
|
|
- 'institution_id'=>$info['institutionCode'],
|
|
|
+ 'institution_id'=> $institution,
|
|
|
'temp_patient_id'=>$info['patientId']
|
|
|
];
|
|
|
$patient = Db::table('patient_infos')->where($where)->find();
|