Difference between revisions of "ScheduleMobile"

From MGH Learn Pathology
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<div class="mobile_device_480px">
 
<div class="mobile_device_480px">
{{ColorText|'''Welcome'''||#018ab2|6}}
+
{{ColorText|'''Welcome'''||#018ab2|6}}<br>
 
Hello, {{CURRENTUSERREALNAME}}!<br>
 
Hello, {{CURRENTUSERREALNAME}}!<br>
 
You last logged in on {{#timel: l, F j, Y|{{#var:last}}}} at {{#timel: g:i A|{{#var:last}}}}.
 
You last logged in on {{#timel: l, F j, Y|{{#var:last}}}} at {{#timel: g:i A|{{#var:last}}}}.
Line 48: Line 48:
 
}}
 
}}
 
<br>
 
<br>
<table class='table borderless'>
+
{{:scheduleNow}}
<tr>
+
<br>
<td style="width: 10%">
+
<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,dziOrder.collection_name,scheduleCallConference.ResAbbrev,scheduleCallConference.Color,dziOrder._pageTitle,facultyMGH.fullname|where=dziOrder.presentation_date='{{#timel: Y-m-d|now}}' AND scheduleCallConference.TaskAbbrev='Outs'|default=|group by=dziOrder.class_type|format=template|template=schtableconfOuts|limit=1|more results text=}}|{{#cargo_query: tables=dziOrder,scheduleCallConference,facultyMGH|join on=scheduleCallConference.ResAbbrev=dziOrder.requested_by,dziOrder.requested_by=facultyMGH._pageName|fields=scheduleCallConference.TaskAbbrev,scheduleCallConference.Hour,dziOrder.collection_name,scheduleCallConference.ResAbbrev,scheduleCallConference.Color,dziOrder._pageTitle,facultyMGH.fullname|where=dziOrder.presentation_date='{{#timel: Y-m-d|now}}' AND scheduleCallConference.TaskAbbrev='Outs'|default=|group by=dziOrder.class_type|format=template|template=schtableconfOuts|limit=1|more results text=}}|}} {{#vardefine:date|{{#cargo_query: tables= conferenceMPR|fields=Date|where=YEAR(conferenceMPR.Date)='{{#time: Y|now}}' AND conferenceMPR.WeekNumber='{{#expr: {{#time: W|now}} - 1}}'|default= |format=template|template=text}}}} {{#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>''No conferences today''</center>}} {{#ifeq:{{#time: Y-m-d|today}}|{{#var:date}}|{{#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)='{{#time: Y|now}}' AND conferenceMPR.WeekNumber='{{#expr: {{#time: W|now}} - 1 }}'|default= |format=template|template=schtableconf}}|}}
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>{{ColorText|'''Service'''||#000000|}}</center></td></tr></table>
+
<br>
{{:schtablemobile2}}
+
<table class='scheduletable'><tr><td bgcolor="#f5f5f5"><center>{{ColorText|'''Call - resident'''||#000000|}}</center></td></tr></table>
</td>
+
{{#switch: {{#timel: N|{{Timezone}}}}|6=
<td style="width: 13%">
+
{{#cargo_query: tables= scheduleCallConference,residentMGH
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:Resident|Resident}}||#000000|}}'''</center></td></tr></table>
+
    |join on= scheduleCallConference.ResAbbrev=residentMGH.copath_id
{{#switch: {{#time: N|{{Timezone}}}}
+
    |fields= scheduleCallConference.ResAbbrev, scheduleCallConference.Color,residentMGH.full_name, scheduleCallConference.TaskAbbrev=Conf
|6
+
    |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}}
 
|7=
 
|7=
{{:schtablemobile6}}
+
{{#cargo_query: tables= scheduleCallConference,residentMGH
|{{#arraymap: AUT,AEAAAA;BR1,FF7E46;BR2,FF7E46;BST,E2EFDA;CV,7AD062;RP,FFFF8D;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;FS-S,CCECFF;FS-J,CCECFF;GR-S,B8A315;AP CHIEF,B39BE9;CP CHIEF,B39BE9;|;|TaskAbbreviation|
+
    |join on= scheduleCallConference.ResAbbrev=residentMGH.copath_id
 +
    |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='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}}
 +
|
 +
{{#cargo_query: tables= scheduleCallConference,residentMGH
 +
    |join on= scheduleCallConference.ResAbbrev=residentMGH.copath_id
 +
    |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 ASC|default=
 +
    |format=template|template=schtableconf}}
 +
}}
 +
<br>
 +
<p></p>
 +
<table class='scheduletable'><tr><td bgcolor="#f5f5f5"><center>{{ColorText|'''Vacations'''||#000000|}}</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=
+
|fields=scheduleRESservice.ResAbbrev,scheduleRESservice.Color,residentMGH.full_name
GROUP_CONCAT(DISTINCT scheduleRESservice.ResAbbrev)
+
|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''|||3}}</center>|format=template|template=schtable}}
,scheduleRESservice.Color
+
</center>
,GROUP_CONCAT(DISTINCT residentMGH.full_name)
 
,pageid
 
|group by=scheduleRESservice.WeekNumber
 
|where=YEAR(Date)={{#time: Y|{{Timezone}}}} AND scheduleRESservice.WeekNumber='{{#expr: {{#time: 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: {{#time: N|{{Timezone}}}}
 
|6
 
|7=
 
{{:schtablemobile6}}
 
|{{#arraymap: AUT,AEAAAA;BR1,FF7E46;BR2,FF7E46;BST,E2EFDA;CV,7AD062;RP,FFFF8D;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;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)={{#time: Y|{{Timezone}}}} AND scheduleFELLservice.WeekNumber='{{#expr: {{#time: 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: {{#time: 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;RP,FFFF8D;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;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)={{#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|,|1}}}}|format=template|template=schtable}}
 
|}}
 
</td>
 
</tr>
 
</table>
 
 
</div>
 
</div>

Latest revision as of 01:01, September 7, 2021

Welcome
Hello, !
You last logged in on Thursday, January 16, 2025 at 8:38 AM.

Quick links

About us

AP & CP services

Contact list

Distribution lists

Digital slides (WSI)

Resident portal

Schedules

See other weeks


Anatomic pathology (AMP)
Service
AUT
BST
BR1
BR2
BR3
CV
RP
CA
CB
CC
DPA
DPB
DPC
EYE
FSJ
FSS
GI1
GI2
GI3
GI4
GU1
GU2
GYL
GYS
OB
HN1
HN2
HPA
HPB
NP
NPAUT
PP
GR-S
AP CHIEF
Resident
NXT
RSC
EXE
-
-
YQG
YQG
DSV
-
AKE
BBC, EHA (E)
-
-
-
MCH
SYA
-
STO (E)
MDR
-
MFS (E), SAN
RAK
JPB (D)
VZA
VZA
-
HUA
-
LHV
BKV
-
FXR (D)
-
LYU
Fellow
-
-
-
SSB
-
-
-
KWA
-
OHA
-
SJB
-
-
-
-
-
-
-
-
-
-
-
VZA
VZA
-
-
RGJ
YXZ
EZR
-
-
-
-
Attending[1]
REX
GUN
TUG
MJL
VEE
REX
VER
WSB
WSB
AMY
RMN
HOA
KMC
ANA
SGS
SGS
SGS
LZH
GLK
HMA
MND
LEE
OLI
LHL
LHL
BAY
WCF
RPH
JAF
MPF
MPF
HNG
-
-
Call
REX
GUN
TUG
TUG
TUG
REX
VER
WSB
WSB
WSB
RMN
RMN
RMN
ANA
-
-
SGS
SGS
SGS
SGS
MND
MND
OLI
OLI
LHL
WCF
WCF
RPH
RPH
MPF
MPF
HNG
-
-

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
-
-
LAU,SMT
LAU,MUS
-
-
-
LHV
-
-
-
-
-
-
-
-
-
SRH
Fellow
-
-
-
-
-
-
RGJ
YXZ
-
-
-
-
-
-
-
-
-
-
Attending[1]
PKB
EMB31
GRM
EKZ
-
-
RPH
JAF
ARA
-
-
-
-
-
-
-
MM408
-
Call
27364
No results EMB31
15433
32443
25338
25338
RPH
RPH
ARA
-
-
-
-
-
-
-
MM408
-

[1]Faculty schedule displayed using the QGenda API.


Conferences
No conferences today


Call - resident
Call: Senior - SYA
Call: Junior - SAN


Vacations
RLD