Difference between revisions of "learn:oncallschedule"

From MGH Learn Pathology
 
Line 5: Line 5:
 
<td style="width: 40%">
 
<td style="width: 40%">
 
<table class='scheduletable'><tr><td bgcolor="#f5f5f5"><center>{{ColorText|'''Weekend call resident'''||#000000|}}</center></td></tr></table>
 
<table class='scheduletable'><tr><td bgcolor="#f5f5f5"><center>{{ColorText|'''Weekend call resident'''||#000000|}}</center></td></tr></table>
<center>{{#cargo_query: tables=scheduleCallConference,residentMGH |join on=scheduleCallConference.ResAbbrev=residentMGH.copath_id |fields=scheduleCallConference.ResAbbrev,residentMGH.full_name |where=scheduleCallConference.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} - 0 }}' AND scheduleCallConference.Year='{{#var:Sunday}}' AND scheduleCallConference.DayNumber='7' AND TaskAbbrev='Call: Senior'|default={{:schtableempty}}|format=template|template=acc-call}}</center>
+
<center>{{#cargo_query: tables=scheduleCallConference,residentMGH |join on=scheduleCallConference.ResAbbrev=residentMGH.copath_id |fields=scheduleCallConference.ResAbbrev,residentMGH.full_name |where=scheduleCallConference.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} - 0 }}' AND scheduleCallConference.Year='{{#var:Sunday}}' AND scheduleCallConference.DayNumber='7' AND TaskAbbrev='Call: Senior' AND scheduleCallConference.Date > '2024-02-02'|default={{:schtableempty}}|format=template|template=acc-call}}</center>
 
</td>
 
</td>
 
<td style="width: 20%">
 
<td style="width: 20%">

Latest revision as of 13:27, December 26, 2024