Difference between revisions of "learn:nextweekinap"
From MGH Learn Pathology
Line 107: | Line 107: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
− | < | + | <tr> |
− | < | + | <td colspan="11"> |
+ | | ||
+ | </td> | ||
+ | </tr> | ||
<td colspan="3"> | <td colspan="3"> | ||
{{ColorText|'''Faculty Weekend Call Schedule'''||#931A00|4|}} | {{ColorText|'''Faculty Weekend Call Schedule'''||#931A00|4|}} | ||
Line 119: | Line 122: | ||
</td> | </td> | ||
</tr> | </tr> | ||
− | |||
<tr> | <tr> | ||
<td style="width: 9%"> | <td style="width: 9%"> | ||
Line 154: | Line 156: | ||
</td> | </td> | ||
<td style="width: 10%"> | <td style="width: 10%"> | ||
− | <table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center> | + | <table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>Resident</center></td></tr></table> |
{{#arraymap: AUT,AEAAAA;BR1,FF7E46;BR2,FF7E46;BST,E2EFDA;CV,7AD062;CA,04AAD1;CB,04AAD1;CC,04AAD1;DPA,EDB1FF;DPB,EDB1FF;DPC,EDB1FF;EYE,9effef;FROZEN SECTION,CCECFF;HN1,04E489;HN2,04E489;GI1,FFC30F;GI2,FFC30F;GI3,FFC30F;GUL,4FA4FF;GUS,4FA4FF;GYL,CD5EB6;GYS,CD5EB6;HPA,92E2AF;HPB,92E2AF;HG,92E2AF;NP,FCE4D6;OB,CD5EB6;PP,7AD062;RP,FFFF8D;|;|TaskAbbreviation| | {{#arraymap: AUT,AEAAAA;BR1,FF7E46;BR2,FF7E46;BST,E2EFDA;CV,7AD062;CA,04AAD1;CB,04AAD1;CC,04AAD1;DPA,EDB1FF;DPB,EDB1FF;DPC,EDB1FF;EYE,9effef;FROZEN SECTION,CCECFF;HN1,04E489;HN2,04E489;GI1,FFC30F;GI2,FFC30F;GI3,FFC30F;GUL,4FA4FF;GUS,4FA4FF;GYL,CD5EB6;GYS,CD5EB6;HPA,92E2AF;HPB,92E2AF;HG,92E2AF;NP,FCE4D6;OB,CD5EB6;PP,7AD062;RP,FFFF8D;|;|TaskAbbreviation| | ||
− | {{#cargo_query: | + | {{#cargo_query: tables=scheduleFELLservice,residentMGH |
− | |fields= | + | |join on=scheduleFELLservice.FellAbbrev=residentMGH.copath_id |
− | + | |fields=scheduleFELLservice.FellAbbrev,scheduleFELLservice.Color,residentMGH.full_name,residentMGH.pageid | |
− | |where=YEAR(Date)={{#time: Y|{{Timezone}}}} AND | + | |where=YEAR(Date)={{#time: Y|{{Timezone}}}} AND scheduleFELLservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} - 0 }}' AND scheduleFELLservice.TaskAbbrev='{{#explode:TaskAbbreviation|,|0}}' |format=template|default={{schtableempty|{{#explode:TaskAbbreviation|,|1}}}}|template=schtableres}} |
− | |default={{schtableempty|{{#explode:TaskAbbreviation|,|1}}}} | ||
|}} | |}} | ||
</td> | </td> |