Difference between revisions of "learn:oncallfaculty"

From MGH Learn Pathology
Line 1: Line 1:
<table class='scheduletable'><tr><td bgcolor="#c8d8e3"><center>{{ColorText|'''On call - CP faculty'''||#000000|}}</center></td></tr></table>
+
{{#vardefine:HG|{{#cargo_query:tables=scheduleFACservice|fields=StaffAbbrev|where=TaskAbbrev='HG' AND Date='{{#time: Y-m-d|today}}'|format=template|template=text}}}}{{#vardefine:HGpager|{{#cargo_query:tables=facultyMGH|fields=pager|where=copath_id='{{#var:HG}}'|fotmat=template|template=text}}}}{{#vardefine:COAG|{{#cargo_query:tables=scheduleFACservice|fields=StaffAbbrev|where=TaskAbbrev='COAG' AND Date='{{#time: Y-m-d|today}}'|format=template|template=text}}}}{{#vardefine:COAGpager|{{#cargo_query:tables=facultyMGH|fields=pager|where=copath_id='{{#var:COAG}}'|fotmat=template|template=text}}}}<table class='scheduletable'><tr><td bgcolor="#c8d8e3"><center>{{ColorText|'''On call - CP faculty'''||#000000|}}</center></td></tr></table>
 
'''BTS''' {{fontawesome|s|pager}} [https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=253668 27364]
 
'''BTS''' {{fontawesome|s|pager}} [https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=253668 27364]
 
<br>
 
<br>
'''COAG''' {{#cargo_query:tables=scheduleFACservice|fields=StaffFullName|where=TaskAbbrev='COAG' AND Date='{{#time: Y-m-d|today}}'}}
+
'''COAG''' {{fontawesome|s|pager}} [https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&PID={{#var:COAGpager}} {{#var:COAGpager}} ({{#var:COAG}})]
 
<br>
 
<br>
 
'''CORE''' {{fontawesome|s|pager}} [https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=120977 15433]
 
'''CORE''' {{fontawesome|s|pager}} [https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=120977 15433]
 
<br>
 
<br>
'''HG''' {{#cargo_query:tables=scheduleFACservice|fields=StaffFullName|where=TaskAbbrev='HG' AND Date='{{#time: Y-m-d|today}}'}}
+
'''HG''' {{fontawesome|s|pager}} [https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&PID={{#var:HGpager}} {{#var:HGpager}} ({{#var:HG}})]
 
<br>
 
<br>
 
'''HLA''' {{fontawesome|s|pager}} [https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=383378 25338]
 
'''HLA''' {{fontawesome|s|pager}} [https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=383378 25338]

Revision as of 19:01, August 26, 2021