Difference between revisions of "Schedule"

From MGH Learn Pathology
 
(155 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<div class="desktop">__NOTOC__ __NOCACHE__ {{#vardefine:last|{{#cargo_query:tables=user|fields=user_touched|where=user_name='{{CURRENTUSER}}'|format=template|template=text}}}}<div style="overflow-x:auto">{{#css: td { vertical-align: top;} }}<table style="width: 100%">
 
<div class="desktop">__NOTOC__ __NOCACHE__ {{#vardefine:last|{{#cargo_query:tables=user|fields=user_touched|where=user_name='{{CURRENTUSER}}'|format=template|template=text}}}}<div style="overflow-x:auto">{{#css: td { vertical-align: top;} }}<table style="width: 100%">
<td style="vertical-align: top;width: 28%">
+
<td style="vertical-align: top;width: 18%">
 
{{ColorText|'''Welcome'''||#018ab2|6}}
 
{{ColorText|'''Welcome'''||#018ab2|6}}
 
<br>
 
<br>
 
<p></p>
 
<p></p>
 
Hello, {{CURRENTUSERREALNAME}}!<br>
 
Hello, {{CURRENTUSERREALNAME}}!<br>
Welcome back, you last logged in on {{#time: F j, Y|{{#var:last}}}} at {{#time: g:i A|{{#var:last}}}}.
+
You last logged in on {{#timel: l, M j, Y|{{#var:last}}}} at {{#timel: g:i A|{{#var:last}}}}.
 
<br>
 
<br>
 
<br>
 
<br>
Line 12: Line 12:
 
{{ColorText|'''Quick links'''||#018ab2|6}}
 
{{ColorText|'''Quick links'''||#018ab2|6}}
 
<br>
 
<br>
[[mgh:services|{{glyphicon|menu-hamburger}} AP & CP Services]]<br><p></p>
+
[https://learn.mghpathology.org/index.php/User:{{CURRENTUSER}} {{fontawesome|s|user-md}} My profile]
[[learn:bulletinboard|{{glyphicon|pushpin}} Bulletin Board]]<br><p></p>
+
[[mgh:apcallfaq|{{fontawesome|s|sticky-note}} AP Call Information]]<br><p></p>
[[learn:contacts|{{glyphicon|user}} Contacts]]<br><p></p>
+
[[mgh:services|{{fontawesome|s|microscope}} AP & CP services]]<br><p></p>
 +
[[learn:contacts|{{fontawesome|s|user}} Contact list]]<br><p></p>
 
[[wsi|{{glyphicon|erase}} Digital slides (WSI)]]<br><p></p>
 
[[wsi|{{glyphicon|erase}} Digital slides (WSI)]]<br><p></p>
[[GPR|{{glyphicon|camera}} GPR]]<br><p></p>
+
[[Special:RunQuery/MilestonesRunQuery|{{glyphicon|education}} Milestones]]<br>
[[Special:RunQuery/MilestonesRunQuery|{{glyphicon|education}} Milestones]]<br><p></p>
+
{{#switch:{{CURRENTUSER}}|Kx601|Em99|Vek0|Lpl2=: [[MGHpassportCI|CI evaluations]]|}}
[[learn:rp|{{glyphicon|folder-open}} Resident Portal]]<br><p></p>
+
[[learn:rp|{{glyphicon|folder-open}} Resident portal]]<br><p></p>
[[learn:schedule|{{glyphicon|calendar}} Schedules]] ([[learn:schedule-currentweek|Current week {{formatnum:{{#expr:{{#timel: W|now + 0 week}}}}}}]])
+
[[learn:schedule|{{glyphicon|calendar}} Schedules]]<br><p></p>
 +
: {{ColorText|{{fontawesome|s|chess-board}}||#344350}} [[schedule-on-service-today-mgh|Pathologist assignment]]
 +
: {{ColorText|{{fontawesome|s|chess-board}}||#344350}} [[schedule-accessioning|Subspecialty assignment]]
 +
: {{ColorText|{{fontawesome|r|calendar}}||#344350}} [[learn:schedule-monthly|Current month]]  
 +
: {{ColorText|{{fontawesome|s|calendar-week}}||#344350}} [[learn:schedule-currentweek|Current week]]
 +
: {{:learn:otherweeks}}
 +
{{ColorText|{{fontawesome|s|sticky-note}}||#344350}} [[learn:technicalTipSheets|Technical tip sheets]]<br><p></p>
 +
{{ColorText|{{fontawesome|s|sticky-note}}||#344350}} [[learn:histocam|MGH Histo Cam]]<br><p></p>
 
|
 
|
 +
{{IfGroup|resmgh|
 
{{ColorText|'''Quick links'''||#018ab2|6}}
 
{{ColorText|'''Quick links'''||#018ab2|6}}
 
<br>
 
<br>
[[mgh:services|{{glyphicon|menu-hamburger}} AP & CP Services]]<br><p></p>
+
[https://learn.mghpathology.org/index.php/User:{{CURRENTUSER}} {{fontawesome|s|user-md}} My profile]
[[learn:bulletinboard|{{glyphicon|pushpin}} Bulletin Board]]<br><p></p>
+
[[learn:contacts|{{fontawesome|s|user}} Contact list]]<br><p></p>
[[learn:contacts|{{glyphicon|user}} Contacts]]<br><p></p>
 
 
[[wsi|{{glyphicon|erase}} Digital slides (WSI)]]<br><p></p>
 
[[wsi|{{glyphicon|erase}} Digital slides (WSI)]]<br><p></p>
[[GPR|{{glyphicon|camera}} GPR]]<br><p></p>
+
[[Special:RunQuery/ResidentMilestonesRunQuery|{{glyphicon|education}} Milestones]]<br><p></p>
[[Special:RunQuery/MilestonesRunQuery|{{glyphicon|education}} Milestones]]<br><p></p>
+
[[learn:rp|{{glyphicon|folder-open}} Resident portal]]<br><p></p>
[[learn:rp|{{glyphicon|folder-open}} Resident Portal]]<br><p></p>
+
[[learn:schedule|{{glyphicon|calendar}} Schedules]]<br><p></p>
[[learn:schedule|{{glyphicon|calendar}} Schedules]] ([[learn:schedule-currentweek|Current week {{formatnum:{{#expr:{{#timel: W|now + 0 week}}}}}}]])
+
: {{ColorText|{{fontawesome|s|chess-board}}||#344350}} [[schedule-on-service-today-mgh|Pathologist assignment]]
 +
: {{ColorText|{{fontawesome|s|chess-board}}||#344350}} [[schedule-accessioning|Subspecialty assignment]]
 +
: {{ColorText|{{fontawesome|r|calendar}}||#344350}} [[learn:schedule-monthly|Current month]]
 +
: {{ColorText|{{fontawesome|s|calendar-week}}||#344350}} [[learn:schedule-currentweek|Current week]]
 +
: {{:learn:otherweeks}}
 +
|
 +
{{ColorText|'''Quick links'''||#018ab2|6}}
 +
<br>
 +
[[mgh:services|{{fontawesome|s|microscope}} AP & CP services]]<br><p></p>
 +
[[learn:contacts|{{fontawesome|s|user}} Contact list]]<br><p></p>
 +
[[wsi|{{glyphicon|erase}} Digital slides (WSI)]]<br><p></p>
 +
[[learn:rp|{{glyphicon|folder-open}} Resident portal]]<br><p></p>
 +
[[learn:schedule|{{glyphicon|calendar}} Schedules]]<br><p></p>
 +
: {{ColorText|{{fontawesome|r|calendar}}||#344350}} [[learn:schedule-monthly|Current month]]
 +
: {{ColorText|{{fontawesome|s|calendar-week}}||#344350}} [[learn:schedule-currentweek|Current week]]
 +
{{:learn:otherweeks}}
 +
{{ColorText|{{fontawesome|s|sticky-note}}||#344350}} [[learn:technicalTipSheets|Technical tip sheets]]<br>
 +
{{ColorText|{{fontawesome|s|sticky-note}}||#344350}} [[learn:histocam|MGH Histo Cam]]<br><p></p>
 +
}}
 
}}
 
}}
 
</td>  
 
</td>  
<td style="vertical-align: top;width: 4%">
+
<td style="vertical-align: top;width: 2%">
 
&nbsp;
 
&nbsp;
 
</td>
 
</td>
<td style="vertical-align: top;text-align:left;width: 68%">
+
<td style="vertical-align: top;text-align:left;width: 80%">
 
<center>{{ColorText|'''{{#timel: l, F j, Y|now}} (day {{#timel:z|now + 1 day}})'''||#3d3d3d|6}}</center>
 
<center>{{ColorText|'''{{#timel: l, F j, Y|now}} (day {{#timel:z|now + 1 day}})'''||#3d3d3d|6}}</center>
 
<br>
 
<br>
 
<p></p>
 
<p></p>
 
 
<table class='table borderless' style="width: 100%">
 
<table class='table borderless' style="width: 100%">
<td style="width: 25%">
+
<td style="width: 20%">
<table class='scheduletable'><tr><td bgcolor="#f5f5f5"><center>{{ColorText|'''On call'''||#000000|}}</center></td></tr></table>
+
<table class='scheduletable'><tr><td bgcolor="#f5f5f5"><center>{{ColorText|'''Conferences'''||#000000|4}}</center></td></tr></table>{{#cargo_query: tables=scheduleCallConference |fields= scheduleCallConference.ResAbbrev, scheduleCallConference.Color, scheduleCallConference.Hour, scheduleCallConference.TaskAbbrev, scheduleCallConference.Sort, scheduleCallConference.Notes |where=YEAR(Date)='{{#timel: Y|now}}' AND scheduleCallConference.WeekNumber='{{#expr: {{#timel: W|{{Timezone}}}} - 0 }}' AND scheduleCallConference.DayNumber='{{#expr: {{#timel: N|{{Timezone}}}} - 0 }}' AND NOT ResAbbrev='-' AND TaskAbbrev='Outs'|default= |format=template|order by = Sort ASC|template=schtableconfcallLeftOuts}}
 +
{{#if:{{#cargo_query: tables=scheduleCallConference,residentMGH |join on=scheduleCallConference.ResAbbrev=residentMGH.copath_id |fields=scheduleCallConference.ResAbbrev,scheduleCallConference.Color,residentMGH.full_name,scheduleCallConference.TaskAbbrev |where=YEAR(Date)='{{#timel: Y|now}}' AND scheduleCallConference.WeekNumber='{{#expr: {{#timel: W|{{Timezone}}}} - 0 }}' AND scheduleCallConference.DayNumber='{{#expr: {{#timel: N|{{Timezone}}}} - 0 }}' AND scheduleCallConference.Type='Conference' AND NOT scheduleCallConference.ResAbbrev='-' AND NOT TaskAbbrev='HP Journal Club' AND NOT TaskAbbrev='Outs'|default=|format=template|template=schtableconf}}|{{#cargo_query: tables=scheduleCallConference,residentMGH |join on=scheduleCallConference.ResAbbrev=residentMGH.copath_id |fields=scheduleCallConference.ResAbbrev,scheduleCallConference.Color,residentMGH.full_name,scheduleCallConference.TaskAbbrev |where=YEAR(Date)='{{#timel: Y|now}}' AND scheduleCallConference.WeekNumber='{{#expr: {{#timel: W|{{Timezone}}}} - 0 }}' AND scheduleCallConference.DayNumber='{{#expr: {{#timel: N|{{Timezone}}}} - 0 }}' AND scheduleCallConference.Type='Conference' AND NOT scheduleCallConference.ResAbbrev='-' AND NOT TaskAbbrev='HP Journal Club' AND NOT TaskAbbrev='Outs'|default=|format=template|template=schtableconf}}| }}
 +
<br>
 +
<table class='scheduletable'><tr><td bgcolor="#f5f5f5"><center>{{ColorText|'''Call - resident'''||#000000|4}}</center></td></tr></table>
 
{{#switch: {{#timel: N|{{Timezone}}}}|6=
 
{{#switch: {{#timel: N|{{Timezone}}}}|6=
 
{{#cargo_query: tables= scheduleCallConference,residentMGH  
 
{{#cargo_query: tables= scheduleCallConference,residentMGH  
 
     |join on= scheduleCallConference.ResAbbrev=residentMGH.copath_id
 
     |join on= scheduleCallConference.ResAbbrev=residentMGH.copath_id
 
     |fields= scheduleCallConference.ResAbbrev, scheduleCallConference.Color,residentMGH.full_name, scheduleCallConference.TaskAbbrev=Conf
 
     |fields= scheduleCallConference.ResAbbrev, scheduleCallConference.Color,residentMGH.full_name, scheduleCallConference.TaskAbbrev=Conf
     |where=YEAR(Date)='{{#timel: Y|now}}' AND scheduleCallConference.WeekNumber='{{#expr: {{#timel: W|{{Timezone}}}} - 0 }}' AND scheduleCallConference.DayNumber='{{#expr: {{#timel: N|{{Timezone}}}} + 0 }}' AND scheduleCallConference.Type='Call' AND NOT scheduleCallConference.ResAbbrev='-' AND NOT scheduleCallConference.TaskAbbrev='Call: Junior CP'|order by= scheduleCallConference.Sort DESC|default=
+
     |where=YEAR(Date)='{{#timel: Y|now}}' AND scheduleCallConference.WeekNumber='{{#expr: {{#timel: W|{{Timezone}}}} - 0 }}' AND scheduleCallConference.DayNumber='{{#expr: {{#timel: N|{{Timezone}}}} + 0 }}' AND scheduleCallConference.Type='Call' AND NOT scheduleCallConference.ResAbbrev='-' AND NOT scheduleCallConference.TaskAbbrev='Call: Junior CP'|order by= scheduleCallConference.Sort ASC|default=
 
     |format=template|template=schtableconf}}
 
     |format=template|template=schtableconf}}
 
|7=
 
|7=
Line 54: Line 82:
 
     |join on= scheduleCallConference.ResAbbrev=residentMGH.copath_id
 
     |join on= scheduleCallConference.ResAbbrev=residentMGH.copath_id
 
     |fields= scheduleCallConference.ResAbbrev, scheduleCallConference.Color,residentMGH.full_name, scheduleCallConference.TaskAbbrev=Conf
 
     |fields= scheduleCallConference.ResAbbrev, scheduleCallConference.Color,residentMGH.full_name, scheduleCallConference.TaskAbbrev=Conf
     |where=YEAR(Date)='{{#timel: Y|now}}' AND  scheduleCallConference.WeekNumber='{{#expr: {{#timel: 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=
+
     |where=YEAR(Date)='{{#timel: Y|now}}' AND  scheduleCallConference.WeekNumber='{{#expr: {{#timel: W|{{Timezone}}}} - 0 }}' AND scheduleCallConference.DayNumber='7' 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 ASC|default=
 
     |format=template|template=schtableconf}}
 
     |format=template|template=schtableconf}}
 
|
 
|
Line 60: Line 88:
 
     |join on= scheduleCallConference.ResAbbrev=residentMGH.copath_id
 
     |join on= scheduleCallConference.ResAbbrev=residentMGH.copath_id
 
     |fields= scheduleCallConference.ResAbbrev, scheduleCallConference.Color,residentMGH.full_name, scheduleCallConference.TaskAbbrev=Conf
 
     |fields= scheduleCallConference.ResAbbrev, scheduleCallConference.Color,residentMGH.full_name, scheduleCallConference.TaskAbbrev=Conf
     |where=YEAR(Date)='{{#timel: Y|now}}' AND  scheduleCallConference.WeekNumber='{{#expr: {{#timel: W|{{Timezone}}}} - 0 }}' AND scheduleCallConference.DayNumber='{{#expr: {{#timel: 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=
+
     |where=YEAR(Date)='{{#timel: Y|now}}' AND  scheduleCallConference.WeekNumber='{{#expr: {{#timel: W|{{Timezone}}}} - 0 }}' AND scheduleCallConference.DayNumber='{{#expr: {{#timel: 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 ASC|default=
 
     |format=template|template=schtableconf}}
 
     |format=template|template=schtableconf}}
}}
+
}}</center>
<br>
 
<p></p>
 
<table class='scheduletable'><tr><td bgcolor="#f5f5f5"><center>{{ColorText|'''Conferences'''||#000000|}}</center></td></tr></table>
 
{{#if:{{#cargo_query: tables=dziOrder,scheduleCallConference,facultyMGH|join on=scheduleCallConference.ResAbbrev=dziOrder.requested_by,dziOrder.requested_by=facultyMGH._pageName|fields=scheduleCallConference.TaskAbbrev,scheduleCallConference.Hour,scheduleCallConference.Notes,scheduleCallConference.ResAbbrev,scheduleCallConference.Color,dziOrder._pageTitle,facultyMGH.fullname|where=dziOrder.presentation_date='{{#timel: Y/m/d|}}' OR scheduleCallConference.Date='{{#timel: Y/m/d|}}' AND scheduleCallConference.TaskAbbrev='Outs'|default=|group by=dziOrder.class_type| |format=template|template=schtableconfOuts}}|{{#cargo_query: tables=dziOrder,scheduleCallConference,facultyMGH|join on=scheduleCallConference.ResAbbrev=dziOrder.requested_by,dziOrder.requested_by=facultyMGH._pageName|fields=scheduleCallConference.TaskAbbrev,scheduleCallConference.Hour,scheduleCallConference.Notes,scheduleCallConference.ResAbbrev,scheduleCallConference.Color,dziOrder._pageTitle,facultyMGH.fullname|where=dziOrder.presentation_date='{{#timel: Y/m/d|}}' OR scheduleCallConference.Date='{{#timel: Y/m/d|}}' AND scheduleCallConference.TaskAbbrev='Outs'|default=|group by=dziOrder.class_type| |format=template|template=schtableconfOuts}}|}}{{#if:{{#cargo_query: tables= conferenceMPR,residentMGH |join on=conferenceMPR.ResAbbrev=residentMGH.copath_id |fields=conferenceMPR.ResAbbrev,conferenceMPR.Color,residentMGH.full_name,conferenceMPR.TaskAbbrev |where=YEAR(conferenceMPR.Date)='{{#timel: Y|now}}' AND conferenceMPR.WeekNumber='{{#expr: {{#timel: W|now}} - 0 }}' AND conferenceMPR.DayNumber='{{#expr: {{#timel: N|now}} - 1 }}'|default= |format=template|template=schtableconf}}|{{#cargo_query: tables= conferenceMPR,residentMGH |join on=conferenceMPR.ResAbbrev=residentMGH.copath_id |fields=conferenceMPR.ResAbbrev,conferenceMPR.Color,residentMGH.full_name,conferenceMPR.TaskAbbrev |where=YEAR(conferenceMPR.Date)='{{#timel: Y|now}}' AND conferenceMPR.WeekNumber='{{#expr: {{#timel: W|now}} - 0 }}' AND conferenceMPR.DayNumber='{{#expr: {{#timel: N|now}} - 1 }}'|default= |format=template|template=schtableconf}}|}}{{#if:{{#cargo_query: tables=scheduleCallConference,residentMGH |join on=scheduleCallConference.ResAbbrev=residentMGH.copath_id |fields=scheduleCallConference.ResAbbrev,scheduleCallConference.Color,residentMGH.full_name,scheduleCallConference.TaskAbbrev |where=YEAR(Date)='{{#timel: Y|now}}' AND scheduleCallConference.WeekNumber='{{#expr: {{#timel: W|{{Timezone}}}} - 0 }}' AND scheduleCallConference.DayNumber='{{#expr: {{#timel: N|{{Timezone}}}} - 0 }}' AND scheduleCallConference.Type='Conference' AND NOT scheduleCallConference.ResAbbrev='-' AND NOT TaskAbbrev='HP Journal Club' AND NOT TaskAbbrev='Outs'|default=|format=template|template=schtableconf}}|{{#cargo_query: tables=scheduleCallConference,residentMGH |join on=scheduleCallConference.ResAbbrev=residentMGH.copath_id |fields=scheduleCallConference.ResAbbrev,scheduleCallConference.Color,residentMGH.full_name,scheduleCallConference.TaskAbbrev |where=YEAR(Date)='{{#timel: Y|now}}' AND scheduleCallConference.WeekNumber='{{#expr: {{#timel: W|{{Timezone}}}} - 0 }}' AND scheduleCallConference.DayNumber='{{#expr: {{#timel: N|{{Timezone}}}} - 0 }}' AND scheduleCallConference.Type='Conference' AND NOT scheduleCallConference.ResAbbrev='-' AND NOT TaskAbbrev='HP Journal Club' AND NOT TaskAbbrev='Outs'|default=|format=template|template=schtableconf}}|<center>{{ColorText|''No scheduled conferences''|||2.5}}}}
 
 
<br>
 
<br>
 
<p></p>
 
<p></p>
<table class='scheduletable'><tr><td bgcolor="#f5f5f5"><center>{{ColorText|'''Vacations'''||#000000|}}</center></td></tr></table>
+
<table class='scheduletable'><tr><td bgcolor="#f5f5f5"><center>{{ColorText|'''Vacations'''||#000000|4}}</center></td></tr></table>
 
{{#cargo_query: tables=scheduleRESservice,residentMGH  
 
{{#cargo_query: tables=scheduleRESservice,residentMGH  
 
|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=YEAR(Date)='{{#timel: Y|now}}' AND scheduleRESservice.WeekNumber='{{#expr: {{#timel: W|{{Timezone}}}} - 0 }}' AND scheduleRESservice.TaskAbbrev='VAC'|group by=scheduleRESservice.WeekNumber,scheduleRESservice.ResAbbrev|default=<center>{{ColorText|''No scheduled vacations''|||2.5}}</center>|format=template|template=schtable}}
+
|where=YEAR(Date)='{{#timel: Y|now}}' AND scheduleRESservice.WeekNumber='{{#expr: {{#timel: W|{{Timezone}}}} - 0 }}' AND scheduleRESservice.TaskAbbrev='VAC' AND scheduleRESservice.Date > '2025-02-02'|group by=scheduleRESservice.WeekNumber,scheduleRESservice.ResAbbrev|default=<center>{{ColorText|''No scheduled vacations''|||3}}</center>|format=template|template=schtable}}
 
</td>
 
</td>
<td style="width: 4%">
+
<td style="width: 2%">
 
&nbsp;
 
&nbsp;
 
</td>
 
</td>
<td style="width: 15%">
+
<td style="width: 78%">
<table class='scheduletable'><tr><td bgcolor="#f5f5f5"><center>{{ColorText|'''Service'''||#000000|}}</center></td></tr></table>
+
{{:scheduleNow}}
{{:schtablemobile2}}
 
</td>
 
<td style="width: 20%">
 
<table class='scheduletable'><tr><td bgcolor="#f5f5f5"><center>'''{{ColorText|{{#tip-text:Resident|Resident}}||#000000|}}'''</center></td></tr></table>
 
{{#switch: {{#timel: N|{{Timezone}}}}
 
|6
 
|7=
 
{{:schtablemobile6}}
 
|{{#arraymap: AUT,AEAAAA;BR1,FF7E46;BR2,FF7E46;BST,E2EFDA;CV,7AD062;CA,04AAD1;CB,04AAD1;CC,04AAD1;DPA,EDB1FF;DPB,EDB1FF;DPC,EDB1FF;HN1,04E489;HN2,04E489;GI1,FFC30F;GI2,FFC30F;GI3,FFC30F;GI4,FFC30F;GUL,4FA4FF;GUS,4FA4FF;GYL,CD5EB6;GYS,CD5EB6;HPA,92E2AF;HPB,92E2AF;HG,92E2AF;NP,FCE4D6;OB,CD5EB6;PP,7AD062;RP,FFFF8D;FS-S,CCECFF;FS-J,CCECFF;GR-S,B8A315;AP CHIEF,B39BE9;CP CHIEF,B39BE9;|;|TaskAbbreviation|
 
{{#cargo_query: tables=scheduleRESservice,residentMGH
 
|join on=scheduleRESservice.ResAbbrev=residentMGH.copath_id
 
|fields=
 
GROUP_CONCAT(DISTINCT scheduleRESservice.ResAbbrev)
 
,scheduleRESservice.Color
 
,GROUP_CONCAT(DISTINCT residentMGH.full_name)
 
,pageid
 
|group by=scheduleRESservice.WeekNumber
 
|where=YEAR(Date)={{#timel: Y|{{Timezone}}}} AND scheduleRESservice.WeekNumber='{{#expr: {{#timel: W|{{Timezone}}}} - 0 }}' AND scheduleRESservice.TaskAbbrev='{{#explode:TaskAbbreviation|,|0}}'|default={{schtableempty|{{#explode:TaskAbbreviation|,|1}}}}|format=template|template=schtableres}}
 
|}}
 
}}
 
</td>
 
<td style="width: 20%">
 
<table class='scheduletable'><tr><td bgcolor="#f5f5f5"><center>'''{{ColorText|{{#tip-text:Fellow/Elective|Fellow / Elective-Resident}}||#000000|}}'''</center></td></tr></table>
 
{{#switch: {{#timel: N|{{Timezone}}}}
 
|6
 
|7=
 
{{:schtablemobile6}}
 
|{{#arraymap: AUT,AEAAAA;BR1,FF7E46;BR2,FF7E46;BST,E2EFDA;CV,7AD062;CA,04AAD1;CB,04AAD1;CC,04AAD1;DPA,EDB1FF;DPB,EDB1FF;DPC,EDB1FF;HN1,04E489;HN2,04E489;GI1,FFC30F;GI2,FFC30F;GI3,FFC30F;GI4,FFC30F;GUL,4FA4FF;GUS,4FA4FF;GYL,CD5EB6;GYS,CD5EB6;HPA,92E2AF;HPB,92E2AF;HG,92E2AF;NP,FCE4D6;OB,CD5EB6;PP,7AD062;RP,FFFF8D;FS-S,CCECFF;FS-J,CCECFF;|;|TaskAbbreviation|
 
{{#cargo_query: tables=scheduleFELLservice,residentMGH
 
|join on=scheduleFELLservice.FellAbbrev=residentMGH.copath_id
 
|fields=scheduleFELLservice.FellAbbrev,scheduleFELLservice.Color,residentMGH.full_name,residentMGH.pageid
 
|where=YEAR(Date)={{#timel: Y|{{Timezone}}}} AND scheduleFELLservice.WeekNumber='{{#expr: {{#timel: W|{{Timezone}}}} - 0 }}' AND scheduleFELLservice.TaskAbbrev='{{#explode:TaskAbbreviation|,|0}}' |format=template
 
|group by=scheduleFELLservice.WeekNumber|default={{schtableempty|{{#explode:TaskAbbreviation|,|1}}}}|template=schtableres}}
 
|}}
 
}}
 
</td>
 
<td style="width: 26%">
 
{{#switch: {{#timel: N|{{Timezone}}}}
 
|6
 
|7=
 
<table class='scheduletable'><tr><td bgcolor="#f5f5f5"><center>'''{{ColorText|{{#tip-text:On call att.|On call Attending}}||#000000|}}'''
 
</center></td></tr></table>
 
|1
 
|2
 
|3
 
|4
 
|5=
 
<table class='scheduletable'><tr><td bgcolor="#f5f5f5"><center>'''{{ColorText|{{#tip-text:Attending|Attending}}||#000000|}}'''<sup>[1]</sup></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;HN1,04E489;HN2,04E489;GI1,FFC30F;GI2,FFC30F;GI3,FFC30F;GI4,FFC30F;GUL,4FA4FF;GUS,4FA4FF;GYL,CD5EB6;GYS,CD5EB6;HPA,92E2AF;HPB,92E2AF;HG,92E2AF;NP,FCE4D6;OB,CD5EB6;PP,7AD062;RP,FFFF8D;FROZEN SECTION,CCECFF;FROZEN SECTION,CCECFF;|;|TaskAbbreviation|
 
{{#cargo_query: table=scheduleFACservice
 
|fields=GROUP_CONCAT(scheduleFACservice.StaffAbbrev),scheduleFACservice.Color,GROUP_CONCAT(scheduleFACservice.StaffFullName)
 
|group by=scheduleFACservice.Color
 
|where=YEAR(Date)={{#timel: Y|{{Timezone}}}} AND scheduleFACservice.TaskAbbrev='{{#explode:TaskAbbreviation|,|0}}' AND scheduleFACservice.DayNumber='{{#timel:N|now}}' AND scheduleFACservice.WeekNumber='{{#expr: {{#timel: W|{{Timezone}}}} - 0}}'
 
|default={{schtableempty|{{#explode:TaskAbbreviation|,|1}}}}|format=template|template=schtable}}
 
|}}
 
<sup>[1]</sup><sub>The faculty service schedule is displayed on this page using the <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 API</htmltag>.</sub>
 
 
</td>
 
</td>
 
</tr>
 
</tr>
Line 144: Line 111:
 
</table>
 
</table>
 
</div>
 
</div>
</div>
 
 
 
 
 
 
<div class="mobile_device_480px">
 
{{ColorText|Hello, {{CURRENTUSERREALNAME}}!|||3|}}<br>
 
{{ColorText|Today is|||3|}} '''{{ColorText|{{#timel: l, M j|{{Timezone}}}}||red|3|}}'''<br>
 
{{ColorText|Day number '''{{#timel:z|{{{1|}}}}}''' of {{#timel: Y|now}}!|||3|}}
 
<br><br>
 
{{ColorText|Quick links|||4|}}
 
* [[mgh:services|AP & CP Services]]
 
* [[learn:bulletinboard|Bulletin Board]]
 
* [[learn:contacts|Contacts]]
 
* [[GPR|GPR]]
 
* [[Special:RunQuery/MilestonesRunQuery|Milestones]]
 
* [[learn:rp|Resident Portal]]
 
* [[learn:schedule|Schedules]]
 
<br>
 
<table class='table borderless'>
 
<tr>
 
<td style="width: 10%">
 
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>{{ColorText|'''Service'''||#000000|}}</center></td></tr></table>
 
{{:schtablemobile2}}
 
</td>
 
<td style="width: 13%">
 
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:Resident|Resident}}||#000000|}}'''</center></td></tr></table>
 
{{#switch: {{#timel: N|{{Timezone}}}}
 
|6
 
|7=
 
{{:schtablemobile6}}
 
|{{#arraymap: AUT,AEAAAA;BR1,FF7E46;BR2,FF7E46;BST,E2EFDA;CV,7AD062;CA,04AAD1;CB,04AAD1;CC,04AAD1;DPA,EDB1FF;DPB,EDB1FF;DPC,EDB1FF;HN1,04E489;HN2,04E489;GI1,FFC30F;GI2,FFC30F;GI3,FFC30F;GI4,FFC30F;GUL,4FA4FF;GUS,4FA4FF;GYL,CD5EB6;GYS,CD5EB6;HPA,92E2AF;HPB,92E2AF;HG,92E2AF;NP,FCE4D6;OB,CD5EB6;PP,7AD062;RP,FFFF8D;FS-S,CCECFF;FS-J,CCECFF;GR-S,B8A315;AP CHIEF,B39BE9;CP CHIEF,B39BE9;|;|TaskAbbreviation|
 
{{#cargo_query: tables=scheduleRESservice,residentMGH
 
|join on=scheduleRESservice.ResAbbrev=residentMGH.copath_id
 
|fields=
 
GROUP_CONCAT(DISTINCT scheduleRESservice.ResAbbrev)
 
,scheduleRESservice.Color
 
,GROUP_CONCAT(DISTINCT residentMGH.full_name)
 
,pageid
 
|group by=scheduleRESservice.WeekNumber
 
|where=YEAR(Date)={{#timel: Y|{{Timezone}}}} AND scheduleRESservice.WeekNumber='{{#expr: {{#timel: W|{{Timezone}}}} - 0 }}' AND scheduleRESservice.TaskAbbrev='{{#explode:TaskAbbreviation|,|0}}'|default={{schtableempty|{{#explode:TaskAbbreviation|,|1}}}}|format=template|template=schtableres}}
 
|}}
 
}}
 
</td>
 
<td style="width: 13%">
 
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:Fellow|Fellow}}||#000000|}}'''</center></td></tr></table>
 
{{#switch: {{#timel: N|{{Timezone}}}}
 
|6
 
|7=
 
{{:schtablemobile6}}
 
|{{#arraymap: AUT,AEAAAA;BR1,FF7E46;BR2,FF7E46;BST,E2EFDA;CV,7AD062;CA,04AAD1;CB,04AAD1;CC,04AAD1;DPA,EDB1FF;DPB,EDB1FF;DPC,EDB1FF;HN1,04E489;HN2,04E489;GI1,FFC30F;GI2,FFC30F;GI3,FFC30F;GI4,FFC30F;GUL,4FA4FF;GUS,4FA4FF;GYL,CD5EB6;GYS,CD5EB6;HPA,92E2AF;HPB,92E2AF;HG,92E2AF;NP,FCE4D6;OB,CD5EB6;PP,7AD062;RP,FFFF8D;FS-S,CCECFF;FS-J,CCECFF;|;|TaskAbbreviation|
 
{{#cargo_query: tables=scheduleFELLservice,residentMGH
 
|join on=scheduleFELLservice.FellAbbrev=residentMGH.copath_id
 
|fields=scheduleFELLservice.FellAbbrev,scheduleFELLservice.Color,residentMGH.full_name,residentMGH.pageid
 
|where=YEAR(Date)={{#timel: Y|{{Timezone}}}} AND scheduleFELLservice.WeekNumber='{{#expr: {{#timel: W|{{Timezone}}}} - 0 }}' AND scheduleFELLservice.TaskAbbrev='{{#explode:TaskAbbreviation|,|0}}' |format=template
 
|group by=scheduleFELLservice.WeekNumber|default={{schtableempty|{{#explode:TaskAbbreviation|,|1}}}}|template=schtableres}}
 
|}}
 
}}
 
</td>
 
<td style="width: 13%">
 
{{#switch: {{#timel: N|{{Timezone}}}}
 
|6
 
|7=
 
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:On call|On call Attending}}||#000000|}}'''
 
</center></td></tr></table>
 
|1
 
|2
 
|3
 
|4
 
|5=
 
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:Attending|Attending}}||#000000|}}'''</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;HN1,04E489;HN2,04E489;GI1,FFC30F;GI2,FFC30F;GI3,FFC30F;GI4,FFC30F;GUL,4FA4FF;GUS,4FA4FF;GYL,CD5EB6;GYS,CD5EB6;HPA,92E2AF;HPB,92E2AF;HG,92E2AF;NP,FCE4D6;OB,CD5EB6;PP,7AD062;RP,FFFF8D;FROZEN SECTION,CCECFF;FROZEN SECTION,CCECFF;|;|TaskAbbreviation|
 
{{#cargo_query: table=scheduleFACservice
 
|fields=GROUP_CONCAT(scheduleFACservice.StaffAbbrev),scheduleFACservice.Color,GROUP_CONCAT(scheduleFACservice.StaffFullName)
 
|group by=scheduleFACservice.Color
 
|where=YEAR(Date)={{#timel: Y|{{Timezone}}}} AND scheduleFACservice.TaskAbbrev='{{#explode:TaskAbbreviation|,|0}}' AND scheduleFACservice.DayNumber='{{#timel:N|now}}' AND scheduleFACservice.WeekNumber='{{#expr: {{#timel: W|{{Timezone}}}} - 0}}'
 
|default={{schtableempty|{{#explode:TaskAbbreviation|,|1}}}}|format=template|template=schtable}}
 
|}}
 
</td>
 
</tr>
 
</table>
 
 
</div>
 
</div>

Latest revision as of 23:49, March 12, 2026

Welcome

Hello, !
You last logged in on Error: Invalid time. at Error: Invalid time..


Quick links

AP & CP services

Contact list

Digital slides (WSI)

Resident portal

Schedules

Current month
Current week
See other weeks

Technical tip sheets

MGH Histo Cam

 

Monday, August 3, 2026 (day 215)


Conferences


Call - resident
Call: Senior - BF003
Call: Junior - FR880


Vacations
AU138
GD139
ME084
YC576
YMN4

 

Anatomic pathology (AMP)
Service
AUT
BST
BR1
BR2
BR3_1
BR3_2
CV
RP
CC1
CC2
CC3
DP1
DP2
DP3
EYE
FSJ
FSS
GI1
GI2
GI3
GI4
GU1
GU2
GY1
GY2
OB
HN1
HN2
HPA
HPB
NP
NPAUT
PP1
GR-S
AP CHIEF
Resident
TB224
RA129, VM582 (D)
KS2067
JS1398 (E)
-
-
-
-
KRP22
-
EW438
-
-
-
-
CZ818, FR880
BF003
-
LD1124 (D)
JSR66 (D)
SL031
CT229 (T), JJ278 (T)
WM788
-
-
-
-
GV930 (T), SS3241 (T)
DM1420
AM034
-
-
TY007
-
JB1322
Fellow
-
-
-
-
-
-
-
-
-
ZT150
JT026
-
DLD67
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
DY608
-
-
-
Attending[1]
Patalas
Nielsen
Sgroi
Ly
Bossuyt
Bossuyt
Padera
Avillach
Pitman
Pitman
Zhang
Moran
Stagner
Bulterys
Dryja
Oliva
Oliva
Glickman
Machacek
Russo
Caldwell
Gupta
Devins
Young
Oliva
Dannheim
Heusinkveld
Sadow
Sohani
Fitzpatrick
Stemmer-Rach
Stemmer-Rach
Mino-Kenudson
-
-
Call
Patalas
Nielsen
Sgroi
Sgroi
Sgroi
Sgroi
Padera
Avillach
Pitman
Pitman
Pitman
Moran
Moran
Moran
ANA
-
-
Zhang
Zhang
Zhang
Zhang
Gupta
Gupta
Young
Young
Dannheim
Sadow
Sadow
Sohani
Sohani
Stemmer-Rach
Stemmer-Rach
Mino-Kenudson
-
-

Clinical pathology (LMM)
Service
BTS
COAG
CORE
MICRO
HLA - A
HLA - B
HPA
HPB
HG
MOL: Consult
MOL: HER2
MOL: A non-NGS
MOL: A NGS
MOL: B NGS
MOL: B non-NGS
MOL: B FISH
IMMUNO
CP CHIEF
Resident
-
-
-
PD571
-
-
DM1420
AM034
-
-
-
-
-
-
-
-
-
NP139
Fellow
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Attending[1]
Peña
Connell
Liu_L
Anahtar
-
-
Allbee,Aster,Sohani
Fitzpatrick,Aster
Higgins
-
-
-
-
-
-
-
MM408
-
Call
27364
No results Connell
15433
32443
25338
25338
Allbee,Aster,Sohani
Allbee,Aster,Sohani
Higgins
-
-
-
-
-
-
-
MM408
-

[1]Faculty schedule displayed using the QGenda API.