Difference between revisions of "acc-today"
From MGH Learn Pathology
(3 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
<td colspan="1"> | <td colspan="1"> | ||
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:Resident|Resident}}||#000000|}}'''</center></td></tr></table> | <table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:Resident|Resident}}||#000000|}}'''</center></td></tr></table> | ||
− | {{#arraymap: AUT,BR1,BR2,BST,CV | + | {{#arraymap: AUT,BR1,BR2,BST,CV,DPA,DPB,DPC,FZ,HN1,HN2,GI1,GI2,GI3,GUL,GUS,GYL,GYS,HPA,HPB,NP,OB,PP,RP|,|TaskAbbreviation| |
{{#cargo_query: tables=scheduleRESservice,residentMGH | {{#cargo_query: tables=scheduleRESservice,residentMGH | ||
|join on=scheduleRESservice.ResAbbrev=residentMGH.copath_id | |join on=scheduleRESservice.ResAbbrev=residentMGH.copath_id | ||
Line 17: | Line 17: | ||
<td colspan="1"> | <td colspan="1"> | ||
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:Fel/Elec|Fellow / Elective-Resident}}||#000000|}}'''</center></td></tr></table> | <table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:Fel/Elec|Fellow / Elective-Resident}}||#000000|}}'''</center></td></tr></table> | ||
− | {{#arraymap: AUT,BR1,BR2,BST,CV | + | {{#arraymap: AUT,BR1,BR2,BST,CV,DPA,DPB,DPC,FS,HN1,HN2,GI1,GI2,GI3,GUL,GUS,GYL,GYS,HPA,HPB,NP,OB,PP,RP|,|TaskAbbreviation| |
{{#cargo_query: tables=scheduleFELLservice,residentMGH | {{#cargo_query: tables=scheduleFELLservice,residentMGH | ||
|join on=scheduleFELLservice.FellAbbrev=residentMGH.copath_id | |join on=scheduleFELLservice.FellAbbrev=residentMGH.copath_id | ||
Line 25: | Line 25: | ||
</td> | </td> | ||
<td colspan="1"> | <td colspan="1"> | ||
− | <table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:A |Attending}}||#000000|}} '''({{#switch: {{#time: N|{{Timezone}}}} | 1|2|3 = {{acc-FACdatetoday | + | <table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:A |Attending}}||#000000|}} '''({{#switch: {{#time: N|{{Timezone}}}} | 1|2|3 = {{acc-FACdatetoday|+|0|+|2|}} | 4 = {{acc-FACdatetoday|+|1|-|3|}} | 5 = {{acc-FACdatetoday|+|1|-|3|}} | 6 = {{acc-FACdatetoday|+|0|+|0|}} | 7 = {{acc-FACdatetoday|+|1|-|6|}} | <center>{{ColorText|''Something went wrong!|yellow|red||}}<br>Please check <htmltag tagname="a" href="https://app.qgenda.com/Link/view?linkKey=9a12a547-f1b4-4998-bdca-acf3204a120e&landingPageId=40221bd9-4ac1-4a0b-8a00-da4f05d88f2e" target="_blank">QGenda.</htmltag>''<br><span style="color:red" class="glyphicon glyphicon-warning-sign" aria-hidden="true"></center> }})</center></td></tr></table> |
{{#switch: {{#time: N|{{Timezone}}}} | {{#switch: {{#time: N|{{Timezone}}}} | ||
− | | 1|2|3 = {{acc-FACtoday | + | | 1|2|3 = {{acc-FACtoday|+|0|+|2|}} |
− | | 4 = {{acc-FACtoday | + | | 4 = {{acc-FACtoday|+|1|-|3|}} |
− | | 5 = {{acc-FACtoday | + | | 5 = {{acc-FACtoday|+|1|-|3|}} |
− | | 6 = {{acc-FACtoday | + | | 6 = {{acc-FACtoday|+|0|+|0|}} |
− | | 7 = {{acc-FACtoday | + | | 7 = {{acc-FACtoday|+|1|-|6|}} |
| <center>{{ColorText|''Something went wrong!|yellow|red||}}<br>Please check <htmltag tagname="a" href="https://app.qgenda.com/Link/view?linkKey=9a12a547-f1b4-4998-bdca-acf3204a120e&landingPageId=40221bd9-4ac1-4a0b-8a00-da4f05d88f2e" target="_blank">QGenda.</htmltag>''<br><span style="color:red" class="glyphicon glyphicon-warning-sign" aria-hidden="true"></center> | | <center>{{ColorText|''Something went wrong!|yellow|red||}}<br>Please check <htmltag tagname="a" href="https://app.qgenda.com/Link/view?linkKey=9a12a547-f1b4-4998-bdca-acf3204a120e&landingPageId=40221bd9-4ac1-4a0b-8a00-da4f05d88f2e" target="_blank">QGenda.</htmltag>''<br><span style="color:red" class="glyphicon glyphicon-warning-sign" aria-hidden="true"></center> | ||
}} | }} |