STANDARD DATA DICTIONARY #120.5 -- GMRV VITAL MEASUREMENT FILE                                                    3/24/25    PAGE 1
STORED IN ^GMR(120.5,  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                       (VERSION 5.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file contains vital sign information and other measurement data for a patient.  


              DD ACCESS: @
              RD ACCESS: 
              WR ACCESS: @
             DEL ACCESS: @
           LAYGO ACCESS: @
IDENTIFIED BY: PATIENT (#.02)[R], VITAL TYPE (#.03)[R]

CROSS
REFERENCED BY: DATE/TIME VITALS TAKEN(AA01), PATIENT(AA02), VITAL TYPE(AA03), DATE/TIME VITALS TAKEN(B), PATIENT(C), 
               VITAL TYPE(T)

INDEXED BY:    DATE/TIME VITALS TAKEN & PATIENT & VITAL TYPE & ENTERED IN ERROR (ACR), ENTERED IN ERROR (AHDRERR), PATIENT
               (AHDRNEW), PATIENT & RATE & ENTERED IN ERROR (AHMP), PATIENT & RATE & ENTERED IN ERROR (AVPR)


    LAST MODIFIED: MAR 13,2017@14:40:46

120.5,.01     DATE/TIME VITALS TAKEN 0;1 DATE (Required)

              INPUT TRANSFORM:  S %DT="ETXR" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      MAY 23, 2001 
              DESCRIPTION:
                                This field contains the date/time this vital/measurement was taken by the care provider.  

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

              CROSS-REFERENCE:  120.5^B 
                                1)= S ^GMR(120.5,"B",$E(X,1,30),DA)=""
                                2)= K ^GMR(120.5,"B",$E(X,1,30),DA)
                                This cross-reference is automatically created on .01 field.  


              CROSS-REFERENCE:  120.5^AA01^MUMPS 
                                1)= D AA^GMVFUT0(.01,1,DA,X)
                                2)= D AA^GMVFUT0(.01,2,DA,X)
                                This cross-reference sets the "AA" index for the GMRV Vital Measurement (120.5) file.  This index
                                is over the Date/Time Vitals Taken (.01), Patient (.02) and Vital Type (.03) fields.  The index has
                                the format: ^GMR(120.5,"AA",GMRVDFN,GMRVTYP,9999999-GMRVDT,DA)="", where GMRVDFN is data from .02
                                field, GMRVTYP is data from .03 field, and GMRVDT is data from .01 field.  


              RECORD INDEXES:   ACR (#460)

120.5,.02     PATIENT                0;2 POINTER TO PATIENT FILE (#2) (Required)

              LAST EDITED:      JUL 21, 2016 
              DESCRIPTION:      This field contains the name of the patient for whom this vital measurement data was entered. 
                                Pointer to the PATIENT (#2) file.  

              CROSS-REFERENCE:  120.5^C 
                                1)= S ^GMR(120.5,"C",$E(X,1,30),DA)=""
                                2)= K ^GMR(120.5,"C",$E(X,1,30),DA)
                                This regular cross-reference is used to sort the vital/measurement records by patient.  


              CROSS-REFERENCE:  120.5^AA02^MUMPS 
                                1)= D AA^GMVFUT0(.02,1,DA,X)
                                2)= D AA^GMVFUT0(.02,2,DA,X)
                                This cross-reference sets the "AA" index for the GMRV Vital Measurement (120.5) file.  This index
                                is over the Date/Time Vitals Taken (.01), Patient (.02) and Vital Type (.03) fields.  The index has
                                the format: ^GMR(120.5,"AA",GMRVDFN,GMRVTYP,9999999-GMRVDT,DA)="", where GMRVDFN is data from .02
                                field, GMRVTYP is data from .03 field, and GMRVDT is data from .01 field.  


              FIELD INDEX:      AHDRNEW (#200)    MUMPS        ACTION
                  Short Descr:  INDEX for HDR
                  Description:  This cross-reference calls a Health Data Repository (HDR) API whenever a new entry is created.  
                                 
                                No actual cross-reference nodes are set or killed.  
                                 
                                Calls to the VDEFQM routine are covered by Integration Agreement 4253.  Calls to the VADPT routine
                                are covered by Integration Agreement 3744.  Use of the XDRDVALF variable is covered by Integration
                                Agreement 4690.  
                    Set Logic:  Q:$D(DIU(0))!($$TESTPAT^VADPT($P(^GMR(120.5,DA,0),U,2)))!($G(XDRDVALF)=1)  N ERR,GMVFLAG I $T(QUEUE
                                ^VDEFQM)]"" S GMVFLAG=$$QUEUE^VDEFQM("ORU^R01","SUBTYPE=VTLS^IEN="_DA,.ERR)
                     Set Cond:  I X1(1)="",X2(1)'="" S X=1
                   Kill Logic:  Q
                   Whole Kill:  Q
                         X(1):  PATIENT  (120.5,.02)

              RECORD INDEXES:   ACR (#460), AHMP (#1336), AVPR (#1540)

120.5,.03     VITAL TYPE             0;3 POINTER TO GMRV VITAL TYPE FILE (#120.51) (Required)

              LAST EDITED:      MAY 23, 2001 
              DESCRIPTION:      This field denotes the type of measurement for this record.  Pointer to the GMRV VITAL TYPE
                                (#120.51) file.  

              CROSS-REFERENCE:  120.5^T 
                                1)= S ^GMR(120.5,"T",$E(X,1,30),DA)=""
                                2)= K ^GMR(120.5,"T",$E(X,1,30),DA)
                                This regular cross-reference is created to sort the file by the type of measurement.  


              CROSS-REFERENCE:  120.5^AA03^MUMPS 
                                1)= D AA^GMVFUT0(.03,1,DA,X)
                                2)= D AA^GMVFUT0(.03,2,DA,X)
                                This cross-reference sets the "AA" index for the GMRV Vital Measurement (120.5) file.  This index
                                is over the Date/Time Vitals Taken (.01), Patient (.02) and Vital Type (.03) fields.  The index has
                                the format: ^GMR(120.5,"AA",GMRVDFN,GMRVTYP,9999999-GMRVDT,DA)="", where GMRVDFN is data from .02
                                field, GMRVTYP is data from .03 field, and GMRVDT is data from .01 field.  


              RECORD INDEXES:   ACR (#460)

120.5,.04     DATE/TIME VITALS ENTERED 0;4 DATE (Required)

              INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      JUN 18, 1996 
              DESCRIPTION:
                                This field contains the date/time that this record was entered.  


120.5,.05     HOSPITAL LOCATION      0;5 POINTER TO HOSPITAL LOCATION FILE (#44) (Required)

              INPUT TRANSFORM:  S DIC("S")="I $P(^(0),U,3)'=""Z""" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
              LAST EDITED:      JUL 28, 1989 
              DESCRIPTION:      This field contains the location where this measurement was taken.  Pointer to the HOSPITAL
                                LOCATION (#44) file.  

              SCREEN:           S DIC("S")="I $P(^(0),U,3)'=""Z"""
              EXPLANATION:      Select valid Hospital Location.

120.5,.06     ENTERED BY             0;6 POINTER TO NEW PERSON FILE (#200) (Required)

              LAST EDITED:      DEC 22, 1993 
              DESCRIPTION:      This field contains the name of the person who edited the file entry.  Pointer to the NEW PERSON
                                (#200) file.  


120.5,1.2     RATE                   0;8 FREE TEXT

              INPUT TRANSFORM:  K:'$$EN2^GMVFUT0(DA,.X) X
              LAST EDITED:      JUL 21, 2016 
              DESCRIPTION:
                                This field contains the numeric value associated with this vital measurement.  

              EXECUTABLE HELP:  D RATEHLP^GMVFUT0(DA)
              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER

              RECORD INDEXES:   AHMP (#1336), AVPR (#1540)

120.5,1.4     SUPPLEMENTAL O2        0;10 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<1) X
              LAST EDITED:      JAN 10, 1997 
              HELP-PROMPT:      Answer must be 1-30 characters in length. 
              DESCRIPTION:      This field stores the information of the supplemental oxygen as follows: 
                                  .5-20 l/min (liters/minute)   and/or 
                                  21-100 % of oxygen concentration For example: 4.5 l/min 40% 
                                             4.5 l/min 
                                             40 % 


120.5,2       ENTERED IN ERROR       2;1 SET

                                '1' FOR YES; 
              LAST EDITED:      JUL 21, 2016 
              DESCRIPTION:
                                This field indicates that this record was flagged as entered in error.  

              DELETE TEST:      1,0)= I 1

                                UNEDITABLE
              FIELD INDEX:      AHDRERR (#201)    MUMPS        ACTION
                  Short Descr:  INDEX for HDR
                  Description:  This cross-reference calls a Health Data Repository (HDR) API whenever a FILE 120.5 entry is marked
                                as entered-in-error.  
                                 
                                No actual cross-reference nodes are set or killed.  
                                 
                                Calls to the VDEFQM routine are covered by Integration Agreement 4253.  Calls to the VADPT routine
                                are covered by Integration Agreement 3744.  Use of the XDRDVALF variable is covered by Integration
                                Agreement 4690.  
                    Set Logic:  Q:$D(DIU(0))!($$TESTPAT^VADPT($P(^GMR(120.5,DA,0),U,2)))!($G(XDRDVALF)=1)  N ERR,GMVFLAG I $T(QUEUE
                                ^VDEFQM)]"" S GMVFLAG=$$QUEUE^VDEFQM("ORU^R01","SUBTYPE=VTLS^IEN="_DA,.ERR)
                     Set Cond:  I X1(1)="",X2(1)]"" S X=1
                   Kill Logic:  Q
                   Whole Kill:  Q
                         X(1):  ENTERED IN ERROR  (120.5,2)

              RECORD INDEXES:   ACR (#460), AHMP (#1336), AVPR (#1540)

120.5,3       ERROR ENTERED BY       2;2 POINTER TO NEW PERSON FILE (#200)

              LAST EDITED:      JAN 13, 1992 
              DESCRIPTION:      This field indicates the name of the person responsible for entering the record in error.  Pointer
                                to the NEW PERSON (#200) file.  

              DELETE TEST:      1,0)= I 1

                                UNEDITABLE

120.5,4       REASON ENTERED IN ERROR 2.1;0 SET Multiple #120.506

              DESCRIPTION:
                                This multiple contains a list of reasons for entering a vital measurement in error.  


120.506,.01     REASON ENTERED IN ERROR 0;1 SET (Multiply asked)

                                  '1' FOR INCORRECT DATE/TIME; 
                                  '2' FOR INCORRECT READING; 
                                  '3' FOR INCORRECT PATIENT; 
                                  '4' FOR INVALID RECORD; 
                LAST EDITED:      AUG 31, 1988 
                DESCRIPTION:
                                  This field records the reason for entering the data in error.  


120.506,.02     DATE REASON ENTERED IN ERROR 0;2 DATE

                INPUT TRANSFORM:  S %DT="ESTX" D ^%DT S X=Y K:Y<1 X
                LAST EDITED:      JAN 26, 2017 
                HELP-PROMPT:      Enter the date and time the reason entered in error is entered. 
                DESCRIPTION:
                                  This is the date and time the reason entered in error was entered.  




120.5,5       QUALIFIER              5;0 POINTER Multiple #120.505

              LAST EDITED:      JAN 21, 1997 
              DESCRIPTION:
                                A list of qualifiers associated with this measurement.  


120.505,.01     QUALIFIER              0;1 POINTER TO GMRV VITAL QUALIFIER FILE (#120.52) (Multiply asked)

                INPUT TRANSFORM:  S DIC("S")="I $$EN1^GMVFUT0(Y,DA)" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
                LAST EDITED:      MAY 23, 2001 
                DESCRIPTION:
                                  This field contains the name of the qualifier associated with this measurement.  

                SCREEN:           S DIC("S")="I $$EN1^GMVFUT0(Y,DA)"
                EXPLANATION:      Select qualifier associated with the Vital Type of this measurement.
                NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER

                CROSS-REFERENCE:  120.505^B 
                                  1)= S ^GMR(120.5,DA(1),5,"B",$E(X,1,30),DA)=""
                                  2)= K ^GMR(120.5,DA(1),5,"B",$E(X,1,30),DA)
                                  This cross-reference is automatically created on .01 field.  






      FILES POINTED TO                      FIELDS

GMRV VITAL QUALIFIER (#120.52)    QUALIFIER:QUALIFIER (#.01)

GMRV VITAL TYPE (#120.51)         VITAL TYPE (#.03)

HOSPITAL LOCATION (#44)           HOSPITAL LOCATION (#.05)

NEW PERSON (#200)                 ENTERED BY (#.06)
                                  ERROR ENTERED BY (#3)

PATIENT (#2)                      PATIENT (#.02)


File #120.5

  Record Indexes:

  ACR (#460)    RECORD    MUMPS    IR    ACTION
      Short Descr:  Clinical Reminders cross-reference.
      Description:  This cross-reference builds two indexes, one for finding all patients with a particular vital measurement and
                    one for finding all the vital measurements a patient has.  The index is stored in the Clinical Reminders index
                    global as: 
                     ^PXRMINDX(120.5,"IP",MEASUREMENT,DFN,DATE/TIME TAKEN,DAS) 
                     ^PXRMINDX(120.5,"PI",DFN,MEASUREMENT,DATE/TIME TAKEN,DAS) Entries that are marked as entered-in-error are not
                    indexed.  Permission to use the PXRM namespace is documented in IAs 3736 and 4114.  For all the details, see
                    the Clinical Reminders Index Technical Guide/Programmer's Manual.  
        Set Logic:  D SVITAL^GMVPXRM(.X,.DA)
       Kill Logic:  D KVITAL^GMVPXRM(.X,.DA)
       Whole Kill:  K ^PXRMINDX(120.5)
             X(1):  DATE/TIME VITALS TAKEN  (120.5,.01)  (Subscr 1)  (forwards)
             X(2):  PATIENT  (120.5,.02)  (Subscr 2)  (forwards)
             X(3):  VITAL TYPE  (120.5,.03)  (Subscr 3)  (forwards)
             X(4):  ENTERED IN ERROR  (120.5,2)

  AHMP (#1336)    RECORD    MUMPS        ACTION
      Short Descr:  Event for HMP
      Description:  This index invokes a HMP event point when vitals are modified.  No actual cross-reference nodes are set or
                    killed.  
        Set Logic:  Q:$D(DIU(0))!($G(XDRDVALF)=1)  D GMRV^HMPEVNT(X,DA,$G(X(3)))
       Kill Logic:  Q
       Whole Kill:  Q
             X(1):  PATIENT  (120.5,.02)
             X(2):  RATE  (120.5,1.2)
             X(3):  ENTERED IN ERROR  (120.5,2)

  AVPR (#1540)    RECORD    MUMPS        ACTION
      Short Descr:  Trigger updates to VPR
      Description:  This is an action index that updates the Virtual Patient Record (VPR) when any of the fields in this index are
                    changed. No actual cross- reference nodes are set or killed.  
        Set Logic:  D GMRV^VPREVNT(X(1),DA,$G(X(3)))
       Kill Logic:  Q
       Whole Kill:  Q
             X(1):  PATIENT  (120.5,.02)
             X(2):  RATE  (120.5,1.2)
             X(3):  ENTERED IN ERROR  (120.5,2)


INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):