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 |  Pointer To FileMan Files |  Fields  | All
Print Page as PDF
Global: ^PSRXR(52.09

Package: Pharmacy Data Management

Global: ^PSRXR(52.09


Information

FileMan FileNo FileMan Filename Package
52.09 REMOTE PRESCRIPTION LOG Pharmacy Data Management

Description

Directly Accessed By Routines, Total: 1

Package Total Routines
Outpatient Pharmacy 1 PSORRP    

Accessed By FileMan Db Calls, Total: 2

Package Total Routines
Outpatient Pharmacy 2 PSORRP    PSORWRAP    

Pointer To FileMan Files, Total: 4

Package Total FileMan Files
Kernel 2 INSTITUTION(#4)[.04]    NEW PERSON(#200)[.06]    
Pharmacy Data Management 1 DRUG(#50)[1.1]    
Registration 1 PATIENT(#2)[.02]    

Fields, Total: 17

Field # Name Loc Type Details
.01 LOG DATE/TIME 0;1 DATE
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  S %DT="ESTR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  APR 26, 2014
  • HELP-PROMPT:  Enter the date/time for this transaction.
  • DESCRIPTION:  
    This is the date/time associated with this remote prescription transaction. The date/time represents the date/time the message was processed and filed locally.
  • CROSS-REFERENCE:  52.09^B
    1)= S ^PSRXR(52.09,"B",$E(X,1,30),DA)=""
    2)= K ^PSRXR(52.09,"B",$E(X,1,30),DA)
.02 PATIENT 0;2 POINTER TO PATIENT FILE (#2)
************************REQUIRED FIELD************************
PATIENT(#2)

  • LAST EDITED:  APR 26, 2014
  • HELP-PROMPT:  Enter the Patient for which this refill or partial fill occured.
  • DESCRIPTION:  
    This is the patient for which a refill or partial fill request was generated.
  • CROSS-REFERENCE:  52.09^C
    1)= S ^PSRXR(52.09,"C",$E(X,1,30),DA)=""
    2)= K ^PSRXR(52.09,"C",$E(X,1,30),DA)
    Cross reference for patient IEN.
.03 RX NUMBER 0;3 FREE TEXT
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
  • LAST EDITED:  APR 26, 2014
  • HELP-PROMPT:  Enter the remote RX number. This is the RX number from the remote facility. 1-20 characters.
  • DESCRIPTION:  
    The RX# as stored at the remote facility.
  • CROSS-REFERENCE:  52.09^D
    1)= S ^PSRXR(52.09,"D",$E(X,1,30),DA)=""
    2)= K ^PSRXR(52.09,"D",$E(X,1,30),DA)
    Cross reference for remote RX number.
.04 SITE NUMBER 0;4 POINTER TO INSTITUTION FILE (#4)
************************REQUIRED FIELD************************
INSTITUTION(#4)

  • LAST EDITED:  APR 28, 2014
  • HELP-PROMPT:  Select the site associated with this remote RX.
  • DESCRIPTION:  
    Site number for the remote facility.
  • CROSS-REFERENCE:  52.09^E
    1)= S ^PSRXR(52.09,"E",$E(X,1,30),DA)=""
    2)= K ^PSRXR(52.09,"E",$E(X,1,30),DA)
    Site Number Cross reference.
.05 REQUEST TYPE 0;5 SET
  • 'RF' FOR REFILL;
  • 'PR' FOR PARTIAL FILL;
  • 'OR' FOR OUTSIDE REFILL;
  • 'OP' FOR OUTSIDE PARTIAL FILL;

  • LAST EDITED:  AUG 04, 2014
  • HELP-PROMPT:  Select the type of request being made. Refill(RF), Partial Fill(PR), Outside Refill (OR), or Outside Partial Fill (OP).
  • DESCRIPTION:  
    This fields holds the type of request being made for this RX.
.06 OUTGOING REQUEST PHARMACIST 0;6 POINTER TO NEW PERSON FILE (#200)
************************REQUIRED FIELD************************
NEW PERSON(#200)

  • LAST EDITED:  AUG 04, 2014
  • HELP-PROMPT:  Enter the Pharmacist for this refill or partial fill request.
  • DESCRIPTION:  
    This is the Pharmacist who initiated the refill or partial fill request to the remote facility.
.061 REMOTE FILLING PHARMACIST 0;11 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3) X
  • LAST EDITED:  AUG 04, 2014
  • HELP-PROMPT:  Answer must be 3-30 characters in length.
  • DESCRIPTION:  
    This is the pharmacist taking action on the selected RX.
.07 QUANTITY 0;7 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>9999)!(X<0)!(X?.E1"."1N.N) X
  • LAST EDITED:  APR 26, 2014
  • HELP-PROMPT:  Enter the quantity that was dispensed with this refill or partial fill.
  • DESCRIPTION:  
    This is the quantity associated with this refill or partial fill.
.08 DAYS SUPPLY 0;8 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>999)!(X<0)!(X?.E1"."1N.N) X
  • LAST EDITED:  APR 26, 2014
  • HELP-PROMPT:  Enter the days supply for this refill or partial fill. A numeric value 0-999.
  • DESCRIPTION:  
    This is the days supply for this refill or partial fill action.
.09 REFILL/PARTIAL DATE 0;9 DATE

  • INPUT TRANSFORM:  S %DT="ETXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  MAR 08, 2016
  • HELP-PROMPT:  Enter the date/time for this refill or partial fill request.
  • DESCRIPTION:  This is the date for the refill or partial fill request. This represents the date/time as it is logged in the .01 field of either the REFILL or PARTIAL fill. subfile within the PRESCRIPTION file (#52) on the remote
    system.
.1 DISPENSED DATE 0;10 DATE

  • INPUT TRANSFORM:  S %DT="ETXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  MAR 08, 2016
  • HELP-PROMPT:  Enter the dispense date for this refill or partial fill request.
  • DESCRIPTION:  
    This is the Dispense date/time as it is held in the DISPENSED DATE within the REFILL subfile of the PRESCRIPTION (#52) file, or the DISPENSED DATE within the PARTIAL subfile of the PRESCRIPTION file.
1 REMOTE DRUG NAME 1;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>120!($L(X)<1) X
  • LAST EDITED:  AUG 12, 2014
  • HELP-PROMPT:  Enter the name of the drug associated with this refill or partial fill request, 1-120 characters.
  • DESCRIPTION:  
    This is the name of the drug being dispense for this request.
1.1 LOCAL (MATCHED) DRUG 1;2 POINTER TO DRUG FILE (#50) DRUG(#50)

  • LAST EDITED:  AUG 12, 2014
  • HELP-PROMPT:  Enter the name of the local drug that matches the remote (incoming) drug.
  • DESCRIPTION:  
    This is the drug that was used for locally for the 'remote' refill or partial fill. Since drug IENS and names may differ between sites, a user must match the remote drug name to a local drug.
1.2 TOTAL REFILL/PARTIAL FILL COST 1;3 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>9999999.9999999)!(X<0)!(X?.E1"."8.N) X
  • LAST EDITED:  JUN 29, 2016
  • HELP-PROMPT:  Type a number between 0 and 9999999.9999999, 7 decimal digits.
  • DESCRIPTION:  
    This is the total cost for the 'remote'/filling facility. The cost is derived by using the cost of the drug at the time of the refill or partial fill. The cost is being retrieved from file 50, field 13.
1.3 VA PRODUCT ID 1;4 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
  • LAST EDITED:  APR 06, 2016
  • HELP-PROMPT:  Answer must be 1-50 characters in length.
  • DESCRIPTION:  
    This is the VA product ID that will be passed in by the 'host' vista system.
2 MESSAGE DETAILS 2;0 WORD-PROCESSING #52.092

  • DESCRIPTION:  
    This is the HL7 message that is associated with the refill or partial fill request.
3 LABEL DATA 3;0 WORD-PROCESSING #52.093

  • DESCRIPTION:  
    This contains the label data returned from the remote facility for a refill or partial fill.
Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Pointer To FileMan Files |  Fields  | All