File tree Expand file tree Collapse file tree
onprc_ehr/resources/queries/ehr_lookups Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ LEFT JOIN (
9898 f .id ,
9999 min (f .flag .value) as heightExemption
100100 FROM study .flags f
101- WHERE f .isActive = true AND f .flag .category = ' Caging Note' and ( f .flag .value = javaConstant( ' org.labkey.onprc_ehr.ONPRC_EHRManager.CAGE_HEIGHT_EXEMPTION_FLAG ' ) OR f . flag .value = javaConstant( ' org.labkey.onprc_ehr.ONPRC_EHRManager.CAGE_MEDICAL_EXEMPTION_FLAG ' ))
101+ WHERE f .isActive = true AND f .flag .category = ' Caging Note' and f .flag .description like ' %exempt% '
102102 GROUP BY f .Id
103103) f on (f .Id = h .Id )
104104
@@ -108,7 +108,7 @@ LEFT JOIN (
108108 f .id ,
109109 min (f .flag .value) as weightExemption
110110 FROM study .flags f
111- WHERE f .isActive = true AND f .flag .category = ' Caging Note' and ( f .flag .value = javaConstant( ' org.labkey.onprc_ehr.ONPRC_EHRManager.CAGE_WEIGHT_EXEMPTION_FLAG ' ) or f . flag .value = javaConstant( ' org.labkey.onprc_ehr.ONPRC_EHRManager.CAGE_MEDICAL_EXEMPTION_FLAG ' ))
111+ WHERE f .isActive = true AND f .flag .category = ' Caging Note' and f .flag .description like ' %exempt% '
112112 GROUP BY f .Id
113113) wf on (wf .Id = h .Id )
114114
You can’t perform that action at this time.
0 commit comments