STANDARD DATA DICTIONARY #615.2 -- SECLUSION/RESTRAINT FILE                                                       3/24/25    PAGE 1
STORED IN ^YS(615.2,  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                       (VERSION 5.01)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
Contain information required for the processing of management reports for Seclusion/Restraint.  


COMPILED CROSS-REFERENCE ROUTINE: YSXRAK
IDENTIFIED BY: NAME (#.02)[R], DATE/TIME APPLIED (#.03)[R]

CROSS
REFERENCED BY: NAME(AC), RELEASE FILED(AC1), RELEASE FILED(AD), REVIEW FILED(AD1), WARD(AE), ORDER TYPE(AF), FILE ENTRY DATE(B), 
               NAME(C)

    LAST MODIFIED: JUN 1,2018@13:47:07

615.2,.01     FILE ENTRY DATE        0;1 DATE (Required)

              INPUT TRANSFORM:  S %DT="ESTXR",%DT(0)="-NOW" D ^%DT S X=Y K:Y<1 X K %DT(0)
              LAST EDITED:      NOV 06, 2000 
              HELP-PROMPT:        
              DESCRIPTION:
                                Actual date/time of entry of transaction into file.  This field is transparent to the user.  

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

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


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

              Patient   
              LAST EDITED:      MAY 07, 1987 
              DESCRIPTION:
                                Name (DFN) of patient placed under seclusion and/or restraint for this episode.  

              CROSS-REFERENCE:  615.2^AC^MUMPS 
                                1)= I '$D(^YS(615.2,DA,40)) S ^YS(615.2,"AC",$E(X,1,30),DA)=""
                                2)= K ^YS(615.2,"AC",$E(X,1,30),DA)

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


615.2,.03     DATE/TIME APPLIED      0;3 DATE (Required)

              Date/Time Applied   
              INPUT TRANSFORM:  S %DT="ETXR",%DT(0)="-NOW" D ^%DT S X=Y K:Y<1 X K %DT(0)
              LAST EDITED:      NOV 06, 2000 
              HELP-PROMPT:      YOU MAY NOT ENTER A FUTURE DATE/TIME. 
              DESCRIPTION:
                                Date/time seclusion and/or restraint actually applied to patient.  

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


615.2,.04     WARD                   0;4 POINTER TO HOSPITAL LOCATION FILE (#44) (Required)

              Ward   
              LAST EDITED:      FEB 21, 1992 
              DESCRIPTION:
                                Ward (hospital location) seclusion/restraint occurred.  

              CROSS-REFERENCE:  615.2^AE^MUMPS 
                                1)= S ^YS(615.2,"AE",$P(^YS(615.2,DA,0),"^",3),$E(X,1,30),DA)=""
                                2)= K ^YS(615.2,"AE",$P(^YS(615.2,DA,0),"^",3),$E(X,1,30),DA)


615.2,.05     NAME OF NURSE PRESENT  0;5 POINTER TO NEW PERSON FILE (#200) (Required)

              Nurse Responsible for Seclusion/Restraint   
              LAST EDITED:      APR 09, 1987 
              DESCRIPTION:
                                Supervisory nurse responsible for carrying out of seclusion/restraint action.  


615.2,.06     NURSING SHIFT          0;6 POINTER TO NURS TOUR OF DUTY FILE (#211.6) (Required)

              During what Nursing Shift   
              LAST EDITED:      MAY 01, 1987 
              DESCRIPTION:
                                Nursing shift during which seclusion/restraint episode commenced.  


615.2,.08     PATIENT SEARCHED       0;8 SET

              Was the patient searched?   
                                'Y' FOR YES; 
                                'N' FOR NO; 
              LAST EDITED:      MAR 27, 2012 
              DESCRIPTION:      Question as to whether or not a patient was searched for possible harmful objects on his/her
                                person.  


615.2,.09     SEARCH COMMENT         2;0   WORD-PROCESSING #615.33   (NOWRAP)

              DESCRIPTION:
                                If a patient was not searched, a reason must be given as to why the procedure was not done.  


                Search Comments   
                LAST EDITED:      FEB 21, 1992 



615.2,4       INITIAL TRANSCRIBER    1;4 POINTER TO NEW PERSON FILE (#200) (Required)

              Initial Transcriber   
              LAST EDITED:      MAY 01, 1987 
              DESCRIPTION:
                                Person placing information into file.  TRANSPARENT TO USER.  


615.2,5       TYPE OF SECLUSION/RESTRAINT 5;0 POINTER Multiple #615.34 (Add New Entry without Asking)

              DESCRIPTION:
                                Manner in which seclusion/restraint is performed.  


615.34,.01      TYPE OF SECLUSION/RESTRAINT 0;1 POINTER TO S/R CATEGORY FILE (#615.6) (Required) (Multiply asked)

                Type of Seclusion/Restraint Applied   
                LAST EDITED:      FEB 21, 1992 
                HELP-PROMPT:      Answer with one or more of the types of seclusion/restraint listed. 
                CROSS-REFERENCE:  615.34^B 
                                  1)= S ^YS(615.2,DA(1),5,"B",$E(X,1,30),DA)=""
                                  2)= K ^YS(615.2,DA(1),5,"B",$E(X,1,30),DA)




615.2,6       ATTEMPTED ALTERNATIVES 6;0 POINTER Multiple #615.35 (Add New Entry without Asking)

              DESCRIPTION:
                                Different clinical strategies employed prior to placing patient into seclusion/restraint.  


615.35,.01      ATTEMPTED ALTERNATIVES 0;1 POINTER TO S/R ALTERNATIVES FILE (#615.8) (Required) (Multiply asked)

                Alternatives Attempted   
                LAST EDITED:      FEB 21, 1992 
                HELP-PROMPT:      Answer with one or more of the attempted alternatives listed. 
                CROSS-REFERENCE:  615.35^B 
                                  1)= S ^YS(615.2,DA(1),6,"B",$E(X,1,30),DA)=""
                                  2)= K ^YS(615.2,DA(1),6,"B",$E(X,1,30),DA)


615.35,1        RESULTS                1;0   WORD-PROCESSING #615.351

                DESCRIPTION:
                                  Supplemental narrative regarding patient's actions.  


                  Results of Alternatives   
                  LAST EDITED:      FEB 21, 1992 





615.2,7       DIAGNOSIS              7;1 FREE TEXT (Required)

              Diagnosis   
              INPUT TRANSFORM:  K:$L(X)>70!($L(X)<1) X
              LAST EDITED:      FEB 21, 1992 
              HELP-PROMPT:      ANSWER MUST BE 1-70 CHARACTERS IN LENGTH 
              DESCRIPTION:      The diagnosis may be an actual DSM diagnosis selected from the PTF file or it may be a perceived
                                diagnosis by caretaker.  


615.2,9       LAST4 SSN               ;  COMPUTED

              MUMPS CODE:       S X=$E($P($G(^DPT($P(^YS(615.2,D0,0),U,2),0)),U,9),6,9)
              ALGORITHM:        S X=$E($P($G(^DPT($P(^YS(615.2,D0,0),U,2),0)),U,9),6,9)
              LAST EDITED:      JAN 23, 2017 
              DESCRIPTION:
                                This computed field returns the last four digits of the patient's social security number.  


615.2,10      REASONS FOR S/R        10;0 POINTER Multiple #615.21 (Add New Entry without Asking)

              DESCRIPTION:
                                A reason for the seclusion/restraint action.  


615.21,.01      REASONS FOR S/R        0;1 POINTER TO S/R REASONS FILE (#615.5) (Required) (Multiply asked)

                Reasons for Seclusion/Restraint   
                LAST EDITED:      FEB 21, 1992 
                DESCRIPTION:
                                  Select from the list of possible reasons that necessitated the seclusion/restraint action.  

                CROSS-REFERENCE:  615.21^B 
                                  1)= S ^YS(615.2,DA(1),10,"B",$E(X,1,30),DA)=""
                                  2)= K ^YS(615.2,DA(1),10,"B",$E(X,1,30),DA)


615.21,1        DESCRIBE CIRCUMSTANCES 0;2 FREE TEXT (Required)

                Circumstances at the time   
                INPUT TRANSFORM:  K:$L(X)>200!($L(X)<1) X
                LAST EDITED:      FEB 21, 1992 
                HELP-PROMPT:      ANSWER MUST BE 1-200 CHARACTERS IN LENGTH 
                DESCRIPTION:
                                  A brief narrative describing the circumstances which necessitated the seclusion/restraint action.  




615.2,15      MEDICATIONS            15;0 POINTER Multiple #615.23 (Add New Entry without Asking)

              DESCRIPTION:
                                A list of medications given to the patient during this seclusion/restraint episode.  


615.23,.01      MEDICATIONS            0;1 POINTER TO DRUG FILE (#50) (Multiply asked)

                Patient's Medications   
                LAST EDITED:      FEB 21, 1992 
                CROSS-REFERENCE:  615.23^B 
                                  1)= S ^YS(615.2,DA(1),15,"B",$E(X,1,30),DA)=""
                                  2)= K ^YS(615.2,DA(1),15,"B",$E(X,1,30),DA)




615.2,20      BEHAVIOR REQUIRED FOR RELEASE 20;0 POINTER Multiple #615.24 (Add New Entry without Asking)

              DESCRIPTION:
                                Actions required on the part of the patient prior to release from seclusion/restraint.  


615.24,.01      BEHAVIOR REQUIRED FOR RELEASE 0;1 POINTER TO S/R RELEASE CRITERIA FILE (#615.7) (Multiply asked)

                Behavior Required for Release   
                LAST EDITED:      FEB 21, 1992 
                CROSS-REFERENCE:  615.24^B 
                                  1)= S ^YS(615.2,DA(1),20,"B",$E(X,1,30),DA)=""
                                  2)= K ^YS(615.2,DA(1),20,"B",$E(X,1,30),DA)




615.2,25      ORDERED BY             25;1 POINTER TO NEW PERSON FILE (#200) (Required)

              INPUT TRANSFORM:  S DIC("S")="I $S(+$G(^(""I""))=0:1,$G(^(""I""))'