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: ^PS(52.87

Package: Outpatient Pharmacy

Global: ^PS(52.87


Information

FileMan FileNo FileMan Filename Package
52.87 PSO AUDIT LOG Outpatient Pharmacy

Description

Directly Accessed By Routines, Total: 8

Package Total Routines
Outpatient Pharmacy 6 PSOREJU3    ^PS(52.87    NCPDP REJECT CODE    PSO7P385    PSOBORP2    PSOTRI    

Accessed By FileMan Db Calls, Total: 1

Package Total Routines
Outpatient Pharmacy 1 PSOREJU3    

Pointer To FileMan Files, Total: 6

Package Total FileMan Files
Outpatient Pharmacy 3 RX PATIENT STATUS(#53)[11]    OUTPATIENT SITE(#59)[4]    PRESCRIPTION(#52)[1]    
Kernel 1 NEW PERSON(#200)[514]    
Pharmacy Data Management 1 DRUG(#50)[7]    
Registration 1 PATIENT(#2)[3]    

Fields, Total: 19

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

  • INPUT TRANSFORM:  K:+X'=X!(X>999999999)!(X<1)!(X?.E1"."1.N) X
  • LAST EDITED:  AUG 16, 2010
  • HELP-PROMPT:  Type a number between 1 and 999999999, 0 Decimal Digits.
  • DESCRIPTION:  
    This is the Audit ID that represents this specific audit record.
  • CROSS-REFERENCE:  52.87^B
    1)= S ^PS(52.87,"B",$E(X,1,30),DA)=""
    2)= K ^PS(52.87,"B",$E(X,1,30),DA)
1 PRESCRIPTION 0;2 POINTER TO PRESCRIPTION FILE (#52) PRESCRIPTION(#52)

  • LAST EDITED:  JUL 20, 2010
  • HELP-PROMPT:  Select a Prescription.
  • DESCRIPTION:  
    This is the prescription number associated with this audit record.
  • CROSS-REFERENCE:  52.87^C
    1)= S ^PS(52.87,"C",$E(X,1,30),DA)=""
    2)= K ^PS(52.87,"C",$E(X,1,30),DA)
2 FILL 0;3 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>999)!(X<0)!(X?.E1"."1.N) X
  • LAST EDITED:  JUL 20, 2010
  • HELP-PROMPT:  Type a number between 0 and 999, 0 Decimal Digits
  • DESCRIPTION:  
    This is the Refill number associated with the prescription. The original fill is always '0'.
3 PATIENT 0;4 POINTER TO PATIENT FILE (#2) PATIENT(#2)

  • LAST EDITED:  AUG 16, 2010
  • HELP-PROMPT:  Select a Patient.
  • DESCRIPTION:  
    This is the Patient for whom the medication was prescribed.
4 DIVISION 0;5 POINTER TO OUTPATIENT SITE FILE (#59) OUTPATIENT SITE(#59)

  • LAST EDITED:  AUG 16, 2010
  • HELP-PROMPT:  Select an Outpatient Pharmacy Division.
  • DESCRIPTION:  
    This the Outpatient Pharmacy Division from which the RX/Fill was dispensed.
  • CROSS-REFERENCE:  52.87^D
    1)= S ^PS(52.87,"D",$E(X,1,30),DA)=""
    2)= K ^PS(52.87,"D",$E(X,1,30),DA)
5 PROVIDER 0;6 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  JUL 20, 2010
  • HELP-PROMPT:  Select a Provider.
  • DESCRIPTION:  
    This is the Provider who prescribed the medication.
  • CROSS-REFERENCE:  52.87^F
    1)= S ^PS(52.87,"F",$E(X,1,30),DA)=""
    2)= K ^PS(52.87,"F",$E(X,1,30),DA)
6 NDC 0;7 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>13!($L(X)<5) X
  • LAST EDITED:  AUG 16, 2010
  • HELP-PROMPT:  Enter 5-13 free text characters.
  • DESCRIPTION:  
    This is the National Drug Code (NDC) of the drug identified in the DRUG field.
7 DRUG 0;8 POINTER TO DRUG FILE (#50) DRUG(#50)

  • LAST EDITED:  JUL 20, 2010
  • HELP-PROMPT:  Select the medication prescribed.
  • DESCRIPTION:  
    This is the drug prescribed to the patient.
8 BILL COST 0;9 NUMBER

  • INPUT TRANSFORM:  S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>99999)!(X<0)!(X?.E1"."3.N) X
  • LAST EDITED:  AUG 17, 2010
  • HELP-PROMPT:  Type a Dollar amount between 0 and 99999, 2 Decimal Digits.
  • DESCRIPTION:  
    This is the total bill cost for the TRICARE prescription being audited.
9 ECME NUMBER 0;10 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>13!($L(X)<7) X
  • LAST EDITED:  JUL 20, 2010
  • HELP-PROMPT:  Enter 7-13 characters in length.
  • DESCRIPTION:  
    This is the Electronic Claims Management Engine (ECME) number associated with the ePharmacy billing transaction.
10 QTY 0;11 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>99999999)!(X<1)!(X?.E1"."1.N) X
  • LAST EDITED:  JUL 20, 2010
  • HELP-PROMPT:  Enter a number between 1 and 99999999, 0 Decimal Digits
  • DESCRIPTION:  
    This is the quantity of medication dispensed.
11 PATIENT STATUS 1;1 POINTER TO RX PATIENT STATUS FILE (#53) RX PATIENT STATUS(#53)

  • LAST EDITED:  AUG 16, 2010
  • HELP-PROMPT:  Select the RX Patient Status.
  • DESCRIPTION:  
    This is the RX PATIENT STATUS that represents the authorization for the RX. This is independent of the eligibility code assigned to the patient by Medical Administration Service (MAS) representative.
12 AUDIT TYPE 1;2 SET
  • 'R' FOR NCPDP REJECT;
  • 'N' FOR NON BILLABLE;
  • 'I' FOR INPATIENT;
  • 'P' FOR PARTIAL FILL;

  • LAST EDITED:  JAN 22, 2015
  • HELP-PROMPT:  Choose the Audit Type associated with the audit event.
  • DESCRIPTION:  
    This is the type of audit associated with a TRICARE/CHAMPVA Bypass or Override event.
13 NCPDP REJECT CODE 3;0 Multiple #52.8713 52.8713

  • DESCRIPTION:  
    This multiple is used to store the NCPDP Rject Code(s) returned in the ECME response from the TRICARE payer indicating the reason(s) why the claim was rejected.
14 USER 1;4 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  JUL 20, 2010
  • HELP-PROMPT:  Select a Pharmacy system user or Postmaster.
  • DESCRIPTION:  
    The person who is responsible for creating the audit record. This would either be a Pharmacy system user or Postmaster if the audit is created by a background process.
15 DATE OF ACTION 1;5 DATE

  • INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:X<1 X
  • LAST EDITED:  AUG 16, 2010
  • HELP-PROMPT:  Enter a valid date/time or enter NOW.
  • DESCRIPTION:  
    This is the Date/Time that the event that generated the audit record occurred.
  • CROSS-REFERENCE:  52.87^E
    1)= S ^PS(52.87,"E",$E(X,1,30),DA)=""
    2)= K ^PS(52.87,"E",$E(X,1,30),DA)
16 DATE OF SERVICE 1;6 DATE

  • INPUT TRANSFORM:  S %DT="EST" D ^%DT S X=Y K:X<1 X
  • LAST EDITED:  JUL 20, 2010
  • HELP-PROMPT:  Enter a valid date or enter NOW.
  • DESCRIPTION:  
    This is the Date the prescription was filled or professional service rendered.
17 JUSTIFICATION 2;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>250!($L(X)<1) X
  • LAST EDITED:  AUG 01, 2011
  • HELP-PROMPT:  Answer must be 1-250 characters in length.
  • DESCRIPTION:  This is used to hold the free-text explanation why the TRICARE or CHAMPVA prescription was bypassed or overridden. For partial fills, the reason is hard-coded to [TRICARE or CHAMPVA] "Partial Fill". For 'Inpatient Meds
    (Bypass)',the justification is hard-coded to [TRICARE or CHAMPVA] "INPATIENT/DISCHARGE" or [TRICARE or CHAMPVA] "INPATIENT AUTO-REVERSAL". Overrides (TRICARE/CHAMPVA rejects and TRICARE/CHAMPVA non-billables) come from
    user entry.
18 ELIGIBILITY 1;3 SET
  • 'T' FOR TRICARE;
  • 'C' FOR CHAMPVA;

  • LAST EDITED:  APR 22, 2011
  • HELP-PROMPT:  Enter the eligibility code for this event.
  • DESCRIPTION:  
    This field is the eligibility indicator of the event type.

External References

Name Field # of Occurrence
^%DT 15+1, 16+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PS(52.87 - [#52.87] .01(XREF 1S), .01(XREF 1K), 1(XREF 1S), 1(XREF 1K), 4(XREF 1S), 4(XREF 1K), 5(XREF 1S), 5(XREF 1K), 15(XREF 1S), 15(XREF 1K)

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> %DT 15+1*, 16+1*
>> DA .01(XREF 1S), .01(XREF 1K), 1(XREF 1S), 1(XREF 1K), 4(XREF 1S), 4(XREF 1K), 5(XREF 1S), 5(XREF 1K), 15(XREF 1S), 15(XREF 1K)
X .01+1!, .01(XREF 1S), .01(XREF 1K), 1(XREF 1S), 1(XREF 1K), 2+1!, 4(XREF 1S), 4(XREF 1K), 5(XREF 1S), 5(XREF 1K)
, 6+1!, 8+1*!, 9+1!, 10+1!, 15+1*!, 15(XREF 1S), 15(XREF 1K), 16+1*!, 17+1!
>> Y 15+1, 16+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