STANDARD DATA DICTIONARY #9000010.13 -- V EXAM FILE                                                               3/24/25    PAGE 1
STORED IN ^AUPNVXAM(  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                        (VERSION 1.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file contains exam information specific to a visit for a patient. This file contains one record for each exam for each visit.  
 


              DD ACCESS: 
              RD ACCESS: 
              WR ACCESS: 
             DEL ACCESS: 
           LAYGO ACCESS: 
           AUDIT ACCESS: 
IDENTIFIED BY: PATIENT NAME (#.02)[R], VISIT (#.03)[R]

CROSS
REFERENCED BY: VISIT(AA), EXAM(AATOO), PATIENT NAME(AATOO2), VISIT(AD), VISIT(AV10), EXAM(B), PATIENT NAME(C)

INDEXED BY:    EXAM & PATIENT NAME & VISIT & EVENT DATE AND TIME (ACR)


    LAST MODIFIED: OCT 5,2022@14:55:07

9000010.13,.01EXAM                   0;1 POINTER TO EXAM FILE (#9999999.15) (Required)

              INPUT TRANSFORM:  S DIC("S")="I $P(^(0),U,4)'=1" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
              LAST EDITED:      AUG 10, 2017 
              HELP-PROMPT:      Enter the exam which was done to the patient. 
              DESCRIPTION:
                                This is the entry in the Exam file that represents what type of exam was done at the encounter.  

              SCREEN:           S DIC("S")="I $P(^(0),U,4)'=1"
              EXPLANATION:      Allow only active Exams to be selected.
              CROSS-REFERENCE:  9000010.13^B 
                                1)= S ^AUPNVXAM("B",$E(X,1,30),DA)=""
                                2)= K ^AUPNVXAM("B",$E(X,1,30),DA)

              CROSS-REFERENCE:  9000010.13^AATOO^MUMPS 
                                1)= I $P(^AUPNVXAM(DA,0),U,2)]"",$P(^(0),U,3)]"" S ^AUPNVXAM("AA",$P(^AUPNVXAM(DA,0),U,2),X,(999999
                                9-$P(+^AUPNVSIT($P(^AUPNVXAM(DA,0),U,3),0),".",1)),DA)=""

                                2)= I $P(^AUPNVXAM(DA,0),U,2)]"",$P(^(0),U,3)]"" K ^AUPNVXAM("AA",$P(^AUPNVXAM(DA,0),U,2),X,(999999
                                9-$P(+^AUPNVSIT($P(^AUPNVXAM(DA,0),U,3),0),".",1)),DA)
                                This cross-reference is used for searches in sequence by patient, exam pointer, inverted visit
                                date, and internal entry number.  
                                 
                                 
                                    "AA",PATIENT,EXAM,VISIT,DA 
                                 


              RECORD INDEXES:   ACR (#1667)

9000010.13,.02PATIENT NAME           0;2 POINTER TO PATIENT/IHS FILE (#9000001) (Required)

              LAST EDITED:      AUG 10, 2017 
              HELP-PROMPT:      Enter the patient who received the exam. 
              DESCRIPTION:
                                This is the patient who received the exam.  

                                UNEDITABLE
              CROSS-REFERENCE:  9000010.13^AATOO2^MUMPS 
                                1)= I $P(^AUPNVXAM(DA,0),U,3)]"" S ^AUPNVXAM("AA",X,+^AUPNVXAM(DA,0),(9999999-$P(+^AUPNVSIT($P(^AUP
                                NVXAM(DA,0),U,3),0),".",1)),DA)=""

                                2)= I $P(^AUPNVXAM(DA,0),U,3)]"" K ^AUPNVXAM("AA",X,+^AUPNVXAM(DA,0),(9999999-$P(+^AUPNVSIT($P(^AUP
                                NVXAM(DA,0),U,3),0),".",1)),DA)
                                This cross-reference is used for searches in sequence by patient, exam pointer, inverted visit, and
                                internal entry number.  
                                 
                                   "AA",PATIENT,EXAM,VISIT,DA 
                                 


              CROSS-REFERENCE:  9000010.13^C 
                                1)= S ^AUPNVXAM("C",$E(X,1,30),DA)=""
                                2)= K ^AUPNVXAM("C",$E(X,1,30),DA)
                                This cross reference is used for look-up of exams by patient.  


              RECORD INDEXES:   ACR (#1667)

9000010.13,.03VISIT                  0;3 POINTER TO VISIT FILE (#9000010) (Required)

              INPUT TRANSFORM:  S DIC("S")="I $P(^(0),U,5)=$P(^AUPNVXAM(DA,0),U,2)" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
              LAST EDITED:      AUG 10, 2017 
              HELP-PROMPT:      Enter the visit date/time for the encounter where the exam was done. 
              DESCRIPTION:
                                This is the encounter in the Visit file that represents when and where the exam was done.  

              SCREEN:           S DIC("S")="I $P(^(0),U,5)=$P(^AUPNVXAM(DA,0),U,2)"
              EXPLANATION:      VISIT MUST BE FOR CURRENT PATIENT
                                UNEDITABLE
              CROSS-REFERENCE:  9000010.13^AD 
                                1)= S ^AUPNVXAM("AD",$E(X,1,30),DA)=""
                                2)= K ^AUPNVXAM("AD",$E(X,1,30),DA)
                                This cross-reference is used for searches by the visit pointer and internal entry number. 
                                 
                                  "AD",VISIT,DA 
                                 


              CROSS-REFERENCE:  9000010.13^AA^MUMPS 
                                1)= Q:$P(^AUPNVXAM(DA,0),U,2)=""  S ^AUPNVXAM("AA",$P(^AUPNVXAM(DA,0),U,2),+^AUPNVXAM(DA,0),(999999
                                9-$P(+^AUPNVSIT(X,0),".",1)),DA)=""

                                2)= Q:$P(^AUPNVXAM(DA,0),U,2)=""  K ^AUPNVXAM("AA",$P(^AUPNVXAM(DA,0),U,2),+^AUPNVXAM(DA,0),(999999
                                9-$P(+^AUPNVSIT(X,0),".",1)),DA)
                                This cross-reference is used for searches in sequence by patient, exam pointer, inverted visit,
                                internal entry number.  
                                 
                                   "AA",PATIENT,EXAM,VISIT,DA 
                                 


              CROSS-REFERENCE:  9000010.13^AV10^MUMPS 
                                1)= D ADD^AUPNVSIT
                                2)= D SUB^AUPNVSIT
                                This cross-reference adds and subtracts from the dependent entry count in the VISIT file.  


              RECORD INDEXES:   ACR (#1667)

9000010.13,.04RESULT                 0;4 SET

                                'A' FOR ABNORMAL; 
                                'N' FOR NORMAL; 
              LAST EDITED:      SEP 01, 1995 

9000010.13,220MAGNITUDE              220;1 FREE TEXT (audited)

              INPUT TRANSFORM:  K:$L(X)>25!($L(X)<1)!('$$VMAGNITUDE^PXINPTR(.X)) X
              MAXIMUM LENGTH:   25
              LAST EDITED:      MAR 28, 2022 
              HELP-PROMPT:      Enter the magnitude of the measurement, a positive or negative number, up to 14 digits and 9 
                                decimal places. 
              DESCRIPTION:      If a measurement has been recorded for an entry in this file, this is the magnitude of the
                                measurement.  
                                 

              AUDIT:            EDITED OR DELETED
              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER


9000010.13,221UCUM CODE              220;2 POINTER TO UCUM CODES FILE (#757.5) (audited)

              LAST EDITED:      MAR 28, 2022 
              HELP-PROMPT:      Enter the UCUM code of the measurement. 
              DESCRIPTION:      If a measurement has been recorded for an entry in this file, this is the unit of the measurement.  
                                 

              AUDIT:            EDITED OR DELETED

9000010.13,1201EVENT DATE AND TIME   12;1 DATE

              INPUT TRANSFORM:  S %DT="ESTX" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      AUG 10, 2017 
              HELP-PROMPT:      Enter the date and time the exam was given. 
              DESCRIPTION:      This is the date and time the exam was given by the provider. This date and time may be different
                                from the Visit Date and Time. For example, for clinic appointment visits, the Visit Date and Time
                                is the date and time of the appointment, not the time the provider performed the clinical event.  
                                                                 
                                The date may be an imprecise date but cannot be a future date.  
                                 

              TECHNICAL DESCR:  Event Date and Time defaults to NOW and reflects the actual time the exam was done. The Event Date
                                does not have to be the Visit Date, but it cannot be a future date.  
                                 
                                If a user wants to enter a historical exam the user should use the Historical Encounter entry
                                action to document the historical exam.  Historical entries will not be eligible for credit. 
                                                                 
                                PCE data sources for automatic (scanning) data capture will be blank unless the Event Date and Time
                                are passed to PCE for filing.  
                                 

              RECORD INDEXES:   ACR (#1667)

9000010.13,1202ORDERING PROVIDER     12;2 POINTER TO NEW PERSON FILE (#200)

              LAST EDITED:      MAY 13, 1996 
              HELP-PROMPT:      Enter the provider who ordered this exam. 
              DESCRIPTION:
                                This field can be used to document the provider who ordered the exam.  


9000010.13,1204ENCOUNTER PROVIDER    12;4 POINTER TO NEW PERSON FILE (#200)

              LAST EDITED:      DEC 19, 1994 
              HELP-PROMPT:      Enter the provider who gave the exam. 
              DESCRIPTION:
                                This is the provider who gave the exam.  


9000010.13,80101EDITED FLAG          801;1 SET

                                '1' FOR EDITED; 
              LAST EDITED:      NOV 26, 2018 
              HELP-PROMPT:      Enter 1 if the original exam data is being edited. 
              DESCRIPTION:
                                This field is automatically set to 1 if PCE detects that any original exam data is being edited.  

              TECHNICAL DESCR:  PCE filing logic automatically compares the before and after pictures of the record to determine if
                                the edited flag should be set to "1".  
                                 


9000010.13,80102AUDIT TRAIL          801;2 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>85!($L(X)<2) X
              LAST EDITED:      NOV 26, 2018 
              HELP-PROMPT:      The answer must be 2 to 85 characters. 
              DESCRIPTION:      This field is populated automatically by the PCE filing logic.  The format of the field is as
                                follows:  Pointer to PCE data source file_"-"_A for Add or E for Edit_" "_DUZ of the person who
                                entered the data_";"...  

              TECHNICAL DESCR:  The PCE filing logic requires a pointer to the PCE Data Source file.  If this is not passed, then
                                PCE filing logic will not process the data.  
                                  
                                If the record is a new record, then an "A" is used to specify the source that added the data.  If
                                the record existed previously, PCE filing logic compares the old and new records of information. 
                                An "E" will be automatically used if the filing logic finds the data has been edited.  If "E" is
                                used, then the Edited Flag field is automatically set to 1.  
                                  
                                The DUZ is stored in its internal format to represent the user who performed the addition or
                                editing of data for this record.  
                                 
                                Iterations of editing will be concatenated to the previous Data Source value, up to 85 characters.  
                                 


9000010.13,81101COMMENTS             811;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>245!($L(X)<1) X
              LAST EDITED:      JUL 11, 1995 
              HELP-PROMPT:      Enter a comment 1-245 characters in length. 
              DESCRIPTION:      This is a comment related to the patient's exam.  The provider may enter this manually via the PCE
                                User Interface.  


9000010.13,81201VERIFIED             812;1 SET

                                '1' FOR ELECTRONICALLY SIGNED; 
                                '2' FOR VERIFIED BY PACKAGE; 
              LAST EDITED:      NOV 26, 2018 
              HELP-PROMPT:      Enter 1 if verified by electronic signature or 2 if verified by package. 
              DESCRIPTION:      This is used to note how the event was verified and is automatically entered by the software.  
                                 

              TECHNICAL DESCR:  This is automatically entered by the software and is uneditable for users.  
                                 

                                UNEDITABLE

9000010.13,81202PACKAGE              812;2 POINTER TO PACKAGE FILE (#9.4)

              LAST EDITED:      DEC 11, 2018 
              HELP-PROMPT:      Enter the VistA package from which this record originated. 
              DESCRIPTION:      This is the VistA package from which this exam record originated through PCE.  
                                                                 
                                This is automatically entered by the software and uneditable by users.  
                                 
                                 

                                UNEDITABLE

9000010.13,81203DATA SOURCE          812;3 POINTER TO PCE DATA SOURCE FILE (#839.7)

              LAST EDITED:      NOV 26, 2018 
              HELP-PROMPT:      Select the data source for this exam entry through PCE. 
              DESCRIPTION:      This is the data source for this exam. It is set automatically by the PCE software and uneditable
                                by users.  
                                 

                                UNEDITABLE


      FILES POINTED TO                      FIELDS

EXAM (#9999999.15)                EXAM (#.01)

NEW PERSON (#200)                 ORDERING PROVIDER (#1202)
                                  ENCOUNTER PROVIDER (#1204)

PACKAGE (#9.4)                    PACKAGE (#81202)

PATIENT/IHS (#9000001)            PATIENT NAME (#.02)

PCE DATA SOURCE (#839.7)          DATA SOURCE (#81203)

UCUM CODES (#757.5)               UCUM CODE (#221)

VISIT (#9000010)                  VISIT (#.03)


File #9000010.13

  Record Indexes:

  ACR (#1667)    RECORD    MUMPS    IR    ACTION
      Short Descr:  Clinical Reminders index.
      Description:  This cross-reference builds two indexes, one for finding all patients with a particular exam and one for
                    finding all the exams a patient has.  The indexes are stored in the Clinical Reminders index global as: 
                     ^PXRMINDX(9000010.13,"IP",EXAM,DFN,DATE,DAS) and 
                     ^PXRMINDX(9000010.13,"PI",DFN,EXAM,DATE,DAS) respectively.  
                     
                    Where 
                     EXAM is a pointer to file #9999999.15.  
                     DFN is a pointer to file #2.  
                     DATE is EVENT DATE AND TIME, if it exists. If it does not, then it is VISIT/ADMIT DATE&TIME.  
                     DAS is the internal entry number of the entry in file #9000010.13.  
                     
                    For all the details, see the Clinical Reminders Index Technical Guide/Programmer's Manual.  
                     
                    
        Set Logic:  D SVFILE^PXPXRM(9000010.13,.X,.DA)
       Kill Logic:  D KVFILE^PXPXRM(9000010.13,.X,.DA)
       Whole Kill:  K ^PXRMINDX(9000010.13)
             X(1):  EXAM  (9000010.13,.01)  (Subscr 1)  (forwards)
             X(2):  PATIENT NAME  (9000010.13,.02)  (Subscr 2)  (forwards)
             X(3):  VISIT  (9000010.13,.03)  (Subscr 3)  (forwards)
             X(4):  EVENT DATE AND TIME  (9000010.13,1201)  (forwards)


INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):