Difference between revisions of "learn:oncallschedule"

From MGH Learn Pathology
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOCACHE__{{varScheduleYear}}<table class="table borderless">
+
__NOCACHE__{{varScheduleYear}}{{hidecontentheader}}
<tr><td bgcolor="#f0f0f0" colspan="3"><center>'''{{ColorText|Anatomic pathology (AMP)|||4}}'''</center></td></tr>
+
<table class="table borderless">
 +
<tr><td bgcolor="#f0f0f0" colspan="3"><center>'''{{ColorText|MGH Pathology On Call - {{#timel: l, F j, Y|now}}|||4}}'''</center></td></tr>
 
<tr>
 
<tr>
 
<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>
{{#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>{{#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