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 |  External References |  Global Variables Directly Accessed |  Local Variables  | 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: 7

Package Total Routines
Outpatient Pharmacy 5 PSOHLDS    PSOHLDS5    PSOHLDS6    PSORLLLI    PSORRP    
Pharmacy Data Management 2 ^APSPQA(32.5    ^PSRXR(52.09    

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: 26

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 PERSON 0;11 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>45!($L(X)<1) X
    MAXIMUM LENGTH: 45
  • LAST EDITED:  SEP 15, 2021
  • HELP-PROMPT:  Answer must be 1-45 characters in length.
  • DESCRIPTION:  
    This is the name of the person at the remote site who filled the OneVA refill/partial for the selected RX.
.062 REMOTE CHECKING PHARMACIST 0;12 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>45!($L(X)<1) X
    MAXIMUM LENGTH: 45
  • LAST EDITED:  SEP 13, 2021
  • HELP-PROMPT:  Answer must be 1-45 characters in length.
  • DESCRIPTION:  
    This is the pharmacist from the remote site that checked the OneVA prescription refill/partial.
.063 HOST REFILL IEN 0;13 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>99)!(X<1)!(X?.E1"."1.N) X
  • LAST EDITED:  OCT 13, 2021
  • HELP-PROMPT:  Type a number between 1 and 99, 0 decimal digits.
  • DESCRIPTION:  
    This is the REFILL entry at the host site in the PRESCRIPTION File (#52). This field will be populated at both the host and dispensing site.
    UNEDITABLE
.064 HOST PARTIAL IEN 0;14 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>99)!(X<1)!(X?.E1"."1.N) X
  • LAST EDITED:  OCT 13, 2021
  • HELP-PROMPT:  Type a number between 1 and 99, 0 decimal digits.
  • DESCRIPTION:  
    This is the PARTIAL DATE entry at the host site in the PRESCRIPTION File (#52). This field will be populated at both the host and dispensing site.
    UNEDITABLE
.065 HOST RX LOG IEN 0;15 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
    MAXIMUM LENGTH: 20
  • LAST EDITED:  OCT 27, 2021
  • HELP-PROMPT:  Answer must be 1-20 characters in length.
  • DESCRIPTION:  
    This is the internal entry number of the Remote Prescription Log File (#52.09) at host site that is associated with the OneVA refill/partial for the selected RX. This field will be populated at the dispensing site only.
    UNEDITABLE
.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.
  • LAST EDITED:  APR 26, 2014
  • HELP-PROMPT:  Enter the message details for this refill or partial fill request.
  • DESCRIPTION:  
    Contains the message details that were passed back by the remote system. This gives more information on what occured with this RX 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.
  • LAST EDITED:  AUG 28, 2014
  • HELP-PROMPT:  Enter the label data, as processed and generated by the remote facility.
  • DESCRIPTION:  
    This is the label data that was built by the remote facility for printing at the local (requesting) facility.
4 OPAI MESSAGE ID 4;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>40!($L(X)<1) X
    MAXIMUM LENGTH: 40
  • LAST EDITED:  JAN 04, 2022
  • HELP-PROMPT:  Answer must be 1-40 characters in length.
  • DESCRIPTION:  
    This is the message ID from the Outpatient Pharmacy Automated Interface (OPAI) to an automated dispensing device.
    UNEDITABLE
  • CROSS-REFERENCE:  52.09^F^MUMPS
    1)= S ^PSRXR(52.09,"F",$E(X,1,40),DA)=""
    2)= K ^PSRXR(52.09,"F",$E(X,1,40),DA)
    3)= Do not delete this cross reference.
    This cross reference indicates that this OneVA fill was sent to the Outpatient Pharmacy Automated Interface (OPAI). It cross references the OPAI Message ID, which is the Message ID of the HL7 message that was sent to the
    OPAI. It sets the global ^PSRXR(52.09,"F",OPAI Message ID,IEN)="".
4.1 HOST SITE ID 4;2 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>40!($L(X)<1) X
    MAXIMUM LENGTH: 40
  • LAST EDITED:  OCT 13, 2021
  • HELP-PROMPT:  Answer must be 1-40 characters in length.
  • DESCRIPTION:  This is the site ID from the host site when a OneVA refill or partial fill is processed and sent to the Outpatient Pharmacy Automated Interface (OPAI) at a dispensing site. This field will be populated at the dispensing
    site only.
    UNEDITABLE
4.2 DISP ADD NAME 4;3 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3) X
    MAXIMUM LENGTH: 30
  • LAST EDITED:  JAN 04, 2022
  • HELP-PROMPT:  Answer must be 3-30 characters in length.
  • DESCRIPTION:  
    This is the name of the dispensing site's automated dispensing device that the OneVA fill was sent to.
4.3 DISP ADD DNS 4;4 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
    MAXIMUM LENGTH: 50
  • LAST EDITED:  JAN 04, 2022
  • HELP-PROMPT:  Answer must be 1-50 characters in length.
  • DESCRIPTION:  
    This is the DNS name or IP address of the dispensing site's automated dispensing device that the OneVA fill was sent to.
4.4 DISP MULTI ADDS 4;5 SET
  • '1' FOR YES;

  • LAST EDITED:  JAN 04, 2022
  • DESCRIPTION:  This flag is set to '1' when there are multiple Automated Dispensing Devices (ADDs) defined for an outpatient site. An additional entry is displayed in the prescription's activity log to indicate which ADD the OneVA
    prescription refill/partial fill was sent to for dispensing.

External References

Name Field # of Occurrence
^%DT .01+1, .09+1, .1+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PSRXR(52.09 - [#52.09] .01(XREF 1S), .01(XREF 1K), .02(XREF 1S), .02(XREF 1K), .03(XREF 1S), .03(XREF 1K), .04(XREF 1S), .04(XREF 1K), 4(XREF 1S), 4(XREF 1K)

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> %DT .01+1*, .09+1*, .1+1*
>> DA .01(XREF 1S), .01(XREF 1K), .02(XREF 1S), .02(XREF 1K), .03(XREF 1S), .03(XREF 1K), .04(XREF 1S), .04(XREF 1K), 4(XREF 1S), 4(XREF 1K)
X .01+1*!, .01(XREF 1S), .01(XREF 1K), .02(XREF 1S), .02(XREF 1K), .03+1!, .03(XREF 1S), .03(XREF 1K), .04(XREF 1S), .04(XREF 1K)
, .061+1!, .062+1!, .063+1!, .064+1!, .065+1!, .07+1!, .08+1!, .09+1*!, .1+1*!, 1+1!
, 1.2+1!, 1.3+1!, 4+1!, 4(XREF 1S), 4(XREF 1K), 4.1+1!, 4.2+1!, 4.3+1!
>> Y .01+1, .09+1, .1+1
Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Pointer To FileMan Files |  Fields |  External References |  Global Variables Directly Accessed |  Local Variables  | All