Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Pointed To By FileMan Files |  Pointer To FileMan Files |  Fields |  External References |  Global Variables Directly Accessed |  Local Variables  | All
Print Page as PDF
Global: ^PS(52.49

Package: Outpatient Pharmacy

Global: ^PS(52.49


Information

FileMan FileNo FileMan Filename Package
52.49 ERX HOLDING QUEUE Outpatient Pharmacy

Description

Directly Accessed By Routines, Total: 44

Package Total Routines
Outpatient Pharmacy 40 COMMUNICATION    DIAGNOSIS    DRUG COVERAGE STATUS    DRUG USE EVALUATION    FACILITY IDENTIFICATION    IDENTIFICATION    MEDICATION DISPENSED/REQUESTED    MESSAGE HISTORY
OBSERVATION    ORDER CHECKS    PAYER INFORMATION    PROCESSING ERRORS    PSO467PO    PSO508PO    PSO520PO    PSO527PO
PSOERX    PSOERX1    PSOERX1A    PSOERX1B    PSOERXA1    PSOERXA2    PSOERXC1    PSOERXD1
PSOERXD2    PSOERXO1    PSOERXU1    PSOERXU2    PSOERXU3    PSOERXU5    PSOERXX1    PSOERXX4
^PS(52.49    PSOERXU6    PSOERXX3    QUANTITY/TIMING    REQUEST/RESPONSE ERR DCODES    RESPONSE CODES    STATUS HISTORY    VA DISPENSING INSTRUCTIONS

Accessed By FileMan Db Calls, Total: 28

Package Total Routines
Outpatient Pharmacy 28 PSO467PO    PSO508PO    PSO520PO    PSO527PO    PSOCAN1    PSOERX    PSOERX1    PSOERX1A
PSOERX1B    PSOERX1C    PSOERXA1    PSOERXA5    PSOERXC1    PSOERXD1    PSOERXD2    PSOERXH1
PSOERXP1    PSOERXR1    PSOERXU1    PSOERXU2    PSOERXU3    PSOERXU4    PSOERXU5    PSOERXU6
PSOERXX1    PSOERXX2    PSOERXX3    PSOERXX4    

Pointed To By FileMan Files, Total: 1

Package Total FileMan Files
Outpatient Pharmacy 1 ERX HOLDING QUEUE(#52.49)[#52.49201(.01)]    

Pointer To FileMan Files, Total: 17

Package Total FileMan Files
Outpatient Pharmacy 6 ERX SERVICE REASON CODES(#52.45)[14.1110.3#52.4916(.01)#52.4916(.02)#52.4916(.03)#52.4916(.05)#52.4919(.02)#52.4928(.02)#52.4955(.01)#52.4961(.01)]
ERX EXTERNAL PATIENT(#52.46)[.04]    ERX EXTERNAL PHARMACY(#52.47)[2.517.117.4]
ERX EXTERNAL PERSON(#52.48)[2.12.22.617.2]    ERX HOLDING QUEUE(#52.49)[#52.49201(.01)]    PRESCRIPTION(#52)[.13]    
Kernel 3 INSTITUTION(#4)[.0617.324.1]
STATE(#5)[70.5]    NEW PERSON(#200)[1.111.131.82.350.151.1#52.49101(.05)#52.4919(.03)]    
National Drug File 2 DRUG UNITS(#50.607)[#52.4921(11)]    MEDICATION ROUTES(#51.2)[#52.4921(10)]    
Pharmacy Data Management 2 PHARMACY SYSTEM(#59.7)[.07]    DRUG(#50)[3.2#52.4949(.03)]    
Registration 2 MEDICAL CENTER DIVISION(#40.8)[24.2]    PATIENT(#2)[.05]    
Order Entry Results Reporting 1 ORDER(#100)[.12]    
Scheduling 1 HOSPITAL LOCATION(#44)[20.6]    

Fields, Total: 142

Field # Name Loc Type Details
.01 ERX HUB ID 0;1 NUMBER
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  K:+X'=X!(X>99999999999999)!(X<1)!(X?.E1"."1N.N) X
  • LAST EDITED:  JUL 11, 2017
  • HELP-PROMPT:  Enter the eRx processing hub identification number. Type a number between 1 and 99999999999999, 0 decimal digits.
  • DESCRIPTION:  
    This is the unique message identifier from the eRx processing hub.
  • CROSS-REFERENCE:  52.49^B
    1)= S ^PS(52.49,"B",$E(X,1,30),DA)=""
    2)= K ^PS(52.49,"B",$E(X,1,30),DA)
  • FIELD INDEX:  FMID (#1495) REGULAR IR LOOKUP & SORTING
    Short Descr: This indexes the full message ID.
    Description: This index provides access to the full message ID as received from the eRx processing hub.
    Set Logic: S ^PS(52.49,"FMID",$E(X,1,50),DA)=""
    Kill Logic: K ^PS(52.49,"FMID",$E(X,1,50),DA)
    Whole Kill: K ^PS(52.49,"FMID")
    X(1): ERX HUB ID (52.49,.01) (Subscr 1) (Len 50) (forwards)
.02 RELATED OR PARENT MESSAGE ID 0;2 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>35!($L(X)<3) X
  • LAST EDITED:  JAN 16, 2018
  • HELP-PROMPT:  Answer must be 3-35 characters in length.
  • DESCRIPTION:  
    This is the message ID of any related or parent messages that may be associated with this eRx Holding Queue message.
  • FIELD INDEX:  RTMID (#1530) REGULAR IR LOOKUP & SORTING
    Short Descr: Index for relates to message ID.
    Description: This indexes the relates to message ID for quick retrieval of message linkage.
    Set Logic: S ^PS(52.49,"RTMID",$E(X,1,35),DA)=""
    Kill Logic: K ^PS(52.49,"RTMID",$E(X,1,35),DA)
    Whole Kill: K ^PS(52.49,"RTMID")
    X(1): RELATED OR PARENT MESSAGE ID (52.49,.02) (Subscr 1) (Len 35) (forwards)
.03 MESSAGE DATE/TIME 0;3 DATE
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  S %DT="ESTR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  JUL 26, 2017
  • HELP-PROMPT:  Enter the Date/Time of the incoming ERX message.
  • DESCRIPTION:  
    This is the date/time that the incoming eRx message was added to the eRx Holding Queue file.
  • RECORD INDEXES:  E (#1493), EPAT (#16), EPROV (#17), F (#1494), MTYPE (#207), PAT (#1496), PAT2 (#1529)
.04 EXTERNAL PATIENT IDENTIFIER 0;4 POINTER TO ERX EXTERNAL PATIENT FILE (#52.46) ERX EXTERNAL PATIENT(#52.46)

  • LAST EDITED:  JUN 28, 2018
  • HELP-PROMPT:  Enter the patient associated with the incoming eRx.
  • DESCRIPTION:  
    This is the external patient identifier.
  • RECORD INDEXES:  EPAT (#16), PAT (#1496), PAT2 (#1529)
.05 VISTA PATIENT 0;5 POINTER TO PATIENT FILE (#2) PATIENT(#2)

  • LAST EDITED:  NOV 21, 2016
  • HELP-PROMPT:  Enter the patient associated with this incoming eRx message.
  • DESCRIPTION:  
    This is the Vista linked patient. Pointer to file #2.
  • CROSS-REFERENCE:  52.49^D
    1)= S ^PS(52.49,"D",$E(X,1,30),DA)=""
    2)= K ^PS(52.49,"D",$E(X,1,30),DA)
    This cross reference indexes the patient identifier with the erx holding queue entry.
.06 INSTITUTION 0;6 POINTER TO INSTITUTION FILE (#4)
************************REQUIRED FIELD************************
INSTITUTION(#4)

  • LAST EDITED:  AUG 29, 2016
  • HELP-PROMPT:  Enter the Hospital location associated with this eRx prescription request.
  • DESCRIPTION:  
    The institution associated with this eRx request. Pointer to the INSTITUTION file (#4).
.07 PHARMACY SYSTEM 0;7 POINTER TO PHARMACY SYSTEM FILE (#59.7) PHARMACY SYSTEM(#59.7)

  • LAST EDITED:  AUG 29, 2016
  • HELP-PROMPT:  Enter the pharmacy system associated with this incoming eRx message.
  • DESCRIPTION:  
    This is the pharmacy system associated with the incoming eRx message.
.08 MESSAGE TYPE 0;8 SET
  • 'RR' FOR REFILLREQUEST;
  • 'RE' FOR REFILLRESPONSE;
  • 'N' FOR NEWRX;
  • 'CR' FOR CHANGEREQUEST;
  • 'CE' FOR CHANGERESPONSE;
  • 'RXF' FOR RXFILL;
  • 'IE' FOR INBOUND ERROR;
  • 'OE' FOR OUTBOUND ERROR;
  • 'CA' FOR CANCELRX;
  • 'CN' FOR CANCELRXRESPONSE;

  • LAST EDITED:  SEP 04, 2018
  • HELP-PROMPT:  Enter the message type associated with this incoming eRx message.
  • DESCRIPTION:  
    This is the message type associated with this incoming eRx request (Change, Cancel, Refill, Partial Fill, etc).
  • RECORD INDEXES:  MTYPE (#207)
.09 EXTERNAL/PROVIDER ORDER NUMBER 0;9 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3) X
  • LAST EDITED:  AUG 29, 2016
  • HELP-PROMPT:  Enter the external/provider order number, if applicable. Answer must be 3-30 characters in length.
  • DESCRIPTION:  
    This is the external or provider order number associated with this incoming eRx message.
.1 VISTA PENDING OUTPATIENT ORDER 0;10 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>999999999999999)!(X<0)!(X?.E1"."1N.N) X
  • LAST EDITED:  JUN 26, 2017
  • HELP-PROMPT:  Enter the vista pending outpatient order IEN. Type a number between 0 and 999999999999999, 0 decimal digits.
  • DESCRIPTION:  
    This is the associated Vista order as stored in the PENDING OUTPATIENT ORDERS file (#52.41).
.12 OE/RR ORDER NUMBER 0;11 POINTER TO ORDER FILE (#100) ORDER(#100)

  • LAST EDITED:  APR 08, 2017
  • HELP-PROMPT:  Enter the OE/RR Order number associated with the incoming eRx message.
  • DESCRIPTION:  
    This is the OE/RR order number from the ORDERS file (#100) associated with this incoming eRx message.
  • CROSS-REFERENCE:  52.49^ORN
    1)= S ^PS(52.49,"ORN",$E(X,1,30),DA)=""
    2)= K ^PS(52.49,"ORN",$E(X,1,30),DA)
    This indexes the OE/RR order number to the eRx IEN.
.13 PHARMACY PRESCRIPTION NUMBER 0;12 POINTER TO PRESCRIPTION FILE (#52) PRESCRIPTION(#52)

  • LAST EDITED:  JUN 26, 2017
  • HELP-PROMPT:  Enter the pharmacy Rx number.
  • DESCRIPTION:  
    This is the prescription file entry (#52) associated with this incoming eRx message.
.14 RELATES TO HUB ID 0;14 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>30!($L(X)<1) X
    MAXIMUM LENGTH: 30
  • LAST EDITED:  APR 10, 2018
  • HELP-PROMPT:  Enter the eRx related processing hub ID. Answer must be 1-30 characters in length.
  • DESCRIPTION:  
    This is the eRx processing hub ID that is related to this message.
  • CROSS-REFERENCE:  52.49^RTHID
    1)= S ^PS(52.49,"RTHID",$E(X,1,30),DA)=""
    2)= K ^PS(52.49,"RTHID",$E(X,1,30),DA)
    This index will create a linkage between eRx messages for new, requests, and response types.
1 ERX ORDER STATUS 1;1 POINTER TO ERX SERVICE REASON CODES FILE (#52.45) ERX SERVICE REASON CODES(#52.45)

  • LAST EDITED:  JUL 26, 2017
  • HELP-PROMPT:  Enter the ERX status appropriate for this eRx.
  • DESCRIPTION:  
    This is the status for the incoming eRx message.
  • CROSS-REFERENCE:  52.49^C
    1)= S ^PS(52.49,"C",$E(X,1,30),DA)=""
    2)= K ^PS(52.49,"C",$E(X,1,30),DA)
    This index will is used to hold the Electronic Rx status. This will be used to look up entries by status.
  • RECORD INDEXES:  E (#1493), F (#1494), PAT (#1496)
1.11 DRUG VALIDATED BY 1;11 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  JAN 30, 2017
  • HELP-PROMPT:  Enter the person who manually validated the drug for the incoming eRx.
  • DESCRIPTION:  
    This is the person who manually validated the drug.
1.12 DRUG VALIDATED DATE/TIME 1;12 DATE

  • INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  JAN 30, 2017
  • HELP-PROMPT:  Enter the date/time the drug was validated.
  • DESCRIPTION:  
    The date/time of the manually validation of the drug for the eRx.
1.13 PATIENT VALIDATED BY 1;13 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  JAN 30, 2017
  • HELP-PROMPT:  Enter the person who manually validated the patient.
  • DESCRIPTION:  
    This is the person who manually evaluated the patient for the incoming eRx.
1.14 PATIENT VALIDATED DATE/TIME 1;14 DATE

  • INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  JAN 30, 2017
  • HELP-PROMPT:  Enter the date/time the patient was validated.
  • DESCRIPTION:  
    The date/time the patient was manually validated.
1.2 PROV STAT (AUTO VALIDATION) 1;2 SET
  • '1' FOR VALIDATED;
  • '0' FOR NOT VALIDATED;

  • LAST EDITED:  AUG 29, 2016
  • HELP-PROMPT:  Enter the auto-validation status for the provider associated with the incoming eRx prescription request.
  • DESCRIPTION:  
    This is the auto-validation status for a provider associated with the incoming eRx prescription request.
1.3 PROV STAT (MANUAL VALIDATION) 1;3 SET
  • '1' FOR VALIDATED;
  • '0' FOR NOT VALIDATED;

  • LAST EDITED:  AUG 29, 2016
  • HELP-PROMPT:  Enter the status for manual validation of the provider associated with this eRx prescription request.
  • DESCRIPTION:  
    This is the manual validation status of the provider associated with the incoming eRx prescription request.
1.4 DRUG STAT (AUTO VALIDATION) 1;4 SET
  • '1' FOR VALIDATED;
  • '0' FOR NOT VALIDATED;

  • LAST EDITED:  AUG 29, 2016
  • HELP-PROMPT:  Enter the auto validation status for the drug associated with this eRx prescription request.
  • DESCRIPTION:  
    This is the drug validation status for the drug associated with this incoming eRx prescription request.
1.5 DRUG STAT (MANUAL VALIDATION) 1;5 SET
  • '1' FOR VALIDATED;
  • '0' FOR NOT VALIDATED;

  • LAST EDITED:  AUG 29, 2016
  • HELP-PROMPT:  Enter the manual validation status for the drug associated with this incoming eRx prescription request.
  • DESCRIPTION:  
    This is the manual validation status for the drug associated with the incoming eRx prescription request.
1.6 PATIENT STATUS (AUTO VAL) 1;6 SET
  • '1' FOR VALIDATED;
  • '0' FOR NOT VALIDATED;

  • LAST EDITED:  AUG 29, 2016
  • HELP-PROMPT:  This is the auto validation status for the patient associated with this eRx prescription request.
  • DESCRIPTION:  
    Patient status for auto validation.
1.7 PATIENT STATUS (MANUAL VAL) 1;7 SET
  • '1' FOR VALIDATED;
  • '0' FOR NOT VALIDATED;

  • LAST EDITED:  AUG 29, 2016
  • HELP-PROMPT:  Enter the manual validation status for the patient associated with this incoming eRx prescription request.
  • DESCRIPTION:  
    This is the manual validation status for the patient associated with the incoming eRx prescription.
1.8 PROVIDER VALIDATED BY 1;8 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  JAN 30, 2017
  • HELP-PROMPT:  Enter the person who validated the provider for the incoming eRx.
  • DESCRIPTION:  
    This is the person who manually validated the provider for the eRx.
1.9 PROVIDER VALIDATED DATE/TIME 1;9 DATE

  • INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  JAN 30, 2017
  • HELP-PROMPT:  Enter the date/time the provider was validated.
  • DESCRIPTION:  
    This is the date/time the provider was validated.
2.1 EXTERNAL PROVIDER 2;1 POINTER TO ERX EXTERNAL PERSON FILE (#52.48) ERX EXTERNAL PERSON(#52.48)

  • LAST EDITED:  MAY 24, 2018
  • HELP-PROMPT:  Enter the name of the external provider for this eRx holding queue entry.
  • DESCRIPTION:  
    The external provider for this incoming prescription.
  • RECORD INDEXES:  EPROV (#17)
2.2 EXTERNAL PHARMACIST 2;2 POINTER TO ERX EXTERNAL PERSON FILE (#52.48) ERX EXTERNAL PERSON(#52.48)

  • LAST EDITED:  SEP 02, 2016
  • HELP-PROMPT:  Enter the name of the external pharmacist associated with this erx holding queue entry.
  • DESCRIPTION:  
    This is the external pharmacist associated with the incoming prescription message.
2.3 VA MATCHED PROVIDER 2;3 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  SEP 02, 2016
  • HELP-PROMPT:  Enter the VA provider associated with the eRx incoming message.
  • DESCRIPTION:  
    The VA (matched) provider. This is the provider found in the NEW PERSON file which matches the incoming provider information associated with the eRx message.
2.4 TO/FROM QUALIFIER 2;4 SET
  • 'P' FOR PHARMACY;
  • 'C' FOR CLINIC;
  • 'M' FOR MAILBOX;
  • 'D' FOR PRESCRIBER;
  • 'ZZZ' FOR MUTUALLY DEFINED;

  • LAST EDITED:  SEP 02, 2016
  • HELP-PROMPT:  Enter the to/from qualifier for this eRx incoming prescription message.
  • DESCRIPTION:  
    This is the to/from qualifier for the incoming eRx message.
2.5 ERX EXTERNAL PHARMACY 2;5 POINTER TO ERX EXTERNAL PHARMACY FILE (#52.47) ERX EXTERNAL PHARMACY(#52.47)

  • LAST EDITED:  NOV 25, 2016
  • HELP-PROMPT:  Enter the external pharmacy associated with this eRx prescription.
  • DESCRIPTION:  
    This is the external pharmacy associated with the incoming eRx.
2.6 ERX EXTERNAL SUPERVISOR 2;6 POINTER TO ERX EXTERNAL PERSON FILE (#52.48) ERX EXTERNAL PERSON(#52.48)

  • LAST EDITED:  NOV 28, 2016
  • HELP-PROMPT:  Enter the Supervisor associated with the incoming eRx prescription.
  • DESCRIPTION:  
    This is the supervisor associated with the incoming eRx prescription.
3.1 EXTERNAL DRUG/SUPPLY 3;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>125!($L(X)<1) X
  • LAST EDITED:  AUG 26, 2017
  • HELP-PROMPT:  Enter the name of the Drug or Supply item. Answer must be 1-125 characters in length.
  • DESCRIPTION:  
    This is the incoming drug/supply item for the eRx holding queue entry.
3.2 MATCHED DRUG/SUPPLY 3;2 POINTER TO DRUG FILE (#50) DRUG(#50)

  • LAST EDITED:  SEP 06, 2016
  • HELP-PROMPT:  Enter the drug/supply item that matches the external drug/supply item.
  • DESCRIPTION:  
    This is the VA matched drug from the DRUG file (#50), that is the equivalent to the incoming external drug/supply item passed in.
4.1 PRODUCT CODE 4;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>35!($L(X)<3) X
  • LAST EDITED:  SEP 06, 2016
  • HELP-PROMPT:  Enter the Product code associated with the incoming eRx prescription. Answer must be 3-35 characters in length.
  • DESCRIPTION:  
    This is the incoming product code.
4.11 DRUG DB CODE QUALIFIER 4;10 POINTER TO ERX SERVICE REASON CODES FILE (#52.45) ERX SERVICE REASON CODES(#52.45)

  • LAST EDITED:  APR 04, 2017
  • HELP-PROMPT:  Enter the Drug DB Code Qualifier for this incoming Erx.
  • DESCRIPTION:  
    The drug db code qualifier for the incoming eRx.
4.2 PRODUCT CODE QUALIFIER 4;2 SET
  • 'ND' FOR NATIONAL DRUG CODE (NDC);
  • 'MF' FOR MANUFACTURER;
  • 'UP' FOR UNIVERSAL PRODUCT CODE (UPC);

  • LAST EDITED:  SEP 06, 2016
  • HELP-PROMPT:  Enter the product code qualifier associated with the eRx product code.
  • DESCRIPTION:  
    This is the product code qualifier associated with the product code.
4.3 STRENGTH 4;3 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>70!($L(X)<1) X
  • LAST EDITED:  SEP 06, 2016
  • HELP-PROMPT:  Enter the strength associated with the drug/supply item. Answer must be 1-70 characters in length.
  • DESCRIPTION:  
    This is the strength for the drug/supply item.
4.4 DRUG DB CODE 4;4 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>35!($L(X)<3) X
  • LAST EDITED:  SEP 06, 2016
  • HELP-PROMPT:  Answer must be 3-35 characters in length.
  • DESCRIPTION:  
    This is the drug db code for the incoming eRx.
4.5 FORM SOURCE CODE 4;5 SET
  • 'AA' FOR NCI PHARMACEUTICAL DOSAGE FORM;
  • 'AB' FOR NCI UNITS OF PRESENTATION;
  • 'AC' FOR NCI POTENCY UNIT;

  • LAST EDITED:  FEB 14, 2017
  • HELP-PROMPT:  Enter the Form Source code for this eRx prescription.
  • DESCRIPTION:  
    This is the form source code from the external source for the incoming eRx prescription.
4.6 FORM CODE 4;6 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>15!($L(X)<2) X
  • LAST EDITED:  SEP 06, 2016
  • HELP-PROMPT:  Enter the form code for the incoming eRx prescription. Answer must be 2-15 characters in length.
  • DESCRIPTION:  
    This is the incoming form code value from the external source for the incoming eRx prescription.
4.7 STRENGTH SOURCE CODE 4;7 SET
  • 'AA' FOR NCI PHARMACEUTICAL DOSAGE FORM;
  • 'AB' FOR NCI UNITS OF PRESENTATION;
  • 'AC' FOR NCI POTENCY UNIT;

  • LAST EDITED:  FEB 13, 2017
  • HELP-PROMPT:  Enter the strength source code for the eRx drug/supply item.
  • DESCRIPTION:  
    The strength source code for the incoming eRx drug or supply item.
4.8 STRENGTH CODE 4;8 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>15!($L(X)<2) X
  • LAST EDITED:  SEP 06, 2016
  • HELP-PROMPT:  Enter the strength code for the drug/supply item. Answer must be 2-15 characters in length.
  • DESCRIPTION:  
    The strength code associated with the eRx drug/supply item.
4.9 DEA SCHEDULE 4;9 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>15!($L(X)<1) X
  • LAST EDITED:  SEP 06, 2016
  • HELP-PROMPT:  Enter the DEA schedule for this drug/supply item. Answer must be 1-15 characters in length.
  • DESCRIPTION:  
    This is the schedule for the eRx incoming prescription (drug/supply item).
5.1 QUANTITY 5;1 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>99999999999)!(X<1)!(X?.E1"."6N.N) X
  • LAST EDITED:  AUG 26, 2017
  • HELP-PROMPT:  Enter the quantity for the eRx prescribed medication. Type a number between 1 and 99999999999, 5 decimal digits.
  • DESCRIPTION:  
    This is the quantity for the drug/supply item.
5.2 CODE LIST QUALIFIER 5;2 SET
  • '38' FOR ORIGINAL QUANTITY;
  • '40' FOR REMAINING QUANTITY;
  • '87' FOR QUANTITY RECEIVED;
  • 'QS' FOR QUANTIFY SUFFICIENT;

  • LAST EDITED:  SEP 06, 2016
  • HELP-PROMPT:  Enter the code list qualifier for the incoming drug/supply item.
  • DESCRIPTION:  
    The code list qualifier for the incoming eRx drug/supply item.
5.3 UNIT SOURCE CODE 5;3 SET
  • 'AA' FOR NCI PHARMACEUTICAL DOSAGE FORM;
  • 'AB' FOR NCI UNITS OF PRESENTATION;
  • 'AC' FOR NCI VALUES OF PROPERTY OR ;
  • 'AC' FOR NCI POTENCY UNIT;

  • LAST EDITED:  FEB 13, 2017
  • HELP-PROMPT:  Enter the unit source code for this eRx drug/supply item.
  • DESCRIPTION:  
    The unit source value for the incoming eRx drug/supply item.
5.4 POTENCY UNIT CODE 5;4 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>15!($L(X)<1) X
  • LAST EDITED:  SEP 06, 2016
  • HELP-PROMPT:  Enter the potency unit code associated with the eRx drug/supply item. Answer must be 1-15 characters in length.
  • DESCRIPTION:  
    The potency unit code for the drug/supply item.
5.5 DAYS SUPPLY 5;5 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>999)!(X<1)!(X?.E1"."1N.N) X
  • LAST EDITED:  SEP 06, 2016
  • HELP-PROMPT:  Enter the days supply for this drug/supply item. Answer must be a number between 1 and 999, 0 decimal digits.
  • DESCRIPTION:  
    The days supply for the incoming eRx drug or supply item.
5.6 REFILLS 5;6 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>11)!(X<1)!(X?.E1"."1N.N) X
  • LAST EDITED:  SEP 06, 2016
  • HELP-PROMPT:  Enter the number of refills for the incoming eRx drug/supply item. Answer must be a number between 1 and 11, 0 decimal digits.
  • DESCRIPTION:  
    This is the number of refills for the incoming eRx prescription.
5.7 REFILL QUALIFIER 5;7 SET
  • 'R' FOR NUMBER OF REFILLS;
  • 'PRN' FOR AS NEEDED;
  • 'P' FOR PHARMACY REQUESTED REFILLS;
  • 'A' FOR ADDITIONAL REFILLS AUTHORIZED;

  • LAST EDITED:  JAN 31, 2018
  • HELP-PROMPT:  Enter the refill qualifier associated with the eRx prescription.
  • DESCRIPTION:  
    This is the refill qualifier associated with the eRx incoming prescription.
5.8 SUBSTITUTIONS 5;8 SET
  • '0' FOR NO PRODUCT SELECTION INDICATED;
  • '1' FOR SUBSTITUTION NOT ALLOWED BY PRESCRIBER;

  • LAST EDITED:  SEP 06, 2016
  • HELP-PROMPT:  Enter the substitution value, if applicable.
  • DESCRIPTION:  
    Substitution definition, as needed. This holds the information regarding substitutions for a drug/supply item.
5.9 WRITTEN DATE 5;9 DATE

  • INPUT TRANSFORM:  S %DT="EX" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  SEP 06, 2016
  • HELP-PROMPT:  Enter the date that the eRx prescription was written by the provider.
  • DESCRIPTION:  
    This is the date that the eRx incoming prescription was written by the provider.
6.1 LAST FILL DATE 6;1 DATE

  • INPUT TRANSFORM:  S %DT="EX" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  SEP 06, 2016
  • HELP-PROMPT:  Enter the last date the this eRx was filled.
  • DESCRIPTION:  
    This is the last fill date of the eRx prescription.
6.2 EXPIRATION DATE 6;2 DATE

  • INPUT TRANSFORM:  S %DT="EX" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  SEP 06, 2016
  • HELP-PROMPT:  Enter the expiration date for the eRx prescription.
  • DESCRIPTION:  
    The eRx prescription expiration date.
6.3 EFFECTIVE DATE 6;3 DATE

  • INPUT TRANSFORM:  S %DT="EX" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  SEP 06, 2016
  • HELP-PROMPT:  Enter the effective date for the eRx prescription.
  • DESCRIPTION:  
    The effective date of the eRx prescription.
6.4 PERIOD END 6;4 DATE

  • INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  SEP 06, 2016
  • HELP-PROMPT:  Enter the period end date and time.
  • DESCRIPTION:  
    The period end for the incoming eRx prescription.
6.5 DELIVERED ON DATE 6;5 DATE

  • INPUT TRANSFORM:  S %DT="EX" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  SEP 06, 2016
  • HELP-PROMPT:  Enter the date the prescription was delivered.
  • DESCRIPTION:  
    This is the delivery date of the eRx prescription.
6.6 DATE VALIDATED 6;6 DATE

  • INPUT TRANSFORM:  S %DT="EX" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  SEP 06, 2016
  • HELP-PROMPT:  Enter the date the prescription was validated.
  • DESCRIPTION:  
    This is the validation date of the eRx prescription.
7 DIRECTIONS 7;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>140!($L(X)<3) X
  • LAST EDITED:  SEP 06, 2016
  • HELP-PROMPT:  Enter the directions associated with this eRx prescription. Answer must be 3-140 characters in length.
  • DESCRIPTION:  
    The directions for the eRx prescription.
8 NOTES 8;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>240!($L(X)<1) X
  • LAST EDITED:  SEP 06, 2016
  • HELP-PROMPT:  Enter the notes for this eRx prescription. Answer must be 1-240 characters in length.
  • DESCRIPTION:  
    The notes associated with the eRx prescription.
9 DIAGNOSIS 9;0 Multiple #52.499 52.499

  • DESCRIPTION:  
    The diagnosis values associated with the eRx patient/prescription.
10.2 PRIOR AUTHORIZATION 10;2 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>35!($L(X)<3) X
  • LAST EDITED:  SEP 07, 2016
  • HELP-PROMPT:  Enter the prior authorization value for the eRx prescription. Answer must be 3-35 characters in length.
  • DESCRIPTION:  
    The prior authorization value for the eRx prescription.
10.3 PRIOR AUTHORIZATION QUALIFIER 10;3 POINTER TO ERX SERVICE REASON CODES FILE (#52.45) ERX SERVICE REASON CODES(#52.45)

  • LAST EDITED:  MAR 10, 2017
  • HELP-PROMPT:  Enter the prior authorization qualifier for the eRx prescription.
  • DESCRIPTION:  
    This is the prior authorization qualifier for the eRx prescription.
10.4 PRIOR AUTHORIZATION STATUS 10;4 SET
  • 'A' FOR APPROVED;
  • 'D' FOR DENIED;
  • 'R' FOR REQUESTED;
  • 'N' FOR NOT REQUIRED;
  • 'F' FOR DEFERRED;

  • LAST EDITED:  SEP 07, 2016
  • HELP-PROMPT:  Enter the prior authorization status for the eRx authorization.
  • DESCRIPTION:  
    The prior authorization status for the eRx authorization.
10.5 DO NOT FILL 10;5 SET
  • '1' FOR YES;

  • LAST EDITED:  SEP 07, 2016
  • HELP-PROMPT:  Enter the value for the do not fill field.
  • DESCRIPTION:  
    Y - Yes - Used for medications ordered by a prescriber not requiring dispensing, but available for reference and drug-to-drug interaction checking.
10.6 NEEDED NO LATER THAN 10;6 DATE

  • INPUT TRANSFORM:  S %DT="ESTX" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  SEP 07, 2016
  • HELP-PROMPT:  Enter the date/time the prescription is needed by.
  • DESCRIPTION:  
    This is the date/time that the prescription is needed by.
10.7 TIMEZONE 10;7 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>10!($L(X)<3) X
  • LAST EDITED:  SEP 07, 2016
  • HELP-PROMPT:  Enter the time zone associated with the needed by value. Answer must be 3-10 characters in length.
  • DESCRIPTION:  
    This is the time zone associated with the needed by date/time.
10.8 TIME ZONE DIFFERENCE QUANTITY 10;8 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>10!($L(X)<1) X
  • LAST EDITED:  JUL 11, 2017
  • HELP-PROMPT:  Enter the time zone difference quantity associated with the needed by timezone value. Answer must be 1-10 characters in length.
  • DESCRIPTION:  
    This is the time zone difference quantity related to the needed by time zone value.
10.9 NEEDED NO LATER THAN REASON 10;9 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>70!($L(X)<3) X
  • LAST EDITED:  SEP 07, 2016
  • HELP-PROMPT:  Enter the reason associated with the needed no later than value (date/time). Answer must be 3-70 characters in length.
  • DESCRIPTION:  
    Enter the reason for the needed by date/time.
11 STRUCTURED SIG 11;0 Multiple #52.4911 52.4911

  • DESCRIPTION:  
    This sub-file holds the structured SIG information from the incoming XML message.
12 ORDER CHECKS 12;0 Multiple #52.4912 52.4912

  • DESCRIPTION:  
    This multiple contains the order check information.
13.1 PATIENT FACILITY UNIT 13;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
  • LAST EDITED:  OCT 19, 2016
  • HELP-PROMPT:  Enter the patient location facility unit. Answer must be 1-35 characters in length.
  • DESCRIPTION:  
    This the patient location facility unit associated with the incoming eRx prescription.
13.2 BED 13;2 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>10!($L(X)<1) X
  • LAST EDITED:  OCT 19, 2016
  • HELP-PROMPT:  Enter the bed the patient is in. Answer must be 1-10 characters in length.
  • DESCRIPTION:  
    The physical bed that the patient is occupying.
13.3 ROOM 13;3 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>10!($L(X)<1) X
  • LAST EDITED:  OCT 19, 2016
  • HELP-PROMPT:  Enter the room where the patient is located. Answer must be 1-10 characters in length.
  • DESCRIPTION:  
    The room where the patient is physically located.
14 OBSERVATION 14;0 Multiple #52.4914 52.4914

  • DESCRIPTION:  
    This is the observation multiple that holds all observations received for an eRx prescription.
15 OBSERVATION NOTES 15;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>140!($L(X)<1) X
  • LAST EDITED:  OCT 19, 2016
  • HELP-PROMPT:  Enter the observation notes associated with the incoming eRx prescription. Answer must be 1-140 characters in length.
  • DESCRIPTION:  
    The observation notes associated with the eRx prescription.
16 DRUG USE EVALUATION 16;0 POINTER Multiple #52.4916 52.4916

  • DESCRIPTION:  
    This sub-file holds the drug use evaluation information for an incoming eRx prescription.
17.1 EXTERNAL PHARMACY 17;1 POINTER TO ERX EXTERNAL PHARMACY FILE (#52.47) ERX EXTERNAL PHARMACY(#52.47)

  • LAST EDITED:  SEP 07, 2016
  • HELP-PROMPT:  Enter the external pharmacy that sent the incoming eRx prescription.
  • DESCRIPTION:  
    This is the external pharmacy that sent the eRx prescription to the VA.
17.2 EXTERNAL PHARMACIST 17;2 POINTER TO ERX EXTERNAL PERSON FILE (#52.48) ERX EXTERNAL PERSON(#52.48)

  • LAST EDITED:  SEP 07, 2016
  • HELP-PROMPT:  Enter the external pharmacist or person who sent the prescription to the VA.
  • DESCRIPTION:  
    This is the external pharmacist associated with the incoming eRx prescription.
17.3 TRANSFERRED TO VA PHARMACY 17;3 POINTER TO INSTITUTION FILE (#4) INSTITUTION(#4)

  • LAST EDITED:  SEP 07, 2016
  • HELP-PROMPT:  Enter the VA institution where the prescription was transferred.
  • DESCRIPTION:  
    The external VA institution where the prescription was transferred.
17.4 XFER TO EXTERNAL PHARMACY 17;4 POINTER TO ERX EXTERNAL PHARMACY FILE (#52.47) ERX EXTERNAL PHARMACY(#52.47)

  • LAST EDITED:  SEP 07, 2016
  • HELP-PROMPT:  Enter the external pharmacy to where this eRx was transferred.
  • DESCRIPTION:  
    This is the external pharmacy to where the eRx prescription was transferred.
18 PAYER INFORMATION 18;0 Multiple #52.4918 52.4918

  • DESCRIPTION:  
    The payer/cardholder information for the associated eRx prescription.
19 STATUS HISTORY 19;0 DATE Multiple #52.4919 52.4919

  • DESCRIPTION:  
    This multiple tracks the status changes that have occurred for an eRx.
20.1 VISTA QUANTITY 20;1 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>99999999)!(X<0)!(X?.E1"."3N.N) X
  • LAST EDITED:  AUG 28, 2017
  • HELP-PROMPT:  Enter a whole number between 0 and 99999999 inclusive. Alpha characters are not allowed, and the entry cannot exceed 11 characters, or contain more than two fractional decimal places (i.e.; .01).
  • DESCRIPTION:  
    This is the Vista quantity for the eRx prescription. This is the quantity needed for a prescription in Vista.
20.2 VISTA DAYS SUPPLY 20;2 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>365)!(X<1)!(X?.E1"."1N.N) X
  • LAST EDITED:  AUG 26, 2017
  • HELP-PROMPT:  Enter the Vista Days supply for the prescription. Type a number between 1 and 365, 0 decimal digits.
  • DESCRIPTION:  
    This is the VistA Days supply value associated with the incoming eRx.
20.3 VISTA VERB 20;3 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>10!($L(X)<1) X
  • LAST EDITED:  JAN 30, 2017
  • HELP-PROMPT:  Enter the Verb for this medication. Answer must be 1-10 characters in length.
  • DESCRIPTION:  
    This is the medication instruction (verb) for the eRx.
20.4 VISTA ROUTING 20;4 SET
  • 'M' FOR MAIL;
  • 'W' FOR WINDOW;

  • LAST EDITED:  MAR 15, 2017
  • HELP-PROMPT:  Enter the routing method for the incoming eRx prescription.
  • DESCRIPTION:  
    This is the routing method for the incoming eRx. Mail or Window.
20.5 VISTA REFILLS 20;5 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>11)!(X<0)!(X?.E1"."1N.N) X
  • LAST EDITED:  AUG 11, 2017
  • HELP-PROMPT:  Enter the number of refills for this eRx. Type a number between 0 and 11, 0 decimal digits.
  • DESCRIPTION:  
    The number of vista refills for this incoming eRx.
20.6 VISTA CLINIC 20;6 POINTER TO HOSPITAL LOCATION FILE (#44) HOSPITAL LOCATION(#44)

  • LAST EDITED:  APR 07, 2017
  • HELP-PROMPT:  Enter the vista clinic associated with this eRx.
  • DESCRIPTION:  
    The vista clinic associated with the incoming eRx.
21 QUANTITY/TIMING 21;0 Multiple #52.4921 52.4921

  • DESCRIPTION:  
    This is the quantity/timing sub-file which holds information about dosing for a medication.
22.1 FROM 22;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
  • LAST EDITED:  MAR 07, 2017
  • HELP-PROMPT:  Enter the 'From' value, as passed in the XML 'From' element. Answer must be 1-50 characters in length.
  • DESCRIPTION:  
    The FROM value as passed from the incoming XML.
22.2 FROM QUALIFIER 22;2 SET
  • 'P' FOR PHARMACY;
  • 'D' FOR PRESCRIBER;

  • LAST EDITED:  APR 05, 2017
  • HELP-PROMPT:  Enter the From Qualifier for the incoming eRx.
  • DESCRIPTION:  
    The from qualifier attribute associated with this eRx.
22.3 TO 22;3 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
  • LAST EDITED:  MAR 07, 2017
  • HELP-PROMPT:  Enter the 'To' value as passed in within the incoming eRx XML. Answer must be 1-50 characters in length.
  • DESCRIPTION:  
    This is the 'To' value as passed in as part of the header portion of the eRx XML message.
22.4 TO QUALIFIER 22;4 SET
  • 'P' FOR PHARMACY;
  • 'D' FOR PRESCRIBER;

  • LAST EDITED:  APR 05, 2017
  • HELP-PROMPT:  Enter the To Qualifier for the incoming eRx.
  • DESCRIPTION:  
    This is the 'To' qualifier attribute that is passed within the incoming XML. This To qualifier is found in the 'Header' parent of the XML.
22.5 CH SENT DATE/TIME 22;5 DATE

  • INPUT TRANSFORM:  S %DT="ESTX" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  MAY 10, 2017
  • HELP-PROMPT:  Enter the date/time the eRx was received into the Vista system.
  • DESCRIPTION:  
    This is the date time the eRx was received by the vista system.
24.1 RELATED INSTITUTION 24;1 POINTER TO INSTITUTION FILE (#4) INSTITUTION(#4)

  • LAST EDITED:  JUL 26, 2017
  • HELP-PROMPT:  Enter the institution related to this incoming eRx.
  • DESCRIPTION:  
    This is the institution that the incoming eRx belongs to.
  • RECORD INDEXES:  E (#1493), EPAT (#16), EPROV (#17), F (#1494), MTYPE (#207), PAT (#1496)
24.2 DIVISION 24;2 POINTER TO MEDICAL CENTER DIVISION FILE (#40.8) MEDICAL CENTER DIVISION(#40.8)

  • LAST EDITED:  MAR 21, 2017
  • HELP-PROMPT:  Enter the division associated with this incoming eRx.
  • DESCRIPTION:  
    This is the medical center division associated to the incoming eRx.
24.3 SENDER SECONDARY ID 24;3 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
  • LAST EDITED:  MAY 23, 2017
  • HELP-PROMPT:  Enter the sender secondary identification. Answer must be 1-35 characters in length.
  • DESCRIPTION:  
    This is the senders secondary identification value.
24.4 SENDER TERTIARY ID 24;4 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
  • LAST EDITED:  MAY 23, 2017
  • HELP-PROMPT:  Enter the senders tertiary identification. Answer must be 1-35 characters in length.
  • DESCRIPTION:  
    This is the senders tertiary identification value.
24.5 RECEIVER SECONDARY ID 24;5 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
  • LAST EDITED:  MAY 23, 2017
  • HELP-PROMPT:  Enter the receivers secondary identification value. Answer must be 1-35 characters in length.
  • DESCRIPTION:  
    This is the receiver secondary identification value.
24.6 RECEIVER TERTIARY ID 24;6 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
  • LAST EDITED:  MAY 23, 2017
  • HELP-PROMPT:  Enter the receivers tertiary identification value. Answer must be 1-35 characters in length.
  • DESCRIPTION:  
    This is the receiver tertiary identification.
25 CH MESSAGE ID 25;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>35!($L(X)<3) X
  • LAST EDITED:  JAN 17, 2018
  • HELP-PROMPT:  Enter the Change Healthcare message identification value. Answer must be 3-35 characters in length.
  • DESCRIPTION:  
    This is the Change Healthcare message identifier. This number is not to be considered to be a unique identifier. It is possible that the same message ID could come from more than one provider.
  • FIELD INDEX:  CHVID (#1528) REGULAR IR LOOKUP & SORTING
    Short Descr: This indexes the CH MESSAGE ID
    Description: This will index the change healthcare/vista message ID in the eRx holding queue.
    Set Logic: S ^PS(52.49,"CHVID",$E(X,1,35),DA)=""
    Kill Logic: K ^PS(52.49,"CHVID",$E(X,1,35),DA)
    Whole Kill: K ^PS(52.49,"CHVID")
    X(1): CH MESSAGE ID (52.49,25) (Subscr 1) (Len 35) (forwards)
25.2 PENDING OUTPATIENT ORDER# 25;2 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>9999999999)!(X<1)!(X?.E1"."1N.N) X
  • LAST EDITED:  MAR 31, 2017
  • HELP-PROMPT:  Enter the pending outpatient order IEN associated with this eRx. Type a number between 1 and 999999999, 0 decimal digits.
  • DESCRIPTION:  
    This is the pending outpatient order in file 52.41, once the eRx has been sent to the file.
26 VA DISPENSING INSTRUCTIONS SIG;0 Multiple #52.4926 52.4926

  • LAST EDITED:  JUN 14, 2017
  • DESCRIPTION:  
    This field holds the VA SIG information, which will be sent to pending outpatient orders as the SIG.
27 VA PATIENT INSTRUCTIONS INS;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>240!($L(X)<1) X
  • LAST EDITED:  MAR 25, 2017
  • HELP-PROMPT:  Enter the patient instructions for this eRx. Answer must be 1-240 characters in length.
  • DESCRIPTION:  This field holds the patient instructions for an eRx. This field will be transferred to the pending outpatient orders file upon acceptance of an eRx. This field is the equivalent to the patient instructions field in the
    pending outpatient orders file.
28 DRUG COVERAGE STATUS 28;0 Multiple #52.4928 52.4928

  • DESCRIPTION:  
    The drug coverage status multiple to hold the drug coverage status values.
30 VA PROVIDER COMMENTS 30;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>240!($L(X)<1) X
  • LAST EDITED:  SEP 06, 2017
  • HELP-PROMPT:  Enter the VA Provider comments for this eRx. Answer must be 1-240 characters in length.
  • DESCRIPTION:  
    This is the VA provider comments. This represents the provider comments for a prescription, which is the VA's version of the 'DIRECTIONS' that are received with an eRx.
31 VA UNEXPANDED SIG 31;0 WORD-PROCESSING #52.4931

  • DESCRIPTION:  
    The un-expanded SIG for the eRx prescription.
41 EXTERNAL FORM CODE 41;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>70!($L(X)<1) X
  • LAST EDITED:  JUN 19, 2017
  • HELP-PROMPT:  Enter the external form Code. Answer must be 1-70 characters in length.
  • DESCRIPTION:  
    The external form code for the medication being prescribed.
42 EXTERNAL POTENCY UNIT CODE 42;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>70!($L(X)<1) X
  • LAST EDITED:  JUN 19, 2017
  • HELP-PROMPT:  Enter the external value of the potency unit code. Answer must be 1-70 characters in length.
  • DESCRIPTION:  
    This is the external form of the potency unit code.
43 EXTERNAL STRENTH CODE 43;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>70!($L(X)<1) X
  • LAST EDITED:  JUN 19, 2017
  • HELP-PROMPT:  Enter the external value for the strength code. Answer must be 1-70 characters in length.
  • DESCRIPTION:  
    This is the external value of the strength code.
44 PAYER CARDHOLDER ID CONVERTED? 44;1 SET
  • '1' FOR YES;

  • LAST EDITED:  SEP 01, 2017
  • HELP-PROMPT:  Enter 'Yes' if the Payer cardholder id values have been converted for this eRx.
  • DESCRIPTION:  If this flag is set to yes, the payer cardholder ID values have been converted into the new format. This needs to be set if the conversion has taken place so no futher conversion attempts will occur on this record. The
    cardholder id field is not a required field on an incoming eRx and was previously being used as the .01 field. This has been changed to now be a sequence value, and cardholder ID has been moved into field #7.
49 MEDICATION DISPENSED/REQUESTED 49;0 Multiple #52.4949 52.4949

  • DESCRIPTION:  
    This multiple holds the medication dispensed/medication(s) requested in support of the refill request and change request message types.
50 REQUEST/RESPONSE COMMENTS 50;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>255!($L(X)<1) X
    MAXIMUM LENGTH: 255
  • LAST EDITED:  FEB 01, 2018
  • HELP-PROMPT:  Enter the refill request/response comments. Answer must be 1-255 characters in length.
  • DESCRIPTION:  
    This is the refill request/response comments for the eRx refill request or refill response.
50.1 NOTE ADDED BY 50.1;1 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  JAN 23, 2018
  • HELP-PROMPT:  Enter the person who entered this note for a refill request or response.
  • DESCRIPTION:  
    This is the person who entered the note related to an eRx refill request or response.
50.2 NOTE DATE/TIME 50.1;2 DATE

  • INPUT TRANSFORM:  S %DT="ESTX" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  JAN 23, 2018
  • HELP-PROMPT:  Enter the date/time the note was entered.
  • DESCRIPTION:  
    This is the date/time the note was entered for a request or response type of message.
51.1 REFILL/CANCEL REQEUST PERSON 51;1 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  AUG 27, 2018
  • HELP-PROMPT:  Enter the person who made the outbound refill or cancel request.
  • DESCRIPTION:  
    This is the person who made the outbound refill/change request.
51.2 # OF REFILLS REQUESTED 51;2 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>11)!(X<0)!(X?.E1"."1N.N) X
  • LAST EDITED:  JAN 22, 2018
  • HELP-PROMPT:  Enter the number of refills requested. Type a number between 0 and 11, 0 decimal digits.
  • DESCRIPTION:  
    This is the number of refills requested on an prescription refill request.
52.1 RESPONSE VALUE 52;1 SET
  • 'A' FOR APPROVED;
  • 'D' FOR DENIED;
  • 'DNP' FOR DENIED, NEW PRESCRIPTION TO FOLLOW;
  • 'AWC' FOR APPROVED WITH CHANGES;

  • LAST EDITED:  JAN 23, 2018
  • HELP-PROMPT:  Enter the response type for this incoming message.
  • DESCRIPTION:  
    This is the response type for a refill request. This tells us the status of the request, as returned by the provider.
52.2 RESPONSE NOTE 52;2 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>70!($L(X)<1) X
    MAXIMUM LENGTH: 70
  • LAST EDITED:  JAN 23, 2018
  • HELP-PROMPT:  Enter the response notes entered by the provider. Answer must be 1-70 characters in length.
  • DESCRIPTION:  
    This is the note as written by the provider, for a refill or cancel response message type.
52.3 RESPONSE REFERENCE NUMBER 52;3 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
    MAXIMUM LENGTH: 35
  • LAST EDITED:  JAN 23, 2018
  • HELP-PROMPT:  Enter the response reference number for this refill or change response message. Answer must be 1-35 characters in length.
  • DESCRIPTION:  
    This is the reference number associated with the refill or change request response.
55 RESPONSE CODES 55;0 POINTER Multiple #52.4955 52.4955

  • DESCRIPTION:  
    This multiple holds the response codes related to the refill or change response.
60 REQUEST/RESPONSE ERROR TEXT 60;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>70!($L(X)<1) X
    MAXIMUM LENGTH: 70
  • LAST EDITED:  FEB 09, 2018
  • HELP-PROMPT:  Enter the error text for this request/response error. Answer must be 1-70 characters in length.
  • DESCRIPTION:  
    This is the error text for an inbound or outbound eRx error message.
60.1 REQUEST/RESPONSE ERROR CODE 60;2 SET
  • '600' FOR COMMUNICATION PROBLEM - TRY AGAIN LATER;
  • '601' FOR RECEIVER UNABLE TO PROCESS - DO NOT RETRY;
  • '602' FOR RECEIVER SYSTEM ERROR - TRY AGAIN LATER;
  • '900' FOR TRANSACTION REJECTED - DO NOT RETRY;

  • LAST EDITED:  FEB 09, 2018
  • HELP-PROMPT:  Enter the error code for this eRx error message.
  • DESCRIPTION:  
    This is the error code associated with an eRx error message.
61 REQUEST/RESPONSE ERR DCODES 61;0 POINTER Multiple #52.4961 52.4961

  • DESCRIPTION:  
    This multiple holds the error description codes for a request/response message.
70.1 FACILITY NAME 22;6 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
    MAXIMUM LENGTH: 35
  • LAST EDITED:  MAR 15, 2018
  • HELP-PROMPT:  Enter the facility Name associated with this eRx prescription. Must be 1-35 characters in length.
  • DESCRIPTION:  
    This is the facility name associated with the incoming eRx.
70.2 FACILITY ADDRESS LINE 1 22;7 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
    MAXIMUM LENGTH: 35
  • LAST EDITED:  MAR 15, 2018
  • HELP-PROMPT:  Enter the address line 1 associated with the facility. Must be 1-35 characters in length.
  • DESCRIPTION:  
    This is the address line 1 associated with the facility.
70.3 FACILITY ADDRESS LINE 2 22;8 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
    MAXIMUM LENGTH: 35
  • LAST EDITED:  MAR 15, 2018
  • HELP-PROMPT:  Enter the address line 2 associated with the facility. Must be 1-35 characters in length.
  • DESCRIPTION:  
    This is the address line 2 associated with the facility.
70.4 FACILITY CITY 23;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
    MAXIMUM LENGTH: 35
  • LAST EDITED:  MAR 15, 2018
  • HELP-PROMPT:  Enter the city associated with the facility. Must be 1-35 characters in length.
  • DESCRIPTION:  
    This is the city associated with the facility.
70.5 FACILITY STATE 25;3 POINTER TO STATE FILE (#5) STATE(#5)

  • LAST EDITED:  FEB 14, 2018
  • HELP-PROMPT:  Enter the state associated with this facility.
  • DESCRIPTION:  
    This is the state associated with the facility.
70.6 FACILITY ZIP CODE 25;4 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>9!($L(X)<5) X
    MAXIMUM LENGTH: 9
  • LAST EDITED:  MAR 15, 2018
  • HELP-PROMPT:  Enter the zip code associated with the facility. Must be 5-9 digits in length.
  • DESCRIPTION:  
    This is the zip code associated with the facility.
70.7 PLACE LOCATION QUALIFIER 29;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>3!($L(X)<1) X
    MAXIMUM LENGTH: 3
  • LAST EDITED:  MAR 15, 2018
  • HELP-PROMPT:  Enter the place location qualifier associated with the facility. Must be 1-3 characters in length.
  • DESCRIPTION:  
    This is the place location qualifier associated with the facility.
71 FACILITY IDENTIFICATION 26;0 Multiple #52.4971 52.4971

  • DESCRIPTION:  
    This multiple contains information related to the eRx facility.
72 COMMUNICATION 27;0 Multiple #52.4972 52.4972

  • DESCRIPTION:  
    This multiple contains information related to the eRx facility.
80.1 CHANGE REQUEST TYPE 80;1 SET
  • 'C1' FOR SIGNIFICANT CHANGE;
  • 'C2' FOR FREQUENCY CHANGE;
  • 'C3' FOR INSIGNIFICANT CHANGE;

  • LAST EDITED:  MAR 28, 2018
  • HELP-PROMPT:  Enter the change request type for this eRx message.
  • DESCRIPTION:  This field identifies the change request type for cancel and change eRx messages.
    C1 Significant change (Any changes to the Drug, form, strength, dosage, or route)
    C2 Frequency Change (Any change to the frequency or hours of administration for the drug)
    C3 Insignificant Change (All other changes)
80.2 RETURN RECEIPT 80;2 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>3!($L(X)<1) X
    MAXIMUM LENGTH: 3
  • LAST EDITED:  MAR 28, 2018
  • HELP-PROMPT:  Enter the return receipt value for this eRx message. Answer must be 1-3 characters in length.
  • DESCRIPTION:  
    This is the return receipt associated with a cancel or change eRx message.
80.3 REQUEST REFERENCE NUMBER 80;3 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
    MAXIMUM LENGTH: 35
  • LAST EDITED:  MAR 28, 2018
  • HELP-PROMPT:  Enter the request reference number for this eRx message. Answer must be 1-35 characters in length.
  • DESCRIPTION:  
    This is the request reference number for a cancel or change eRx message.
80.4 CHANGE RX STATUS FLAG 80;4 SET
  • 'C' FOR CANCEL;
  • 'D' FOR DISCONTINUE;

  • LAST EDITED:  MAR 28, 2018
  • HELP-PROMPT:  Enter the change of prescription status flag for this eRx message.
  • DESCRIPTION:  
    This is the change of prescription status flag, intended to be used for cancel and change eRx message types.
80.5 CHANGE/CANCEL DENIED BY HUB 80;5 SET
  • '1' FOR YES;

  • LAST EDITED:  MAR 28, 2018
  • HELP-PROMPT:  Enter '1' if this change or cancel request was denied by the eRx processing hub.
  • DESCRIPTION:  
    This flag identifies entries that have been denied by the eRx processing hub.
100 PROCESSING ERRORS 100;0 Multiple #52.49101 52.49101

  • DESCRIPTION:  
    This sub-file contains the processing errors associated with the eRx entry.
201 MESSAGE HISTORY 201;0 POINTER Multiple #52.49201 52.49201

External References

Name Field # of Occurrence
^%DT .03+1, 1.12+1, 1.14+1, 1.9+1, 5.9+1, 6.1+1, 6.2+1, 6.3+1, 6.4+1, 6.5+1
, 6.6+1, 10.6+1, 22.5+1, 50.2+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PS(52.49 - [#52.49] IXCHVIDSL+1*, IXCHVIDKL+1!, IXCHVIDKEIC+1!, IXESL+1*, IXEKL+1!, IXEKEIC+1!, IXEPATSL+1*, IXEPATKL+1!, IXEPATKEIC+1!, IXEPROVSL+1*
, IXEPROVKL+1!, IXEPROVKEIC+1!, IXFSL+1*, IXFKL+1!, IXFKEIC+1!, IXFMIDSL+1*, IXFMIDKL+1!, IXFMIDKEIC+1!, IXMTYPESL+1*, IXMTYPEKL+1!
, IXMTYPEKEIC+1!, IXPATSL+1*, IXPATKL+1!, IXPATKEIC+1!, IXPAT2SL+1*, IXPAT2KL+1!, IXPAT2KEIC+1!, IXRTMIDSL+1*, IXRTMIDKL+1!, IXRTMIDKEIC+1!
.01(XREF 1S), .01(XREF 1K), .05(XREF 1S), .05(XREF 1K), .12(XREF 1S), .12(XREF 1K), .14(XREF 1S), .14(XREF 1K), 1(XREF 1S), 1(XREF 1K)

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> %DT .03+1*, 1.12+1*, 1.14+1*, 1.9+1*, 5.9+1*, 6.1+1*, 6.2+1*, 6.3+1*, 6.4+1*, 6.5+1*
, 6.6+1*, 10.6+1*, 22.5+1*, 50.2+1*
>> DA IXCHVIDSL+1, IXCHVIDKL+1, IXESL+1, IXEKL+1, IXEPATSL+1, IXEPATKL+1, IXEPROVSL+1, IXEPROVKL+1, IXFSL+1, IXFKL+1
, IXFMIDSL+1, IXFMIDKL+1, IXMTYPESL+1, IXMTYPEKL+1, IXPATSL+1, IXPATKL+1, IXPAT2SL+1, IXPAT2KL+1, IXRTMIDSL+1, IXRTMIDKL+1
.01(XREF 1S), .01(XREF 1K), .05(XREF 1S), .05(XREF 1K), .12(XREF 1S), .12(XREF 1K), .14(XREF 1S), .14(XREF 1K), 1(XREF 1S), 1(XREF 1K)
X IXCHVIDSL+1, IXCHVIDKL+1, IXFMIDSL+1, IXFMIDKL+1, IXRTMIDSL+1, IXRTMIDKL+1, .01+1!, .01(XREF 1S), .01(XREF 1K), .02+1!
, .03+1*!, .05(XREF 1S), .05(XREF 1K), .09+1!, .1+1!, .12(XREF 1S), .12(XREF 1K), .14+1!, .14(XREF 1S), .14(XREF 1K)
1(XREF 1S), 1(XREF 1K), 1.12+1*!, 1.14+1*!, 1.9+1*!, 3.1+1!, 4.1+1!, 4.3+1!, 4.4+1!, 4.6+1!
, 4.8+1!, 4.9+1!, 5.1+1!, 5.4+1!, 5.5+1!, 5.6+1!, 5.9+1*!, 6.1+1*!, 6.2+1*!, 6.3+1*!
, 6.4+1*!, 6.5+1*!, 6.6+1*!, 7+1!, 8+1!, 10.2+1!, 10.6+1*!, 10.7+1!, 10.8+1!, 10.9+1!
, 13.1+1!, 13.2+1!, 13.3+1!, 15+1!, 20.1+1!, 20.2+1!, 20.3+1!, 20.5+1!, 22.1+1!, 22.3+1!
, 22.5+1*!, 24.3+1!, 24.4+1!, 24.5+1!, 24.6+1!, 25+1!, 25.2+1!, 27+1!, 30+1!, 41+1!
, 42+1!, 43+1!, 50+1!, 50.2+1*!, 51.2+1!, 52.2+1!, 52.3+1!, 60+1!, 70.1+1!, 70.2+1!
, 70.3+1!, 70.4+1!, 70.6+1!, 70.7+1!, 80.2+1!, 80.3+1!
X(1 IXESL+1, IXEKL+1, IXEPATSL+1, IXEPATKL+1, IXEPROVSL+1, IXEPROVKL+1, IXFSL+1, IXFKL+1, IXMTYPESL+1, IXMTYPEKL+1
, IXPATSL+1, IXPATKL+1, IXPAT2SL+1, IXPAT2KL+1
X(2 IXESL+1, IXEKL+1, IXEPATSL+1, IXEPATKL+1, IXEPROVSL+1, IXEPROVKL+1, IXFSL+1, IXFKL+1, IXMTYPESL+1, IXMTYPEKL+1
, IXPATSL+1, IXPATKL+1, IXPAT2SL+1, IXPAT2KL+1
X(3 IXESL+1, IXEKL+1, IXEPATSL+1, IXEPATKL+1, IXEPROVSL+1, IXEPROVKL+1, IXFSL+1, IXFKL+1, IXMTYPESL+1, IXMTYPEKL+1
, IXPATSL+1, IXPATKL+1
X(4 IXPATSL+1, IXPATKL+1
>> Y .03+1, 1.12+1, 1.14+1, 1.9+1, 5.9+1, 6.1+1, 6.2+1, 6.3+1, 6.4+1, 6.5+1
, 6.6+1, 10.6+1, 22.5+1, 50.2+1
Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Pointed To By FileMan Files |  Pointer To FileMan Files |  Fields |  External References |  Global Variables Directly Accessed |  Local Variables  | All