|
@@ -179,7 +179,6 @@ public class RuleTestAggregate {
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
- @Transactional
|
|
|
public Boolean billRuleTestExe(BillRuleVO billRuleVO) {
|
|
|
Long hospitalId = billRuleVO.getHospitalId();
|
|
|
|
|
@@ -218,7 +217,6 @@ public class RuleTestAggregate {
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
- @Transactional
|
|
|
public Boolean billTransfusionRuleTestExe(BillRuleVO billRuleVO) {
|
|
|
Long hospitalId = billRuleVO.getHospitalId();
|
|
|
List<TransfusionRemind> billRules_transfusion = transfusionRemindRepository.findByStatus(StatusEnum.Enable.getKey());
|
|
@@ -255,7 +253,6 @@ public class RuleTestAggregate {
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
- @Transactional
|
|
|
public Boolean criticalLisRuleTestExe(CriticalRuleVO criticalRuleVO) {
|
|
|
Long hospitalId = criticalRuleVO.getHospitalId();
|
|
|
List<LisCritical> criticalRules_lis = lisCriticalRepository.findCustomByStatus(StatusEnum.Enable.getKey());
|
|
@@ -289,7 +286,6 @@ public class RuleTestAggregate {
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
- @Transactional
|
|
|
public Boolean criticalPacsRuleTestExe(CriticalRuleVO criticalRuleVO) {
|
|
|
Long hospitalId = criticalRuleVO.getHospitalId();
|
|
|
List<PacsCritical> criticalRules_pacs = pacsCriticalRepository.findByStatus(StatusEnum.Enable.getKey());
|
|
@@ -323,7 +319,6 @@ public class RuleTestAggregate {
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
- @Transactional
|
|
|
public Boolean highriskDrugRuleTestExe(HighriskRuleVO highriskRuleVO) {
|
|
|
Long hospitalId = highriskRuleVO.getHospitalId();
|
|
|
List<MedRegName> items = medRegNameRepository.findByStatusAndRisklevelExists(1);
|
|
@@ -357,7 +352,6 @@ public class RuleTestAggregate {
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
- @Transactional
|
|
|
public Boolean highriskOperationRuleTestExe(HighriskRuleVO highriskRuleVO) {
|
|
|
Long hospitalId = highriskRuleVO.getHospitalId();
|
|
|
List<YiBaoOperationName> items = yiBaoOperationNameRepository.findByStatusAndOpgradeExists(1);
|
|
@@ -392,7 +386,6 @@ public class RuleTestAggregate {
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
- @Transactional
|
|
|
public Boolean otherLisRuleTestExe(OtherRuleVO otherRuleVO) {
|
|
|
Long hospitalId = otherRuleVO.getHospitalId();
|
|
|
List<LisRemind> items = lisRemindRepository.findByStatus(1);
|
|
@@ -427,7 +420,6 @@ public class RuleTestAggregate {
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
- @Transactional
|
|
|
public Boolean otherPacsRuleTestExe(OtherRuleVO otherRuleVO) {
|
|
|
Long hospitalId = otherRuleVO.getHospitalId();
|
|
|
List<PacsRemind> items = pacsRemindRepository.findByStatus(1);
|
|
@@ -462,7 +454,6 @@ public class RuleTestAggregate {
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
- @Transactional
|
|
|
public Boolean otherTransfusionRuleTestExe(OtherRuleVO otherRuleVO) {
|
|
|
Long hospitalId = otherRuleVO.getHospitalId();
|
|
|
List<TransfusionSuggest> items = transfusionSuggestRepository.findByStatus(1);
|
|
@@ -867,6 +858,7 @@ public class RuleTestAggregate {
|
|
|
* @param billRuleVO
|
|
|
* @return
|
|
|
*/
|
|
|
+ @Transactional
|
|
|
public Boolean saveResultBill(List<ResultBill> list, BillRuleVO billRuleVO) {
|
|
|
Date now = new Date();
|
|
|
Integer totleNum = list.size();
|
|
@@ -911,6 +903,7 @@ public class RuleTestAggregate {
|
|
|
* @param criticalRuleVO
|
|
|
* @return
|
|
|
*/
|
|
|
+ @Transactional
|
|
|
public Boolean saveResultCritical(List<ResultCritical> list, CriticalRuleVO criticalRuleVO) {
|
|
|
Date now = new Date();
|
|
|
Integer totleNum = list.size();
|
|
@@ -955,6 +948,7 @@ public class RuleTestAggregate {
|
|
|
* @param highriskRuleVO
|
|
|
* @return
|
|
|
*/
|
|
|
+ @Transactional
|
|
|
public Boolean saveResultHighrisk_drug(List<ResultHighriskDrug> list, HighriskRuleVO highriskRuleVO) {
|
|
|
Date now = new Date();
|
|
|
Integer totleNum = list.size();
|
|
@@ -998,6 +992,7 @@ public class RuleTestAggregate {
|
|
|
* @param highriskRuleVO
|
|
|
* @return
|
|
|
*/
|
|
|
+ @Transactional
|
|
|
public Boolean saveResultHighrisk_operation(List<ResultHighriskOperation> list, HighriskRuleVO highriskRuleVO) {
|
|
|
Date now = new Date();
|
|
|
Integer totleNum = list.size();
|
|
@@ -1041,6 +1036,7 @@ public class RuleTestAggregate {
|
|
|
* @param otherRuleVO
|
|
|
* @return
|
|
|
*/
|
|
|
+ @Transactional
|
|
|
public Boolean saveResultOther_lis(List<ResultOtherLis> list, OtherRuleVO otherRuleVO) {
|
|
|
Date now = new Date();
|
|
|
Integer totleNum = list.size();
|
|
@@ -1084,6 +1080,7 @@ public class RuleTestAggregate {
|
|
|
* @param otherRuleVO
|
|
|
* @return
|
|
|
*/
|
|
|
+ @Transactional
|
|
|
public Boolean saveResultOther_pacs(List<ResultOtherPacs> list, OtherRuleVO otherRuleVO) {
|
|
|
Date now = new Date();
|
|
|
Integer totleNum = list.size();
|
|
@@ -1128,6 +1125,7 @@ public class RuleTestAggregate {
|
|
|
* @param otherRuleVO
|
|
|
* @return
|
|
|
*/
|
|
|
+ @Transactional
|
|
|
public Boolean saveResultOther_transfusion(List<ResultOtherTransfusion> list, OtherRuleVO otherRuleVO) {
|
|
|
Date now = new Date();
|
|
|
Integer totleNum = list.size();
|