Difference between revisions of "learn:oncallfaculty"
From MGH Learn Pathology
Line 1: | Line 1: | ||
− | {{#vardefine:HG|{{#cargo_query:tables=scheduleFACservice|fields=StaffAbbrev|where=TaskAbbrev='HG' AND Date='{{#time: Y-m-d|today}}'|format=template|template=text|no html|default=none}}}}{{#vardefine:HGpager|{{#cargo_query:tables=facultyMGH|fields=pageid|where=copath_id='{{#var:HG}}'|fotmat=template|template=text|no html|default=none}}}}{{#vardefine:COAG|{{#cargo_query:tables=scheduleFACservice|fields=StaffAbbrev|where=TaskAbbrev='COAG' AND Date='{{#time: Y-m-d|today}}'|format=template|template=text|no html}}}}{{#vardefine:COAGpager|{{#cargo_query:tables=facultyMGH|fields=pageid|where=copath_id='{{#var:COAG}}'|fotmat=template|template=text|no html|no html}}}}<table class='scheduletable' | + | {{#vardefine:HG|{{#cargo_query:tables=scheduleFACservice|fields=StaffAbbrev|where=TaskAbbrev='HG' AND Date='{{#time: Y-m-d|today}}'|format=template|template=text|no html|default=none}}}}{{#vardefine:HGpager|{{#cargo_query:tables=facultyMGH|fields=pageid|where=copath_id='{{#var:HG}}'|fotmat=template|template=text|no html|default=none}}}}{{#vardefine:COAG|{{#cargo_query:tables=scheduleFACservice|fields=StaffAbbrev|where=TaskAbbrev='COAG' AND Date='{{#time: Y-m-d|today}}'|format=template|template=text|no html}}}}{{#vardefine:COAGpager|{{#cargo_query:tables=facultyMGH|fields=pageid|where=copath_id='{{#var:COAG}}'|fotmat=template|template=text|no html|no html}}}}<table class='scheduletable'> |
<tr><td bgcolor="#d25278"><center>{{fontawesome|s|pager|#000000}} [https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=253668 27364]</center></td></tr> | <tr><td bgcolor="#d25278"><center>{{fontawesome|s|pager|#000000}} [https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=253668 27364]</center></td></tr> | ||
<tr><td bgcolor="#f1b7c0"><center>{{#ifeq:{{#var:COAG}}|JMH|{{fontawesome|s|mobile-alt|#6b6b6b}} [https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=ONEDISP&ID=149652&SRCHNM=Higgins&UseSearchVer=1&NOBACK=0&BEGIN=11&END=20#top PPD] {{fontawesome|s|user-md|#6b6b6b}} {{#tip-text:{{#var:COAG}}|{{#cargo_query:tables=facultyMGH|fields=fullname|where=copath_id='{{#var:COAG}}'|no html}}}}|{{fontawesome|s|pager|#6b6b6b}} [https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&PID={{#var:COAGpager}} {{#var:COAGpager}}] {{fontawesome|s|user-md|#6b6b6b}} {{#tip-text:{{#var:COAG}}|{{#cargo_query:tables=facultyMGH|fields=fullname|where=copath_id='{{#var:COAG}}'|no html}}}}}}</center></td></tr> | <tr><td bgcolor="#f1b7c0"><center>{{#ifeq:{{#var:COAG}}|JMH|{{fontawesome|s|mobile-alt|#6b6b6b}} [https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=ONEDISP&ID=149652&SRCHNM=Higgins&UseSearchVer=1&NOBACK=0&BEGIN=11&END=20#top PPD] {{fontawesome|s|user-md|#6b6b6b}} {{#tip-text:{{#var:COAG}}|{{#cargo_query:tables=facultyMGH|fields=fullname|where=copath_id='{{#var:COAG}}'|no html}}}}|{{fontawesome|s|pager|#6b6b6b}} [https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&PID={{#var:COAGpager}} {{#var:COAGpager}}] {{fontawesome|s|user-md|#6b6b6b}} {{#tip-text:{{#var:COAG}}|{{#cargo_query:tables=facultyMGH|fields=fullname|where=copath_id='{{#var:COAG}}'|no html}}}}}}</center></td></tr> |