STANDARD DATA DICTIONARY #52.46 -- ERX EXTERNAL PATIENT FILE                                                      6/27/25    PAGE 1
STORED IN ^PS(52.46,  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                        (VERSION 7.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file holds the eRx external patient information as received from Change Healthcare.  


              DD ACCESS: @
              RD ACCESS: Pp
              WR ACCESS: @
             DEL ACCESS: @
           LAYGO ACCESS: @
           AUDIT ACCESS: @
IDENTIFIED BY: DATE OF BIRTH (#.08), SSN (#1.4)

POINTED TO BY: EXTERNAL PATIENT IDENTIFIER field (#.04) of the ERX HOLDING QUEUE File (#52.49) 
               

CROSS
REFERENCED BY: NAME(B), DATE OF BIRTH(DOB), SSN(SSN)

INDEXED BY:    NAME (BN)


    LAST MODIFIED: DEC 18,2020@15:20:58

52.46,.01     NAME                   0;1 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>107!($L(X)<3)!'(X'?1P.E) X
              LAST EDITED:      JUL 26, 2017 
              HELP-PROMPT:      Enter the name of the eRx External patient. Answer must be 3-107 characters in length. 
              DESCRIPTION:
                                This is the name of the eRx external pharmacy patient.  

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

              FIELD INDEX:      BN (#1490)    REGULAR    IR    LOOKUP & SORTING
                  Short Descr:  Full patient name index
                  Description:  This indexes the full patient name as received for an eRx prescription.  
                    Set Logic:  S ^PS(52.46,"BN",$E(X,1,135),DA)=""
                   Kill Logic:  K ^PS(52.46,"BN",$E(X,1,135),DA)
                   Whole Kill:  K ^PS(52.46,"BN")
                         X(1):  NAME  (52.46,.01)  (Subscr 1)  (Len 135)  (forwards)


52.46,.02     LAST NAME              0;2 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>35!($L(X)<3) X
              LAST EDITED:      DEC 14, 2016 
              HELP-PROMPT:      Enter the last name of the eRx external patient. Answer must be 3-35 characters in length. 
              DESCRIPTION:
                                This is the last name of the eRx external patient.  


52.46,.03     FIRST NAME             0;3 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>35!($L(X)<3) X
              LAST EDITED:      DEC 14, 2016 
              HELP-PROMPT:      Enter the first name of the eRx external patient. Answer must be 3-35 characters in length. 
              DESCRIPTION:
                                This is the first name of the external pharmacy patient.  


52.46,.04     MIDDLE NAME            0;4 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>35!($L(X)<3) X
              LAST EDITED:      DEC 14, 2016 
              HELP-PROMPT:      Enter the middle name of the eRx external patient. Answer must be 3-35 characters in length. 
              DESCRIPTION:
                                This is the middle name of the eRx external patient.  


52.46,.05     SUFFIX                 1;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>10!($L(X)<1) X
              LAST EDITED:      DEC 14, 2016 
              HELP-PROMPT:      Enter the suffix for the eRx external patient. Answer must be 1-10 characters in length. 
              DESCRIPTION:
                                This is the suffix associated with the eRx external patient.  


52.46,.06     PREFIX                 1;2 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>10!($L(X)<1) X
              LAST EDITED:      DEC 14, 2016 
              HELP-PROMPT:      Enter the prefix for the eRx external patient. Answer must be 1-10 characters in length. 
              DESCRIPTION:
                                This is the prefix for the eRx external patient.  


52.46,.07     GENDER                 1;3 SET

                                'M' FOR MALE; 
                                'F' FOR FEMALE; 
                                'O' FOR OTHER; 
                                'N' FOR NOT IDENTIFIED; 
                                'U' FOR UNKNOWN; 
              LAST EDITED:      JAN 22, 2018 
              HELP-PROMPT:      Enter the gender associated with the eRx external patient. 
              DESCRIPTION:
                                This is the patient gender.  


52.46,.08     DATE OF BIRTH          1;4 DATE

              INPUT TRANSFORM:  S %DT="E" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      MAY 16, 2017 
              HELP-PROMPT:      Enter the date of birth for the eRx external patient. 
              DESCRIPTION:
                                The eRx patient date of birth.  

              CROSS-REFERENCE:  52.46^DOB 
                                1)= S ^PS(52.46,"DOB",$E(X,1,30),DA)=""
                                2)= K ^PS(52.46,"DOB",$E(X,1,30),DA)
                                This indexes patients by DOB.  



52.46,.09     ERX EXTERNAL PHARMACY  1;5 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
              LAST EDITED:      DEC 14, 2016 
              HELP-PROMPT:      Enter the eRx external pharmacy associated with this patient. Answer must be 1-35 characters in 
                                length. 
              DESCRIPTION:
                                This is the eRx external pharmacy that is associated with this patient.  


52.46,1.1     FILE ID                2;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
              LAST EDITED:      DEC 14, 2016 
              HELP-PROMPT:      Enter the file id for this patient. Answer must be 1-35 characters in length. 
              DESCRIPTION:
                                This is the file id for the external patient.  


52.46,1.2     MEDICAL RECORD ID #    2;2 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
              LAST EDITED:      DEC 14, 2016 
              HELP-PROMPT:      Enter the medical record identification number. Answer must be 1-35 characters in length. 
              DESCRIPTION:
                                This is the medical identification number for this eRx patient.  


52.46,1.3     ACCOUNT NUMBER         2;3 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
              LAST EDITED:      DEC 14, 2016 
              HELP-PROMPT:      Enter the account number associated with this eRx patient. Answer must be 1-35 characters in 
                                length. 
              DESCRIPTION:
                                This is the patient account number.  


52.46,1.4     SSN                    2;4 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
              LAST EDITED:      MAY 16, 2017 
              HELP-PROMPT:      Enter the SSN for the eRx external patient. Answer must be 1-35 characters in length. 
              DESCRIPTION:
                                The SSN sent in for the eRx external patient.  

              CROSS-REFERENCE:  52.46^SSN 
                                1)= S ^PS(52.46,"SSN",$E(X,1,30),DA)=""
                                2)= K ^PS(52.46,"SSN",$E(X,1,30),DA)
                                This indexes the patient by his/her social security number.  



52.46,1.5     LINKED VISTA PATIENT   2;5 POINTER TO PATIENT FILE (#2)

              LAST EDITED:      DEC 15, 2016 
              HELP-PROMPT:      Enter the Vista patient that matches this eRx external patient. 
              DESCRIPTION:
                                This is the vista patient that matches the incoming eRx external patient.  


52.46,1.6     COUNTRY CODE           2;6 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>3!($L(X)<1) X
              MAXIMUM LENGTH:   3
              LAST EDITED:      SEP 30, 2019 
              HELP-PROMPT:      Enter the country code associated with this eRx patient. Answer must be 1-3 characters in length. 
              DESCRIPTION:
                                This is the country code as passed in by the external source.  


52.46,1.7     PATIENT RELATIONSHIP   1;7 SET

                                '1' FOR MEMBER; 
                                '2' FOR SPOUSE; 
                                '3' FOR CHILD/DEPENDENT; 
                                '4' FOR OTHER; 
              LAST EDITED:      APR 17, 2017 
              HELP-PROMPT:      Enter the patient relationship to the cardholder. 
              DESCRIPTION:
                                This is the relationship of the patient to the cardholder.  


52.46,2       COMMUNICATION          3;0 Multiple #52.462 (Add New Entry without Asking)

              DESCRIPTION:
                                This multiple holds the communication values for an eRx external person.  


52.462,.01      VALUE                  0;1 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
                LAST EDITED:      DEC 15, 2016 
                HELP-PROMPT:      Enter the communication value for this patient. Answer must be 1-35 characters in length. 
                DESCRIPTION:
                                  This is the value such as phone number or cellular number for the eRx patient.  

                CROSS-REFERENCE:  52.462^B 
                                  1)= S ^PS(52.46,DA(1),3,"B",$E(X,1,30),DA)=""
                                  2)= K ^PS(52.46,DA(1),3,"B",$E(X,1,30),DA)


52.462,.02      TYPE                   0;2 SET

                                  'BN' FOR BEEPER; 
                                  'CP' FOR CELLULAR; 
                                  'EM' FOR ELECTRONIC MAIL; 
                                  'FX' FOR FAX; 
                                  'HP' FOR HOME PHONE; 
                                  'NP' FOR NIGHT PHONE; 
                                  'TE' FOR TELEPHONE; 
                                  'WP' FOR WORK PHONE; 
                LAST EDITED:      APR 03, 2017 
                HELP-PROMPT:      Select the communication type for this communication value. 
                DESCRIPTION:
                                  This is the type associated with the communication value.  

                CROSS-REFERENCE:  52.462^C 
                                  1)= S ^PS(52.46,DA(1),3,"C",$E(X,1,30),DA)=""
                                  2)= K ^PS(52.46,DA(1),3,"C",$E(X,1,30),DA)
                                  This index provides an index on the communication type.  





52.46,3.1     ADDRESS LINE 1         4;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>40!($L(X)<3) X
              MAXIMUM LENGTH:   40
              LAST EDITED:      SEP 23, 2019 
              HELP-PROMPT:      Answer must be 3-40 characters in length. 
              DESCRIPTION:
                                Address line 1 for the eRx patient.  


52.46,3.2     ADDRESS LINE 2         4;2 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>40!($L(X)<3) X
              MAXIMUM LENGTH:   40
              LAST EDITED:      SEP 23, 2019 
              HELP-PROMPT:      Answer must be 3-40 characters in length. 
              DESCRIPTION:
                                Address line 2 for the eRx patient.  


52.46,3.3     CITY                   4;3 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>35!($L(X)<3) X
              LAST EDITED:      DEC 15, 2016 
              HELP-PROMPT:      Enter the city associated with the eRx patient. Answer must be 3-35 characters in length. 
              DESCRIPTION:
                                This is the city identified for the eRx patient.  


52.46,3.4     STATE/PROVINCE         4;4 POINTER TO STATE FILE (#5)

              LAST EDITED:      SEP 27, 2019 
              HELP-PROMPT:      Enter the state/province where the patient resides. 
              DESCRIPTION:
                                This is the state/province associated with the eRx external patient.  


52.46,3.5     POSTAL CODE            4;5 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>9!($L(X)<5) X
              MAXIMUM LENGTH:   9
              LAST EDITED:      SEP 27, 2019 
              HELP-PROMPT:      Enter the postal code associated with the incoming eRx patient. Answer must be 5-9 characters in 
                                length. 
              DESCRIPTION:
                                This is the postal code for the eRx external patient.  


52.46,5       IDENTIFICATION         5;0 Multiple #52.465 (Add New Entry without Asking)

              DESCRIPTION:
                                This multiple contains the identification values for an eRx external person.  


52.465,.01      ID NAME/TYPE           0;1 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>50!($L(X)<3) X
                LAST EDITED:      MAR 06, 2017 
                HELP-PROMPT:      Enter the identification name/type. Answer must be 3-50 characters in length. 
                DESCRIPTION:
                                  This is the identification name/type for the incoming eRx patient.  

                CROSS-REFERENCE:  52.465^B 
                                  1)= S ^PS(52.46,DA(1),5,"B",$E(X,1,30),DA)=""
                                  2)= K ^PS(52.46,DA(1),5,"B",$E(X,1,30),DA)


52.465,.02      ID VALUE               0;2 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
                LAST EDITED:      MAR 06, 2017 
                HELP-PROMPT:      Enter the identification value. Answer must be 1-35 characters in length. 
                DESCRIPTION:
                                  This is the value associated with the identification name/type.  




52.46,6       LAST LOCKED BY         6;1 POINTER TO NEW PERSON FILE (#200)

              LAST EDITED:      MAY 24, 2018 
              HELP-PROMPT:      Enter the name of the user who last locked this eRx patient. 
              DESCRIPTION:      This field keeps track of the last user who succesfully locked the eRx patient. This field is used
                                primarily in the patient centric view.  


52.46,7.1     FORMER LAST NAME       7;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
              MAXIMUM LENGTH:   35
              LAST EDITED:      NOV 07, 2019 
              HELP-PROMPT:      Enter the patient's former last name. Answer must be 1-35 characters in length. 
              DESCRIPTION:
                                This is the former last name of the patient associated with the incoming eRx.  


52.46,7.2     FORMER FIRST NAME      7;2 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
              MAXIMUM LENGTH:   35
              LAST EDITED:      NOV 07, 2019 
              HELP-PROMPT:      Enter the patient's former first name. Answer must be 1-35 characters in length. 
              DESCRIPTION:
                                This is the former first name of the patient associated with the incoming eRx.  


52.46,7.3     FORMER MIDDLE NAME     7;3 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
              MAXIMUM LENGTH:   35
              LAST EDITED:      NOV 07, 2019 
              HELP-PROMPT:      Enter the patient's former middle name. Answer must be 1-35 characters in length. 
              DESCRIPTION:
                                This is the former middle name of the patient associated with the incoming eRx.  


52.46,7.4     FORMER SUFFIX          7;4 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>10!($L(X)<1) X
              MAXIMUM LENGTH:   10
              LAST EDITED:      NOV 07, 2019 
              HELP-PROMPT:      Enter the patient's former suffix. Answer must be 1-10 characters in length. 
              DESCRIPTION:
                                This is the former suffix of the patient associated with the incoming eRx.  


52.46,7.5     FORMER PREFIX          7;5 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>10!($L(X)<1) X
              MAXIMUM LENGTH:   10
              LAST EDITED:      NOV 07, 2019 
              HELP-PROMPT:      Enter the patient's former prefix. Answer must be 1-10 characters in length. 
              DESCRIPTION:
                                This is the former prefix of the patient associated with the incoming eRx.  


52.46,8.1     PATIENT LOCATION FACILITY/UNIT 8;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
              MAXIMUM LENGTH:   35
              LAST EDITED:      SEP 27, 2019 
              HELP-PROMPT:      Enter the patient location facility/unit. Answer must be 1-35 characters in length. 
              DESCRIPTION:
                                This is the patient location facility/unit associated with the incoming eRx.  


52.46,8.2     PATIENT LOCATION/ROOM  8;2 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>10!($L(X)<1) X
              MAXIMUM LENGTH:   10
              LAST EDITED:      SEP 27, 2019 
              HELP-PROMPT:      Enter the patient location/room. Answer must be 1-10 characters in length.  
              DESCRIPTION:
                                This is the patient location/room associated with the incoming eRx.  


52.46,8.3     PATIENT LOCATION/BED   8;3 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>10!($L(X)<1) X
              MAXIMUM LENGTH:   10
              LAST EDITED:      SEP 27, 2019 
              HELP-PROMPT:      Enter the patient location/bed. Answer must be 1-10 characters in length. 
              DESCRIPTION:
                                This is the patient location/bed associated with the incoming eRx.  


52.46,8.4     LANGUAGE NAME CODE     8;4 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>3!($L(X)<1) X
              MAXIMUM LENGTH:   3
              LAST EDITED:      NOV 07, 2019 
              HELP-PROMPT:      Enter the language name code. Answer must be 1-3 characters in length. 
              DESCRIPTION:
                                This is the language name code associated with the incoming eRx.  


52.46,8.5     GESTATIONAL AGE        8;5 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>99)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      NOV 07, 2019 
              HELP-PROMPT:      Type a number between 1 and 99, 0 decimal digits. 
              DESCRIPTION:
                                This is the gestational age associated with the incoming eRx.  


52.46,8.6     HOSPICE INDICATOR      8;6 SET

                                '1' FOR YES; 
                                '2' FOR NO; 
              LAST EDITED:      JUL 09, 2020 
              HELP-PROMPT:      Enter if the hospice indicator is associated with the incoming eRx. 
              DESCRIPTION:
                                This is the hospice indicator associated with the incoming eRx.  


52.46,9.1     ALTERNATE CONTACT LAST NAME 9;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
              MAXIMUM LENGTH:   35
              LAST EDITED:      SEP 27, 2019 
              HELP-PROMPT:      Enter the alternate contact last name. Answer must be 1-35 characters in length. 
              DESCRIPTION:
                                This is the alternate contact last name associated with the incoming eRx.  


52.46,9.2     ALTERNATE CONTACT FIRST NAME 9;2 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
              MAXIMUM LENGTH:   35
              LAST EDITED:      SEP 27, 2019 
              HELP-PROMPT:      Enter the alternate contact first name. Answer must be 1-35 characters in length. 
              DESCRIPTION:
                                This is the alternate contact first name associated with the incoming eRx.  


52.46,9.3     ALTERNATE CONTACT MIDDLE NAME 9;3 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
              MAXIMUM LENGTH:   35
              LAST EDITED:      SEP 27, 2019 
              HELP-PROMPT:      Enter the alternate contact middle name. Answer must be 1-35 characters in length. 
              DESCRIPTION:
                                This is the alternate contact middle name associated with the incoming eRx.  


52.46,9.4     ALTERNATE CONTACT SUFFIX 9;4 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>10!($L(X)<1) X
              MAXIMUM LENGTH:   10
              LAST EDITED:      SEP 27, 2019 
              HELP-PROMPT:      Enter the alternate contact suffix. Answer must be 1-10 characters in length. 
              DESCRIPTION:
                                This is the alternate contact suffix associated with the incoming eRx.  


52.46,9.5     ALTERNATE CONTACT PREFIX 9;5 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>10!($L(X)<1) X
              MAXIMUM LENGTH:   10
              LAST EDITED:      NOV 12, 2019 
              HELP-PROMPT:      Enter the alternate contact prefix. Answer must be 1-10 characters in length. 
              DESCRIPTION:
                                This is the alternate contact prefix associated with the incoming eRx.  


52.46,9.6     ALT CONTACT RELATIONSHIP 9;6 POINTER TO ERX SERVICE REASON CODES FILE (#52.45)

              LAST EDITED:      NOV 12, 2019 
              HELP-PROMPT:      Enter the alternate contact relationship. 
              DESCRIPTION:
                                This is the alternate contact relationship associated with the eRx patient.  


52.46,10.1    ALT CONTACT FORMER LAST NAME 10;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
              MAXIMUM LENGTH:   35
              LAST EDITED:      SEP 27, 2019 
              HELP-PROMPT:      Enter the alternate contact former last name. Answer must be 1-35 characters in length. 
              DESCRIPTION:
                                This is the alternate contact former last name associated with the incoming eRx.  


52.46,10.2    ALT CONTACT FORMER FIRST NAME 10;2 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
              MAXIMUM LENGTH:   35
              LAST EDITED:      SEP 27, 2019 
              HELP-PROMPT:      Enter the alternate contact former first name. Answer must be 1-35 characters in length. 
              DESCRIPTION:
                                This is the alternate contact former first name associated with the incoming eRx.  


52.46,10.3    ALT CONTACT FORMER MIDDLE NAME 10;3 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
              MAXIMUM LENGTH:   35
              LAST EDITED:      SEP 27, 2019 
              HELP-PROMPT:      Enter the alternate contact former middle name. Answer must be 1-35 characters in length. 
              DESCRIPTION:
                                This is the alternate contact former middle name associated with the incoming eRx.  


52.46,10.4    ALT CONTACT FORMER SUFFIX 10;4 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>10!($L(X)<1) X
              MAXIMUM LENGTH:   10
              LAST EDITED:      SEP 27, 2019 
              HELP-PROMPT:      Enter the alternate contact former suffix. Answer must be 1-10 characters in length. 
              DESCRIPTION:
                                This is the alternate contact former suffix associated with the incoming eRx.  


52.46,10.5    ALT CONTACT FORMER PREFIX 10;5 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>10!($L(X)<1) X
              MAXIMUM LENGTH:   10
              LAST EDITED:      SEP 27, 2019 
              HELP-PROMPT:      Enter the alternate contact former prefix. Answer must be 1-10 characters in length. 
              DESCRIPTION:
                                This is the alternate contact former prefix associated with the incoming eRx.  


52.46,11.1    ALT CONTACT ADDRESS LINE 1 11;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>40!($L(X)<3) X
              MAXIMUM LENGTH:   40
              LAST EDITED:      NOV 07, 2019 
              HELP-PROMPT:      Enter the alternate contact address line 1. Answer must be 3-40 characters in length. 
              DESCRIPTION:
                                This is the alternate contact address line 1 associated with the incoming eRx.  


52.46,11.2    ALT CONTACT ADDRESS LINE 2 11;2 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>40!($L(X)<3) X
              MAXIMUM LENGTH:   40
              LAST EDITED:      SEP 30, 2019 
              HELP-PROMPT:      Enter the alternate contact address line 2. Answer must be 3-40 characters in length. 
              DESCRIPTION:
                                This is the alternate contact address line 2 associated with the incoming eRx.  


52.46,11.3    ALT CONTACT CITY       11;3 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>35!($L(X)<3) X
              MAXIMUM LENGTH:   35
              LAST EDITED:      SEP 30, 2019 
              HELP-PROMPT:      Enter the alternate contact city. Answer must be 3-35 characters in length. 
              DESCRIPTION:
                                This is the alternate contact city identified with the eRx patient.  


52.46,11.4    ALT CONTACT STATE      11;4 POINTER TO STATE FILE (#5)

              LAST EDITED:      SEP 30, 2019 
              HELP-PROMPT:      Enter the state/province where the alternate contact resides. 
              DESCRIPTION:
                                This is the state/province associated with the alternate contact.  


52.46,11.5    ALT CONTACT POSTAL CODE 11;5 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>9!($L(X)<5) X
              MAXIMUM LENGTH:   9
              LAST EDITED:      SEP 30, 2019 
              HELP-PROMPT:      Enter the postal code of the alternate contact associated with the incoming eRx. Answer must be 5-9 
                                characters in length. 
              DESCRIPTION:
                                This is the alternate contact postal code associated with the incoming eRx.  


52.46,11.6    ALT CONTACT COUNTRY CODE 11;6 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>3!($L(X)<1) X
              MAXIMUM LENGTH:   3
              LAST EDITED:      SEP 30, 2019 
              HELP-PROMPT:      Enter the country code of the alternate contact associated with this eRx patient. Answer must be 
                                1-3 characters in length. 
              DESCRIPTION:
                                This is the country code of the alternate contact as passed in by the external source.  


52.46,13      2017 COMMUNICATION     13;0 Multiple #52.4613

              LAST EDITED:      NOV 04, 2019 
              DESCRIPTION:
                                This subfile contains the communication information associated with the eRx patient.  


52.4613,.01     SEQUENCE               0;1 NUMBER (Multiply asked)

                INPUT TRANSFORM:  K:+X'=X!(X>999)!(X<1)!(X?.E1"."1N.N) X
                LAST EDITED:      NOV 12, 2019 
                HELP-PROMPT:      Enter the sequence number. Type a number between 1 and 999, 0 decimal digits. 
                DESCRIPTION:
                                  This is the sequence number associated with the incoming beeper communication values.  

                CROSS-REFERENCE:  52.4613^B 
                                  1)= S ^PS(52.46,DA(1),13,"B",$E(X,1,30),DA)=""
                                  2)= K ^PS(52.46,DA(1),13,"B",$E(X,1,30),DA)


52.4613,.02     TYPE                   0;2 SET

                                  'PT' FOR PrimaryTelephone; 
                                  'B' FOR Beeper; 
                                  'EM' FOR ElectronicMail; 
                                  'F' FOR Fax; 
                                  'HT' FOR HomeTelephone; 
                                  'WT' FOR WorkTelephone; 
                                  'OT' FOR OtherTelephone; 
                LAST EDITED:      NOV 04, 2019 
                HELP-PROMPT:      Enter the type of communication. 
                DESCRIPTION:
                                  This field determines the type of communication associated with the eRx patient.  


52.4613,.03     NUMBER                 0;3 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>9999999999)!(X<1)!(X?.E1"."1N.N) X
                LAST EDITED:      NOV 04, 2019 
                HELP-PROMPT:      Enter the number. Type a number between 1 and 9999999999, 0 decimal digits. 
                DESCRIPTION:
                                  This is the number associated with the eRx patient communication.  


52.4613,.04     EXTENSION              0;4 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>99999999)!(X<1)!(X?.E1"."1N.N) X
                LAST EDITED:      NOV 04, 2019 
                HELP-PROMPT:      Enter the extension. Type a number between 1 and 99999999, 0 decimal digits. 
                DESCRIPTION:
                                  This is the extension associated with the eRx patient communication.  


52.4613,.05     SUPPORTS SMS           0;5 SET

                                  'Y' FOR YES; 
                                  'N' FOR NO; 
                LAST EDITED:      NOV 04, 2019 
                HELP-PROMPT:      Enter if the communication supports SMS messages. 
                DESCRIPTION:
                                  This field determines if the communication supports SMS messages.  


52.4613,1       EMAIL ADDRESS          1;1 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>80!($L(X)<1) X
                MAXIMUM LENGTH:   80
                LAST EDITED:      NOV 04, 2019 
                HELP-PROMPT:      Enter the email address. Answer must be 1-80 characters in length. 
                DESCRIPTION:
                                  This is the email address associated with the eRx patient communication.  




52.46,14      2017 DIRECT ADDRESS    14;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>254!($L(X)<1) X
              MAXIMUM LENGTH:   254
              LAST EDITED:      NOV 04, 2019 
              HELP-PROMPT:      Enter the direct address. Answer must be 1-254 characters in length. 
              DESCRIPTION:
                                This is the direct address associated with the eRx patient communication.  


52.46,15      2017 ALT COMMUNICATION 15;0 Multiple #52.4615

              DESCRIPTION:      This subfile contains the alternate contact communication information associated with the eRx
                                patient. This subfile was created to support the 2017 script standard.  


52.4615,.01     SEQUENCE               0;1 NUMBER (Multiply asked)

                INPUT TRANSFORM:  K:+X'=X!(X>999)!(X<1)!(X?.E1"."1N.N) X
                LAST EDITED:      NOV 04, 2019 
                HELP-PROMPT:      Enter the sequence number. Type a number between 1 and 999, 0 decimal digits. 
                DESCRIPTION:
                                  This is the sequence number associated with the alternate contact communication information. 

                CROSS-REFERENCE:  52.4615^B 
                                  1)= S ^PS(52.46,DA(1),15,"B",$E(X,1,30),DA)=""
                                  2)= K ^PS(52.46,DA(1),15,"B",$E(X,1,30),DA)


52.4615,.02     TYPE                   0;2 SET

                                  'PT' FOR PrimaryTelephone; 
                                  'B' FOR Beeper; 
                                  'EM' FOR ElectronicMail; 
                                  'F' FOR Fax; 
                                  'HT' FOR HomeTelephone; 
                                  'WT' FOR WorkTelephone; 
                                  'OT' FOR OtherTelephone; 
                LAST EDITED:      NOV 04, 2019 
                HELP-PROMPT:      Enter the type of communication. 
                DESCRIPTION:      This field determines the type of communication associated with the alternate contact of the eRx
                                  patient.  


52.4615,.03     NUMBER                 0;3 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>9999999999)!(X<1)!(X?.E1"."1N.N) X
                LAST EDITED:      NOV 04, 2019 
                HELP-PROMPT:      Enter the number. Type a number between 1 and 9999999999, 0 decimal digits. 
                DESCRIPTION:
                                  This is the number associated with the alternate contact communication.  


52.4615,.04     EXTENSION              0;4 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>99999999)!(X<1)!(X?.E1"."1N.N) X
                LAST EDITED:      NOV 04, 2019 
                HELP-PROMPT:      Enter the extension. Type a number between 1 and 99999999, 0 decimal digits. 
                DESCRIPTION:
                                  This is the extension associated with the alternate contact communication.  


52.4615,.05     SUPPORTS SMS           0;5 SET

                                  'Y' FOR YES; 
                                  'N' FOR NO; 
                LAST EDITED:      NOV 04, 2019 
                HELP-PROMPT:      Enter if the communication supports SMS messages. 
                DESCRIPTION:
                                  This field determines if the communication supports SMS messages.  


52.4615,1       EMAIL ADDRESS          1;1 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>80!($L(X)<1) X
                MAXIMUM LENGTH:   80
                LAST EDITED:      NOV 04, 2019 
                HELP-PROMPT:      Enter the email address. Answer must be 1-80 characters in length. 
                DESCRIPTION:
                                  This is the email address associated with the alternate contact communication.  




52.46,16      2017 ALT DIRECT ADDRESS 16;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>254!($L(X)<1) X
              MAXIMUM LENGTH:   254
              LAST EDITED:      NOV 04, 2019 
              HELP-PROMPT:      Enter the alternate contact direct address. Answer must be 1-254 characters in length. 
              DESCRIPTION:
                                This is the alternate contact direct address associated with the alternate contact communication.  


52.46,17.1    2017 MEDICARE NUMBER   17;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
              MAXIMUM LENGTH:   35
              LAST EDITED:      NOV 05, 2019 
              HELP-PROMPT:      Enter the medicare number. Answer must be 1-35 characters in length. 
              DESCRIPTION:      This is the medicare number associated with the eRx patient. This field was created to support the
                                2017 script standard.  


52.46,17.2    2017 MEDICAID NUMBER   17;2 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
              MAXIMUM LENGTH:   35
              LAST EDITED:      NOV 05, 2019 
              HELP-PROMPT:      Enter the medicaid number. Answer must be 1-35 characters in length. 
              DESCRIPTION:      This is the medicaid number associated with the eRx patient. This field was created to support the
                                2017 script standard.  


52.46,17.3    2017 MEDICAL RECORD ID # 17;3 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
              MAXIMUM LENGTH:   35
              LAST EDITED:      NOV 05, 2019 
              HELP-PROMPT:      Enter the medical record identification number. Answer must be 1-35 characters in length. 
              DESCRIPTION:      This is the medical record identification number associated with the eRx patient. This field was
                                created to support the 2017 script standard.  


52.46,18.1    2017 ACCOUNT NUMBER    18;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
              MAXIMUM LENGTH:   35
              LAST EDITED:      NOV 05, 2019 
              HELP-PROMPT:      Enter the patient account number. Answer must be 1-35 characters in length. 
              DESCRIPTION:      This is the patient account number associated with the eRx patient. This field was created to
                                support the 2017 script standard.  


52.46,18.2    2017 SSN               18;2 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
              MAXIMUM LENGTH:   35
              LAST EDITED:      NOV 07, 2019 
              HELP-PROMPT:      Enter the Social Security number. Answer must be 1-35 characters in length. 
              DESCRIPTION:      This is the Social Security number associated with the eRx patient. This field was created to
                                support the 2017 script standard.  


52.46,18.3    2017 MUTUALLY DEFINED  18;3 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
              MAXIMUM LENGTH:   35
              LAST EDITED:      NOV 05, 2019 
              HELP-PROMPT:      Enter the mutually defined identification. Answer must be 1-35 characters in length. 
              DESCRIPTION:      This is the mutually defined identification associated with the eRx patient. This field was created
                                to support the 2017 script standard.  


52.46,18.4    2017 REMS PATIENT ID   18;4 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
              MAXIMUM LENGTH:   35
              LAST EDITED:      NOV 05, 2019 
              HELP-PROMPT:      Enter the REMS patient identification. Answer must be 1-35 characters in length. 
              DESCRIPTION:      This is the REMS patient identification associated with the eRx patient. This field was created to
                                support the 2017 script standard.  


52.46,19      2017 SUBSTANCES        19;0 Multiple #52.4619

              DESCRIPTION:      This subfile contains the substance use information associated with the eRx patient. This subfile
                                was created to support the 2017 script standard.  


52.4619,.01     SEQUENCE               0;1 NUMBER (Multiply asked)

                INPUT TRANSFORM:  K:+X'=X!(X>999)!(X<1)!(X?.E1"."1N.N) X
                LAST EDITED:      NOV 05, 2019 
                HELP-PROMPT:      Enter the sequence number. Type a number between 1 and 999, 0 decimal digits. 
                DESCRIPTION:
                                  This is the sequence number associated with the substance use subfile.  

                CROSS-REFERENCE:  52.4619^B 
                                  1)= S ^PS(52.46,DA(1),19,"B",$E(X,1,30),DA)=""
                                  2)= K ^PS(52.46,DA(1),19,"B",$E(X,1,30),DA)


52.4619,1       TYPE TEXT              1;1 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>255!($L(X)<1) X
                MAXIMUM LENGTH:   255
                LAST EDITED:      NOV 05, 2019 
                HELP-PROMPT:      Enter the type text. Answer must be 1-255 characters in length. 
                DESCRIPTION:
                                  This is the type text associated with the substance use subfile.  


52.4619,2       TYPE QUALIFIER         2;1 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>30!($L(X)<1) X
                MAXIMUM LENGTH:   30
                LAST EDITED:      NOV 05, 2019 
                HELP-PROMPT:      Enter the type qualifier. Answer must be 1-30 characters in length. 
                DESCRIPTION:
                                  This is the type qualifier associated with the substance use subfile.  


52.4619,3       TYPE CODE              3;1 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>255!($L(X)<1) X
                MAXIMUM LENGTH:   255
                LAST EDITED:      NOV 05, 2019 
                HELP-PROMPT:      Enter the type code. Answer must be 1-255 characters in length. 
                DESCRIPTION:
                                  This is the type code associated with the substance use subfile.  


52.4619,4       LEVEL TEXT             4;1 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>255!($L(X)<1) X
                MAXIMUM LENGTH:   255
                LAST EDITED:      NOV 12, 2019 
                HELP-PROMPT:      Enter the level text. Answer must be 1-255 characters in length. 
                DESCRIPTION:
                                  This is the level text associated with the substance use identification.  


52.4619,5       LEVEL QUALIFIER        5;1 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>30!($L(X)<1) X
                MAXIMUM LENGTH:   30
                LAST EDITED:      NOV 05, 2019 
                HELP-PROMPT:      Enter the level qualifier. Answer must be 1-30 characters in length. 
                DESCRIPTION:
                                  This is the level qualifier associated with the substance use identification.  


52.4619,6       LEVEL CODE             6;1 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>255!($L(X)<1) X
                MAXIMUM LENGTH:   255
                LAST EDITED:      NOV 05, 2019 
                HELP-PROMPT:      Enter the level code. Answer must be 1-255 characters in length. 
                DESCRIPTION:
                                  This is the level code associated with the substance use identification.  


52.4619,7       ROUTE OF ADMIN TEXT    7;1 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>255!($L(X)<1) X
                MAXIMUM LENGTH:   255
                LAST EDITED:      JUL 08, 2020 
                HELP-PROMPT:      Enter the route of administration text. Answer must be 1-255 characters in length. 
                DESCRIPTION:
                                  This is the route of administration text associated with the substance use identification.  


52.4619,8       ROUTE OF ADMIN QUALIFIER 8;1 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>30!($L(X)<1) X
                MAXIMUM LENGTH:   30
                LAST EDITED:      NOV 05, 2019 
                HELP-PROMPT:      Enter the route of administration qualifier. Answer must be 1-30 characters in length. 
                DESCRIPTION:
                                  This is the route of administration qualifier associated with the substance use identification.  


52.4619,9       ROUTE OF ADMIN CODE    9;1 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>255!($L(X)<1) X
                MAXIMUM LENGTH:   255
                LAST EDITED:      NOV 05, 2019 
                HELP-PROMPT:      Enter the route of administration code. Answer must be 1-255 characters in length. 
                DESCRIPTION:
                                  This is the route of administration code associated with the substance use identification.  





      FILES POINTED TO                      FIELDS

ERX SERVICE REASON CODES 
                   (#52.45)       ALT CONTACT RELATIONSHIP (#9.6)

NEW PERSON (#200)                 LAST LOCKED BY (#6)

PATIENT (#2)                      LINKED VISTA PATIENT (#1.5)

STATE (#5)                        STATE/PROVINCE (#3.4)
                                  ALT CONTACT STATE (#11.4)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):