Difference between revisions of "EvaluationResAtt"

From MGH Learn Pathology
Line 41: Line 41:
 
DATE_FORMAT(scheduleRESservice.Date, '%b %e, %Y')=Week Of
 
DATE_FORMAT(scheduleRESservice.Date, '%b %e, %Y')=Week Of
 
,scheduleRESservice.TaskAbbrev=Rotation
 
,scheduleRESservice.TaskAbbrev=Rotation
,CONCAT('{{evaluationResAtt-attendingLMP{{#urldecode:%7C}}',scheduleRESservice.TaskAbbrev,'{{#urldecode:%7C}}',scheduleRESservice.Date,'{{#urldecode:%7C}}',scheduleRESservice.TaskAbbrev,'}}')=Attending
+
,CONCAT('{{evaluationResAtt-attendingLMP{{#urldecode:%7C}}',scheduleRESservice.TaskAbbrev,'{{#urldecode:%7C}}',scheduleRESservice.Date,'}}')=Attending
 
|where=YEAR(scheduleRESservice.Date)={{#time: Y|{{Timezone}}}} AND WEEK(scheduleRESservice.Date) <= '{{#ifexpr: {{#time: w}} >= 4|{{#expr: {{#time: W|{{Timezone}}}} - 0 }}|{{#expr: {{#time: W|{{Timezone}}}} - 1 }} }}' AND scheduleRESservice.ResAbbrev='NAS' AND WEEKDAY(scheduleRESservice.Date)=0 AND (scheduleRESservice.TaskAbbrev='BB' OR scheduleRESservice.TaskAbbrev='COAG' OR scheduleRESservice.TaskAbbrev='C/M') AND evaluationResAtt._pageName IS NULL
 
|where=YEAR(scheduleRESservice.Date)={{#time: Y|{{Timezone}}}} AND WEEK(scheduleRESservice.Date) <= '{{#ifexpr: {{#time: w}} >= 4|{{#expr: {{#time: W|{{Timezone}}}} - 0 }}|{{#expr: {{#time: W|{{Timezone}}}} - 1 }} }}' AND scheduleRESservice.ResAbbrev='NAS' AND WEEKDAY(scheduleRESservice.Date)=0 AND (scheduleRESservice.TaskAbbrev='BB' OR scheduleRESservice.TaskAbbrev='COAG' OR scheduleRESservice.TaskAbbrev='C/M') AND evaluationResAtt._pageName IS NULL
 
|order by=scheduleRESservice.Date DESC
 
|order by=scheduleRESservice.Date DESC

Revision as of 10:31, September 25, 2020

Anatomic Pathology

   

Clinical Pathology

   

External/Elective Evaluations