Difference between revisions of "mgh:hp-calendar"
From MGH Learn Pathology
Line 1: | Line 1: | ||
− | {{schedule- | + | <center>'''{{ColorText|HI, HPA, HPB||#30705d|6|}}'''</center> |
+ | {{:learn:schedule-monthlylegend}} | ||
+ | {{#cargo_compound_query: | ||
+ | |tables=scheduleFACservice | ||
+ | ;fields=CONCAT(TaskAbbrev,' ATT: ',StaffAbbrev)=name | ||
+ | ,StaffFullName=description | ||
+ | ,Date=Date | ||
+ | ;where=(TaskAbbrev='HG' OR TaskAbbrev='HPA' OR TaskAbbrev='HPA') AND NOT StaffAbbrev='OPEN';color=#d1d1d1;text color=#000000 | ||
+ | |tables=scheduleRESservice,residentMGH | ||
+ | ;join on= scheduleRESservice.ResAbbrev=residentMGH.copath_id | ||
+ | ;fields=CONCAT(TaskAbbrev,' RES: ',ResAbbrev)=name | ||
+ | ,full_name=description | ||
+ | ,Date=Date | ||
+ | ;where=(TaskAbbrev='HI' OR TaskAbbrev='HPA' OR TaskAbbrev='HPB') AND NOT ResAbbrev IN ('0', '-', 'TBD');color=#1730b0;text color=#FFFFFF | ||
+ | |tables=scheduleFELLservice,residentMGH | ||
+ | ;join on= scheduleFELLservice.FellAbbrev=residentMGH.copath_id | ||
+ | ;fields=CONCAT(TaskAbbrev,' FELL: ',FellAbbrev)=name | ||
+ | ,full_name=description | ||
+ | ,Date=Date | ||
+ | ;where=TaskAbbrev IN ('HI', 'HPA', 'HPB') AND NOT FellAbbrev IN ('0', '-', 'TBD');color=#000000;text color=#FFFFFF | ||
+ | |format=calendar|}} |
Revision as of 06:01, July 3, 2020
1. Attending 2. Fellow 3. Resident