限制规则.json 1.5 KB

12345678910111213141516171819202122232425262728293031
  1. [
  2. {
  3. "code": "ruyuanjiluzhuanyong",
  4. "editThePromptStatement": "入院48小时后无法编辑病历。",
  5. "id": 1,
  6. "level1DoctorCreatesATimeLimit": 24,
  7. "level1DoctorEditingTimeLimit": 48,
  8. "name": "入院质控",
  9. "open": 0,
  10. "sql": "select top 1 * from (select top 1 order_time from yz_act_order where inpatient_no = '${patNo}' and admiss_times = ${times} order by act_order_no union select top 1 admiss_times from view_xc_all_yz where inpatient_no = '${patNo}' and admiss_times = ${times}) temp",
  11. "sqlId": 1,
  12. "sqlName": "第一次医嘱时间",
  13. "thePromptWasNotCreated": "请在入院24小时内创建完成病历。",
  14. "theSeniorDoctorCreatesATimeLimit": 48,
  15. "timeSubtracts": 0
  16. },
  17. {
  18. "code": "76973d005e4911edbb0eab416e27b81a",
  19. "editThePromptStatement": "测试",
  20. "level1DoctorCreatesATimeLimit": 24,
  21. "level1DoctorEditingTimeLimit": 48,
  22. "name": "测试入院谈话",
  23. "open": 0,
  24. "sql": "select top 1 * from (select top 1 order_time from yz_act_order where inpatient_no = '${patNo}' and admiss_times = ${times} order by act_order_no union select top 1 admiss_times from view_xc_all_yz where inpatient_no = '${patNo}' and admiss_times = ${times}) temp",
  25. "sqlId": 1,
  26. "sqlName": "第一次医嘱时间",
  27. "thePromptWasNotCreated": "测试",
  28. "theSeniorDoctorCreatesATimeLimit": 48,
  29. "timeSubtracts": 0
  30. }
  31. ]