Difference between revisions of "Residents Room"
From MGH Learn Pathology
Line 15: | Line 15: | ||
<br> | <br> | ||
<br><p></p> | <br><p></p> | ||
+ | <table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>{{ColorText|'''CONFERENCE'''||#000000|}}</center></td></tr></table> | ||
+ | {{#cargo_query: tables=scheduleCallConference,residentMGH | ||
+ | |join on=scheduleCallConference.ResAbbrev=residentMGH.copath_id | ||
+ | |fields=scheduleCallConference.ResAbbrev,scheduleCallConference.Color,residentMGH.full_name,scheduleCallConference.TaskAbbrev | ||
+ | |where=scheduleCallConference.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} - 0 }}' AND scheduleCallConference.DayNumber='{{#expr: {{#time: N|{{Timezone}}}} - 0 }}' AND scheduleCallConference.Type='Conference' AND NOT scheduleCallConference.ResAbbrev='-' AND NOT TaskAbbrev='HP Journal Club'|default={{schedule-emptycell|fffff4|-}} | ||
+ | |format=template|template=schtableconf}} | ||
+ | <br> | ||
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>{{ColorText|'''CALL'''||#000000|}}</center></td></tr></table> | <table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>{{ColorText|'''CALL'''||#000000|}}</center></td></tr></table> | ||
− | {{#cargo_query: tables= | + | {{#switch: {{#time: N|{{Timezone}}}}|6= |
− | |join on= | + | {{#cargo_query: tables= scheduleCallConference,residentMGH |
− | |fields= | + | |join on= scheduleCallConference.ResAbbrev=residentMGH.copath_id |
− | |where= | + | |fields= scheduleCallConference.ResAbbrev, scheduleCallConference.Color,residentMGH.full_name, scheduleCallConference.TaskAbbrev=Conf |
+ | |where=scheduleCallConference.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} - 0 }}' AND scheduleCallConference.DayNumber='{{#expr: {{#time: N|{{Timezone}}}} + 0 }}' AND scheduleCallConference.Type='Call' AND NOT scheduleCallConference.ResAbbrev='-' AND NOT scheduleCallConference.TaskAbbrev='Call: Junior CP'|order by= scheduleCallConference.Sort DESC|default={{:schtableempty}} | ||
|format=template|template=schtableconf}} | |format=template|template=schtableconf}} | ||
− | + | |7= | |
− | + | {{#cargo_query: tables= scheduleCallConference,residentMGH | |
− | {{#cargo_query: tables= | + | |join on= scheduleCallConference.ResAbbrev=residentMGH.copath_id |
− | |join on= | + | |fields= scheduleCallConference.ResAbbrev, scheduleCallConference.Color,residentMGH.full_name, scheduleCallConference.TaskAbbrev=Conf |
− | |fields= | + | |where= scheduleCallConference.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} - 0 }}' AND scheduleCallConference.DayNumber='0' AND scheduleCallConference.Type='Call' AND NOT scheduleCallConference.ResAbbrev='-' AND NOT scheduleCallConference.TaskAbbrev='Call: Junior CP' AND NOT scheduleCallConference.TaskAbbrev='Call: Autopsy'|order by= scheduleCallConference.Sort DESC|default={{:schtableempty}} |
− | |where= | ||
|format=template|template=schtableconf}} | |format=template|template=schtableconf}} | ||
− | + | | | |
− | + | {{#cargo_query: tables= scheduleCallConference,residentMGH | |
− | {{#cargo_query: tables= | + | |join on= scheduleCallConference.ResAbbrev=residentMGH.copath_id |
− | |join on= | + | |fields= scheduleCallConference.ResAbbrev, scheduleCallConference.Color,residentMGH.full_name, scheduleCallConference.TaskAbbrev=Conf |
− | |fields= | + | |where= scheduleCallConference.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} - 0 }}' AND scheduleCallConference.DayNumber='{{#expr: {{#time: N|{{Timezone}}}} + 0 }}' AND scheduleCallConference.Type='Call' AND NOT scheduleCallConference.ResAbbrev='-' AND NOT scheduleCallConference.TaskAbbrev='Call: Junior CP' AND NOT scheduleCallConference.TaskAbbrev='Call: Autopsy'|order by= scheduleCallConference.Sort DESC|default={{:schtableempty}} |
− | |where= | ||
− | |||
− | |||
− | |||
− | |||
− | |||
|format=template|template=schtableconf}} | |format=template|template=schtableconf}} | ||
+ | }} | ||
<br> | <br> | ||
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>{{ColorText|'''VACATIONS'''||#000000|}}</center></td></tr></table> | <table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>{{ColorText|'''VACATIONS'''||#000000|}}</center></td></tr></table> | ||
Line 45: | Line 47: | ||
|join on=scheduleRESservice.ResAbbrev=residentMGH.copath_id | |join on=scheduleRESservice.ResAbbrev=residentMGH.copath_id | ||
|fields=scheduleRESservice.ResAbbrev,scheduleRESservice.Color,residentMGH.full_name | |fields=scheduleRESservice.ResAbbrev,scheduleRESservice.Color,residentMGH.full_name | ||
− | |where= | + | |where=scheduleRESservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} - 0 }}' AND scheduleRESservice.TaskAbbrev='VAC'|default={{schedule-emptycell|fffff4|-}}|format=template|template=schtable}} |
</td> | </td> | ||
<td style="width: 45%"> | <td style="width: 45%"> | ||
Line 53: | Line 55: | ||
</p></div></div> | </p></div></div> | ||
</td></tr></table><hr> | </td></tr></table><hr> | ||
− | |||
− | |||
<center>{{ColorText|Call & Conference||#30705d|5|}}</center><p></p> | <center>{{ColorText|Call & Conference||#30705d|5|}}</center><p></p> | ||
Revision as of 07:52, July 29, 2020
Today Today is Thursday, Jan 23 |
|
|
Jan 20 Jan 20 |
Jan 21 Jan 21 |
Jan 22 Jan 22 |
Jan 23 Jan 23 |
Jan 24 Jan 24 |
Jan 25 |
Jan 26 |
||||||||||||||
|
|
|
|
|
|
|