Difference between revisions of "ScheduleMobile"
Line 111: | Line 111: | ||
</tr> | </tr> | ||
</table> | </table> | ||
+ | <br> | ||
+ | <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}}|}} | ||
+ | <br> | ||
+ | <p></p> | ||
+ | <table class='scheduletable'><tr><td bgcolor="#f5f5f5"><center>{{ColorText|'''Vacations'''||#000000|}}</center></td></tr></table> | ||
+ | {{#cargo_query: tables=scheduleRESservice,residentMGH | ||
+ | |join on=scheduleRESservice.ResAbbrev=residentMGH.copath_id | ||
+ | |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''|||3}}</center>|format=template|template=schtable}} | ||
+ | <br> | ||
+ | <table class='scheduletable'><tr><td bgcolor="#f5f5f5"><center>{{ColorText|'''On call - resident'''||#000000|}}</center></td></tr></table> | ||
+ | {{#switch: {{#timel: N|{{Timezone}}}}|6= | ||
+ | {{#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'|order by= scheduleCallConference.Sort DESC|default= | ||
+ | |format=template|template=schtableconf}} | ||
+ | |7= | ||
+ | {{#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='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 DESC|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 DESC|default= | ||
+ | |format=template|template=schtableconf}} | ||
+ | }}</center> | ||
+ | <br> | ||
+ | {{:learn:oncallfaculty}} | ||
</div> | </div> |
Revision as of 19:12, September 2, 2021
Welcome
Hello, !
You last logged in on Thursday, January 16, 2025 at 3:10 PM.
Quick links
AP & CP services
Contact list
Digital slides (WSI)
Resident portal
Schedules
-1 Week of January 6, 2025 (week 2 of 2025)
+0 Current week; Week of January 13, 2025 (week 3 of 2025)
+1 Week of January 20, 2025 (week 4 of 2025)
+2 Week of January 27, 2025 (week 5 of 2025)
+3 Week of February 3, 2025 (week 6 of 2025)
+4 Week of February 10, 2025 (week 7 of 2025)
+5 Week of February 17, 2025 (week 8 of 2025)
+6 Week of February 24, 2025 (week 9 of 2025)
+7 Week of March 3, 2025 (week 10 of 2025)
+8 Week of March 10, 2025 (week 11 of 2025)
|
|
A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?
Query: SELECT `cargo__scheduleFELLservice`.`FellAbbrev` AS `FellAbbrev`,`cargo__scheduleFELLservice`.`Color` AS `Color`,`cargo__residentMGH`.`full_name` AS `full name`,`cargo__residentMGH`.`pageid` AS `pageid` FROM `cargo__scheduleFELLservice` LEFT OUTER JOIN `cargo__residentMGH` ON ((`cargo__scheduleFELLservice`.`FellAbbrev`=`cargo__residentMGH`.`copath_id`)) WHERE YEAR(Date)=2025 AND `cargo__scheduleFELLservice`.`WeekNumber`='3' AND `cargo__scheduleFELLservice`.`TaskAbbrev`='BR2' GROUP BY `cargo__scheduleFELLservice`.`WeekNumber` ORDER BY `cargo__scheduleFELLservice`.`FellAbbrev`,`cargo__scheduleFELLservice`.`Color`,`cargo__residentMGH`.`full_name`,`cargo__residentMGH`.`pageid` LIMIT 100000 Function: CargoSQLQuery::run Error: 1146 Table 'cargo.cargo__scheduleFELLservice' doesn't exist (172.27.81.126:30004) Error: No database table exists named "scheduleFELLservice". |
|