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

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file is a logical multiple of the TEAM File (#404.51).  It contains the history of activations and inactivations for the team.  
Sites are NOT allowed to edit the structure of this file.  Making any kind of revision to this file may result in a faulty
performance of the Primary Care Management Software or other DHCP software that uses this file.  Updates to this file should only
be done as a result of an official patch to the Scheduling Module.  
 
Sites are NOT allowed to edit this file's fields via FileMan, without the direction of DHCP Customer Support.  Deleting, changing,
or adding entries to this file may result in faulty performance of the Primary Care Management Software or other DHCP software that
uses this file.  


              DD ACCESS: @
              RD ACCESS: d
              WR ACCESS: @
             DEL ACCESS: @
           LAYGO ACCESS: @
           AUDIT ACCESS: @
IDENTIFIED BY: EFFECTIVE DATE (#.02)[R], STATUS (#.03)[R]

CROSS
REFERENCED BY: TEAM(AIDT), STATUS(AIDT1), EFFECTIVE DATE(AIDT2), TEAM(B)



404.58,.01    TEAM                   0;1 POINTER TO TEAM FILE (#404.51) (Required)

              LAST EDITED:      AUG 03, 1995 
              HELP-PROMPT:      This is the name of the team. 
              DESCRIPTION:
                                This is a pointer to the TEAM file.  

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

              CROSS-REFERENCE:  404.58^AIDT^MUMPS 
                                1)= N SC2,SC3 S SC2=$P($G(^SCTM(404.58,DA,0)),U,3) I SC2]"" S SC3=$P($G(^(0)),U,2) I SC3]"" S ^SCTM
                                (404.58,"AIDT",X,SC2,-SC3,DA)=""

                                2)= N SC2,SC3 S SC2=$P($G(^SCTM(404.58,DA,0)),U,3) I SC2]"" S SC3=$P($G(^(0)),U,2) I SC3]"" K ^SCTM
                                (404.58,"AIDT",X,SC2,-SC3,DA)
                                This sorts by TEAM(#.01), then by STATUS(#.03), then by -EFFECTIVE DATE(#.02).  There are
                                associated cross references for each of these fields.  



404.58,.02    EFFECTIVE DATE         0;2 DATE (Required)

              INPUT TRANSFORM:  S %DT="ESTX" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      AUG 07, 1995 
              HELP-PROMPT:      This is the date the team's status changed. 
              DESCRIPTION:
                                This is the date that the team's status changed.  

              CROSS-REFERENCE:  404.58^AIDT2^MUMPS 
                                1)= N SC1,SC2 S SC1=$P($G(^SCTM(404.58,DA,0)),U,1) I SC1 S SC2=$P($G(^(0)),U,3) I SC2]"" S ^SCTM(40
                                4.58,"AIDT",SC1,SC2,-X,DA)=""

                                2)= N SC1,SC2 S SC1=$P($G(^SCTM(404.58,DA,0)),U,1) I SC1 S SC2=$P($G(^(0)),U,3) I SC2]"" K ^SCTM(40
                                4.58,"AIDT",SC1,SC2,-X,DA)
                                This sorts by TEAM(#.01), then by STATUS(#.03), then by -EFFECTIVE DATE(#.02).  There are
                                associated cross references for each of these fields.  



404.58,.03    STATUS                 0;3 SET (Required)

                                '1' FOR ACTIVE; 
                                '0' FOR INACTIVE; 
              LAST EDITED:      AUG 03, 1995 
              HELP-PROMPT:      This indicates what the status of the team is as of the effective date. 
              DESCRIPTION:
                                This is indicates if the team is active or inactive as of the effective date.  

              CROSS-REFERENCE:  404.58^AIDT1^MUMPS 
                                1)= N SC1,SC3 S SC1=$P($G(^SCTM(404.58,DA,0)),U,1) I SC1 S SC3=$P($G(^(0)),U,2) I SC3]"" S ^SCTM(40
                                4.58,"AIDT",SC1,X,-SC3,DA)=""

                                2)= N SC1,SC3 S SC1=$P($G(^SCTM(404.58,DA,0)),U,1) I SC1 S SC3=$P($G(^(0)),U,2) I SC3]"" K ^SCTM(40
                                4.58,"AIDT",SC1,X,-SC3,DA)
                                This sorts by TEAM(#.01), then by STATUS(#.03), then by -EFFECTIVE DATE(#.02).  There are
                                associated cross references for each of these fields.  



404.58,.04    STATUS REASON          0;4 POINTER TO SCHEDULING REASON FILE (#403.44) (Required)

              INPUT TRANSFORM:  S DIC("S")="IF $$RSNDICS^SCAPMCU1(""ZM1"")" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
              LAST EDITED:      JAN 16, 1996 
              HELP-PROMPT:      This is the reason that the team's status changed.  It is a required field. 
              DESCRIPTION:
                                This is the reason that the team's status changed.  

              SCREEN:           S DIC("S")="IF $$RSNDICS^SCAPMCU1(""ZM1"")"
              EXPLANATION:      ASDF


      FILES POINTED TO                      FIELDS

SCHEDULING REASON (#403.44)       STATUS REASON (#.04)

TEAM (#404.51)                    TEAM (#.01)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):