Difference between revisions of "mgh:cardio-calendar"

From MGH Learn Pathology
Line 1: Line 1:
{{schedule-monthly2|CV|PP|CV}}
+
<center>'''{{ColorText|CV, PP||#30705d|6|}}'''</center>
 +
{{:learn:schedule-monthlylegend}}
 +
{{#cargo_compound_query:
 +
|tables=scheduleFACservice
 +
;fields=CONCAT(TaskAbbrev,' ATT: ',StaffAbbrev)=name
 +
,StaffFullName=description
 +
,Date=Date
 +
;where=(TaskAbbrev='CV' OR TaskAbbrev='PP') 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='CV' OR TaskAbbrev='PP') 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 ('CV', 'PP') AND NOT FellAbbrev IN ('0', '-', 'TBD');color=#000000;text color=#FFFFFF
 +
|tables=scheduleCallConference, facultyMGH;join on=scheduleCallConference.ResAbbrev = facultyMGH._pageName;fields=CONCAT('一',scheduleCallConference.Hour,' ',scheduleCallConference.TaskAbbrev,': ',scheduleCallConference.Notes,' - ', scheduleCallConference.ResAbbrev)=name,facultyMGH.fullname=description,scheduleCallConference.Date=Date;where=TaskAbbrev='Outs' AND NOT ResAbbrev='-';color=#fff673;text color=black;where=scheduleCallConference.Notes='CV' OR scheduleCallConference.Notes='PP'
 +
|format=calendar|}}

Revision as of 15:45, November 4, 2020

CV, PP

1. Attending 2. Fellow 3. Resident