STANDARD DATA DICTIONARY #391.31 -- HOME TELEHEALTH PATIENT FILE                                                  3/24/25    PAGE 1
STORED IN ^DGHT(391.31,  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                     (VERSION 5.3)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------


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

CROSS
REFERENCED BY: RECORD NUMBER(B), TRANSACTION DATE(C), MESSAGE ID OF XMIT TO HT(D), PATIENT(E), 
               MESSAGE ID OF XMIT TO HT(HTHNOACK)

INDEXED BY:    PATIENT & VENDOR (APATVN)




391.31,.01    RECORD NUMBER          0;1 NUMBER (Required)

              INPUT TRANSFORM:  K:+X'=X!(X>9999999)!(X<0)!(X?.E1"."1N.N) X S:$D(X) DINUM=X
              LAST EDITED:      FEB 14, 2005 
              HELP-PROMPT:      Type a Number between 0 and 9999999, 0 Decimal Digits 
              DESCRIPTION:
                                This field contains the record number for this entry.  

              TECHNICAL DESCR:
                                The internal entry number (IEN) for this record.  

              DELETE TEST:      .01,0)= I 1 D EN^DDIOL("Home Telehealth entries cannot be deleted")

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

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


391.31,1      PATIENT                0;2 POINTER TO PATIENT FILE (#2) (Required)

              LAST EDITED:      AUG 23, 2006 
              HELP-PROMPT:      Enter the name of the patient being assigned for Home Telehealth. 
              DESCRIPTION:
                                This is the name of patient assigned for Home Telehealth service.  

              TECHNICAL DESCR:
                                A pointer to the PATIENT file (#2).  

              DELETE AUTHORITY: 
              CROSS-REFERENCE:  391.31^E 
                                1)= S ^DGHT(391.31,"E",$E(X,1,30),DA)=""
                                2)= K ^DGHT(391.31,"E",$E(X,1,30),DA)

              RECORD INDEXES:   APATVN (#792)

391.31,2      VENDOR                 0;3 POINTER TO INSTITUTION FILE (#4) (Required)

              INPUT TRANSFORM:  S DIC("S")="I $P($G(^DIC(4,+Y,99)),""^"")?1""200T"".E" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
              LAST EDITED:      FEB 14, 2005 
              HELP-PROMPT:      Enter the vendor assigned to this Home Telehealth patient. 
              DESCRIPTION:      This is the name of the vendor assigned to this Home Telehealth patient.  The vendor data comes
                                from the Institution file #4 and are the 200T* entries.  These entries are specifically added to
                                file #4 for Home Telehealth vendors.  

              TECHNICAL DESCR:
                                A pointer to the INSTITUTION file (#4).  

              SCREEN:           S DIC("S")="I $P($G(^DIC(4,+Y,99)),""^"")?1""200T"".E"
              EXPLANATION:      Only 200T entries are valid.
              RECORD INDEXES:   APATVN (#792)

391.31,3      CONSULT NUMBER         0;4 POINTER TO REQUEST/CONSULTATION FILE (#123) (Required)

              LAST EDITED:      JAN 19, 2005 
              HELP-PROMPT:      Enter IEN of the consult from REQUEST/CONSULTATION file (#123). 
              DESCRIPTION:
                                This is the internal entry number of the consultation.  

              TECHNICAL DESCR:
                                A pointer to the REQUEST/CONSULTATION file (#123).  


391.31,4      CARE COORDINATOR       0;5 POINTER TO NEW PERSON FILE (#200) (Required)

              LAST EDITED:      JAN 19, 2005 
              HELP-PROMPT:      Enter the name of the Care Coordinator responsible for patient. 
              DESCRIPTION:      This is the name of the Care Coordinator responsible for assigning this patient for Home Telehealth
                                service.  Care Coordinator is selected from entries in the NEW PERSON file (#200).  

              TECHNICAL DESCR:
                                A pointer to the NEW PERSON file (#200).  


391.31,5      ACTIVATION DATE        0;6 DATE (Required)

              INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      FEB 07, 2005 
              HELP-PROMPT:      The date/time the patient was activated for Home Telehealth service. 
              DESCRIPTION:
                                The date and time the patient was assigned/registered/sign-up for Home Telehealth services.  


391.31,6      INACTIVATION DATE      0;7 DATE

              INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      FEB 07, 2005 
              HELP-PROMPT:      The date/time the patient was inactivated from Home Telehealth service. 
              DESCRIPTION:
                                The date and time this patient was inactivated  from Home Telehealth service.  


391.31,7      TRANSACTION            TRAN;0 DATE Multiple #391.317 (Add New Entry without Asking)

              DESCRIPTION:      Transaction relating to home telehealth patient sign-up/activation (admission) and inactivation
                                (discharge).  


391.317,.01     TRANSACTION DATE       0;1 DATE (Required)

                INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
                LAST EDITED:      DEC 09, 2005 
                HELP-PROMPT:      Date/time event was last transmitted. 
                DESCRIPTION:      Date and time transaction was transmitted.  The date/time is reflective of the last time this
                                  event was transmitted.  

                CROSS-REFERENCE:  391.317^B 
                                  1)= S ^DGHT(391.31,DA(1),"TRAN","B",$E(X,1,30),DA)=""
                                  2)= K ^DGHT(391.31,DA(1),"TRAN","B",$E(X,1,30),DA)

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


391.317,.02     MESSAGE ID OF XMIT TO HT 0;2 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
                LAST EDITED:      JAN 25, 2006 
                HELP-PROMPT:      Enter message ID of transmission to HT. 
                DESCRIPTION:
                                  Message ID of last transmission to Home Telehealth Vendor server.  

                CROSS-REFERENCE:  391.31^D 
                                  1)= S ^DGHT(391.31,"D",$E(X,1,30),DA(1),DA)=""
                                  2)= K ^DGHT(391.31,"D",$E(X,1,30),DA(1),DA)

                CROSS-REFERENCE:  391.31^HTHNOACK^MUMPS 
                                  1)= D SETXREF^DGHTXREF($E(X,1,30),1,0)
                                  2)= K ^DGHT(391.31,"HTHNOACK",$E(X,1,30),DA(1),DA)
                                  This xref is set when an activation/inactivation occur for home telehealth patients and an hl7
                                  message is succesfully generated. The xref will remain until an application acknowledgment is
                                  received for the sent hl7 message from the receiving vendor server. If no AA is received attempts
                                  will be made to retransmit the messages a predetermined number of times at predetermined time
                                  intervals.  



391.317,.03     USER CREATING TRANSACTION 0;3 POINTER TO NEW PERSON FILE (#200)

                LAST EDITED:      FEB 07, 2005 
                HELP-PROMPT:      The user entering this transaction for Home Telehealth service. 
                DESCRIPTION:
                                  The user creating this transaction. This information is obtained from the DUZ.  

                TECHNICAL DESCR:
                                  Pointer to NEW PERSON file #200.  


391.317,.04     MESSAGE TYPE           0;4 SET (Required)

                                  'A' FOR ACTIVATION/SIGN UP; 
                                  'I' FOR INACTIVATION; 
                LAST EDITED:      FEB 07, 2005 
                HELP-PROMPT:      Enter type of message being transmitted. 
                DESCRIPTION:      This is the type of message being transmitted for the Home Telehealth patient.  
                                      A   Patient Activation/Sign-up. This is a 'A04' (register) HL7 type message.  
                                      I   Patient Inactivation.  This is an 'A03' (discharge) HL7 type message.  


391.317,.05     TRANSMISSION EVENT     0;5 SET (Required)

                                  '0' FOR RETRANSMIT; 
                                  '1' FOR ADD; 
                LAST EDITED:      FEB 07, 2005 
                HELP-PROMPT:      Enter the action taken for the transmission. 
                DESCRIPTION:      Actions taken for the transmission are as follows:- 
                                    ADD         Encounter 1st added.  
                                    RETRANSMIT  Encounter retransmitted.  


391.317,.06     DATE/TIME OF ACK FROM HT 0;6 DATE

                INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
                LAST EDITED:      FEB 07, 2005 
                HELP-PROMPT:      Enter date/time acknowledgement was received from HT vendor. 
                DESCRIPTION:
                                  Date and time acknowledgement for transmission to Home Telehealth Vendor server was received. 


391.317,.07     ACK CODE FROM HT       0;7 SET

                                  'A' FOR ACCEPTED; 
                                  'R' FOR REJECTED; 
                LAST EDITED:      FEB 07, 2005 
                HELP-PROMPT:      Enter acknowledgement code received from HT. 
                DESCRIPTION:      Code denoting type of acknowledgement received for transmission to Home Telehealth Vendor Server. 
                                  This code is related to the application acknowledgement.  The codes are as follows:- 
                                      A = Accepted 
                                      R = Rejected 


391.317,.08     REJECT MESSAGE         0;8 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>50!($L(X)<3) X
                LAST EDITED:      FEB 14, 2005 
                HELP-PROMPT:      Enter 3-50 characters of the error message. 
                DESCRIPTION:      If there was an error in processing of the transmission message, this field will contain the 3-50
                                  characters of the error message.  





      FILES POINTED TO                      FIELDS

INSTITUTION (#4)                  VENDOR (#2)

NEW PERSON (#200)                 CARE COORDINATOR (#4)
                                  TRANSACTION:USER CREATING TRANSACTION (#.03)

PATIENT (#2)                      PATIENT (#1)

REQUEST/CONSULTATION (#123)       CONSULT NUMBER (#3)


File #391.31

  Record Indexes:

  APATVN (#792)    RECORD    MUMPS    IR    ACTION
      Short Descr:  Xrefer on patient & vendor.
      Description:  This is a new style crossreference created based on patient IEN and vendor IEN.  The patient IEN is a pointer
                    to file #2 and the vendor IEN is a pointer to file #4.  
        Set Logic:  S ^DGHT(391.31,"APATVN",X(1),X(2),DA)=""
       Kill Logic:  K ^DGHT(391.31,"APATVN",X(1),X(2),DA)
             X(1):  PATIENT  (391.31,1)  (Subscr 1)  (Len 99)  (forwards)
             X(2):  VENDOR  (391.31,2)  (Subscr 2)  (Len 99)  (forwards)


INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):