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: ^ORPA(101.52

Package: Order Entry Results Reporting

Global: ^ORPA(101.52


Information

FileMan FileNo FileMan Filename Package
101.52 ORDER DEA ARCHIVE INFO Order Entry Results Reporting

Description

Directly Accessed By Routines, Total: 6

Package Total Routines
Order Entry Results Reporting 6 ORDEA02    ORDEAAUD    ORS100C    ORWOR1    PARAMETER    ^ORPA(101.52    

Accessed By FileMan Db Calls, Total: 3

Package Total Routines
Order Entry Results Reporting 2 ORDEA    ORWOR1    
Outpatient Pharmacy 1 PSOERX1F    

Pointer To FileMan Files, Total: 5

Package Total FileMan Files
Kernel 1 NEW PERSON(#200)[31]    
Order Entry Results Reporting 1 ORDER(#100)[.01]    
Outpatient Pharmacy 1 PRESCRIPTION(#52)[1]    
Pharmacy Data Management 1 DRUG(#50)[29]    
Registration 1 PATIENT(#2)[19]    

Fields, Total: 31

Field # Name Loc Type Details
.01 CPRS ORDER NUMBER 0;1 POINTER TO ORDER FILE (#100)
************************REQUIRED FIELD************************
ORDER(#100)

  • LAST EDITED:  MAR 14, 2013
  • HELP-PROMPT:  Enter the CPRS order number associated with this archive entry.
  • DESCRIPTION:  
    The CPRS order number that is associated with this archive entry.
  • AUDIT:  YES, ALWAYS
  • CROSS-REFERENCE:  101.52^B
    1)= S ^ORPA(101.52,"B",$E(X,1,30),DA)=""
    2)= K ^ORPA(101.52,"B",$E(X,1,30),DA)
  • CROSS-REFERENCE:  101.52^AC^MUMPS
    1)= D AUDIT^ORDEAAUD
    2)= Q
    Populates the STACK field (#41).
1 PRESCRIPTION NUMBER 0;2 POINTER TO PRESCRIPTION FILE (#52) PRESCRIPTION(#52)

  • LAST EDITED:  MAR 14, 2013
  • HELP-PROMPT:  Enter the prescription number associated with this archive entry.
  • DESCRIPTION:  
    The prescription number associated with this archive entry. This field is populated once Outpatient Pharmacy has determined that the contents of the prescription received match what was entered by the provider.
  • AUDIT:  YES, ALWAYS
2 DIG SIG HASH 0;3 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>100!($L(X)<1) X
  • LAST EDITED:  MAR 14, 2013
  • HELP-PROMPT:  Enter the digital signature hash associated with this order (1-100 characters).
  • DESCRIPTION:  This is the digital signature hash associated with this order. This 'hash' is calculated by a Microsoft API that is called by the Kernel code during the signature process in CPRS.
    It is stored here so that, at any time, a hash can be calculated and compared to this value to ensure the contents have not changed.
  • AUDIT:  YES, ALWAYS
4 ISSUANCE DATE 1;1 DATE

  • INPUT TRANSFORM:  S %DT="EX" D ^%DT S X=Y K:3110701>X X
  • LAST EDITED:  DEC 07, 2012
  • HELP-PROMPT:  Enter the date of issuance for this order.
  • DESCRIPTION:  
    This is the date this order was issued. In other words, what date was it entered into CPRS.
  • RECORD INDEXES:  C (#1102)
6 DRUG NAME 1;2 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>40!($L(X)<1) X
  • LAST EDITED:  DEC 06, 2012
  • HELP-PROMPT:  Enter the drug name associated with this order (1-40 characters).
  • DESCRIPTION:  This is the drug name associated with the CPRS orderable item for this order. It will only be present if the dispense drug is known at the time the archive entry is created. This information comes from the GENERIC NAME
    field (#.01) from the DRUG file (#50).
8 QTY PRESCRIBED 1;5 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>99999999)!(X<1)!(X?.E1"."3.N) X
  • LAST EDITED:  DEC 06, 2012
  • HELP-PROMPT:  Enter the quantity ordered by the provider (1 and 99999999 maximum 2 decimal digits).
  • DESCRIPTION:  
    This is the quantity of pills/tablets/liquid specified by the provider for this order. This field correlates to the QTY field (#7) in the PRESCRIPTION file (#52).
9 DIRECTIONS FOR USE (SIG) 2;0 Multiple #101.529 101.529

  • DESCRIPTION:  This is a multiple field for storing the directions for use. In this particular storage location, directions are stored in the format that they are transmitted via the HL7 array and protocols to Pharmacy, rather than in
    human readable format.
10 DEA # 3;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
  • LAST EDITED:  DEC 06, 2012
  • HELP-PROMPT:  Enter the DEA # or the Facility DEA - VA # used by the provider to sign this order (1-20 characters).
  • DESCRIPTION:  This is the DEA license number of the provider that signed the order. The DEA number is pulled from one of two places. If present and valid, it will be the DEA# field (#53.2) in the NEW PERSON file (#200) at the time the
    order is signed.
    If the provider doesn't have personal DEA credentials, this field will contain the facility DEA number, followed by a '-', followed by the provider's VA suffix. This number pulls from the FACILITY DEA NUMBER field (#52) in
    the INSTITUTION file (#4) and the VA# field (#53.3) in the NEW PERSON file (#200).
11 DETOX # 3;2 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>9!($L(X)<3) X
  • LAST EDITED:  DEC 05, 2012
  • HELP-PROMPT:  Enter the Detox/Maintenance number for this order (3-9 characters).
  • DESCRIPTION:  This is the Detox/Maintenance license number associated with the provider that signed this order. This comes from the DETOX/MAINTENANCE ID NUMBER field (#53.11) from the NEW PERSON file (#200) at the time the order is
    signed.
    Not every medication requires a Detox/Maintenance license, so this field will frequently be blank.
12 PROVIDER NAME 3;3 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>35!($L(X)<3) X
  • LAST EDITED:  DEC 05, 2012
  • HELP-PROMPT:  Enter the name of the provider associated with this order (3-35 characters).
  • DESCRIPTION:  
    The name of the provider, from the NAME field (#.01) of the NEW PERSON file (#200), at the time the order is signed.
13 PROVIDER ADDRESS #1 4;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3) X
  • LAST EDITED:  DEC 06, 2012
  • HELP-PROMPT:  Enter the name of the VA facility where this order was signed (3-30 character).
  • DESCRIPTION:  
    This is the VA facility name where this order was signed. This comes from the NAME field (.01) of the INSTITUTION file (#4).
14 PROVIDER ADDRESS #2 4;2 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>40!($L(X)<2) X
  • LAST EDITED:  DEC 06, 2012
  • HELP-PROMPT:  Enter Street Address 1 for the VA facility where this order was signed (2-40 characters).
  • DESCRIPTION:  
    This is the first line of the street address for the VA facility where this order was signed. This comes from the STREET ADDR. 1 field (1.01) of the INSTITUTION file (#4).
15 PROVIDER ADDRESS #3 4;3 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>40!($L(X)<2) X
  • LAST EDITED:  DEC 06, 2012
  • HELP-PROMPT:  Enter Street Address 2 for the VA facility where this order was signed (2-40 characters).
  • DESCRIPTION:  
    This is the second line of the street address of the VA facility where this order was signed. This comes from the STREET ADDR. 2 field (#1.02) in the INSTITUTION file (#4).
16 PROVIDER CITY 4;4 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>40!($L(X)<2) X
  • LAST EDITED:  DEC 06, 2012
  • HELP-PROMPT:  Enter the City for the VA facility where this order was signed (2-40 characters).
  • DESCRIPTION:  
    This is the city associated with the VA facility where this order was signed. This comes from the CITY field (#1.03) in the INSTITUTION file (#4).
17 PROVIDER STATE 4;5 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>30!($L(X)<1) X
  • LAST EDITED:  DEC 05, 2012
  • HELP-PROMPT:  Enter the state for the VA facility where this order was signed (1-30 characters).
  • DESCRIPTION:  
    This is the state associated with the VA facility where this order was signed. This is from the NAME field (.01) of the STATE file (#5).
17.5 PROVIDER ZIP+4 4;6 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>10!($L(X)<5) X
  • LAST EDITED:  DEC 06, 2012
  • HELP-PROMPT:  Enter ZIP or ZIP+4 for the VA facility where this order was signed (5 - 10 characters).
  • DESCRIPTION:  
    This is the ZIP or ZIP + 4 of the VA facility where this order was signed. This field comes from the ZIP field (#1.04) in the INSTITUTION file (#4).
18 PATIENT NAME 5;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3) X
  • LAST EDITED:  DEC 05, 2012
  • HELP-PROMPT:  Enter the name of the patient associated with this order (3-30 characters).
  • DESCRIPTION:  
    This is the patient name of the patient for whom the prescription was written and signed. This is correlated to the NAME field (#.01) of the PATIENT file (#2).
19 PATIENT 5;2 POINTER TO PATIENT FILE (#2) PATIENT(#2)

  • LAST EDITED:  DEC 05, 2012
  • HELP-PROMPT:  Select the patient associated with this order.
  • DESCRIPTION:  
    This is the patient associated with this order.
20 ICN 5;3 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>30!($L(X)<1) X
  • LAST EDITED:  DEC 05, 2012
  • HELP-PROMPT:  Enter the ICN for the patient associated with this order (1-30 characters).
  • DESCRIPTION:  
    This is the Integration Control Registration (ICN) number associated with the patient for which this order was written/signed. This is the value returned from GETICN^MPIF001. It may be a national ICN or a local ICN.
21 PATIENT ADDRESS #1 6;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>35!($L(X)<3) X
  • LAST EDITED:  DEC 05, 2012
  • HELP-PROMPT:  Enter address line 1 for the patient associated with this order (3-35 characters).
  • DESCRIPTION:  This is the address of the patient at the time the order was placed. It is the VAPA(1) return value from the call to ADD^VADPT. Assuming no temporary or foreign address, it would be the STREET ADDRESS [LINE 1] field
    (#.111) from the PATIENT file (#2).
22 PATIENT ADDRESS #2 6;2 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3) X
  • LAST EDITED:  DEC 05, 2012
  • HELP-PROMPT:  Enter address line 2 for the patient associated with this order (3-30 characters).
  • DESCRIPTION:  This is address line 2 of the patient associated with this order. It is the VAPA(2) return value from the call to ADD^VADPT. Assuming no temporary or foreign address, it would be the STREET ADDRESS [LINE 2] field (#.112)
    from the PATIENT file (#2).
24 PATIENT ADDRESS #3 6;3 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3) X
  • LAST EDITED:  DEC 05, 2012
  • HELP-PROMPT:  Enter address line 3 for the patient associated with this order (3-30 characters).
  • DESCRIPTION:  This is address line 3 for the patient associated with this order. It is the VAPA(3) return value from the call to ADD^VADPT. Assuming no temporary or foreign address, it would the STREET ADDRESS [LINE 3] field (#.113)
    from the PATIENT file (#2).
25 PATIENT CITY 6;4 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>15!($L(X)<2) X
  • LAST EDITED:  DEC 06, 2012
  • HELP-PROMPT:  Enter the city for the address of that patient associated with this order (2-15 characters).
  • DESCRIPTION:  This is the city associated with the address for the patient associated with this order. It is the VAPA(4) return value from the call to ADD^VADPT. Assuming no temporary or foreign address, it would the CITY field (#.114)
    from the PATIENT file (#2).
26 PATIENT STATE 6;5 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>30!($L(X)<1) X
  • LAST EDITED:  DEC 06, 2012
  • HELP-PROMPT:  Enter the state for the patient associated with this order (1-30 characters).
  • DESCRIPTION:  This is the state for the address of the patient associated with this order. It is the VAPA(5) return value from the call to ADD^VADPT. Assuming no temporary or foreign address, it would the STATE field (#.115) from the
    PATIENT file (#2).
27 PATIENT ZIP+4 6;6 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>10!($L(X)<5) X
  • LAST EDITED:  DEC 05, 2012
  • HELP-PROMPT:  Enter ZIP or ZIP + 4 for the address of the patient associated with this order.
  • DESCRIPTION:  This is the ZIP or ZIP+4 code for the city of the address for the patient associated with this order. It is the VAPA(6) return value from the call to ADD^VADPT. Assuming no temporary or foreign address, it would the ZIP
    CODE field (#.116) from the PATIENT file (#2).
28 # OF REFILLS 1;6 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>13)!(X<0)!(X?.E1"."1.N) X
  • LAST EDITED:  DEC 05, 2012
  • HELP-PROMPT:  Enter the number of refills for this order (a whole number from 0 to 13).
  • DESCRIPTION:  This is the number of refills specified by the provider at the time the drug is ordered. There are some limitations on refills for controlled substances and there are times when Pharmacy may correct this after validating
    the hash. This is correlated to the # OF REFILLS (#9) of the PRESCRIPTION file (#52).
29 DISPENSE DRUG 1;3 POINTER TO DRUG FILE (#50) DRUG(#50)

  • LAST EDITED:  DEC 05, 2012
  • HELP-PROMPT:  Select the Dispense Drug.
  • DESCRIPTION:  
    This is the dispense drug associated with this order. It is possible this field will be blank if there is no dispense drug known at the time the order was signed in CPRS.
30 DEA SCHEDULE 1;4 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>6!($L(X)<1) X
  • LAST EDITED:  DEC 06, 2012
  • HELP-PROMPT:  Enter the DEA Schedule for the dispense drug associated with this order (1-6 characters).
  • DESCRIPTION:  This is the Drug Enforcement Agency (DEA) drug schedule associated with the medication on this order. For example: 2 for a schedule two non-narcotic or 2n for the schedule two narcotic. This comes from the DEA, SPECIAL
    HDLG field (#3) in the DRUG file (#50).
31 PROVIDER 3;4 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  DEC 07, 2012
  • HELP-PROMPT:  Select the provider who signed this order.
  • DESCRIPTION:  
    This is the provider who signed this order.
  • RECORD INDEXES:  C (#1102)
40 SOURCE 7;0 Multiple #101.53 101.53
41 STACK 8;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>100!($L(X)<1) X
  • LAST EDITED:  FEB 19, 2013
  • HELP-PROMPT:  Enter the stack trace of the process that is creating this entry.
  • DESCRIPTION:  
    Stores the stack trace of the process that created this entry.

External References

Name Field # of Occurrence
^%DT 4+1
AUDIT^ORDEAAUD .01(XREF 2S)

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ORPA(101.52 - [#101.52] IXCSL+1*, IXCKL+1!, IXCKEIC+1!, .01(XREF 1S), .01(XREF 1K)

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> %DT 4+1*
>> DA IXCSL+1, IXCKL+1, .01(XREF 1S), .01(XREF 1K)
X .01(XREF 1S), .01(XREF 1K), 2+1!, 4+1*!, 6+1!, 8+1!, 10+1!, 11+1!, 12+1!, 13+1!
, 14+1!, 15+1!, 16+1!, 17+1!, 17.5+1!, 18+1!, 20+1!, 21+1!, 22+1!, 24+1!
, 25+1!, 26+1!, 27+1!, 28+1!, 30+1!, 41+1!
X(1 IXCSL+1, IXCKL+1
X(2 IXCSL+1, IXCKL+1
>> Y 4+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