Difference between revisions of "learn:oncallAMP"

From MGH Learn Pathology
Line 2: Line 2:
  
  
{{#vardefine:GIservice|{{#cargo_query:table=scheduleFACservice|fields=TaskAbbrev|where=YEAR(Date)={{#timel: Y|now }} AND scheduleFACservice.WeekNumber='{{#expr: {{#timel: W|now }} - 0}}' AND scheduleFACservice.DayNumber='7' AND StaffAbbrev='{{#var:GIattending}}'|format=template|template=text|no html|limit=1|more results text=}}}}
+
{{#vardefine:GIservice|{{#cargo_query:table=scheduleFACservice|fields=TaskAbbrev|where=YEAR(Date)={{#timel: Y|now }} AND scheduleFACservice.WeekNumber='{{#expr: {{#timel: W|now }} - 0}}' AND scheduleFACservice.DayNumber='3' AND StaffAbbrev='{{#var:GIattending}}'|format=template|template=text|no html|}}}}
  
 
{{#var:GIservice}}
 
{{#var:GIservice}}

Revision as of 12:20, September 9, 2021