|
|
Line 1: |
Line 1: |
β | <table class='table borderless'>
| + | Cytoloy |
β | <tr>
| |
β | <td colspan="1">
| |
β |
| |
β | </td>
| |
β | <td colspan="1">
| |
β |
| |
β | </td>
| |
β | <td colspan="2">
| |
β | <center>'''Monday to<br>Friday'''</center>
| |
β | <td colspan="1">
| |
β |
| |
β | </td>
| |
β | <td class='align-bottom' colspan="1">
| |
β | <center>{{#cargo_query: tables=scheduleFACservice |fields=scheduleFACservice.Date |where=scheduleFACservice.DayNumber='1' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 0 }}' AND scheduleFACservice.TaskAbbrev='BR1' |format=template|template=datedisplaycurrent}}<p></p></center>
| |
β | </td>
| |
β | <td class='align-bottom' colspan="1">
| |
β | <center>{{#cargo_query: tables=scheduleFACservice |fields=scheduleFACservice.Date |where=scheduleFACservice.DayNumber='2' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 0 }}' AND scheduleFACservice.TaskAbbrev='BR1' |format=template|template=datedisplaycurrent}}<p></p></center>
| |
β | </td>
| |
β | <td class='align-bottom' colspan="1">
| |
β | <center>{{#cargo_query: tables=scheduleFACservice |fields=scheduleFACservice.Date |where=scheduleFACservice.DayNumber='3' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 0 }}' AND scheduleFACservice.TaskAbbrev='BR1' |format=template|template=datedisplaycurrent}}<p></p></center>
| |
β | </td>
| |
β | <td class='align-bottom' colspan="1">
| |
β | <center>{{#cargo_query: tables=scheduleFACservice |fields=scheduleFACservice.Date |where=scheduleFACservice.DayNumber='4' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 0 }}' AND scheduleFACservice.TaskAbbrev='BR1' |format=template|template=datedisplaycurrent}}<p></p></center>
| |
β | </td>
| |
β | <td colspan="1">
| |
β | <center>{{#cargo_query: tables=scheduleFACservice |fields=scheduleFACservice.Date |where=scheduleFACservice.DayNumber='5' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 0 }}' AND scheduleFACservice.TaskAbbrev='BR1' |format=template|template=datedisplaycurrent}}<p></p></center>
| |
β | </td>
| |
β | <td colspan="1">
| |
β | <center>{{#cargo_query: tables=scheduleFACservice |fields=scheduleFACservice.Date |where=scheduleFACservice.DayNumber='6' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 0 }}' AND scheduleFACservice.TaskAbbrev='BR1' |format=template|template=datedisplaycurrent}}<p></p></center>
| |
β | </td>
| |
β | <td colspan="1">
| |
β | <center>{{#cargo_query: tables=scheduleFACservice |fields=scheduleFACservice.Date |where=scheduleFACservice.DayNumber='7' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 0 }}' AND scheduleFACservice.TaskAbbrev='BR1' |format=template|template=datedisplaycurrent}}<p></p></center>
| |
β | </td>
| |
β | </tr>
| |
β | <tr>
| |
β | <td style="width: 10%">
| |
β | <table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>{{ColorText|'''Service'''||#000000|}}</center></td></tr></table>
| |
β | {{:schtablemobile}}
| |
β | </td>
| |
β | <td style="width: 5%">
| |
β |
| |
β | </td>
| |
β | <td style="width: 10%">
| |
β | <table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:Resident|Resident}}||#000000|}}'''</center></td></tr></table>
| |
β | {{#arraymap: AUT,BR1,BR2,BST,CV,CA,CB,CC,DPA,DPB,DPC,FZ,HN1,HN2,GI1,GI2,GI3,GUL,GUS,GYL,GYS,HPA,HPB,NP,OB,PP,RP,AP CHIEF,FZ-S,FZ-J,GR-S|,|TaskAbbreviation|
| |
β | {{#cargo_query: tables=scheduleRESservice,residentMGH
| |
β | |join on=scheduleRESservice.ResAbbrev=residentMGH.copath_id
| |
β | |fields=scheduleRESservice.ResAbbrev,scheduleRESservice.Color,residentMGH.full_name,residentMGH.pageid
| |
β | |where=scheduleRESservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 0 }}' AND scheduleRESservice.TaskAbbrev='TaskAbbreviation'|default={{:schtableempty}}|format=template|template=schtableres}}
| |
β | |}}
| |
β | <br>
| |
β | {{#cargo_query: tables=scheduleRESservice,residentMGH
| |
β | |join on=scheduleRESservice.ResAbbrev=residentMGH.copath_id
| |
β | |fields=scheduleRESservice.ResAbbrev,scheduleRESservice.Color,residentMGH.full_name
| |
β | |where=scheduleRESservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 0 }}' AND scheduleRESservice.TaskAbbrev='VAC'|default={{:schtableempty}}|format=template|template=schtableres}}
| |
β | </td>
| |
β | <td style="width: 10%">
| |
β | <table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:Fellow|Fellow / Elective-Resident}}||#000000|}}'''</center></td></tr></table>
| |
β | {{#arraymap: AUT,BR1,BR2,BST,CV,CA,CB,CC,DPA,DPB,DPC,FS,HN1,HN2,GI1,GI2,GI3,GUL,GUS,GYL,GYS,HPA,HPB,NP,OB,PP,RP,AP CHIEF,FZ-S,FZ-J|,|TaskAbbreviation|
| |
β | {{#cargo_query: tables=scheduleFELLservice,residentMGH
| |
β | |join on=scheduleFELLservice.FellAbbrev=residentMGH.copath_id
| |
β | |fields=scheduleFELLservice.FellAbbrev,scheduleFELLservice.Color,residentMGH.full_name
| |
β | |where=scheduleFELLservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 0 }}' AND scheduleFELLservice.TaskAbbrev='TaskAbbreviation' |format=template|template=schtable}}
| |
β | |}}
| |
β | </td>
| |
β | <td style="width: 5%">
| |
β |
| |
β | </td>
| |
β | <td style="width: 10%">
| |
β | <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,DPB,DPC,Frozen Section,HN1,HN2,GI1,GI2,GI3,GUL,GUS,GYL,GYS,HPA,HPB,NP,OB,PP,RP|,|TaskAbbreviation|
| |
β | {{#cargo_query: table=scheduleFACservice
| |
β | |fields=scheduleFACservice.StaffAbbrev,scheduleFACservice.Color,scheduleFACservice.StaffFullName
| |
β | |where=scheduleFACservice.TaskAbbrev='TaskAbbreviation' AND scheduleFACservice.DayNumber='1' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 0}}'
| |
β | |default={{:schtableempty}}|format=template|template=schtable}}
| |
β | |}}
| |
β | </td>
| |
β | <td style="width: 10%">
| |
β | <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,DPB,DPC,Frozen Section,HN1,HN2,GI1,GI2,GI3,GUL,GUS,GYL,GYS,HPA,HPB,NP,OB,PP,RP|,|TaskAbbreviation|
| |
β | {{#cargo_query: table=scheduleFACservice
| |
β | |fields=scheduleFACservice.StaffAbbrev,scheduleFACservice.Color,scheduleFACservice.StaffFullName
| |
β | |where=scheduleFACservice.TaskAbbrev='TaskAbbreviation' AND scheduleFACservice.DayNumber='2' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 0}}'
| |
β | |default={{:schtableempty}}|format=template|template=schtable}}
| |
β | |}}
| |
β | </td>
| |
β | <td style="width: 10%">
| |
β | <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,DPB,DPC,Frozen Section,HN1,HN2,GI1,GI2,GI3,GUL,GUS,GYL,GYS,HPA,HPB,NP,OB,PP,RP|,|TaskAbbreviation|
| |
β | {{#cargo_query: table=scheduleFACservice
| |
β | |fields=scheduleFACservice.StaffAbbrev,scheduleFACservice.Color,scheduleFACservice.StaffFullName
| |
β | |where=scheduleFACservice.TaskAbbrev='TaskAbbreviation' AND scheduleFACservice.DayNumber='3' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 0}}'
| |
β | |default={{:schtableempty}}|format=template|template=schtable}}
| |
β | |}}
| |
β | </td>
| |
β | <td style="width: 10%">
| |
β | <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,DPB,DPC,Frozen Section,HN1,HN2,GI1,GI2,GI3,GUL,GUS,GYL,GYS,HPA,HPB,NP,OB,PP,RP|,|TaskAbbreviation|
| |
β | {{#cargo_query: table=scheduleFACservice
| |
β | |fields=scheduleFACservice.StaffAbbrev,scheduleFACservice.Color,scheduleFACservice.StaffFullName
| |
β | |where=scheduleFACservice.TaskAbbrev='TaskAbbreviation' AND scheduleFACservice.DayNumber='4' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 0}}'
| |
β | |default={{:schtableempty}}|format=template|template=schtable}}
| |
β | |}}
| |
β | </td>
| |
β | <td style="width: 10%">
| |
β | <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,DPB,DPC,Frozen Section,HN1,HN2,GI1,GI2,GI3,GUL,GUS,GYL,GYS,HPA,HPB,NP,OB,PP,RP|,|TaskAbbreviation|
| |
β | {{#cargo_query: table=scheduleFACservice
| |
β | |fields=scheduleFACservice.StaffAbbrev,scheduleFACservice.Color,scheduleFACservice.StaffFullName
| |
β | |where=scheduleFACservice.TaskAbbrev='TaskAbbreviation' AND scheduleFACservice.DayNumber='5' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 0}}'
| |
β | |default={{:schtableempty}}|format=template|template=schtable}}
| |
β | |}}
| |
β | </td>
| |
β | <td style="width: 10%">
| |
β | <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,DPB,DPC,Frozen Section,HN1,HN2,GI1,GI2,GI3,GUL,GUS,GYL,GYS,HPA,HPB,NP,OB,PP,RP|,|TaskAbbreviation|
| |
β | {{#cargo_query: table=scheduleFACservice
| |
β | |fields=scheduleFACservice.StaffAbbrev,scheduleFACservice.Color,scheduleFACservice.StaffFullName
| |
β | |where=scheduleFACservice.TaskAbbrev='TaskAbbreviation' AND scheduleFACservice.DayNumber='6' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 0}}'
| |
β | |default={{:schtableempty}}|format=template|template=schtable}}
| |
β | |}}
| |
β | </td>
| |
β | <td style="width: 10%">
| |
β | <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,DPB,DPC,Frozen Section,HN1,HN2,GI1,GI2,GI3,GUL,GUS,GYL,GYS,HPA,HPB,NP,OB,PP,RP|,|TaskAbbreviation|
| |
β | {{#cargo_query: table=scheduleFACservice
| |
β | |fields=scheduleFACservice.StaffAbbrev,scheduleFACservice.Color,scheduleFACservice.StaffFullName
| |
β | |where=scheduleFACservice.TaskAbbrev='TaskAbbreviation' AND scheduleFACservice.DayNumber='7' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 0}}'
| |
β | |default={{:schtableempty}}|format=template|template=schtable}}
| |
β | |}}
| |
β | </td>
| |
β | </tr>
| |
β | </table>
| |
β | | |
β | <hr>
| |
β | | |
| {{#css: .fc-unthemed td.fc-today { background: #baffdd; } }} | | {{#css: .fc-unthemed td.fc-today { background: #baffdd; } }} |
| {{#cargo_compound_query: | | {{#cargo_compound_query: |
Line 141: |
Line 5: |
| ;fields=CONCAT('π ',TaskAbbrev)=name | | ;fields=CONCAT('π ',TaskAbbrev)=name |
| ,Date=Date | | ,Date=Date |
β | ;where=StaffAbbrev='GUN';color=#c4acfa;text color=black | + | ;where=TaskAbbrev='CA' AND TaskAbbrev='CB' AND TaskAbbrev='CC';color=#c4acfa;text color=black |
| |tables=scheduleRFAview | | |tables=scheduleRFAview |
| ;fields=CONCAT('Resident: ',ResAbbrev)=name | | ;fields=CONCAT('Resident: ',ResAbbrev)=name |
| ,Date=Date | | ,Date=Date |
β | ;where=StaffAbbrev='GUN' AND NOT ResAbbrev='0' AND NOT ResAbbrev='-';color=#fff88f;text color=black | + | ;where=TaskAbbrev='CA' AND TaskAbbrev='CB' AND TaskAbbrev='CC' AND NOT ResAbbrev='0' AND NOT ResAbbrev='-';color=#fff88f;text color=black |
| |tables=scheduleRFAview | | |tables=scheduleRFAview |
| ;fields=CONCAT('Fellow: ',FellAbbrev)=name | | ;fields=CONCAT('Fellow: ',FellAbbrev)=name |
| ,Date=Date | | ,Date=Date |
β | ;where=StaffAbbrev='GUN' AND NOT FellAbbrev='0' AND NOT FellAbbrev='-';color=#99b1ff;text color=black | + | ;where=TaskAbbrev='CA' AND TaskAbbrev='CB' AND TaskAbbrev='CC' AND NOT FellAbbrev='0' AND NOT FellAbbrev='-';color=#99b1ff;text color=black |
| |format=calendar|height=500}} | | |format=calendar|height=500}} |