STANDARD DATA DICTIONARY #404.51 -- TEAM FILE                                                                     3/24/25    PAGE 1
STORED IN ^SCTM(404.51,  (1 ENTRY)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                      (VERSION 5.3)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This is a local table file containing the site's names for teams.  



POINTED TO BY: *CURRENT PC TEAM field (#404.02) of the PATIENT File (#2) 
               TEAM field (#.02) of the TEAM POSITIONS sub-field (#44.40457) of the HOSPITAL LOCATION File (#44) 
               COMBINATION ITEM field (#.01) of the COMBINATION ITEM sub-field (#100.241) of the OE/RR PT SEL COMBO File (#100.24) 
               NAME field (#.01) of the CRHD HANDOFF PARAMETERS File (#183) 
               TEAM ASSIGNMENT field (#.03) of the PATIENT TEAM ASSIGNMENT File (#404.42) 
               TEAM field (#.01) of the TEAM AUTOLINK File (#404.56) 
               TEAM field (#.02) of the TEAM POSITION File (#404.57) 
               TEAM field (#.01) of the TEAM HISTORY File (#404.58) 
               SELECTIONS field (#40) of the SCHEDULING REPORT QUERY TEMPLATE File (#404.95) 
               SELECTIONS field (#.01) of the SELECTIONS sub-field (#404.9503) of the SCHEDULING REPORT QUERY TEMPLATE File 
                   (#404.95) 
               WL SPECIFIC TEAM field (#5) of the SD WAIT LIST File (#409.3) 
               DISCHARGE PC TEAM field (#30) of the PHYSICAL MOVEMENT EXTRACT File (#727.808) 
               PLACEHOLD PRIMARY CARE TEAM field (#30) of the PRESCRIPTION EXTRACT File (#727.81) 
               PLACEHOLD PRIMARY CARE TEAM field (#14) of the CLINIC EXTRACT File (#727.827) 
               PRIMARY CARE TEAM field (#15) of the NUTRITION EXTRACT File (#727.832) 
               PLACEHOLD PRIMARY CARE TEAM field (#23) of the BCMA EXTRACT File (#727.833) 
               PCMM TEAM field (#.01) of the PCMM TEAM sub-field (#810.18) of the REMINDER REPORT TEMPLATE File (#810.1) 
               ENTITY field (#.01) of the PARAMETERS File (#8989.5) 
               SOURCE field (#.02) of the SOURCES sub-field (#800001.21) of the HMP ROSTER File (#800001.2) 
               

CROSS
REFERENCED BY: INSTITUTION(AINST), NAME(ASCTEAM), NAME(B)



404.51,.01    NAME                   0;1 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>30!(X?.N)!($L(X)<3)!'(X'?1P.E) X K:$S('$D(X):1,('$D(^SCTM(404.51,"B",X))):0,($G(DIUTIL)="VE
                                RIFY FIELDS"):0,1:1) X D:'$D(X) EN^DDIOL("Duplicate Team Names are not allowed.  Name must be 3-30 
                                characters.")
              LAST EDITED:      MAR 13, 1997 
              HELP-PROMPT:      NAME MUST BE 3-30 CHARACTERS, NOT NUMERIC OR STARTING WITH PUNCTUATION 
              TECHNICAL DESCR:
                                Place holder.  Integration issue.  Can another DHCP file be used? 

              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER

              CROSS-REFERENCE:  404.51^B 
                                1)= S ^SCTM(404.51,"B",$E(X,1,30),DA)=""
                                2)= K ^SCTM(404.51,"B",$E(X,1,30),DA)

              CROSS-REFERENCE:  404.51^ASCTEAM^MUMPS 
                                1)= D STSCTMNM^SCMCDD2(DA,X)
                                2)= D KLSCTMNM^SCMCDD2(DA,X)
                                This edits the whole cross reference in the Hospital Location File (#44), 'TEAM'.  This
                                cross-reference allows users to use the team name to find clinics associated with the team's team
                                positions.  See the 'ASCTEAM' cross-reference in the TEAM POSITION File (#404.57) - in the
                                'ASSOCIATED CLINIC' (#.09) Field.  



404.51,.02    TEAM PHONE NUMBER      0;2 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<3) X
              LAST EDITED:      AUG 11, 1995 
              HELP-PROMPT:      Answer must be 3-20 characters in length. 
              DESCRIPTION:
                                This is the phone number associated with the team.  


404.51,.03    TEAM PURPOSE           0;3 POINTER TO TEAM PURPOSE FILE (#403.47) (Required)

              LAST EDITED:      SEP 11, 1995 
              HELP-PROMPT:      This is the purpose of the team (e.g. Primary Care) 
              DESCRIPTION:      This defines the primary role of the team.  
                                 
                                Examples: 
                                    - Primary Care 
                                    - Inpatient Ward 
                                    - Mental Health Treatment 
                                    - Rapid Response 
                                    - Community Care 
                                    - Special Treatment Program 


404.51,.04    DEFAULT TEAM PRINTER   0;4 POINTER TO DEVICE FILE (#3.5)

              LAST EDITED:      AUG 11, 1995 
              HELP-PROMPT:      Enter the default device for team reports. 
              DESCRIPTION:
                                This is the default printer for the team.  


404.51,.05    CAN ACT AS A PC TEAM?  0;5 SET

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      MAR 06, 1995 
              HELP-PROMPT:      By answering 'Yes', this team will be allowed to be assigned as a PC Team. 
              DESCRIPTION:      Can this team be the primary care team for a patient? 
                                 
                                (Even if the team's principle purpose is not primary care, it still maybe able act as a primary
                                care team for some patients. This attribute indicates if that is possible.) 


404.51,.06    SERVICE/DEPARTMENT     0;6 POINTER TO SERVICE/SECTION FILE (#49) (Required)

              LAST EDITED:      SEP 11, 1995 
              HELP-PROMPT:      Enter the service/department most closely associated with this team. 
              DESCRIPTION:
                                Entry in the Service/Section file.  


404.51,.07    INSTITUTION            0;7 POINTER TO INSTITUTION FILE (#4) (Required)

              INPUT TRANSFORM:  S DIC("S")="I $P(^(0),U,11)=""N"",$$TF^XUAF4(+Y)" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
              LAST EDITED:      FEB 25, 2003 
              HELP-PROMPT:      This is the entry for the site in the INSTITUTION File. 
              DESCRIPTION:
                                This is the entry for the site in the INSTITUTION File.  

              SCREEN:           S DIC("S")="I $P(^(0),U,11)=""N"",$$TF^XUAF4(+Y)"
              EXPLANATION:      SCREEN FOR NATIONAL ENTRY
              CROSS-REFERENCE:  404.51^AINST 
                                1)= S ^SCTM(404.51,"AINST",$E(X,1,30),DA)=""
                                2)= K ^SCTM(404.51,"AINST",$E(X,1,30),DA)
                                This sorts by institution - can be used for multi-divisional sites.  



404.51,.08    MAX NUMBER OF PATIENTS 0;8 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>99999)!(X<0)!(X?.E1"."1N.N) X
              LAST EDITED:      FEB 28, 1995 
              HELP-PROMPT:      Type a Number between 0 and 99999, 0 Decimal Digits 
              DESCRIPTION:      The maximum allowable number of patients for this team.  After this number is exceeded, no more
                                patients should be assigned to this team.  


404.51,.09    MAX % OF PRIMARY CARE PATIENTS 0;9 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>9999)!(X<0)!(X?.E1"."1N.N) X
              LAST EDITED:      MAY 28, 1996 
              HELP-PROMPT:      Type a Number between 0 and 9999, 0 Decimal Digits 
              DESCRIPTION:      This is the maximum percentage of all patients assigned to primary care teams that this team should
                                be assigned.  


404.51,.1     CLOSE TO FURTHER ASSIGNMENT? 0;10 SET

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      MAR 06, 1995 
              HELP-PROMPT:      If 'YES' is entered, users may not add additional patients to this team. 
              DESCRIPTION:      This indicates that the team cannot be assigned additional patients.  This may be used for any
                                reason.  


404.51,.11    AUTO-ASSIGN FROM ASSC CLINICS? 0;11 SET

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      MAR 18, 1996 
              HELP-PROMPT:      Should changes in enrollment data leaving patient in associated clinics automatically assign 
                                patients to this team? 
              DESCRIPTION:      By answering 'YES', enrollment into clinics that are associated clinics of active positions will
                                result in the patient being assigned to this team.  If the clinic is associated with more than one
                                team, no assignment will be done.  


404.51,.12    DISCHARGE FROM ASSOC. CLINICS? 0;12 SET

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      MAR 18, 1996 
              HELP-PROMPT:      Should changes in enrollment data leaving patient out of clinic also discharge him from team? 
              DESCRIPTION:      By answering 'YES', changes in enrollment data that leaves a patient discharged from a clinic will
                                result in the patient being automatically discharged from the team.  If the patient has any active
                                or future assignments to team positions, the patient will not be discharged from the team.  


404.51,.13    RESTRICT CONSULTS?     0;13 SET

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      MAR 09, 1995 
              HELP-PROMPT:      Are users not allowed to make consult appointments if a patient is not enrolled in a clinic? 
              DESCRIPTION:      This attribute prevents users from making consult appointments to clinics in which the patient is
                                not enrolled. This parameter in the Patient Team/Position Assignment file overrides this same
                                parameter in the team level.  
                                 
                                (Applies to on primary teams only.) 


404.51,50     DESCRIPTION            D;0   WORD-PROCESSING #404.525


                LAST EDITED:      NOV 04, 1994 



404.51,201    CURRENT # OF PATIENTS   ;  COMPUTED

              MUMPS CODE:       S X=$$TEAMCNT^SCAPMCU1(D0,DT)
              ALGORITHM:        S X=$$TEAMCNT^SCAPMCU1(D0,DT)
              LAST EDITED:      JUL 28, 1995 
              DESCRIPTION:
                                This calculates the number of patients currently assigned to the team.  


404.51,202    CURRENT STATUS          ;  COMPUTED

              MUMPS CODE:       S X=$S((+$$ACTTM^SCMCTMU(D0)=1):"Active",1:"Inactive")
              ALGORITHM:        S X=$S((+$$ACTTM^SCMCTMU(D0)=1):"Active",1:"Inactive")
              LAST EDITED:      JUL 14, 1995 
              DESCRIPTION:
                                This indicates if the team is active on the current date.  


404.51,203    CURRENT EFFECTIVE DATE  ;  COMPUTED

              MUMPS CODE:       N Y S Y=$P($$ACTTM^SCMCTMU(D0),U,2) D DD^%DT S X=Y
              ALGORITHM:        N Y S Y=$P($$ACTTM^SCMCTMU(D0),U,2) D DD^%DT S X=Y
              LAST EDITED:      MAY 20, 1996 
              DESCRIPTION:
                                This is the most recent date that the active status was changed.  


404.51,204    CURRENT ACTIVATION DATE  ;  COMPUTED

              MUMPS CODE:       N Y S Y=$P($$DATES^SCAPMCU1(404.58,D0,DT),U,2) D DD^%DT S X=Y
              ALGORITHM:        N Y S Y=$P($$DATES^SCAPMCU1(404.58,D0,DT),U,2) D DD^%DT S X=Y
              LAST EDITED:      JUL 28, 1995 
              DESCRIPTION:      This is the activation date of the team based on today's date: 
                                  For teams never active - this is the next date where the team is active 
                                  For teams that are active now - this is the date it became active 
                                  For teams that are currently inactive - this is the last activation date 


404.51,205    CURRENT INACTIVATION DATE  ;  COMPUTED

              MUMPS CODE:       N Y S Y=$P($$DATES^SCAPMCU1(404.58,D0,DT),U,3) D DD^%DT S X=Y
              ALGORITHM:        N Y S Y=$P($$DATES^SCAPMCU1(404.58,D0,DT),U,3) D DD^%DT S X=Y
              DESCRIPTION:      This is the inactivation date as of today.  
                                  For an inactive team, this is the most recent day it became inactive 
                                  For an active team, this is the date it will become inactive.  



      FILES POINTED TO                      FIELDS

DEVICE (#3.5)                     DEFAULT TEAM PRINTER (#.04)

INSTITUTION (#4)                  INSTITUTION (#.07)

SERVICE/SECTION (#49)             SERVICE/DEPARTMENT (#.06)

TEAM PURPOSE (#403.47)            TEAM PURPOSE (#.03)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):
SCMCTP                        SEP 22, 2009@14:09  USER #0                                                    PCMM Team Purpose List

SORT TEMPLATE(S):
SCMCTP                        APR 01, 2009@10:08  USER #0    
SORT BY: NAME// (NAME from AAAA to ZZZZZZZZ)
  WITHIN NAME, SORT BY: TEAM PURPOSE// (TEAM PURPOSE from OIF OEF to OIF OEFZZZ)
     Template to screen TEAM PURPOSE field, entry OIF OEF.


FORM(S)/BLOCK(S):