Difference between revisions of "TestPage"

From MGH Learn Pathology
(Replaced content with "{{localPassword|test}}")
(Tag: Replaced)
Line 1: Line 1:
__NOCACHE__{{hidecontentheader}}{{#if:{{#cargo_query:tables=ServiceRequest,statusCurrent|join on=ServiceRequest.identifier HOLDS statusCurrent.identifier|fields=ServiceRequest._pageName|where=orderDetail HOLDS 'order' and status='completed' and code ='apdidactic' and Week(occurrenceDateTime)='{{#timel: W|now}}'|default=}}|
+
{{localPassword|test}}
{{varScheduleYear}}{{ColorText|'''AP didactic digital (WSI) sessions'''||#018ab2|6}}
 
<br><br>
 
{{subheader|Current week: {{#cargo_query: tables=scheduleFACservice |fields=scheduleFACservice.Date |where=YEAR(Date)='{{#var:Sunday}}' AND scheduleFACservice.DayNumber='1' AND scheduleFACservice.WeekNumber='{{#expr: {{#timel: W|{{Timezone}}}} - 0 }}' AND scheduleFACservice.TaskAbbrev='BR1' |format=template|template=datedisplaytext}} - {{#cargo_query: tables=scheduleFACservice |fields=scheduleFACservice.Date |where=YEAR(Date)='{{#var:Sunday}}' AND scheduleFACservice.DayNumber='5' AND scheduleFACservice.WeekNumber='{{#expr: {{#timel: W|{{Timezone}}}} - 0 }}' AND scheduleFACservice.TaskAbbrev='BR1' |format=template|template=datedisplaytext}} }}
 
<br><br>
 
{{#cargo_query:tables=ServiceRequest,statusCurrent|join on=ServiceRequest.identifier HOLDS statusCurrent.identifier|fields=
 
CONCAT('{{WSIthumbnailRequest{{#urldecode:%7C}}',ServiceRequest._pageName,'}}')=Page
 
,CONCAT('{{SRwsiCountCase{{#urldecode:%7C}}',ServiceRequest._pageName,'}}')=Case count
 
,CONCAT('{{WSIrequestPresentCount{{#urldecode:%7C}}',ServiceRequest._pageName,'}}')=Slide count
 
,CONCAT('{{APdidacticDTS{{#urldecode:%7C}}',ServiceRequest.occurrenceDateTime,'}}')=DTS
 
,CONCAT('{{ldaptonameHOLDS{{#urldecode:%7C}}',ServiceRequest._pageName,'}}')=Presenter
 
,CONCAT('{{wsiQCsite{{#urldecode:%7C}}',ServiceRequest.subject,'}}')=Site
 
,supportingInfo=Subspecialty,
 
category=Category,
 
reasonCode=Topic
 
|where=orderDetail HOLDS 'order' and status='completed' and code ='apdidactic' and Week(occurrenceDateTime)='{{#timel: W|now}}'|order by=DTS ASC|rows per page=25|format=dynamic table|default=''Check back soon for the 2022-2023 AP didactic sessions''}}
 
<br><br>
 
{{subheader|Next week: {{#cargo_query: tables=scheduleFACservice |fields=scheduleFACservice.Date |where=YEAR(Date)='{{#var:Sunday}}' AND scheduleFACservice.DayNumber='1' AND scheduleFACservice.WeekNumber='{{#expr: {{#timel: W|{{Timezone}}}} + 1 }}' AND scheduleFACservice.TaskAbbrev='BR1' |format=template|template=datedisplaytext}} - {{#cargo_query: tables=scheduleFACservice |fields=scheduleFACservice.Date |where=YEAR(Date)='{{#var:Sunday}}' AND scheduleFACservice.DayNumber='5' AND scheduleFACservice.WeekNumber='{{#expr: {{#timel: W|{{Timezone}}}} + 1 }}' AND scheduleFACservice.TaskAbbrev='BR1' |format=template|template=datedisplaytext}} }}
 
<br><br>
 
{{#cargo_query:tables=ServiceRequest,statusCurrent|join on=ServiceRequest.identifier HOLDS statusCurrent.identifier|fields=
 
CONCAT('{{WSIthumbnailRequest{{#urldecode:%7C}}',ServiceRequest._pageName,'}}')=Page
 
,CONCAT('{{SRwsiCountCase{{#urldecode:%7C}}',ServiceRequest._pageName,'}}')=Case count
 
,CONCAT('{{WSIrequestPresentCount{{#urldecode:%7C}}',ServiceRequest._pageName,'}}')=Slide count
 
,CONCAT('{{APdidacticDTS{{#urldecode:%7C}}',ServiceRequest.occurrenceDateTime,'}}')=DTS,
 
CONCAT('{{ldaptonameHOLDS{{#urldecode:%7C}}',ServiceRequest._pageName,'}}')=Presenter
 
,CONCAT('{{wsiQCsite{{#urldecode:%7C}}',ServiceRequest.subject,'}}')=Site
 
,supportingInfo=Subspecialty,
 
category=Category,
 
reasonCode=Topic
 
|where=orderDetail HOLDS 'order' and status='completed' and code ='apdidactic' and Week(occurrenceDateTime)='{{#timel: W|+1 week}}'|order by=DTS ASC|rows per page=25|format=dynamic table|default=''No slides founds for next week; check back later''}}
 
<br><br>
 
{{collapsed|{{subheader|All sessions ({{#cargo_query:tables=ServiceRequest,statusCurrent|join on=ServiceRequest.identifier HOLDS statusCurrent.identifier|fields=COUNT(ServiceRequest._pageName)|where=orderDetail HOLDS 'order' and status='completed' and code ='apdidactic'|default=0|no html}}) }}|
 
{{#cargo_query:tables=ServiceRequest,statusCurrent|join on=ServiceRequest.identifier HOLDS statusCurrent.identifier|fields=
 
ServiceRequest._pageName=Page
 
,CONCAT('{{SRwsiCountCase{{#urldecode:%7C}}',ServiceRequest._pageName,'}}')=Case count
 
,occurrenceDateTime=DTS
 
,CONCAT('{{ldaptonameHOLDS{{#urldecode:%7C}}',ServiceRequest._pageName,'}}')=Presenter
 
,CONCAT('{{wsiQCsite{{#urldecode:%7C}}',ServiceRequest.subject,'}}')=Site,
 
supportingInfo=Subspecialty,
 
category=Category,
 
reasonCode=Topic
 
|where=orderDetail HOLDS 'order' and status='completed' and code ='apdidactic'|order by=DTS DESC|rows per page=25|format=dynamic table|default=''Check back soon for the 2022-2023 AP didactic sessions''}}
 
}}
 
<br>
 
[[learn:outs|Past MGH Outs (June 12, 2019 - June 22, 2022)]]
 
|
 
{{ColorText|'''AP didactic digital (WSI) sessions'''||#018ab2|6}}
 
<br>
 
{{subheader|All sessions}}
 
{{#cargo_query:tables=ServiceRequest,statusCurrent|join on=ServiceRequest.identifier HOLDS statusCurrent.identifier|fields=
 
ServiceRequest._pageName=Page
 
,CONCAT('{{SRwsiCountCase{{#urldecode:%7C}}',ServiceRequest._pageName,'}}')=Case count
 
,CONCAT('{{APdidacticDTS{{#urldecode:%7C}}',ServiceRequest.occurrenceDateTime,'}}')=DTS
 
,CONCAT('{{ldaptonameHOLDS{{#urldecode:%7C}}',ServiceRequest._pageName,'}}')=Presenter
 
,CONCAT('{{wsiQCsite{{#urldecode:%7C}}',ServiceRequest.subject,'}}')=Site
 
,supportingInfo=Subspecialty,
 
category=Category,
 
reasonCode=Topic
 
|where=orderDetail HOLDS 'order' and status='completed' and code ='apdidactic'|order by=DTS DESC|rows per page=25|format=dynamic table|default=''Check back soon for the 2022-2023 AP didactic sessions''}}
 
<br>
 
[[learn:outs|Past MGH Outs (June 12, 2019 - June 22, 2022)]]
 
}}
 
 
 
 
 
 
 
{{#explode:AP: PGY1~JH75~BST~Introduction to Bone & Soft Tissue Pathology~BWH|~|-2}}
 
 
 
{{#explode:{{#cargo_query:tables=annotationsWSI_view|fields=value|where=id_wsi='DZI19-67-Case-23_1.ndpi'|no html}}|{{!}}|1}}
 
<br>
 
{{#cargo_query:tables=annotationsWSI_view|fields=value|where=id_wsi='DZI19-67-Case-23_1.ndpi'|no html}}
 

Revision as of 11:30, October 5, 2022