|
@@ -7,6 +7,7 @@ import com.sun.org.apache.xalan.internal.xsltc.compiler.util.VoidType;
|
|
|
import org.apache.ibatis.annotations.*;
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
import thyyxxk.webserver.entity.drg.AuxiliaryFillingOfDiagnosis;
|
|
|
+import thyyxxk.webserver.entity.medicalinsurance.inpatient.ZyPatientInfo;
|
|
|
import thyyxxk.webserver.entity.zhuyuanyisheng.emr.*;
|
|
|
|
|
|
import java.util.List;
|
|
@@ -269,4 +270,18 @@ public interface EmrPatientDao {
|
|
|
" left join hot_search_sorting b on (a.query_key = b.code and b.table_name = 'medical_history_prompts' and a.creator_id = b.user_code) " +
|
|
|
" ${ew.customSqlSegment} ")
|
|
|
List<MedicalHistoryPrompts> getEmrTipsData(@Param(Constants.WRAPPER) QueryWrapper<?> queryWrapper);
|
|
|
+
|
|
|
+
|
|
|
+ @Select("select bed_no, " +
|
|
|
+ " admiss_times," +
|
|
|
+ " inpatient_no, " +
|
|
|
+ " name, " +
|
|
|
+ " admiss_date, " +
|
|
|
+ " dis_date, " +
|
|
|
+ " zk_ward = (select rtrim(name) from zd_unit_code where code = zk_ward), " +
|
|
|
+ " admiss = (select rtrim(name) from zd_unit_code where code = admiss_ward), " +
|
|
|
+ " dis_ward = (select rtrim(name) from zd_unit_code where code = dis_ward) " +
|
|
|
+ "from zy_inactpatient where inpatient_no = #{patNo} ")
|
|
|
+ List<ZyPatientInfo> getListOfDischargedPatients(String patNo);
|
|
|
+
|
|
|
}
|