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='{{#timel: Y-m-d|today}}'|format=template|template=text|no html}}}}{{#vardefine:HGpager|{{#cargo_query:tables=facultyMGH|fields=pageid|where=copath_id='{{#var:HG}}'|fotmat=template|template=text|no html}}}}{{#vardefine:COAG|{{#cargo_query:tables=scheduleFACservice|fields=StaffAbbrev|where=TaskAbbrev='COAG' AND Date='{{#timel: 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="#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='{{#timel: 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='{{#timel: 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="#c8d8e3"><center>{{ColorText|'''On call - CP faculty'''||#000000|}}</center></td></tr></table>
 
'''BTS''' {{fontawesome|s|pager|#6b6b6b}} [https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=253668 27364]
 
'''BTS''' {{fontawesome|s|pager|#6b6b6b}} [https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=253668 27364]
 
<br>
 
<br>
Line 6: Line 6:
 
'''CORE''' {{fontawesome|s|pager|#6b6b6b}} [https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=120977 15433]
 
'''CORE''' {{fontawesome|s|pager|#6b6b6b}} [https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=120977 15433]
 
<br>
 
<br>
'''HG''' {{fontawesome|s|pager|#6b6b6b}} [https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&PID={{#var:HGpager}} {{#var:HGpager}}] {{fontawesome|s|user-md|#6b6b6b}} {{#tip-text:{{#var:HG}}|{{#cargo_query:tables=facultyMGH|fields=fullname|where=copath_id='{{#var:HG}}'|no html}}}}  
+
'''HG''' {{#ifeq:{{#var:HGpager}}|none|''Undesignated''|{{fontawesome|s|pager|#6b6b6b}} [https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&PID={{#var:HGpager}} {{#var:HGpager}}] {{fontawesome|s|user-md|#6b6b6b}} {{#tip-text:{{#var:HG}}|{{#cargo_query:tables=facultyMGH|fields=fullname|where=copath_id='{{#var:HG}}'|no html}}}}}}
 
<br>
 
<br>
 
'''HLA''' {{fontawesome|s|pager|#6b6b6b}} [https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=383378 25338]
 
'''HLA''' {{fontawesome|s|pager|#6b6b6b}} [https://ppd.partners.org/scripts/phsweb.mwl?APP=PDPERS&ACTION=PAGE&ID=383378 25338]

Revision as of 06:10, August 29, 2021

On call - CP faculty

BTS 27364
COAG No results No results JMHULJ
CORE 15433
HG Undesignated
HLA 25338
IMM 33049 MM408
MICRO 32443