Difference between revisions of "mgh:cytology-calendar"

From MGH Learn Pathology
(Created page with "<center>'''{{ColorText|CA, CB, & CC||#30705d|6|}}'''</center> {{#cargo_compound_query: |tables=scheduleFACservice ;fields=CONCAT('🔘 ',TaskAbbrev,' - ',StaffLName,' (',Staff...")
 
Line 2: Line 2:
 
{{#cargo_compound_query:
 
{{#cargo_compound_query:
 
|tables=scheduleFACservice
 
|tables=scheduleFACservice
;fields=CONCAT('🔘 ',TaskAbbrev,' - ',StaffLName,' (',StaffAbbrev,')')=name
+
;fields=CONCAT(TaskAbbrev,' ATT: ',StaffAbbrev)=name
 
,StaffFullName=description
 
,StaffFullName=description
 
,Date=Date
 
,Date=Date
;where=TaskAbbrev='CA' OR TaskAbbrev='CB' OR TaskAbbrev='CC';color=#d1d1d1;text color=#000000
+
;where=(TaskAbbrev='CA' OR TaskAbbrev='CB' OR TaskAbbrev='CC') AND NOT StaffAbbrev='OPEN';color=#d1d1d1;text color=#000000
|tables=scheduleRFAview
+
|tables=scheduleRESservice,residentMGH
;fields=CONCAT('🔸 Resident: ',ResAbbrev,' - ',TaskAbbrev)=name
+
;join on= scheduleRESservice.ResAbbrev=residentMGH.copath_id
 +
;fields=CONCAT(TaskAbbrev,' RES: ',ResAbbrev)=name
 +
,full_name=description
 
,Date=Date
 
,Date=Date
 
;where=(TaskAbbrev='CA' OR TaskAbbrev='CB' OR TaskAbbrev='CC') AND NOT ResAbbrev IN ('0', '-', 'TBD');color=#1730b0;text color=#FFFFFF
 
;where=(TaskAbbrev='CA' OR TaskAbbrev='CB' OR TaskAbbrev='CC') AND NOT ResAbbrev IN ('0', '-', 'TBD');color=#1730b0;text color=#FFFFFF
|tables=scheduleRFAview
+
|tables=scheduleFELLservice,residentMGH
;fields=CONCAT('🔹 Fellow: ',FellAbbrev,' - ',TaskAbbrev)=name
+
;join on= scheduleFELLservice.FellAbbrev=residentMGH.copath_id
 +
;fields=CONCAT(TaskAbbrev,' FELL: ',FellAbbrev)=name
 +
,full_name=description
 
,Date=Date
 
,Date=Date
 
;where=TaskAbbrev IN ('CA', 'CB', 'CC') AND NOT FellAbbrev IN ('0', '-', 'TBD');color=#000000;text color=#FFFFFF
 
;where=TaskAbbrev IN ('CA', 'CB', 'CC') AND NOT FellAbbrev IN ('0', '-', 'TBD');color=#000000;text color=#FFFFFF
 
|format=calendar|}}
 
|format=calendar|}}

Revision as of 08:40, July 1, 2020

CA, CB, & CC