|
@@ -48,7 +48,7 @@ class Dcom extends Controller //Base
|
|
|
'institution_id'=>$info['institutionCode'],
|
|
|
'temp_patient_id'=>$info['patientId']
|
|
|
];
|
|
|
- $patient = Db::table('patient_infps')->where($where)->find();
|
|
|
+ $patient = Db::table('patient_infos')->where($where)->find();
|
|
|
if($patient){
|
|
|
return $patient;
|
|
|
}else{
|
|
@@ -67,7 +67,6 @@ class Dcom extends Controller //Base
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
public function insertStudy($info,$patient)
|
|
|
{
|
|
|
$where = [
|
|
@@ -96,6 +95,7 @@ class Dcom extends Controller //Base
|
|
|
return $data;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
public function insertExam($info,$patient,$study)
|
|
|
{
|
|
|
$where = [
|