STANDARD DATA DICTIONARY #40.7 -- CLINIC STOP FILE                                                                3/24/25    PAGE 1
STORED IN ^DIC(40.7,  (565 ENTRIES)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                     (VERSION 5.3)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
The Clinic Stop file (#40.7) contains all AMIS Stop Codes and their associated Name, Restriction Type (E-Either, P-Primary Only, or 
S-Secondary Only), and if applicable, Restriction Date (for P or S Restriction Types).  If a clinic stop entry is inactive, there
is an Inactive Date.  
 
This file has been "Locked Down" so that Fileman and other user updates are not allowed.  Changes may be made only through VistA
Maintenance (VM) patches coordinated with the Managerial Cost Accounting Office (MCAO) and Enterprise Product Services (EPS). The
file definition (data dictionary) shall not be modified.  All additions, changes, inactivations, and reactivations to entries in
the file shall be accomplished only by VM patches.  Creating new Stop Codes or local Stop Codes, and/or editing fields in the file,
is not permitted.  


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

   APPLICATION GROUP(S): SD
IDENTIFIED BY: AMIS REPORTING STOP CODE (#1)[R], INACTIVE DATE (#2)

POINTED TO BY: CONVERT TO STOP CODE field (#3) of the CLINIC STOP File (#40.7) 
               STOP CODE NUMBER field (#8) of the HOSPITAL LOCATION File (#44) 
               PRV. YEAR STOP CODE field (#8.1) of the HOSPITAL LOCATION File (#44) 
               CREDIT STOP CODE field (#2503) of the HOSPITAL LOCATION File (#44) 
               PRV. YEAR CREDIT STOP CODE field (#2503.1) of the HOSPITAL LOCATION File (#44) 
               CLINIC STOP CODE field (#611) of the LABORATORY SITE File (#69.9) 
               VALID CODE field (#.01) of the IMAGING STOP CODES File (#71.5) 
               DSS ID field (#22) of the IMAGING LOCATIONS File (#79.1) 
               STOP CODE field (#.06) of the GMRC CONSULT MAPPING File (#123.033) 
               ASSOCIATED STOP CODE field (#.01) of the ASSOCIATED STOP CODE sub-field (#123.5688) of the REQUEST SERVICES File 
                   (#123.5) 
               CLINIC STOP CODE field (#.01) of the NON-BILLABLE CLINIC STOP CODES File (#352.3) 
               PRIMARY STOP CODE field (#1.18) of the PFSS ACCOUNT File (#375) 
               CREDIT STOP CODE field (#1.41) of the PFSS ACCOUNT File (#375) 
               CLINIC STOP NAME field (#.01) of the MH PCMM STOP CODES File (#404.61) 
               APPT STOP CODE field (#13.4) of the SD WAIT LIST File (#409.3) 
               APPT CREDIT STOP CODE field (#13.5) of the SD WAIT LIST File (#409.3) 
               SERVICE/SPECIALTY field (#.01) of the SD WL SERVICE/SPECIALTY File (#409.31) 
               CLINIC STOP CODE field (#.01) of the CLINIC STOP CODE sub-field (#409.51) of the SCHEDULING VISITS File (#409.5) 
               CLINIC STOP CODE field (#.03) of the OUTPATIENT ENCOUNTER File (#409.68) 
               REQ SERVICE/SPECIALTY field (#8.5) of the SDEC APPT REQUEST File (#409.85) 
               REQ SECONDARY STOP CODE field (#8.6) of the SDEC APPT REQUEST File (#409.85) 
               APPT STOP CODE field (#13.4) of the SDEC APPT REQUEST File (#409.85) 
               APPT CREDIT STOP CODE field (#13.5) of the SDEC APPT REQUEST File (#409.85) 
               REQ SERVICE/SPECIALTY field (#3) of the VS AUDIT sub-field (#409.8545) of the SDEC APPT REQUEST File (#409.85) 
               SERVICE field (#1.1) of the SDEC CONTACT File (#409.86) 
               DSS ID field (#27) of the EVENT CAPTURE PATIENT File (#721) 
               ASSOCIATED STOP CODE field (#9) of the DSS UNIT File (#724) 
               CREDIT STOP field (#14) of the DSS UNIT File (#724) 
               STOP CODE field (#.01) of the STOP CODE sub-field (#810.111) of the REMINDER REPORT TEMPLATE File (#810.1) 
               CLINIC STOP field (#.01) of the CLINIC STOP LIST sub-field (#810.9001) of the REMINDER LOCATION LIST File (#810.9) 
               CREDIT STOP TO EXCLUDE field (#.01) of the CREDIT STOPS TO EXCLUDE sub-field (#810.90011) of the CLINIC STOP LIST 
                   sub-field (#810.9001) of the REMINDER LOCATION LIST File (#810.9) 
               PRIMARY CARE CLINIC STOPS field (#.01) of the PRIMARY CARE CLINIC STOPS sub-field (#991.817) of the CIRN SITE 
                   PARAMETER File (#991.8) 
               CLINIC field (#1203) of the TIU DOCUMENT File (#8925) 
               SERVICE CREDIT STOP field (#1206) of the TIU DOCUMENT File (#8925) 
               ENTITY field (#.01) of the PARAMETERS File (#8989.5) 
               DSS ID field (#.08) of the VISIT File (#9000010) 
               CLINIC field (#1203) of the V IMMUNIZATION File (#9000010.11) 
               CLINIC field (#1203) of the V IMMUNIZATION DELETED File (#9000080.11) 
               

CROSS
REFERENCED BY: NAME(B), AMIS REPORTING STOP CODE(C)



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

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3)!'(X'?1P.E)!(X'?.ANP) X
              LAST EDITED:      OCT 24, 1988 
              HELP-PROMPT:      ANSWER MUST BE 3-30 CHARACTERS IN LENGTH 
              DESCRIPTION:
                                This field contains the name of the clinic stop code.  

              PRE-LOOKUP:       I $G(DIC(0))["L",'$D(SDAUMF) D EN^DDIOL("Entries can only be added by the Stop Code Council.","","!
                                ?5") K X
              DELETE TEST:      1,0)= I 1 W !,"CLINIC STOPS CANNOT BE DELETED!!",*7

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


40.7,1        AMIS REPORTING STOP CODE 0;2 NUMBER (Required)

              INPUT TRANSFORM:  K:+X'=X!(X>999)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      SEP 16, 2010 
              HELP-PROMPT:      Type a whole number between 1 and 999. 
              DESCRIPTION:      This field contains the number related to the stop code that is used when generating the OPC file. 
                                This number is what is transmitted.  

                                UNEDITABLE
              CROSS-REFERENCE:  40.7^C 
                                1)= S ^DIC(40.7,"C",$E(X,1,30),DA)=""
                                2)= K ^DIC(40.7,"C",$E(X,1,30),DA)


40.7,2        INACTIVE DATE          0;3 DATE

              INPUT TRANSFORM:  S %DT="E" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      SEP 16, 2010 
              HELP-PROMPT:      Enter the date the clinic stop code was inactivated. 
              DESCRIPTION:
                                This field contains a date of when a Clinic Stop code has been inactivated.  

                                UNEDITABLE

40.7,3        CONVERT TO STOP CODE   0;4 POINTER TO CLINIC STOP FILE (#40.7)

              INPUT TRANSFORM:  S DIC("S")="I $P(^(0),U,2)>100" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
              LAST EDITED:      SEP 16, 2010 
              HELP-PROMPT:      Enter 3 digit stop code to associate this entry with. 
              DESCRIPTION:      This field contains a pointer value to the new Clinic Stop code that has a three number AMIS
                                REPORTING STOP CODE.  

              SCREEN:           S DIC("S")="I $P(^(0),U,2)>100"
              EXPLANATION:      Clinic stop pointed to must be greater than 100.
                                UNEDITABLE

40.7,4        COST DISTRIBUTION CENTER 0;5 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>10!($L(X)<1) X
              LAST EDITED:      SEP 16, 2010 
              HELP-PROMPT:      Answer must be 1-10 characters in length. 
              DESCRIPTION:
                                This field contains a number related to a cost distribution center.  This is related to the RAM.  

                                UNEDITABLE

40.7,5        RESTRICTION TYPE       0;6 SET

              Restriction Type   
                                'P' FOR Primary; 
                                'S' FOR Secondary; 
                                'E' FOR Either; 
              LAST EDITED:      SEP 16, 2010 
              HELP-PROMPT:      Select the stop code restriction type. 
              DESCRIPTION:      This field describes a Stop Code restriction type.  Valid entries are:- 
                                     P - Primary    S - Secondary    E - Either 

                                UNEDITABLE

40.7,6        RESTRICTION DATE       0;7 DATE

              Restriction Date   
              INPUT TRANSFORM:  S %DT="E" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      SEP 16, 2010 
              HELP-PROMPT:      Enter date the Stop Code became restricted. 
              DESCRIPTION:      This field contains the date the Stop Code became restricted.  When the 'Restriction Type' field
                                has a value of 'P' or 'S' then a 'Restriction Date' should be associated with it.  

                                UNEDITABLE


      FILES POINTED TO                      FIELDS

CLINIC STOP (#40.7)               CONVERT TO STOP CODE (#3)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):
CAPTIONED                                         USER #0    

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):