Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8524

Record not excluding records

$
0
0


Current Selection Formula:

(
{HSP_TRTMT_TEAM.TRTMNT_TM_BEGIN_DT} IN [CurrentDate -4 TO CurrentDate -1] and
{HSP_TRTMT_TEAM.TRTMNT_TM_BEGIN_DT} <= cdatetime(currentdate - 1, time(20,56,00))
and
(IsNull({HSP_TRTMT_TEAM.TRTMNT_TM_END_DT})or  {HSP_TRTMT_TEAM.TRTMNT_TM_END_DT} >= cdatetime(currentdate - 1, time(20,56,00)) OR
(Not(IsNull({HSP_TRTMT_TEAM.TRTMNT_TM_END_DT})) AND  {HSP_TRTMT_TEAM.TRTMNT_TM_END_DT} >= cdatetime(currentdate - 1, time(20,56,00)) OR


Not(IsNull({PAT_ENC_HSP.HOSP_DISCH_TIME})) AND {PAT_ENC_HSP.HOSP_DISCH_TIME} >= cdatetime(currentdate - 1, time(20,56,00))))
)

and

{HSP_ACCOUNT.LOC_ID} = 410 and

{HSP_TRTMT_TEAM.PROV_ID} <> '411467' and

({ZC_TRTMT_TEAM_REL.NAME} = "Hospitalist" or

{HSP_TRTMT_TEAM.PROV_ID} = '11095')

 

Records that should be excluded but are not

 

TRTMNT_TM_BEGIN_DTTRTMNT_TM_END_DTHOSP_DISCH_TIME
8/11/2014  3:27:00 PM8/12/2014 1:30:00 PM
8/11/2014  1:51:00 PM8/12/2014 4:54:00 PM

Viewing all articles
Browse latest Browse all 8524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>