Try:
(
isnull({order_proc_1.proc_code}) or {order_proc_1.proc_code}='NUR380')
)
AND
(
isnull({order_proc_1.pat_enc_csn_id}
)
AND {IDENTITY_ID_TYPE.ID_TYPE} = 101.00 and
{ZC_LINES_GROUP.LINES_GROUP_C} = 19 and
{pat_enc_hsp.hosp_disch_time} in {@interpreted Start Date} to {@Interpreted End Date}
-Abhilash