Difference between revisions of "oneday"

From MGH Learn Pathology
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
βˆ’
<center>{{#cargo_query: tables=scheduleFACservice |fields=scheduleFACservice.Date |where=scheduleFACservice.DayNumber='{{#time: N |now}}' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|}} - 0 }}' AND scheduleFACservice.TaskAbbrev='BR1' |format=template|template=datedisplayoneday}}</center>
+
<center><div class=calendarbg>
 +
{{#cargo_compound_query:
 +
tables=conference,residentMGH
 +
;join on=conference.presenter=residentMGH.copath_id
 +
;fields=CONCAT(conference.conference, ' - ', conference.presenter)=name,residentMGH.full_name=description,conference.date=Date
 +
;where=conference='Call: Junior'
 +
;color=#e0ffef
 +
;text color=black
 +
|tables=conference,residentMGH
 +
;join on=conference.presenter=residentMGH.copath_id
 +
;fields=CONCAT(conference.conference, ' - ', conference.presenter)=name,residentMGH.full_name=description,conference.date=Date
 +
;where=conference='Call: Autopsy'
 +
;color=#e0ffef
 +
;text color=black
 +
|tables=conference,residentMGH
 +
;join on=conference.presenter=residentMGH.copath_id
 +
;fields=CONCAT(conference.conference, ' - ', conference.presenter)=name,residentMGH.full_name=description,conference.date=Date
 +
;where=conference='Call: Senior'
 +
;color=#f2e6ff
 +
;text color=black
 +
|tables=scheduleFood
 +
;fields=CONCAT('πŸ₯£ - ',presenter)=name,date=Date
 +
;color=#f5f5f5
 +
;text color=black
 +
|tables=conference,residentMGH
 +
;join on=conference.presenter=residentMGH.copath_id
 +
;fields=CONCAT('08:25 AM - ' ,conference.conference, ' - ', conference.presenter)=name,residentMGH.full_name=description,conference.date=Date
 +
;where=conference='GPR'
 +
;color=#ffb973
 +
;text color=black
 +
|tables=conferenceOuts, facultyMGH;join on=conferenceOuts.StaffAbbrev = facultyMGH.copath_id;fields=CONCAT(conferenceOuts.time, ' - ', conferenceOuts.TaskAbbrev, ' - ', conferenceOuts.StaffAbbrev)=name,facultyMGH.name_last=description,conferenceOuts.date=Date;color=#fff673;text color=black
 +
|tables=conference, residentMGH;join on=conference.presenter = residentMGH.copath_id;fields=CONCAT('08:00 AM - ' ,conference.conference, ' - ', conference.presenter)=name,residentMGH.full_name=description,conference.date=Date;where=conference='MPR';color=#7dc4ff;text color=black
 +
|tables=conference, residentMGH;join on=conference.presenter = residentMGH.copath_id;fields=CONCAT(conference.conference, ' - ', conference.presenter)=name,residentMGH.full_name=description,conference.date=Date;where=conference='Thoracic';color=#c2c2c2;text color=black
 +
|tables=conference, residentMGH;join on=conference.presenter = residentMGH.copath_id;fields=CONCAT(conference.conference, ' - ', conference.presenter)=name,residentMGH.full_name=description,conference.date=Date;where=conference='RadPath';color=#66ff96;text color=black
 +
|tables=conference, residentMGH;join on=conference.presenter = residentMGH.copath_id;fields=CONCAT(conference.conference, ' - ', conference.presenter)=name,residentMGH.full_name=description,conference.date=Date;where=conference='Autopsy';color=#faff69;text color=black
 +
|format=calendar|view=day|height=165}}
 +
</div></center>
 
<p>
 
<p>
 
<table class='table borderless'>
 
<table class='table borderless'>
 
<tr>
 
<tr>
βˆ’
<td style="width: 7%">
+
<td style="width: 6%">
βˆ’
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>{{ColorText|'''SERVICE'''||#000000|}}</center></td></tr></table>
+
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>{{ColorText|'''S'''||#000000|}}</center></td></tr></table>
 
{{:schtablemobileoneday1}}
 
{{:schtablemobileoneday1}}
 
</td>       
 
</td>       
βˆ’
<td style="width: 7%">
+
<td style="width: 9%">
 
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:R|Resident}}||#000000|}}'''</center></td></tr></table>
 
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:R|Resident}}||#000000|}}'''</center></td></tr></table>
 
{{#arraymap: AUT,BR1,BR2,BST,CV,CA,CB,CC,DPA|,|TaskAbbreviation|
 
{{#arraymap: AUT,BR1,BR2,BST,CV,CA,CB,CC,DPA|,|TaskAbbreviation|
Line 16: Line 52:
 
|}}
 
|}}
 
</td>
 
</td>
βˆ’
<td style="width: 7%">
+
<td style="width: 9%">
 
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:F|Fellow}}||#000000|}}'''</center></td></tr></table>
 
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:F|Fellow}}||#000000|}}'''</center></td></tr></table>
 
{{#arraymap: AUT,BR1,BR2,BST,CV,CA,CB,CC,DPA|,|TaskAbbreviation|
 
{{#arraymap: AUT,BR1,BR2,BST,CV,CA,CB,CC,DPA|,|TaskAbbreviation|
Line 25: Line 61:
 
|}}
 
|}}
 
</td>
 
</td>
βˆ’
<td style="width: 7%">
+
<td style="width: 9%">
βˆ’
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:A|Attending}}||#000000|}}'''<ref>The faculty service schedule is displayed on this page using the QGenda API. To view the full schedule <htmltag tagname="a" href="https://app.qgenda.com/Link/view?linkKey=9a12a547-f1b4-4998-bdca-acf3204a120e&landingPageId=40221bd9-4ac1-4a0b-8a00-da4f05d88f2e" target="_blank">click here.</htmltag> <span class="glyphicon glyphicon-calendar" aria-hidden="true"></span></ref></center></td></tr></table>
+
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:A|Attending}}||#000000|}}'''</center></td></tr></table>
 
{{#arraymap: AUT,BR1,BR2,BST,CV,CA,CB,CC,DPA|,|TaskAbbreviation|
 
{{#arraymap: AUT,BR1,BR2,BST,CV,CA,CB,CC,DPA|,|TaskAbbreviation|
 
{{#cargo_query: table=scheduleFACservice  
 
{{#cargo_query: table=scheduleFACservice  
Line 36: Line 72:
  
 
<td style="width: 7%">
 
<td style="width: 7%">
βˆ’
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>{{ColorText|'''SERVICE'''||#000000|}}</center></td></tr></table>
+
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>{{ColorText|'''S'''||#000000|}}</center></td></tr></table>
 
{{:schtablemobileoneday2}}
 
{{:schtablemobileoneday2}}
 
</td>       
 
</td>       
βˆ’
<td style="width: 7%">
+
<td style="width: 9%">
 
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:R|Resident}}||#000000|}}'''</center></td></tr></table>
 
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:R|Resident}}||#000000|}}'''</center></td></tr></table>
 
{{#arraymap: DPB,DPC,FS,HN1,HN2,GI1,GI2,GI3,GUL|,|TaskAbbreviation|
 
{{#arraymap: DPB,DPC,FS,HN1,HN2,GI1,GI2,GI3,GUL|,|TaskAbbreviation|
Line 48: Line 84:
 
|}}
 
|}}
 
</td>
 
</td>
βˆ’
<td style="width: 7%">
+
<td style="width: 9%">
 
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:F|Fellow}}||#000000|}}'''</center></td></tr></table>
 
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:F|Fellow}}||#000000|}}'''</center></td></tr></table>
 
{{#arraymap: DPB,DPC,FS,HN1,HN2,GI1,GI2,GI3,GUL|,|TaskAbbreviation|
 
{{#arraymap: DPB,DPC,FS,HN1,HN2,GI1,GI2,GI3,GUL|,|TaskAbbreviation|
Line 57: Line 93:
 
|}}
 
|}}
 
</td>
 
</td>
βˆ’
<td style="width: 7%">
+
<td style="width: 9%">
 
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:A|Attending}}||#000000|}}'''</center></td></tr></table>
 
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:A|Attending}}||#000000|}}'''</center></td></tr></table>
 
{{#arraymap: DPB,DPC,Frozen Section,HN1,HN2,GI1,GI2,GI3,GUL|,|TaskAbbreviation|
 
{{#arraymap: DPB,DPC,Frozen Section,HN1,HN2,GI1,GI2,GI3,GUL|,|TaskAbbreviation|
Line 68: Line 104:
  
  
βˆ’
<td style="width: 7%">
+
<td style="width: 6%">
βˆ’
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>{{ColorText|'''SERVICE'''||#000000|}}</center></td></tr></table>
+
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>{{ColorText|'''S'''||#000000|}}</center></td></tr></table>
 
{{:schtablemobileoneday3}}
 
{{:schtablemobileoneday3}}
 
</td>       
 
</td>       
βˆ’
<td style="width: 7%">
+
<td style="width: 9%">
 
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:R|Resident}}||#000000|}}'''</center></td></tr></table>
 
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:R|Resident}}||#000000|}}'''</center></td></tr></table>
 
{{#arraymap: GUS,GYL,GYS,HPA,HPB,NP,OB,PP,RP|,|TaskAbbreviation|
 
{{#arraymap: GUS,GYL,GYS,HPA,HPB,NP,OB,PP,RP|,|TaskAbbreviation|
Line 81: Line 117:
 
|}}
 
|}}
 
</td>
 
</td>
βˆ’
<td style="width: 7%">
+
<td style="width: 9%">
 
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:F|Fellow}}||#000000|}}'''</center></td></tr></table>
 
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:F|Fellow}}||#000000|}}'''</center></td></tr></table>
 
{{#arraymap: GUS,GYL,GYS,HPA,HPB,NP,OB,PP,RP|,|TaskAbbreviation|
 
{{#arraymap: GUS,GYL,GYS,HPA,HPB,NP,OB,PP,RP|,|TaskAbbreviation|
Line 90: Line 126:
 
|}}
 
|}}
 
</td>
 
</td>
βˆ’
<td style="width: 7%">
+
<td style="width: 9%">
 
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:A|Attending}}||#000000|}}'''</center></td></tr></table>
 
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:A|Attending}}||#000000|}}'''</center></td></tr></table>
 
{{#arraymap: GUS,GYL,GYS,HPA,HPB,NP,OB,PP,RP|,|TaskAbbreviation|
 
{{#arraymap: GUS,GYL,GYS,HPA,HPB,NP,OB,PP,RP|,|TaskAbbreviation|
Line 98: Line 134:
 
|default={{:schtableempty}}|format=template|template=schtable}}
 
|default={{:schtableempty}}|format=template|template=schtable}}
 
|}}
 
|}}
βˆ’
</td>
 
βˆ’
 
βˆ’
<td style="width: 16%">
 
βˆ’
<div class=calendarbg>
 
βˆ’
{{#cargo_compound_query:
 
βˆ’
tables=conference,residentMGH
 
βˆ’
;join on=conference.presenter=residentMGH.copath_id
 
βˆ’
;fields=CONCAT(conference.conference, ' - ', conference.presenter)=name,residentMGH.full_name=description,conference.date=Date
 
βˆ’
;where=conference='Call: Junior'
 
βˆ’
;color=#e0ffef
 
βˆ’
;text color=black
 
βˆ’
|tables=conference,residentMGH
 
βˆ’
;join on=conference.presenter=residentMGH.copath_id
 
βˆ’
;fields=CONCAT(conference.conference, ' - ', conference.presenter)=name,residentMGH.full_name=description,conference.date=Date
 
βˆ’
;where=conference='Call: Autopsy'
 
βˆ’
;color=#e0ffef
 
βˆ’
;text color=black
 
βˆ’
|tables=conference,residentMGH
 
βˆ’
;join on=conference.presenter=residentMGH.copath_id
 
βˆ’
;fields=CONCAT(conference.conference, ' - ', conference.presenter)=name,residentMGH.full_name=description,conference.date=Date
 
βˆ’
;where=conference='Call: Senior'
 
βˆ’
;color=#f2e6ff
 
βˆ’
;text color=black
 
βˆ’
|tables=scheduleFood
 
βˆ’
;fields=CONCAT('πŸ₯£ - ',presenter)=name,date=Date
 
βˆ’
;color=#f5f5f5
 
βˆ’
;text color=black
 
βˆ’
|tables=conference,residentMGH
 
βˆ’
;join on=conference.presenter=residentMGH.copath_id
 
βˆ’
;fields=CONCAT('08:25 AM - ' ,conference.conference, ' - ', conference.presenter)=name,residentMGH.full_name=description,conference.date=Date
 
βˆ’
;where=conference='GPR'
 
βˆ’
;color=#ffb973
 
βˆ’
;text color=black
 
βˆ’
|tables=conferenceOuts, facultyMGH;join on=conferenceOuts.StaffAbbrev = facultyMGH.copath_id;fields=CONCAT(conferenceOuts.time, ' - ', conferenceOuts.TaskAbbrev, ' - ', conferenceOuts.StaffAbbrev)=name,facultyMGH.name_last=description,conferenceOuts.date=Date;color=#fff673;text color=black
 
βˆ’
|tables=conference, residentMGH;join on=conference.presenter = residentMGH.copath_id;fields=CONCAT('08:00 AM - ' ,conference.conference, ' - ', conference.presenter)=name,residentMGH.full_name=description,conference.date=Date;where=conference='MPR';color=#7dc4ff;text color=black
 
βˆ’
|tables=conference, residentMGH;join on=conference.presenter = residentMGH.copath_id;fields=CONCAT(conference.conference, ' - ', conference.presenter)=name,residentMGH.full_name=description,conference.date=Date;where=conference='Thoracic';color=#c2c2c2;text color=black
 
βˆ’
|tables=conference, residentMGH;join on=conference.presenter = residentMGH.copath_id;fields=CONCAT(conference.conference, ' - ', conference.presenter)=name,residentMGH.full_name=description,conference.date=Date;where=conference='RadPath';color=#66ff96;text color=black
 
βˆ’
|tables=conference, residentMGH;join on=conference.presenter = residentMGH.copath_id;fields=CONCAT(conference.conference, ' - ', conference.presenter)=name,residentMGH.full_name=description,conference.date=Date;where=conference='Autopsy';color=#faff69;text color=black
 
βˆ’
|format=calendar|view=day|height=165}}
 
βˆ’
</div>
 
 
</td>
 
</td>
  

Latest revision as of 22:01, August 30, 2019