Difference between revisions of "Weekly"
From MGH Learn Pathology
Line 47: | Line 47: | ||
<td colspan="2"> | <td colspan="2"> | ||
{{#time:Y": Wk "|}}{{ColorText|'''{{#expr: {{#time: W|}} + 1 }}'''||black|}}<br>{{#cargo_query: tables=scheduleFACservice |fields=scheduleFACservice.Date |where=scheduleFACservice.DayNumber='1' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|}} + 1 }}' AND scheduleFACservice.TaskAbbrev='BR1' |format=template|template=datedisplay }} - {{#cargo_query: tables=scheduleFACservice |fields=scheduleFACservice.Date |where=scheduleFACservice.DayNumber='5' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|}} + 1 }}' AND scheduleFACservice.TaskAbbrev='BR1' |format=template|template=datedisplay }}</td> | {{#time:Y": Wk "|}}{{ColorText|'''{{#expr: {{#time: W|}} + 1 }}'''||black|}}<br>{{#cargo_query: tables=scheduleFACservice |fields=scheduleFACservice.Date |where=scheduleFACservice.DayNumber='1' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|}} + 1 }}' AND scheduleFACservice.TaskAbbrev='BR1' |format=template|template=datedisplay }} - {{#cargo_query: tables=scheduleFACservice |fields=scheduleFACservice.Date |where=scheduleFACservice.DayNumber='5' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|}} + 1 }}' AND scheduleFACservice.TaskAbbrev='BR1' |format=template|template=datedisplay }}</td> | ||
+ | <td colspan="1"> | ||
+ | | ||
+ | </td> | ||
+ | <td colspan="1"> | ||
+ | | ||
+ | </td> | ||
+ | <td colspan="1"> | ||
+ | | ||
+ | </td> | ||
+ | <td colspan="1"> | ||
+ | | ||
+ | </td> | ||
+ | <td colspan="1"> | ||
+ | | ||
+ | </td> | ||
+ | <td colspan="1"> | ||
+ | | ||
+ | </td> | ||
+ | <td colspan="1"> | ||
+ | | ||
+ | </td> | ||
</tr><tr> | </tr><tr> | ||
− | <td style="width: | + | <td style="width: 10%"> |
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>{{ColorText|'''SERVICE'''||#000000|}}</center></td></tr></table> | <table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>{{ColorText|'''SERVICE'''||#000000|}}</center></td></tr></table> | ||
{{:schtablemobile}} | {{:schtablemobile}} | ||
</td> | </td> | ||
− | <td style="width: | + | <td style="width: 5%"> |
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>{{ColorText|'''R'''||#000000|}}</center></td></tr></table> | <table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>{{ColorText|'''R'''||#000000|}}</center></td></tr></table> | ||
{{#arraymap: AUT,BR1,BR2,BST,CV,CA,CB,CC,DPA,DPB,DPC,FS,HN1,HN2,GI1,GI2,GI3,GUL,GUS,GYL,GYS,HPA,HPA,NP,OB,PP,RP,AP CHIEF,FS-S,FS-J,GR-S|,|TaskAbbreviation| | {{#arraymap: AUT,BR1,BR2,BST,CV,CA,CB,CC,DPA,DPB,DPC,FS,HN1,HN2,GI1,GI2,GI3,GUL,GUS,GYL,GYS,HPA,HPA,NP,OB,PP,RP,AP CHIEF,FS-S,FS-J,GR-S|,|TaskAbbreviation| | ||
Line 61: | Line 82: | ||
|}} | |}} | ||
</td> | </td> | ||
− | <td style="width: | + | <td style="width: 5%"> |
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>{{ColorText|'''F'''||#000000|}}</center></td></tr></table> | <table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>{{ColorText|'''F'''||#000000|}}</center></td></tr></table> | ||
{{#arraymap: AUT,BR1,BR2,BST,CV,CA,CB,CC,DPA,DPB,DPC,FS,HN1,HN2,GI1,GI2,GI3,GUL,GUS,GYL,GYS,HPA,HPA,NP,OB,PP,RP|,|TaskAbbreviation| | {{#arraymap: AUT,BR1,BR2,BST,CV,CA,CB,CC,DPA,DPB,DPC,FS,HN1,HN2,GI1,GI2,GI3,GUL,GUS,GYL,GYS,HPA,HPA,NP,OB,PP,RP|,|TaskAbbreviation| | ||
Line 70: | Line 91: | ||
|}} | |}} | ||
</td> | </td> | ||
− | <td style="width: | + | <td style="width: 5%"> |
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>{{ColorText|'''R'''||#000000|}}</center></td></tr></table> | <table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>{{ColorText|'''R'''||#000000|}}</center></td></tr></table> | ||
{{#arraymap: AUT,BR1,BR2,BST,CV,CA,CB,CC,DPA,DPB,DPC,FS,HN1,HN2,GI1,GI2,GI3,GUL,GUS,GYL,GYS,HPA,HPA,NP,OB,PP,RP,AP CHIEF,FS-S,FS-J,GR-S|,|TaskAbbreviation| | {{#arraymap: AUT,BR1,BR2,BST,CV,CA,CB,CC,DPA,DPB,DPC,FS,HN1,HN2,GI1,GI2,GI3,GUL,GUS,GYL,GYS,HPA,HPA,NP,OB,PP,RP,AP CHIEF,FS-S,FS-J,GR-S|,|TaskAbbreviation| | ||
Line 79: | Line 100: | ||
|}} | |}} | ||
</td> | </td> | ||
− | <td style="width: | + | <td style="width: 5%"> |
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>{{ColorText|'''F'''||#000000|}}</center></td></tr></table> | <table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>{{ColorText|'''F'''||#000000|}}</center></td></tr></table> | ||
{{#arraymap: AUT,BR1,BR2,BST,CV,CA,CB,CC,DPA,DPB,DPC,FS,HN1,HN2,GI1,GI2,GI3,GUL,GUS,GYL,GYS,HPA,HPA,NP,OB,PP,RP|,|TaskAbbreviation| | {{#arraymap: AUT,BR1,BR2,BST,CV,CA,CB,CC,DPA,DPB,DPC,FS,HN1,HN2,GI1,GI2,GI3,GUL,GUS,GYL,GYS,HPA,HPA,NP,OB,PP,RP|,|TaskAbbreviation| | ||
Line 86: | Line 107: | ||
|fields=scheduleFELLservice.FellAbbrev,scheduleFELLservice.Color,residentMGH.full_name | |fields=scheduleFELLservice.FellAbbrev,scheduleFELLservice.Color,residentMGH.full_name | ||
|where=scheduleFELLservice.WeekNumber='{{#expr: {{#time: W|}} + 1 }}' AND scheduleFELLservice.TaskAbbrev='TaskAbbreviation' |format=template|template=schtable}} | |where=scheduleFELLservice.WeekNumber='{{#expr: {{#time: W|}} + 1 }}' AND scheduleFELLservice.TaskAbbrev='TaskAbbreviation' |format=template|template=schtable}} | ||
+ | |}} | ||
+ | </td> | ||
+ | <td style="width: 5%"> | ||
+ | {{#arraymap: AUT,BR1,BR2,BST,CV,CA,CB,CC,DPA,DPB,DPC,Frozen Section,HN1,HN2,GI1,GI2,GI3,GUL,GUS,GYL,GYS,HPA,HPA,NP,OP,PP,RP|,|TaskAbbreviation| | ||
+ | {{#cargo_query: table=scheduleFACservice|fields=scheduleFACservice.StaffAbbrev,scheduleFACservice.Color|where=scheduleFACservice.TaskAbbrev='TaskAbbreviation' AND scheduleFACservice.DayNumber='1' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|}} - 0}}'|default={{:schtableempty}}|format=template|template=schtable}} | ||
+ | |}} | ||
+ | </td> | ||
+ | |||
+ | <td style="width: 5%"> | ||
+ | {{#arraymap: AUT,BR1,BR2,BST,CV,CA,CB,CC,DPA,DPB,DPC,Frozen Section,HN1,HN2,GI1,GI2,GI3,GUL,GUS,GYL,GYS,HPA,HPA,NP,OP,PP,RP|,|TaskAbbreviation| | ||
+ | {{#cargo_query: table=scheduleFACservice|fields=scheduleFACservice.StaffAbbrev,scheduleFACservice.Color|where=scheduleFACservice.TaskAbbrev='TaskAbbreviation' AND scheduleFACservice.DayNumber='2' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|}} - 0}}'|default={{:schtableempty}}|format=template|template=schtable}} | ||
+ | |}} | ||
+ | </td> | ||
+ | <td style="width: 5%"> | ||
+ | {{#arraymap: AUT,BR1,BR2,BST,CV,CA,CB,CC,DPA,DPB,DPC,Frozen Section,HN1,HN2,GI1,GI2,GI3,GUL,GUS,GYL,GYS,HPA,HPA,NP,OP,PP,RP|,|TaskAbbreviation| | ||
+ | {{#cargo_query: table=scheduleFACservice|fields=scheduleFACservice.StaffAbbrev,scheduleFACservice.Color|where=scheduleFACservice.TaskAbbrev='TaskAbbreviation' AND scheduleFACservice.DayNumber='3' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|}} - 0}}'|default={{:schtableempty}}|format=template|template=schtable}} | ||
+ | |}} | ||
+ | </td> | ||
+ | <td style="width: 5%"> | ||
+ | {{#arraymap: AUT,BR1,BR2,BST,CV,CA,CB,CC,DPA,DPB,DPC,Frozen Section,HN1,HN2,GI1,GI2,GI3,GUL,GUS,GYL,GYS,HPA,HPA,NP,OP,PP,RP|,|TaskAbbreviation| | ||
+ | {{#cargo_query: table=scheduleFACservice|fields=scheduleFACservice.StaffAbbrev,scheduleFACservice.Color|where=scheduleFACservice.TaskAbbrev='TaskAbbreviation' AND scheduleFACservice.DayNumber='4' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|}} - 0}}'|default={{:schtableempty}}|format=template|template=schtable}} | ||
+ | |}} | ||
+ | </td> | ||
+ | <td style="width: 5%"> | ||
+ | {{#arraymap: AUT,BR1,BR2,BST,CV,CA,CB,CC,DPA,DPB,DPC,Frozen Section,HN1,HN2,GI1,GI2,GI3,GUL,GUS,GYL,GYS,HPA,HPA,NP,OP,PP,RP|,|TaskAbbreviation| | ||
+ | {{#cargo_query: table=scheduleFACservice|fields=scheduleFACservice.StaffAbbrev,scheduleFACservice.Color|where=scheduleFACservice.TaskAbbrev='TaskAbbreviation' AND scheduleFACservice.DayNumber='5' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|}} - 0}}'|default={{:schtableempty}}|format=template|template=schtable}} | ||
+ | |}} | ||
+ | <td style="width: 5%"> | ||
+ | {{#arraymap: AUT,BR1,BR2,BST,CV,CA,CB,CC,DPA,DPB,DPC,Frozen Section,HN1,HN2,GI1,GI2,GI3,GUL,GUS,GYL,GYS,HPA,HPA,NP,OP,PP,RP|,|TaskAbbreviation| | ||
+ | {{#cargo_query: table=scheduleFACservice|fields=scheduleFACservice.StaffAbbrev,scheduleFACservice.Color|where=scheduleFACservice.TaskAbbrev='TaskAbbreviation' AND scheduleFACservice.DayNumber='6' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|}} - 0}}'|default={{:schtableempty}}|format=template|template=schtable}} | ||
+ | |}} | ||
+ | </td> | ||
+ | <td style="width: 5%"> | ||
+ | {{#arraymap: AUT,BR1,BR2,BST,CV,CA,CB,CC,DPA,DPB,DPC,Frozen Section,HN1,HN2,GI1,GI2,GI3,GUL,GUS,GYL,GYS,HPA,HPA,NP,OP,PP,RP|,|TaskAbbreviation| | ||
+ | {{#cargo_query: table=scheduleFACservice|fields=scheduleFACservice.StaffAbbrev,scheduleFACservice.Color|where=scheduleFACservice.TaskAbbrev='TaskAbbreviation' AND scheduleFACservice.DayNumber='7' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|}} - 0}}'|default={{:schtableempty}}|format=template|template=schtable}} | ||
|}} | |}} | ||
</td> | </td> |
Revision as of 09:16, August 24, 2019