Difference between revisions of "acc-wknd"

From MGH Learn Pathology
Line 15: Line 15:
 
|fields=scheduleFACservice.StaffAbbrev,scheduleFACservice.TaskAbbrev,scheduleFACservice.StaffFullName
 
|fields=scheduleFACservice.StaffAbbrev,scheduleFACservice.TaskAbbrev,scheduleFACservice.StaffFullName
 
|group by=scheduleFACservice.Color
 
|group by=scheduleFACservice.Color
|where=YEAR(Date)='{{#expr: {{#timel: Y|}}}}' AND scheduleFACservice.TaskAbbrev='{{#explode:TaskAbbreviation|,|0}}' AND scheduleFACservice.DayNumber='6' AND scheduleFACservice.WeekNumber='{{#expr: {{#timel: W|}} + 0}}'
+
|where=YEAR(Date)='{{#expr: {{#timel: Y|}}}}' AND scheduleFACservice.TaskAbbrev='{{#explode:TaskAbbreviation|,|0}}' AND scheduleFACservice.DayNumber='6' AND MONTH(Date)='{{#timel: m|}}' AND scheduleFACservice.WeekNumber='{{#expr: {{#timel: W|}} + 0}}'
 
|default={{schtableempty|{{#explode:TaskAbbreviation|,|2}}}}|format=template|template=scheduleResident}}
 
|default={{schtableempty|{{#explode:TaskAbbreviation|,|2}}}}|format=template|template=scheduleResident}}
 
|}}
 
|}}
Line 25: Line 25:
 
|fields=GROUP_CONCAT(scheduleFACservice.StaffAbbrev),scheduleFACservice.TaskAbbrev,GROUP_CONCAT(scheduleFACservice.StaffFullName)
 
|fields=GROUP_CONCAT(scheduleFACservice.StaffAbbrev),scheduleFACservice.TaskAbbrev,GROUP_CONCAT(scheduleFACservice.StaffFullName)
 
|group by=scheduleFACservice.Color
 
|group by=scheduleFACservice.Color
|where=YEAR(Date)='{{#expr: {{#timel: Y|}}}}' AND scheduleFACservice.TaskAbbrev='{{#explode:TaskAbbreviation|,|0}}' AND scheduleFACservice.DayNumber='7' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 0}}'
+
|where=YEAR(Date)='2023' AND scheduleFACservice.TaskAbbrev='{{#explode:TaskAbbreviation|,|0}}' AND scheduleFACservice.DayNumber='7' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 0}}'
 
|default={{schtableempty|{{#explode:TaskAbbreviation|,|2}}}}|format=template|template=scheduleResident}}
 
|default={{schtableempty|{{#explode:TaskAbbreviation|,|2}}}}|format=template|template=scheduleResident}}
 
|}}
 
|}}

Revision as of 16:48, December 28, 2022

Saturday
Jan 18

No results

ATT
REX
HNG
BAY
BAY
BAY
REX
REX
KMC
KMC
KMC
ANA
SGS
SGS
SGS
SGS
KMC
KMC
LHL
LHL
LHL
BAY
BAY
RPH
RPH
MPF
HNG
ATT
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-