STANDARD DATA DICTIONARY #45.86 -- PTF CENSUS DATE FILE                                                           3/24/25    PAGE 1
STORED IN ^DG(45.86,  (22 ENTRIES)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                      (VERSION 5.3)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file contains a list of PTF census dates.  Usually these dates are on 9/30.  
 
Also, this file contains census date specific parameters, such as CLOSEOUT DATE for the census.  


              DD ACCESS: @
              RD ACCESS: d
              WR ACCESS: @
             DEL ACCESS: @
           LAYGO ACCESS: @

POINTED TO BY: CENSUS DATE field (#13) of the PTF File (#45) 
               CENSUS DATE field (#.04) of the CENSUS WORKFILE File (#45.85) 
               

CROSS
REFERENCED BY: CURRENTLY ACTIVE?(AC), DATE(B)



45.86,.01     DATE                   0;1 DATE (Required)

              INPUT TRANSFORM:  S %DT(0)=-3010630,%DT="EX" D ^%DT K %DT(0) S X=Y K:Y<1 X
              LAST EDITED:      MAY 15, 2001 
              HELP-PROMPT:        
              DESCRIPTION:      This field contains the census date as established by VACO.  
                                 
                                It is used in various census options and reports.  Its most important use is to determine who needs
                                census transactions sent to Austin.  All inpatients as of 11:59pm of the census date are listed in
                                the Census Status Report as needing a transaction.  
                                 
                                This date is usually the last date of the quarter, such as 12/31/2000.  
                                 
                                Please note, you are not allowed to enter a census date greater then the last day of the quarter.  

              DELETE TEST:      1,0)= I 1 W !?5,"You cannot delete a PTF CENSUS DATE entry"

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

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


45.86,.02     CLOSEOUT DATE          0;2 DATE

              INPUT TRANSFORM:  S %DT="EX",%DT(0)=+^DG(45.86,DA,0) D ^%DT K %DT S X=Y K:Y<1 X
              LAST EDITED:      AUG 23, 1995 
              DESCRIPTION:      This field contains the last date census transactions can be transmitted to Austin.  This date is
                                determined by VACO and should only be changed as directed by VACO.  
                                 
                                Once this CLOSEOUT DATE has passed, census transactions for this census date are not allowed to be
                                sent by the software.  

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


45.86,.03     OK TO XMIT PTF TRANSACTIONS 0;3 DATE

              INPUT TRANSFORM:  S %DT="EX",%DT(0)=+^DG(45.86,DA,0) D ^%DT K %DT S X=Y K:Y<1 X
              LAST EDITED:      APR 14, 1990 
              DESCRIPTION:      This field contains the date PTF records can be transmitted for patients who also have census
                                records for this census year.  
                                 
                                Note: Discharges that have admission dates after the census date 
                                      are not affected by this parameter.  PTF records for these 
                                      admissions can be transmitted in the usual manner.  
                                 
                                This date is determined by VACO and should only be changed as directed by VACO.  
                                 
                                If PTF transactions are transmitted to Austin before this date, the PTF transaction would overlay
                                census transactions for the admission.  
                                 
                                It is possible to close and release PTF transactions. However, the software will not allow the
                                transmission of these PTF transactions before this OK TO XMIT PTF TRANSACTIONS date.  

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


45.86,.04     CURRENTLY ACTIVE?      0;4 SET

                                '0' FOR NO; 
                                '1' FOR YES; 
              INPUT TRANSFORM:  I $D(X),X,$O(^DG(45.86,"AC",1,0)),DA'=$O(^(0)) K X W !,"Census Date '",$S($D(^DG(45.86,$O(^(0)),0))
                                :$E(^(0),4,5)_"/"_$E(^(0),6,7)_"/"_$E(^(0),2,3),1:"??"),"' is already active"
              LAST EDITED:      APR 15, 1990 
              DESCRIPTION:      This field indicates if this census date entry is the currently active census.  There can only be
                                one census date active at any one point in time.  It is possible not to have any census date
                                active.  
                                 
                                The software enforces this 'only one active' rule.  If a user attempts to have more than one census
                                date active, s/he will get an error message indicating the census date that is currently active.  

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

              CROSS-REFERENCE:  45.86^AC 
                                1)= S ^DG(45.86,"AC",$E(X,1,30),DA)=""
                                2)= K ^DG(45.86,"AC",$E(X,1,30),DA)


45.86,.05     CENSUS PERIOD START DATE 0;5 DATE (Required)

              INPUT TRANSFORM:  S %DT="EX",%DT(0)=-^DG(45.86,DA,0) D ^%DT K %DT S X=Y K:Y<1 X
              LAST EDITED:      APR 16, 1990 
              DESCRIPTION:      This field contains the first date of the census period.  All specialty movements and procedures
                                that occurred for the inpatient from this date, CENSUS PERIOD START DATE, to the census date should
                                be reported to Austin for the census.  
                                 
                                The software uses this date when creating the census record from the PTF record.  Only those
                                movements and procedures that occurred during that time frame are copied.  
                                 
                                This date is usually the first day of a Fiscal Year, such as 10/1/94 for the 9/30/95 census.  

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


45.86,.06     WORKFILE LAST UPDATED  0;6 DATE

              INPUT TRANSFORM:  S %DT="ETXR" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      APR 30, 1990 
              DESCRIPTION:      This field contains the date that the census workfile was last updated for this particular PTF
                                census date entry.  
                                 
                                The 'Regenerate Census Workfile' option updates this field.  

              WRITE AUTHORITY:  ^


INPUT TEMPLATE(S):
DGPT CENSUS DATE              JUN 11, 1990@10:03  USER #0    

PRINT TEMPLATE(S):
DGPT QUICK PROFILE            JUN 11, 1990@09:58  USER #0    ^DGPTXCP                                       Quick Parameter Profile
      
      

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):