Difference between revisions of "learn:oncallAMP"
From MGH Learn Pathology
(Replaced content with "{{#arraymap:{{scheduleDictionaryAPfaculty}}|;|TaskAbbreviation| {{#cargo_query: table=scheduleFACservice,facultyMGH|join on=scheduleFACservice.StaffAbbrev=facultyMGH.copat...") (Tag: Replaced) |
|||
Line 5: | Line 5: | ||
|where=YEAR(Date)={{#time: Y|{{Timezone}}}} AND scheduleFACservice.TaskAbbrev='{{#explode:TaskAbbreviation|,|0}}' AND scheduleFACservice.DayNumber='{{#time:N|now}}' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} - 0}}' | |where=YEAR(Date)={{#time: Y|{{Timezone}}}} AND scheduleFACservice.TaskAbbrev='{{#explode:TaskAbbreviation|,|0}}' AND scheduleFACservice.DayNumber='{{#time:N|now}}' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} - 0}}' | ||
|default={{schtableempty|{{#explode:TaskAbbreviation|,|2}}}}|format=template|template=scheduleFaculty}} | |default={{schtableempty|{{#explode:TaskAbbreviation|,|2}}}}|format=template|template=scheduleFaculty}} | ||
+ | |} |
Revision as of 10:44, September 9, 2021
{{#arraymap:AUT,Autopsy,859ca0,AUT; BST,Bone and Soft Tissue,c9d8e7,BST; BR1,Breast,ff9a86,BR; BR2,Breast,ff9a86,BR; BR3,Breast,ff9a86,BR; CV,Cardiovascular,6cad90,CV; RP,Renal,6cad90,RP; CA,Cytology,94c9da,CYT; CB,Cytology,94c9da,CYT; CC,Cytology,94c9da,CYT;
DPA,Dermatopathology,f8d9e9,DP; DPB,Dermatopathology,f8d9e9,DP; DPC,Dermatopathology,f8d9e9,DP; EYE,Eye,fffbf0,EYE; Frozen Section,Frozen Section,c2e7df,FS; Frozen Section,Frozen Section,c2e7df,FS; GI1,Gastrointestinal,ffd966,GI; GI2,Gastrointestinal,ffd966,GI; GI3,Gastrointestinal,ffd966,GI; GI4,Gastrointestinal,ffd966,GI; GU1,Genitourinary,5d99c2,GU; GU2,Genitourinary,5d99c2,GU; GYL,Gynecologic,c48fbc,GYN; GYS,Gynecologic,c48fbc,GYN; OB,Obstetrical,c48fbc,OB;HN1,Head and Neck,81cdc4,HN; HN2,Head and Neck,81cdc4,HN; HPA,Hematopathology,d3f6d0,HP; HPB,Hematopathology,d3f6d0,HP; NP,Neuropathology,67ba86,NP; NPAUT,Neuropathology Autopsy,67ba86,NPAUT; PP,Pulmonary Pathology,dee58a,PP;RLS,RLS,fff2cc,RLS; AP CHIEF,AP Chief,d1d1d1,AP Chief;|;|TaskAbbreviation|
|}