Difference between revisions of "learn:oncallschedule"

From MGH Learn Pathology
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOCACHE__<table class="table borderless">
+
__NOCACHE__{{varScheduleYear}}{{hidecontentheader}}
<tr><td bgcolor="#f0f0f0" colspan="5"><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%">
 +
<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' AND scheduleCallConference.Date > '2024-02-02'|default={{:schtableempty}}|format=template|template=acc-call}}</center>
 +
</td>
 
<td style="width: 20%">
 
<td style="width: 20%">
 
<table class='scheduletable'><tr><td bgcolor="#f5f5f5"><center>{{ColorText|'''Service'''||#000000|}}</center></td></tr></table>
 
<table class='scheduletable'><tr><td bgcolor="#f5f5f5"><center>{{ColorText|'''Service'''||#000000|}}</center></td></tr></table>
 
{{:scheduleDictionaryAP}}
 
{{:scheduleDictionaryAP}}
 
</td>
 
</td>
<td style="width: 20%">
+
<td style="width: 40%">
<table class='scheduletable'><tr><td bgcolor="#f5f5f5"><center>[[onCallAMPrules|'''{{ColorText|{{#tip-text:On call|
+
<table class='scheduletable'><tr><td bgcolor="#f5f5f5"><center>[[onCallAMPrules|'''{{ColorText|{{#tip-text:Attending on call|
 
{{:onCallAMPrules}}
 
{{:onCallAMPrules}}
 
}}||#000000|}}''']]
 
}}||#000000|}}''']]

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