STANDARD DATA DICTIONARY #404.41 -- OUTPATIENT PROFILE FILE                                                       3/24/25    PAGE 1
STORED IN ^SCPT(404.41,  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                     (VERSION 5.3)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This table contains outpatient related information for a patient.  For example, it contains computed fields that indicate the
current primary care team, positions and practitioner assigned to the patient.  


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

CROSS
REFERENCED BY: PATIENT(APC1), PRIMARY CARE?(APC2), PATIENT(B)



404.41,.01    PATIENT                0;1 POINTER TO PATIENT FILE (#2) (Required)

              INPUT TRANSFORM:  S DINUM=X
              LAST EDITED:      FEB 14, 1996 
              HELP-PROMPT:      Select Outpatient 
              DESCRIPTION:
                                This is a surrogate for the patient file.  It contains only outpatient information.  

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

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

              CROSS-REFERENCE:  404.41^APC1^MUMPS 
                                1)= N SC2 S SC2=$P($G(^SCPT(404.41,DA,0)),U,4) I SC2]"" S ^SCPT(404.41,"APC",X,SC2,DA)=""
                                2)= N SC2 S SC2=$P($G(^SCPT(404.41,DA,0)),U,4) I SC2]"" K ^SCPT(404.41,"APC",X,SC2,DA)
                                This sorts by PATIENT(#.01), then by PRIMARY CARE?(#.04).  There is an associated cross reference
                                for the PRIMARY CARE? Field (#.04).  



404.41,.02    SEND APPOINTMENT LETTERS? 0;2 SET

                                '0' FOR NO; 
                                '1' FOR YES; 
              LAST EDITED:      MAY 26, 1996 

404.41,.03    CONTRACT NURSING HOME PATIENT 0;3 SET

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      MAR 06, 1995 
              HELP-PROMPT:      This indicates if this is a contract nursing home patient. 
              DESCRIPTION:      This indicates if the patient is a contract nursing home patient.  This can then be used in helping
                                to schedule the patient to assure proper personnel are available before and after the appointment.  


404.41,.04    PRIMARY CARE?          0;4 SET

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      FEB 08, 1996 
              HELP-PROMPT:      Patient has been or will be assigned to a Primary Care Team. 
              DESCRIPTION:
                                This indicates if patient has been or will be assigned to a Primary Care Team.  

              CROSS-REFERENCE:  404.41^APC2^MUMPS 
                                1)= N SC1 S SC1=$P($G(^SCPT(404.41,DA,0)),U,1) I SC1 S ^SCPT(404.41,"APC",SC1,X,DA)=""
                                2)= N SC1 S SC1=$P($G(^SCPT(404.41,DA,0)),U,1) I SC1 K ^SCPT(404.41,"APC",SC1,X,DA)
                                his sorts by PATIENT(#.01), then by PRIMARY CARE?(#.04).  There is an associated cross reference
                                for the PATIENT Field (#.01).  



404.41,.06    CPRS HEADER TEXT       1;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>250!($L(X)<1) X
              LAST EDITED:      FEB 18, 2015 
              HELP-PROMPT:      Answer must be 1-250 characters in length. 
              DESCRIPTION:
                                This field contains PACT assignment data to be used in the PCMM/R Header in CPRS for this patient.  

              TECHNICAL DESCR:
                                This field will be updated by PCMM/R when the patient's PACT team is assigned or unassigned.  


404.41,.07    CPRS PC WINDOW CACHE   2;0   WORD-PROCESSING #404.411

              TECHNICAL DESCR:  This field will be updated each time a patient's PACT and other team details are requested by CPRS
                                from PCMMR.  The cached data will be displayed in the CPRS PCMMR Details Window if the connection
                                to PCMMR is not available.  


                LAST EDITED:      MAY 09, 2014 
                DESCRIPTION:      This field will contain a cached version of a patient's PACT and other team assignment details
                                  that is displayed in the CPRS PCMMR Details Window.  

                TECHNICAL DESCR:  This field will be updated each time a patient's PACT and other team details are requested by
                                  CPRS from PCMMR.  The cached data will be displayed in the CPRS PCMMR Details Window if the
                                  connection to PCMMR is not available.  




404.41,25     COMMENT                C;0   WORD-PROCESSING #404.4125


                LAST EDITED:      NOV 10, 1994 



404.41,201    CURRENT PC PRACTITIONER   ;  COMPUTED

              CURRENT PRIMARY CARE PRACTITIONER   
              MUMPS CODE:       S X=$P($$NMPCPR^SCAPMCU2(D0,DT,1),U,2)
              ALGORITHM:        S X=$P($$NMPCPR^SCAPMCU2(D0,DT,1),U,2)
              LAST EDITED:      JAN 04, 2008 
              DESCRIPTION:
                                This calculates the current Primary Care Practitioner, from the Primary Care Profile History File.  


404.41,202    CURRENT PC ATTENDING    ;  COMPUTED

              CURRENT PRIMARY CARE ATTENDING   
              MUMPS CODE:       S X=$P($$NMPCPR^SCAPMCU2(D0,DT,2),U,2)
              ALGORITHM:        S X=$P($$NMPCPR^SCAPMCU2(D0,DT,2),U,2)
              LAST EDITED:      APR 25, 2007 
              DESCRIPTION:      This calculates the current primary care attending practitioner from the Patient Team/Position
                                Assignment file.  


404.41,203    CURRENT PC TEAM         ;  COMPUTED

              CURRENT PRIMARY CARE TEAM   
              MUMPS CODE:       S X=$P($$NMPCTM^SCAPMCU2(D0,DT,1),U,2)
              ALGORITHM:        S X=$P($$NMPCTM^SCAPMCU2(D0,DT,1),U,2)
              LAST EDITED:      MAR 18, 2008 
              DESCRIPTION:
                                This calculates the current primary care team.  


404.41,204    CURRENT PC PRACTITIONER POS  ;  COMPUTED

              CURRENT PRIMARY CARE PRACTITIONER POSITION   
              MUMPS CODE:       S X=$P($$NMPCTP^SCAPMCU2(D0,DT,1),U,2)
              ALGORITHM:        S X=$P($$NMPCTP^SCAPMCU2(D0,DT,1),U,2)
              LAST EDITED:      MAR 18, 2008 
              DESCRIPTION:
                                This calculates the current primary care practitioner position.  


404.41,205    *CURRENT PC ATTENDING POSITION  ;  COMPUTED

              CURRENT PRIMARY CARE ATTENDING POSITION   
              MUMPS CODE:       S X=$P($$NMPCTP^SCAPMCU2(D0,DT,2),U,2)
              ALGORITHM:        S X=$P($$NMPCTP^SCAPMCU2(D0,DT,2),U,2)
              LAST EDITED:      JUN 01, 1999 
              DESCRIPTION:
                                This calculates the current primary care attending practitioner position for the patient.  


404.41,206    CURRENT ASSOCIATE PC PROVIDER  ;  COMPUTED

              MUMPS CODE:       S X=$P($$NMPCPR^SCAPMCU2(D0,DT,3),U,2)
              ALGORITHM:        S X=$P($$NMPCPR^SCAPMCU2(D0,DT,3),U,2)
              DESCRIPTION:
                                This calculates the current Associate Primary Care provider.  



      FILES POINTED TO                      FIELDS

PATIENT (#2)                      PATIENT (#.01)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):