Difference between revisions of "scheduleNow"
From MGH Learn Pathology
| Line 65: | Line 65: | ||
<p></p> | <p></p> | ||
__NOCACHE__<table class="table borderless"> | __NOCACHE__<table class="table borderless"> | ||
| − | <tr><td bgcolor="#f0f0f0" colspan=" | + | <tr><td bgcolor="#f0f0f0" colspan="5"><center>'''{{ColorText|Clinical pathology (LMM)|||4}}'''</center></td></tr> |
<tr> | <tr> | ||
| − | <td style="width: | + | <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> | ||
{{:scheduleDictionaryCP}} | {{:scheduleDictionaryCP}} | ||
</td> | </td> | ||
| − | <td style="width: | + | <td style="width: 20%"> |
<table class='scheduletable'><tr><td bgcolor="#f5f5f5"><center>'''{{ColorText|{{#tip-text:Resident|Resident}}||#000000|}}'''</center></td></tr></table> | <table class='scheduletable'><tr><td bgcolor="#f5f5f5"><center>'''{{ColorText|{{#tip-text:Resident|Resident}}||#000000|}}'''</center></td></tr></table> | ||
{{#switch: {{#time: N|{{Timezone}}}} | {{#switch: {{#time: N|{{Timezone}}}} | ||
| Line 89: | Line 89: | ||
}} | }} | ||
</td> | </td> | ||
| − | <td style="width: | + | <td style="width: 20%"> |
<table class='scheduletable'><tr><td bgcolor="#f5f5f5"><center>'''{{ColorText|{{#tip-text:Fellow|Fellow / Elective-Resident}}||#000000|}}'''</center></td></tr></table> | <table class='scheduletable'><tr><td bgcolor="#f5f5f5"><center>'''{{ColorText|{{#tip-text:Fellow|Fellow / Elective-Resident}}||#000000|}}'''</center></td></tr></table> | ||
{{#switch: {{#time: N|{{Timezone}}}} | {{#switch: {{#time: N|{{Timezone}}}} | ||
| Line 104: | Line 104: | ||
}} | }} | ||
</td> | </td> | ||
| − | <td style="width: | + | <td style="width: 20%"> |
| − | {{# | + | <table class='scheduletable'><tr><td bgcolor="#f5f5f5"><center>'''{{ColorText|{{#tip-text:Attending|Attending}}||#000000|}}'''<sup>[1]</sup></center></td></tr></table> |
| − | | | + | {{#arraymap:{{scheduleDictionaryCP}}|;|TaskAbbreviation| |
| − | | | + | {{#cargo_query: table=scheduleFACservice |
| − | <table class='scheduletable'><tr><td bgcolor="#f5f5f5"><center>'''{{ColorText|{{#tip-text:On call - att.|On call | + | |fields=GROUP_CONCAT(scheduleFACservice.StaffAbbrev),scheduleFACservice.TaskAbbrev,GROUP_CONCAT(scheduleFACservice.StaffFullName) |
| + | |group by=scheduleFACservice.Color | ||
| + | |where=YEAR(Date)={{#time: Y|{{Timezone}}}} AND scheduleFACservice.TaskAbbrev='{{#explode:TaskAbbreviation|,|0}}' AND scheduleFACservice.DayNumber='{{#time:N|now}}' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} - 0}}' | ||
| + | |default={{schtableempty|{{#explode:TaskAbbreviation|,|2}}}}|format=template|template=scheduleResidentCPfaculty}} | ||
| + | |}} | ||
| + | </td> | ||
| + | <td style="width: 20%"> | ||
| + | <table class='scheduletable'><tr><td bgcolor="#f5f5f5"><center>'''{{ColorText|{{#tip-text:On call - att.|On call}}||#000000|}}''' | ||
</center></td></tr></table> | </center></td></tr></table> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
{{#arraymap:{{scheduleDictionaryCP}}|;|TaskAbbreviation| | {{#arraymap:{{scheduleDictionaryCP}}|;|TaskAbbreviation| | ||
{{#cargo_query: table=scheduleFACservice | {{#cargo_query: table=scheduleFACservice | ||
Revision as of 05:59, September 6, 2021
|
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[1]Faculty schedule displayed using the QGenda API.