|
@@ -148,7 +148,8 @@ class Dcquery extends Controller
|
|
|
$acc_num = $_REQUEST['acc_num']?? false;
|
|
|
$study_info = false;
|
|
|
$field= ['id','studyuid','studyid','patient_id','studydate','institution_id'];
|
|
|
- if($study_id && strlen($study_id) == '16') {
|
|
|
+// if($study_id && strlen($study_id) == '16') {
|
|
|
+ if($study_id && strlen($study_id) == '32') {
|
|
|
Log::record('study_info');
|
|
|
Log::record($study_id);
|
|
|
$study_info = DB::table('studies')->where('id',$study_id)->field($field)->find();
|