Difference between revisions of "schedule-acc2"

From MGH Learn Pathology
Line 3: Line 3:
 
<tr>
 
<tr>
 
<td colspan="1">
 
<td colspan="1">
<center>'''{{ColorText|SAME DAY RUSH||red|4|}}</center>'''
+
<center>'''{{ColorText|S - R -F||red|4|}}</center>'''
 
</td>
 
</td>
 
<td colspan="1">
 
<td colspan="1">
Line 9: Line 9:
 
</td>
 
</td>
 
<td colspan="1">
 
<td colspan="1">
<center>'''{{ColorText|NEXT DAY RUSH||red|4|}}</center>'''
+
<center>'''{{ColorText|SAME DAY RUSH||red|4|}}</center>'''
 
</td>
 
</td>
 
<td colspan="1">
 
<td colspan="1">
Line 15: Line 15:
 
</td>
 
</td>
 
<td colspan="1">
 
<td colspan="1">
<center>'''{{ColorText|EVERYTHING ELSE||red|4|}}</center>'''
+
<center>'''{{ColorText|NEXT DAY RUSH||red|4|}}</center>'''
 
</td>
 
</td>
 
<td colspan="1">
 
<td colspan="1">
Line 21: Line 21:
 
</td>
 
</td>
 
<td colspan="1">
 
<td colspan="1">
&nbsp;
+
<center>'''{{ColorText|EVERYTHING ELSE||red|4|}}</center>'''
 
</td>
 
</td>
 
<td colspan="1">
 
<td colspan="1">
Line 27: Line 27:
 
</td>
 
</td>
 
<td colspan="1">
 
<td colspan="1">
<center>'''{{ColorText|SERVICE||green|4|}}'''</center>
+
<center>'''{{ColorText|WEEKEND ({{#cargo_query: tables=scheduleSRcall,residentMGH |join on=scheduleSRcall.presenter=residentMGH.copath_id |fields=scheduleSRcall.presenter,residentMGH.full_name |where=scheduleSRcall.weeknumber='{{#expr: {{#time: W|{{Timezone}}}} - 0 }}' AND scheduleSRcall.daynumber='7'|default={{:schtableempty}}|format=template|template=acc-call}}) ||purple|4|}}'''</center>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 
<td colspan="1">
 
<td colspan="1">
&nbsp;
+
{{:acc-servicerf}}
</td>
 
</td>
 
<td colspan="1">
 
&nbsp;
 
</td>
 
<td colspan="3">
 
<center>'''{{ColorText|TODAY||red|4|}}'''</center>
 
</td>
 
<td colspan="1">
 
&nbsp;
 
</td>
 
<td colspan="1">
 
&nbsp;
 
</td>
 
<td colspan="3">
 
<center>'''{{ColorText|ON DECK||blue|4|}}'''</center>
 
</td>
 
<td colspan="1">
 
&nbsp;
 
</td>
 
<td colspan="1">
 
&nbsp;
 
</td>
 
<td colspan="2">
 
<center>'''{{ColorText|WEEKEND ({{#cargo_query: tables=scheduleSRcall,residentMGH |join on=scheduleSRcall.presenter=residentMGH.copath_id |fields=scheduleSRcall.presenter,residentMGH.full_name |where=scheduleSRcall.weeknumber='{{#expr: {{#time: W|{{Timezone}}}} - 0 }}' AND scheduleSRcall.daynumber='7'|default={{:schtableempty}}|format=template|template=acc-call}}) ||purple|4|}}'''</center>
 
 
</td>
 
</td>
 
<td colspan="1">
 
<td colspan="1">
 
&nbsp;
 
&nbsp;
 
</td>
 
</td>
<td colspan="1">
 
<center>'''{{ColorText|VAC||#fa8507|4|}}'''</center>
 
</td>
 
</tr>
 
<tr>
 
 
<td colspan="1">
 
<td colspan="1">
 
{{#switch: {{#time: N|{{Timezone}}}}  
 
{{#switch: {{#time: N|{{Timezone}}}}  
Line 109: Line 81:
 
<td colspan="1">
 
<td colspan="1">
 
&nbsp;
 
&nbsp;
</td>
 
<td colspan="1">
 
{{:acc-servicerf}}
 
</td>
 
<td colspan="1">
 
&nbsp;
 
</td>
 
</td>
 
<td colspan="1">
 
&nbsp;
 
</td>
 
<td colspan="3">
 
{{:acc-today}}
 
</td>
 
<td colspan="1">
 
&nbsp;
 
</td>
 
<td colspan="1">
 
&nbsp;
 
</td>
 
<td colspan="1">
 
{{#switch: {{#time: N|{{Timezone}}}}
 
| 1 = {{acc-FAC|+|0|+|1|+|0|+|3|}}
 
| 2 = {{acc-FAC|+|0|+|1|+|0|+|3|}}
 
| 3 = {{acc-FAC|+|0|+|1|+|1|-|2|}}
 
| 4 = {{acc-FAC|+|0|+|1|+|1|-|2|}}
 
| 5 = {{acc-FAC|+|1|-|4|+|1|-|2|}}
 
| 6 = {{acc-FAC|+|1|-|5|+|1|-|3|}}
 
| 7 = {{acc-FAC|+|1|-|6|+|1|-|4|}}
 
| <center>{{ColorText|''Something went wrong!|yellow|red||}}<br>Please check <htmltag tagname="a" href="https://app.qgenda.com/Link/view?linkKey=9a12a547-f1b4-4998-bdca-acf3204a120e&landingPageId=40221bd9-4ac1-4a0b-8a00-da4f05d88f2e" target="_blank">QGenda.</htmltag>''<br><span style="color:red" class="glyphicon glyphicon-warning-sign" aria-hidden="true"></center>
 
}}
 
</td>
 
<td colspan="1">
 
{{#switch: {{#time: N|{{Timezone}}}}
 
| 1 = {{acc-FAC|+|0|+|2|+|0|+|4|}}
 
| 2 = {{acc-FAC|+|0|+|2|+|1|-|1|}}
 
| 3 = {{acc-FAC|+|0|+|2|+|1|-|1|}}
 
| 4 = {{acc-FAC|+|1|-|3|+|1|-|1|}}
 
| 5 = {{acc-FAC|+|1|-|3|+|1|-|1|}}
 
| 6 = {{acc-FAC|+|1|-|4|+|1|-|2|}}
 
| 7 = {{acc-FAC|+|1|-|5|+|1|-|3|}}
 
| <center>{{ColorText|''Something went wrong!|yellow|red||}}<br>Please check <htmltag tagname="a" href="https://app.qgenda.com/Link/view?linkKey=9a12a547-f1b4-4998-bdca-acf3204a120e&landingPageId=40221bd9-4ac1-4a0b-8a00-da4f05d88f2e" target="_blank">QGenda.</htmltag>''<br><span style="color:red" class="glyphicon glyphicon-warning-sign" aria-hidden="true"></center>
 
}}
 
</td>
 
<td colspan="1">
 
{{#switch: {{#time: N|{{Timezone}}}}
 
| 1 = {{acc-FAC|+|0|+|3|+|1|+|0|}}
 
| 2 = {{acc-FAC|+|0|+|3|+|1|+|0|}}
 
| 3 = {{acc-FAC|+|1|-|2|+|1|+|0|}}
 
| 4 = {{acc-FAC|+|1|-|2|+|1|+|0|}}
 
| 5 = {{acc-FAC|+|1|-|2|+|1|+|0|}}
 
| 6 = {{acc-FAC|+|1|-|3|+|1|-|1|}}
 
| 7 = {{acc-FAC|+|1|-|4|+|1|-|2|}}
 
| <center>{{ColorText|''Something went wrong!|yellow|red||}}<br>Please check <htmltag tagname="a" href="https://app.qgenda.com/Link/view?linkKey=9a12a547-f1b4-4998-bdca-acf3204a120e&landingPageId=40221bd9-4ac1-4a0b-8a00-da4f05d88f2e" target="_blank">QGenda.</htmltag>''<br><span style="color:red" class="glyphicon glyphicon-warning-sign" aria-hidden="true"></center>
 
}}
 
</td>
 
<td colspan="1">
 
&nbsp;
 
</td>
 
<td colspan="1">
 
&nbsp;
 
</td>
 
<td colspan="1">
 
{{:acc-saturday}}
 
 
</td>
 
</td>
 
<td colspan="1">
 
<td colspan="1">
 
{{:acc-wknd}}
 
{{:acc-wknd}}
</td>
 
<td colspan="1">
 
&nbsp;
 
</td>
 
<td colspan="1">
 
{{:acc-vacations}}
 
 
</td>
 
</td>
 
</tr>
 
</tr>

Revision as of 12:17, October 4, 2019