|
|
Line 1: |
Line 1: |
− | <table class="scheduletable">
| + | {{#arraymap:{{scheduleDictionaryAPfaculty}}|;|TaskAbbreviation| |
− | <tr><td bgcolor="#859ca0"><span style="background-color:; color:#000000"><center><b><span class="simple-tooltip simple-tooltip-inline" data-simple-tooltip="Autopsy">-</span></b></center></span></a></td></tr><tr><td bgcolor="#c9d8e7"><a href="/index.php/mgh:BST" title="mgh:BST"><span style="background-color:; color:#000000"><center><b><span class="simple-tooltip simple-tooltip-inline" data-simple-tooltip="Bone and Soft Tissue">-</span></b></center></span></a></td></tr><tr><td bgcolor="#ff9a86"><a href="/index.php/mgh:BR" title="mgh:BR"><span style="background-color:; color:#000000"><center><b><span class="simple-tooltip simple-tooltip-inline" data-simple-tooltip="Breast">-</span></b></center></span></a></td></tr><tr><td bgcolor="#ff9a86"><a href="/index.php/mgh:BR" title="mgh:BR"><span style="background-color:; color:#000000"><center><b><span class="simple-tooltip simple-tooltip-inline" data-simple-tooltip="Breast">-</span></b></center></span></a></td></tr><tr><td bgcolor="#6cad90"><a href="/index.php/mgh:CV" title="mgh:CV"><span style="background-color:; color:#000000"><center><b><span class="simple-tooltip simple-tooltip-inline" data-simple-tooltip="Cardiovascular">-</span></b></center></span></a></td></tr><tr><td bgcolor="#6cad90"><a href="/index.php/mgh:RP" title="mgh:RP"><span style="background-color:; color:#000000"><center><b><span class="simple-tooltip simple-tooltip-inline" data-simple-tooltip="Renal">-</span></b></center></span></a></td></tr><tr><td bgcolor="#94c9da"><a href="/index.php/mgh:CYT" title="mgh:CYT"><span style="background-color:; color:#000000"><center><b><span class="simple-tooltip simple-tooltip-inline" data-simple-tooltip="Cytology">-</span></b></center></span></a></td></tr><tr><td bgcolor="#94c9da"><a href="/index.php/mgh:CYT" title="mgh:CYT"><span style="background-color:; color:#000000"><center><b><span class="simple-tooltip simple-tooltip-inline" data-simple-tooltip="Cytology">-</span></b></center></span></a></td></tr><tr><td bgcolor="#94c9da"><a href="/index.php/mgh:CYT" title="mgh:CYT"><span style="background-color:; color:#000000"><center><b><span class="simple-tooltip simple-tooltip-inline" data-simple-tooltip="Cytology">-</span></b></center></span></a></td></tr><tr><td bgcolor="#f8d9e9"><a href="/index.php/mgh:DP" title="mgh:DP"><span style="background-color:; color:#000000"><center><b><span class="simple-tooltip simple-tooltip-inline" data-simple-tooltip="Dermatopathology">-</span></b></center></span></a></td></tr><tr><td bgcolor="#f8d9e9"><a href="/index.php/mgh:DP" title="mgh:DP"><span style="background-color:; color:#000000"><center><b><span class="simple-tooltip simple-tooltip-inline" data-simple-tooltip="Dermatopathology">-</span></b></center></span></a></td></tr><tr><td bgcolor="#f8d9e9"><a href="/index.php/mgh:DP" title="mgh:DP"><span style="background-color:; color:#000000"><center><b><span class="simple-tooltip simple-tooltip-inline" data-simple-tooltip="Dermatopathology">-</span></b></center></span></a></td></tr><tr><td bgcolor="#fffbf0"><a href="/index.php?title=mgh:EYE&action=edit&redlink=1" class="new" title="mgh:EYE (page does not exist)"><span style="background-color:; color:#000000"><center><b><span class="simple-tooltip simple-tooltip-inline" data-simple-tooltip="Eye">-</span></b></center></span></a></td></tr><tr><td bgcolor="#c2e7df"><a href="/index.php/mgh:FS" title="mgh:FS"><span style="background-color:; color:#000000"><center><b><span class="simple-tooltip simple-tooltip-inline" data-simple-tooltip="Frozen Junior">-</span></b></center></span></a></td></tr><tr><td bgcolor="#c2e7df"><a href="/index.php/mgh:FS" title="mgh:FS"><span style="background-color:; color:#000000"><center><b><span class="simple-tooltip simple-tooltip-inline" data-simple-tooltip="Frozen Senior">-</span></b></center></span></a></td></tr><tr><td bgcolor="#ffd966"><a href="/index.php/mgh:GI" title="mgh:GI"><span style="background-color:; color:#000000"><center><b><span class="simple-tooltip simple-tooltip-inline" data-simple-tooltip="Gastrointestinal">-</span></b></center></span></a></td></tr><tr><td bgcolor="#ffd966"><a href="/index.php/mgh:GI" title="mgh:GI"><span style="background-color:; color:#000000"><center><b><span class="simple-tooltip simple-tooltip-inline" data-simple-tooltip="Gastrointestinal">-</span></b></center></span></a></td></tr><tr><td bgcolor="#ffd966"><a href="/index.php/mgh:GI" title="mgh:GI"><span style="background-color:; color:#000000"><center><b><span class="simple-tooltip simple-tooltip-inline" data-simple-tooltip="Gastrointestinal">-</span></b></center></span></a></td></tr><tr><td bgcolor="#ffd966"><a href="/index.php/mgh:GI" title="mgh:GI"><span style="background-color:; color:#000000"><center><b><span class="simple-tooltip simple-tooltip-inline" data-simple-tooltip="Gastrointestinal">-</span></b></center></span></a></td></tr><tr><td bgcolor="#5d99c2"><a href="/index.php/mgh:GU" title="mgh:GU"><span style="background-color:; color:#000000"><center><b><span class="simple-tooltip simple-tooltip-inline" data-simple-tooltip="Genitourinary">-</span></b></center></span></a></td></tr><tr><td bgcolor="#5d99c2"><a href="/index.php/mgh:GU" title="mgh:GU"><span style="background-color:; color:#000000"><center><b><span class="simple-tooltip simple-tooltip-inline" data-simple-tooltip="Genitourinary">-</span></b></center></span></a></td></tr><tr><td bgcolor="#c48fbc"><a href="/index.php/mgh:GYN" title="mgh:GYN"><span style="background-color:; color:#000000"><center><b><span class="simple-tooltip simple-tooltip-inline" data-simple-tooltip="Gynecologic">-</span></b></center></span></a></td></tr><tr><td bgcolor="#c48fbc"><a href="/index.php/mgh:GYN" title="mgh:GYN"><span style="background-color:; color:#000000"><center><b><span class="simple-tooltip simple-tooltip-inline" data-simple-tooltip="Gynecologic">-</span></b></center></span></a></td></tr><tr><td bgcolor="#c48fbc"><a href="/index.php/mgh:OB" title="mgh:OB"><span style="background-color:; color:#000000"><center><b><span class="simple-tooltip simple-tooltip-inline" data-simple-tooltip="Obstetrical">-</span></b></center></span></a></td></tr><tr><td bgcolor="#81cdc4"><a href="/index.php/mgh:HN" title="mgh:HN"><span style="background-color:; color:#000000"><center><b><span class="simple-tooltip simple-tooltip-inline" data-simple-tooltip="Head and Neck">-</span></b></center></span></a></td></tr><tr><td bgcolor="#81cdc4"><a href="/index.php/mgh:HN" title="mgh:HN"><span style="background-color:; color:#000000"><center><b><span class="simple-tooltip simple-tooltip-inline" data-simple-tooltip="Head and Neck">-</span></b></center></span></a></td></tr><tr><td bgcolor="#d3f6d0"><a href="/index.php/mgh:HP" title="mgh:HP"><span style="background-color:; color:#000000"><center><b><span class="simple-tooltip simple-tooltip-inline" data-simple-tooltip="Hematopathology">-</span></b></center></span></a></td></tr><tr><td bgcolor="#d3f6d0"><a href="/index.php/mgh:HP" title="mgh:HP"><span style="background-color:; color:#000000"><center><b><span class="simple-tooltip simple-tooltip-inline" data-simple-tooltip="Hematopathology">-</span></b></center></span></a></td></tr><tr><td bgcolor="#67ba86"><a href="/index.php/mgh:NP" title="mgh:NP"><span style="background-color:; color:#000000"><center><b><span class="simple-tooltip simple-tooltip-inline" data-simple-tooltip="Neuropathology">-</span></b></center></span></a></td></tr><tr><td bgcolor="#dee58a"><a href="/index.php/mgh:PP" title="mgh:PP"><span style="background-color:; color:#000000"><center><b><span class="simple-tooltip simple-tooltip-inline" data-simple-tooltip="Pulmonary Pathology">-</span></b></center></span></a></td></tr><tr><td bgcolor="#fff2cc"><a href="/index.php?title=mgh:GR-S&action=edit&redlink=1" class="new" title="mgh:GR-S (page does not exist)"><span style="background-color:; color:#000000"><center><b><span class="simple-tooltip simple-tooltip-inline" data-simple-tooltip="Gross Senior">-</span></b></center></span></a></td></tr><tr><td bgcolor="#d1d1d1"><a href="/index.php?title=mgh:AP_Chief&action=edit&redlink=1" class="new" title="mgh:AP Chief (page does not exist)"><span style="background-color:; color:#000000"><center><b><span class="simple-tooltip simple-tooltip-inline" data-simple-tooltip="AP Chief">-</span></b></center></span></a></td></tr>
| + | {{#cargo_query: table=scheduleFACservice,facultyMGH|join on=scheduleFACservice.StaffAbbrev=facultyMGH.copath_id |
− | </table>
| + | |fields=GROUP_CONCAT(scheduleFACservice.StaffAbbrev),scheduleFACservice.TaskAbbrev,GROUP_CONCAT(scheduleFACservice.StaffFullName),facultyMGH.pageid |
| + | |group by=scheduleFACservice.Color |
| + | |where=YEAR(Date)={{#time: Y|{{Timezone}}}} AND scheduleFACservice.TaskAbbrev='{{#explode:TaskAbbreviation|,|0}}' AND scheduleFACservice.DayNumber='{{#time:N|now}}' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} - 0}}' |
| + | |default={{schtableempty|{{#explode:TaskAbbreviation|,|2}}}}|format=template|template=scheduleFaculty}} |
{{#arraymap:AUT,Autopsy,859ca0,AUT; BST,Bone and Soft Tissue,c9d8e7,BST; BR1,Breast,ff9a86,BR; BR2,Breast,ff9a86,BR; BR3,Breast,ff9a86,BR; CV,Cardiovascular,6cad90,CV; RP,Renal,6cad90,RP; CA,Cytology,94c9da,CYT; CB,Cytology,94c9da,CYT; CC,Cytology,94c9da,CYT;
DPA,Dermatopathology,f8d9e9,DP; DPB,Dermatopathology,f8d9e9,DP; DPC,Dermatopathology,f8d9e9,DP; EYE,Eye,fffbf0,EYE; Frozen Section,Frozen Section,c2e7df,FS; Frozen Section,Frozen Section,c2e7df,FS; GI1,Gastrointestinal,ffd966,GI; GI2,Gastrointestinal,ffd966,GI; GI3,Gastrointestinal,ffd966,GI; GI4,Gastrointestinal,ffd966,GI; GU1,Genitourinary,5d99c2,GU; GU2,Genitourinary,5d99c2,GU; GYL,Gynecologic,c48fbc,GYN; GYS,Gynecologic,c48fbc,GYN; OB,Obstetrical,c48fbc,OB;HN1,Head and Neck,81cdc4,HN; HN2,Head and Neck,81cdc4,HN; HPA,Hematopathology,d3f6d0,HP; HPB,Hematopathology,d3f6d0,HP; NP,Neuropathology,67ba86,NP; NPAUT,Neuropathology Autopsy,67ba86,NPAUT; PP,Pulmonary Pathology,dee58a,PP;RLS,RLS,fff2cc,RLS; AP CHIEF,AP Chief,d1d1d1,AP Chief;|;|TaskAbbreviation|