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

Re: Record select exclusion help

$
0
0

If you also want to the take into account (9:20 AM) then it should be:

 

(

{HSP_TRTMT_TEAM.TRTMNT_TM_BEGIN_DT} IN [CurrentDate -3 TO CurrentDate -1] AND

({End_Time} > cdatetime(currentdate - 1, time(09,20,00)) OR {DISCH_Time} > cdatetime(currentdate - 1, time(09,20,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') //dummy hospitalist provider ID


Viewing all articles
Browse latest Browse all 8623

Trending Articles



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