Difference between revisions of "mgh:gi-calendar"

From MGH Learn Pathology
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{:learn:schedule-monthlylegend}}
+
{{header|GI1 and GI2}}<br>
{{#cargo_compound_query:
+
{{schedule-monthly2|GI1|GI2|GI}}
|tables=scheduleFACservice
+
<br>
;fields=CONCAT(TaskAbbrev,' ATT: ',StaffAbbrev)=name
+
{{header|GI3 and GI4}}<br>
,StaffFullName=description
+
{{schedule-monthly2|GI3|GI4|GI}}
,Date=Date
 
;where=LocationAbbrev = ‘MGH’ AND (TaskAbbrev='GI1' OR TaskAbbrev='GI2' OR TaskAbbrev='GI3') 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=LocationAbbrev='MGH' AND (TaskAbbrev='GI1' OR TaskAbbrev='GI2' OR TaskAbbrev='GI3') 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 ('GI1', 'GI2', 'GI3') 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='GI'
 
|format=calendar|height=1200}}
 

Latest revision as of 09:06, September 18, 2024

GI1 and GI2
1. Attending 2. Fellow 3. Resident


GI3 and GI4
1. Attending 2. Fellow 3. Resident