code View

id 1
Title urgent checks - q_uvu
Type snippet
Highlight group
Description show ! for patients with urgent checks active
Code
//urgent checks

var q_uvu = db.d_events
			.AsNoTracking()
			.Where(x => x.event_type.ToLower() == "app_verify" && x.date_apt_exe == null && (x.deleted == null || !(bool)x.deleted))
			.Select(s => new { s.id_person, idApt = (string.IsNullOrEmpty(s.id_event) ? "" : "!") }).Distinct();

 

Ordine 0