Difference between revisions of "Practitioner"

From MGH Learn Pathology
 
(61 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#css: @media { .container { width: 90% !important; } }}{{#css: td { vertical-align: top;} }}
+
{{#css: @media { .container { width: 90% !important; } }}{{#css: td { vertical-align: top;} }}{{#switch:{{CURRENTUSER}}|Em99|Kx601|Lpl2|Ljt1|Jj332|Dzm26= <table><td> [[newUser|{{button|New user|primary}}]] </td><td>&nbsp;[[PractitionerEdit|{{button|Edit user|primary}}]]</td></table>|}}<tabber>
{{#switch:{{CURRENTUSER}}|Em99|Kx601|Lpl2|Ljt1|Jj332|Dzm26=
 
<table><td>
 
[[newUser|{{button|New user|primary}}]]
 
</td><td>&nbsp;[[PractitionerEdit|{{button|Edit user|primary}}]]</td></table>|}}
 
<tabber>
 
 
Faculty =
 
Faculty =
 
{{#cargo_query:tables=facultyMGH,user|join on=facultyMGH.ldap_id=user.user_name|fields=
 
{{#cargo_query:tables=facultyMGH,user|join on=facultyMGH.ldap_id=user.user_name|fields=
facultyMGH.fullname=Name
+
CONCAT('{{photofaculty{{#urldecode:%7C}}',copath_id,'}}')=Photo
 +
,CONCAT('[[',facultyMGH.copath_id,'{{#urldecode:%7C}}',user.user_real_name,']]')=Name
 
,CONCAT('{{ppd{{#urldecode:%7C}}',facultyMGH.pageid,'}}')=PPD
 
,CONCAT('{{ppd{{#urldecode:%7C}}',facultyMGH.pageid,'}}')=PPD
 
,facultyMGH.ldap_id=MGB
 
,facultyMGH.ldap_id=MGB
 
,facultyMGH.copath_id=CoPath ID
 
,facultyMGH.copath_id=CoPath ID
,user.user_email=Email
+
,CONCAT('[mailto:',user.user_email,' ',user.user_email,']')=Email
 
,facultyMGH.division=Division
 
,facultyMGH.division=Division
,facultyMGH.subspecialty=Subspecialty
+
,facultyMGH.subspecialty=Subspecialty,
 
|order by=MGB ASC|where=active=1 AND NOT ldap_id = 'Mgh'
 
|order by=MGB ASC|where=active=1 AND NOT ldap_id = 'Mgh'
|format=dynamic table|rows per page=5}}
+
|format=dynamic table|rows per page=5|order by=name_last ASC}}
 
{{collapsed|{{subheaderColor|Distribution list}}|
 
{{collapsed|{{subheaderColor|Distribution list}}|
 
{{subheader|AMP, LMM}}
 
{{subheader|AMP, LMM}}
Line 35: Line 31:
 
Residents/Fellows =  
 
Residents/Fellows =  
 
{{#cargo_query:tables=residentMGH,user|join on=residentMGH.ldap_id=user.user_name|fields=
 
{{#cargo_query:tables=residentMGH,user|join on=residentMGH.ldap_id=user.user_name|fields=
user.user_real_name=Name
+
CONCAT('{{photoresident2{{#urldecode:%7C}}',graduation,'{{#urldecode:%7C}}',copath_id,'}}')=Photo
 +
,CONCAT('{{contacts-residentnames{{#urldecode:%7C}}',residentMGH.full_name,'{{#urldecode:%7C}}',residentMGH._pageName,'}}')=Name
 +
,pgy=PGY
 +
,CONCAT('{{fellowship{{#urldecode:%7C}}',residentMGH.type,'{{#urldecode:%7C}}',residentMGH._pageName,'}}')=Track
 +
,graduation=Year
 +
,type=Group
 
,CONCAT('{{ppd{{#urldecode:%7C}}',residentMGH.pageid,'}}')=PPD
 
,CONCAT('{{ppd{{#urldecode:%7C}}',residentMGH.pageid,'}}')=PPD
 
,residentMGH.ldap_id=MGB
 
,residentMGH.ldap_id=MGB
 
,residentMGH.copath_id=CoPath ID
 
,residentMGH.copath_id=CoPath ID
,user.user_email=Email
+
,CONCAT('[mailto:',user.user_email,' ',user.user_email,']')=Email
|order by=MGB ASC|where=active=1
+
|order by=PGY ASC|where=active=1 AND NOT residentMGH.ldap_id IN ('Lt511','Ls1456','Jv012','Ki955','Jm2761','Mn011','Jhy9')
 
|format=dynamic table|rows per page=5}}
 
|format=dynamic table|rows per page=5}}
 
{{collapsed|{{subheaderColor|Distribution list}}|
 
{{collapsed|{{subheaderColor|Distribution list}}|
 +
{{subheader|All residents and fellows}}
 +
<br>
 
{{jsclippy|{{#cargo_query:tables=residentMGH,user|join on=residentMGH.ldap_id=user.user_name|fields=user.user_email|where=active=1 AND NOT user_email=''|order by=name_first ASC|format=list|delimiter=;|no html}}}}{{ColorText|Copy||#337ab7}} {{distributionlistEmail|{{#cargo_query:tables=residentMGH,user|join on=residentMGH.ldap_id=user.user_name|fields=user.user_email|where=active=1 AND NOT user_email=''|order by=name_first ASC|format=template|template=textlist|no html}}}}
 
{{jsclippy|{{#cargo_query:tables=residentMGH,user|join on=residentMGH.ldap_id=user.user_name|fields=user.user_email|where=active=1 AND NOT user_email=''|order by=name_first ASC|format=list|delimiter=;|no html}}}}{{ColorText|Copy||#337ab7}} {{distributionlistEmail|{{#cargo_query:tables=residentMGH,user|join on=residentMGH.ldap_id=user.user_name|fields=user.user_email|where=active=1 AND NOT user_email=''|order by=name_first ASC|format=template|template=textlist|no html}}}}
}}
 
|-|
 
Lab directors =
 
{{RQdivisionList|division=labdirectors}}
 
|-|
 
Technical directors =
 
{{RQdivisionList|division=td}}
 
|-|
 
Supervisors =
 
{{RQdivisionList|division=supervisors}}
 
|-|
 
Admins =
 
{{RQdivisionList|division=admin}}
 
|-|
 
AMS =
 
{{RQdivisionList|division=ams}}
 
|-|
 
BTS =
 
{{RQdivisionList|division=bts}}
 
|-|
 
CHC =
 
{{#cargo_query:tables=Practitioner|fields=
 
name=Name
 
,CONCAT('{{ppd{{#urldecode:%7C}}',ppd,'}}')=PPD
 
,user_name=MGB
 
,address_email=Email
 
,supervisor=Supervisor
 
,td=TD
 
|order by=MGB ASC|where=chc=1 AND active=1
 
|format=dynamic table}}
 
 
<br><br>
 
<br><br>
{{subheader|Distribution list}}
+
{{subheader|Residents}}
{{jsclippy|{{#cargo_query:tables=Practitioner|fields=address_email|where=chc=1 AND active=1|order by=Practitioner.user_name ASC|format=list|delimiter=;|no html}}}}{{ColorText|Copy||#337ab7}} {{distributionlistEmail|{{#cargo_query:tables=Practitioner|fields=address_email|where=chc=1 AND active=1|order by=Practitioner.user_name ASC|format=template|template=textlist|no html}}}}
+
<br>
|-|
+
{{jsclippy|{{#cargo_query:tables=residentMGH,user|join on=residentMGH.ldap_id=user.user_name|fields=user.user_email|where=active=1 AND type='Resident' AND NOT user_email=''|order by=name_first ASC|format=list|delimiter=;|no html}}}}{{ColorText|Copy||#337ab7}} {{distributionlistEmail|{{#cargo_query:tables=residentMGH,user|join on=residentMGH.ldap_id=user.user_name|fields=user.user_email|where=active=1 AND type='Resident' AND NOT user_email=''|order by=name_first ASC|format=template|template=textlist|no html}}}}
CID =
 
{{#cargo_query:tables=Practitioner|fields=
 
name=Name
 
,CONCAT('{{ppd{{#urldecode:%7C}}',ppd,'}}')=PPD
 
,user_name=MGB
 
,address_email=Email
 
,supervisor=Supervisor
 
,td=TD
 
|order by=MGB ASC|where=cid=1 AND active=1
 
|format=dynamic table}}
 
 
<br><br>
 
<br><br>
{{subheader|Distribution list}}
+
{{subheader|Residents - AP, AP/CP, AP/NP}}
{{jsclippy|{{#cargo_query:tables=Practitioner|fields=address_email|where=cid=1 AND active=1|order by=Practitioner.user_name ASC|format=list|delimiter=;|no html}}}}{{ColorText|Copy||#337ab7}} {{distributionlistEmail|{{#cargo_query:tables=Practitioner|fields=address_email|where=cid=1 AND active=1|order by=Practitioner.user_name ASC|format=template|template=textlist|no html}}}}
+
<br>
|-|
+
{{jsclippy|{{#cargo_query:tables=residentMGH,user|join on=residentMGH.ldap_id=user.user_name|fields=user.user_email|where=active=1 AND type='Resident' AND residency IN ('AP','AP, CP','AP, NP') AND NOT user_email=''|order by=name_first ASC|format=list|delimiter=;|no html}}}}{{ColorText|Copy||#337ab7}} {{distributionlistEmail|{{#cargo_query:tables=residentMGH,user|join on=residentMGH.ldap_id=user.user_name|fields=user.user_email|where=active=1 AND type='Resident' AND residency IN ('AP','AP, CP','AP, NP') AND NOT user_email=''|order by=name_first ASC|format=template|template=textlist|no html}}}}
CTTL =
 
{{#cargo_query:tables=Practitioner|fields=
 
name=Name
 
,CONCAT('{{ppd{{#urldecode:%7C}}',ppd,'}}')=PPD
 
,user_name=MGB
 
,address_email=Email
 
,supervisor=Supervisor
 
,td=TD
 
|order by=MGB ASC|where=cttl=1 AND active=1
 
|format=dynamic table}}
 
 
<br><br>
 
<br><br>
{{subheader|Distribution list}}
+
{{subheader|Residents - AP/CP, CP}}
{{jsclippy|{{#cargo_query:tables=Practitioner|fields=address_email|where=cttl=1 AND active=1|order by=Practitioner.user_name ASC|format=list|delimiter=;|no html}}}}{{ColorText|Copy||#337ab7}} {{distributionlistEmail|{{#cargo_query:tables=Practitioner|fields=address_email|where=cttl=1 AND active=1|order by=Practitioner.user_name ASC|format=template|template=textlist|no html}}}}
+
<br>
|-|
+
{{jsclippy|{{#cargo_query:tables=residentMGH,user|join on=residentMGH.ldap_id=user.user_name|fields=user.user_email|where=active=1 AND type='Resident' AND residency IN ('CP','AP, CP') AND NOT user_email=''|order by=name_first ASC|format=list|delimiter=;|no html}}}}{{ColorText|Copy||#337ab7}} {{distributionlistEmail|{{#cargo_query:tables=residentMGH,user|join on=residentMGH.ldap_id=user.user_name|fields=user.user_email|where=active=1 AND type='Resident' AND residency IN ('CP','AP, CP') AND NOT user_email=''|order by=name_first ASC|format=template|template=textlist|no html}}}}
Cytology =
 
{{RQdivisionList|division=cytology}}
 
|-|
 
Core =
 
{{#cargo_query:tables=Practitioner|fields=
 
name=Name
 
,CONCAT('{{ppd{{#urldecode:%7C}}',ppd,'}}')=PPD
 
,user_name=MGB
 
,address_email=Email
 
,core=Core
 
,corechem=Chem
 
,coag=Coag
 
,coreheme=Heme
 
,immunology=Immunology
 
,coreprocessing=Processing
 
,corereference=Reference
 
,coreyawkey=Yawkey
 
,biothreat=Biothreat
 
,supervisor=Supervisor
 
,td=TD
 
|order by=MGB ASC|where=active=1 AND (core=1 OR corechem = 1 OR coreheme = 1 OR coreprocessing = 1 OR corereference = 1 OR coreyawkey = 1)
 
|format=dynamic table}}
 
 
<br><br>
 
<br><br>
{{subheader|Distribution list}}
+
{{subheader|Fellows}}
{{jsclippy|{{#cargo_query:tables=Practitioner|fields=address_email|where=active=1 AND (core=1 OR corechem = 1 OR coreheme = 1 OR coreprocessing = 1 OR corereference = 1 OR coreyawkey = 1)|order by=Practitioner.user_name ASC|format=list|delimiter=;|no html}}}}{{ColorText|Copy||#337ab7}} {{distributionlistEmail|{{#cargo_query:tables=Practitioner|fields=address_email|where=active=1 AND (core=1 OR corechem = 1 OR coreheme = 1 OR coreprocessing = 1 OR corereference = 1 OR coreyawkey = 1)|order by=Practitioner.user_name ASC|format=template|template=textlist|no html}}}}
+
<br>
|-|
+
{{jsclippy|{{#cargo_query:tables=residentMGH,user|join on=residentMGH.ldap_id=user.user_name|fields=user.user_email|where=active=1 AND type='Fellow' AND NOT user_email=''|order by=name_first ASC|format=list|delimiter=;|no html}}}}{{ColorText|Copy||#337ab7}} {{distributionlistEmail|{{#cargo_query:tables=residentMGH,user|join on=residentMGH.ldap_id=user.user_name|fields=user.user_email|where=active=1 AND type='Fellow' AND NOT user_email=''|order by=name_first ASC|format=template|template=textlist|no html}}}}
Histology =
+
}}
{{#cargo_query:tables=Practitioner|fields=
 
name=Name
 
,CONCAT('{{ppd{{#urldecode:%7C}}',ppd,'}}')=PPD
 
,user_name=MGB
 
,address_email=Email
 
,histology=Histology
 
,histopathology=Histopathology
 
,supervisor=Supervisor
 
,td=TD
 
|order by=MGB ASC|where=histology=1 or histopathology=1
 
|format=dynamic table}}
 
|-|
 
HLA =
 
{{#cargo_query:tables=Practitioner|fields=
 
name=Name
 
,CONCAT('{{ppd{{#urldecode:%7C}}',ppd,'}}')=PPD
 
,user_name=MGB
 
,address_email=Email
 
,supervisor=Supervisor
 
,td=TD
 
|order by=MGB ASC|where=hla=1
 
|format=dynamic table}}
 
|-|
 
IHCSPU =
 
{{#cargo_query:tables=Practitioner|fields=
 
name=Name
 
,CONCAT('{{ppd{{#urldecode:%7C}}',ppd,'}}')=PPD
 
,user_name=MGB
 
,address_email=Email
 
,supervisor=Supervisor
 
,td=TD
 
|order by=MGB ASC|where=ihcspu=1
 
|format=dynamic table}}
 
|-|
 
Immunopath =
 
{{#cargo_query:tables=Practitioner|fields=
 
name=Name
 
,CONCAT('{{ppd{{#urldecode:%7C}}',ppd,'}}')=PPD
 
,user_name=MGB
 
,address_email=Email
 
,supervisor=Supervisor
 
,td=TD
 
|order by=MGB ASC|where=immunopathology=1
 
|format=dynamic table}}
 
|-|
 
Informatics =
 
{{#cargo_query:tables=Practitioner|fields=
 
name=Name
 
,CONCAT('{{ppd{{#urldecode:%7C}}',ppd,'}}')=PPD
 
,user_name=MGB
 
,address_email=Email
 
,supervisor=Supervisor
 
,td=TD
 
|order by=MGB ASC|where=informatics=1
 
|format=dynamic table}}
 
|-|
 
LSS =
 
{{#cargo_query:tables=Practitioner|fields=
 
name=Name
 
,CONCAT('{{ppd{{#urldecode:%7C}}',ppd,'}}')=PPD
 
,user_name=MGB
 
,address_email=Email
 
,supervisor=Supervisor
 
,td=TD
 
|order by=MGB ASC|where=labsupport=1 and active=1  
 
|format=dynamic table}}
 
|-|
 
Micro =
 
{{#cargo_query:tables=Practitioner|fields=
 
name=Name
 
,CONCAT('{{ppd{{#urldecode:%7C}}',ppd,'}}')=PPD
 
,user_name=MGB
 
,address_email=Email
 
,supervisor=Supervisor
 
,biothreat=Biothreat
 
,td=TD
 
|order by=MGB ASC|where=micro=1
 
|format=dynamic table}}
 
|-|
 
POCT =
 
{{#cargo_query:tables=Practitioner|fields=
 
name=Name
 
,CONCAT('{{ppd{{#urldecode:%7C}}',ppd,'}}')=PPD
 
,user_name=MGB
 
,address_email=Email
 
,biothreat=Biothreat
 
,supervisor=Supervisor
 
,td=TD
 
|order by=MGB ASC|where=poct=1
 
|format=dynamic table}}
 
|-|
 
RHC =
 
{{#cargo_query:tables=Practitioner|fields=
 
name=Name
 
,CONCAT('{{ppd{{#urldecode:%7C}}',ppd,'}}')=PPD
 
,user_name=MGB
 
,address_email=Email
 
,supervisor=Supervisor
 
,td=TD
 
|order by=MGB ASC|where=rhc=1
 
|format=dynamic table}}
 
|-|
 
Surgical pathology =
 
{{#cargo_query:tables=Practitioner|fields=
 
name=Name
 
,CONCAT('{{ppd{{#urldecode:%7C}}',ppd,'}}')=PPD
 
,user_name=MGB
 
,address_email=Email
 
,supervisor=Supervisor
 
,td=TD
 
|order by=MGB ASC|where=autopsy=1 AND active=1
 
|format=dynamic table}}
 
<br><br>
 
{{subheader|Distribution list}}
 
{{jsclippy|{{#cargo_query:tables=Practitioner|fields=address_email|where=autopsy=1 AND active=1|order by=Practitioner.user_name ASC|format=list|delimiter=;|no html}}}}{{ColorText|Copy||#337ab7}} {{distributionlistEmail|{{#cargo_query:tables=Practitioner|fields=address_email|where=autopsy=1 AND active=1|order by=Practitioner.user_name ASC|format=template|template=textlist|no html}}}}
 
|-|
 
Waltham =
 
{{#cargo_query:tables=Practitioner|fields=
 
name=Name
 
,CONCAT('{{ppd{{#urldecode:%7C}}',ppd,'}}')=PPD
 
,user_name=MGB
 
,address_email=Email
 
,supervisor=Supervisor
 
,td=TD
 
|order by=MGB ASC|where=waltham=1
 
|format=dynamic table}}
 
 
|-|
 
|-|
 
All =  
 
All =  
Line 266: Line 71:
 
,user_name=MGB
 
,user_name=MGB
 
,address_email=Email
 
,address_email=Email
|order by=MGB ASC|where=active=1
+
|order by=MGB ASC|where=active=1 AND faculty=0
|format=dynamic table}}
+
|format=dynamic table|rows per page=5}}
 
<br><br>
 
<br><br>
{{subheader|Distribution list}}
+
{{collapsed|{{subheaderColor|Distribution list}}|
{{jsclippy|{{#cargo_query:tables=Practitioner|fields=address_email|where=active=1|order by=Practitioner.user_name ASC|format=list|delimiter=;|no html}}}}{{ColorText|Copy||#337ab7}} {{distributionlistEmail|{{#cargo_query:tables=Practitioner|fields=address_email|where=active=1|order by=Practitioner.user_name ASC|format=template|template=textlist|no html}}}}
+
{{jsclippy|{{#cargo_query:tables=Practitioner|fields=address_email|where=active=1 AND faculty=0|order by=Practitioner.user_name ASC|format=list|delimiter=;|no html}}}}{{ColorText|Copy||#337ab7}} {{distributionlistEmail|{{#cargo_query:tables=Practitioner|fields=address_email|where=active=1 AND faculty=0|order by=Practitioner.user_name ASC|format=template|template=textlist|no html}}}}
 +
}}
 
</tabber>
 
</tabber>

Latest revision as of 08:12, June 21, 2023

PhotoNamePPDMGBCoPath IDEmailDivisionSubspecialty
PhotoNamePPDMGBCoPath IDEmailDivisionSubspecialty
FacultyBAY.jpg
Alzumaili, Bayan A.,MD 473951 Ba687 BAY BALZUMAILI@mgh.harvard.edu AMP BR HN
FacultyJB101.jpg
Baron, Jason M.,M.D. 144594 Jb101 JB101 JMBARON@PARTNERS.ORG LMM CORE INF
FacultyPKB.jpg
Bendapudi, Pavan K.,M.D. 130735 Pkb2 PKB PBENDAPUDI@PARTNERS.ORG LMM BTS
FacultyAKB.jpg
Bhan, Atul K., M.D. 12643 Akb2 AKB ABHAN@mgh.harvard.edu AMP MP
FacultyWSB.jpg
Black-Schaffer, W. Stephen,MD 12694 Wbs WSB sblack-schaffer@mgh.harvard.edu AMP CYT
Showing 1 to 5 of 98 entries
Distribution list