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: ^OR(100.3

Package: Order Entry Results Reporting

Global: ^OR(100.3


Information

FileMan FileNo FileMan Filename Package
100.3 CANCELLED ORDERS AND ORDER CHECKS Order Entry Results Reporting

Description

Directly Accessed By Routines, Total: 6

Package Total Routines
Order Entry Results Reporting 6 ORDER CHECKS    ORDERABLE ITEMS    ORNORC    OROCLM    PARAMETER    ^OR(100.3    

Accessed By FileMan Db Calls, Total: 3

Package Total Routines
Order Entry Results Reporting 3 OR498P    ORNORC    OROCLM    

Pointer To FileMan Files, Total: 6

Package Total FileMan Files
Order Entry Results Reporting 3 ORDER(#100)[.07]    ORDER CHECKS(#100.8)[#100.32(.01)]    ORDERABLE ITEMS(#101.43)[#100.31(.01)]    
Kernel 1 NEW PERSON(#200)[.03]    
Registration 1 PATIENT(#2)[.02]    
Scheduling 1 HOSPITAL LOCATION(#44)[.04]    

Fields, Total: 11

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

  • INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  NOV 03, 2016
  • HELP-PROMPT:  Enter the date/time of the order.
  • DESCRIPTION:  
    This is the date and time the order was placed and subsequently cancelled.
  • FIELD INDEX:  B (#525) REGULAR IR LOOKUP & SORTING
    Short Descr: This is a REGULAR style index on the DATE the order was cancelled.
    Description: This REGULAR FileMan type cross-reference is used for sorting and look-up by date.
    Set Logic: S ^OR(100.3,"B",X,DA)=""
    Kill Logic: K ^OR(100.3,"B",X,DA)
    Whole Kill: K ^OR(100.3,"B")
    X(1): DATE/TIME (100.3,.01) (Subscr 1) (forwards)
    Transform (Storage): S X=$P(X,".")
.02 PATIENT 0;2 POINTER TO PATIENT FILE (#2) PATIENT(#2)

  • LAST EDITED:  NOV 03, 2016
  • HELP-PROMPT:  Enter the patient for the order.
  • DESCRIPTION:  
    This is the DFN of the patient associated with the order.
  • CROSS-REFERENCE:  100.3^PATIENT
    1)= S ^OR(100.3,"PATIENT",$E(X,1,30),DA)=""
    2)= K ^OR(100.3,"PATIENT",$E(X,1,30),DA)
    This REGULAR FileMan type cross-reference is used for sorting and look-up by patient.
.03 USER 0;3 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  NOV 03, 2016
  • HELP-PROMPT:  Enter the user who placed the order.
  • DESCRIPTION:  
    This is the user who entered the order information in CPRS.
  • CROSS-REFERENCE:  100.3^USER
    1)= S ^OR(100.3,"USER",$E(X,1,30),DA)=""
    2)= K ^OR(100.3,"USER",$E(X,1,30),DA)
    This REGULAR FileMan type cross-reference is used for sorting and look-up by user.
.04 HOSPITAL LOCATION 0;4 POINTER TO HOSPITAL LOCATION FILE (#44) HOSPITAL LOCATION(#44)

  • LAST EDITED:  NOV 03, 2016
  • HELP-PROMPT:  Enter the hospital location of the patient.
  • DESCRIPTION:  
    This is the hospital location of the patient for the order.
  • CROSS-REFERENCE:  100.3^LOCATION
    1)= S ^OR(100.3,"LOCATION",$E(X,1,30),DA)=""
    2)= K ^OR(100.3,"LOCATION",$E(X,1,30),DA)
    This REGULAR FileMan type cross-reference is used for sorting and look-up by location.
.05 OCCURRENCE 0;5 SET
  • 'C' FOR CANCELLED;
  • 'AC' FOR ACCEPTED_CANCELLED;
  • 'RT' FOR RTCLICK_CANCELLED;
  • 'CH' FOR CHANGED;

  • LAST EDITED:  MAY 16, 2018
  • HELP-PROMPT:  Enter the occurrence of the cancellation.
  • DESCRIPTION:  This is the occurrence data related to the cancellation of the order.
    Orders that are never accepted are considered CANCELLED.
    Orders that have been accepted and discontinued at signature are considered ACCEPTED_CANCELLED.
    Orders that have been accepted and cancelled via right-click are considered RTCLICK_CANCELLED.
  • CROSS-REFERENCE:  100.3^OCCURRENCE
    1)= S ^OR(100.3,"OCCURRENCE",$E(X,1,30),DA)=""
    2)= K ^OR(100.3,"OCCURRENCE",$E(X,1,30),DA)
    This REGULAR FileMan type cross-reference is used for sorting and look-up by occurrence.
.06 PACKAGE 0;6 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>4!($L(X)<2) X
    MAXIMUM LENGTH: 4
  • LAST EDITED:  NOV 02, 2016
  • HELP-PROMPT:  Answer must be 2-4 characters in length.
  • DESCRIPTION:  
    This is the package information for the order.
.07 ORDER NUMBER 0;7 POINTER TO ORDER FILE (#100) ORDER(#100)

  • LAST EDITED:  NOV 03, 2016
  • HELP-PROMPT:  Enter the order number.
  • DESCRIPTION:  
    This is the IEN of the ORDER file.
  • FIELD INDEX:  ORDER (#775) REGULAR IR LOOKUP & SORTING
    Short Descr: This is a REGULAR style index on the ORDER NUMBER.
    Description: This REGULAR FileMan type cross-reference is used for sorting and look-up by order number.
    Set Logic: S ^OR(100.3,"ORDER",X,DA)=""
    Kill Logic: K ^OR(100.3,"ORDER",X,DA)
    Whole Kill: K ^OR(100.3,"ORDER")
    X(1): ORDER NUMBER (100.3,.07) (Subscr 1) (forwards)
.08 START DATE 0;8 DATE

  • INPUT TRANSFORM:  S %DT="ESTX" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  NOV 02, 2016
  • HELP-PROMPT:  Enter the start date/time of the order.
  • DESCRIPTION:  
    This is the start date of the order.
1 ORDERABLE ITEMS 1;0 POINTER Multiple #100.31 100.31

  • DESCRIPTION:  
    These are the orderable items of the actual order.
2 ORDER CHECKS 2;0 POINTER Multiple #100.32 100.32

  • DESCRIPTION:  
    This is the order check data returned by the order check system when placing an order via CPRS.
3 ORDER DATA 3;0 WORD-PROCESSING #100.33

  • DESCRIPTION:  
    This is the complete, unprocessed order data received by CPRS for the associated order.
  • LAST EDITED:  NOV 02, 2016
  • DESCRIPTION:  
    This is the complete, unprocessed order data received by CPRS for the associated order.

External References

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

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^OR(100.3 - [#100.3] IXBSL+1*, IXBKL+1!, IXBKEIC+1!, IXORDERSL+1*, IXORDERKL+1!, IXORDERKEIC+1!, .02(XREF 1S), .02(XREF 1K), .03(XREF 1S), .03(XREF 1K)
.04(XREF 1S), .04(XREF 1K), .05(XREF 1S), .05(XREF 1K)

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> %DT .01+1*, .08+1*
>> DA IXBSL+1, IXBKL+1, IXORDERSL+1, IXORDERKL+1, .02(XREF 1S), .02(XREF 1K), .03(XREF 1S), .03(XREF 1K), .04(XREF 1S), .04(XREF 1K)
.05(XREF 1S), .05(XREF 1K)
X IXBSL+1, IXBKL+1, IXBP1TS+1*, IXORDERSL+1, IXORDERKL+1, .01+1*!, .02(XREF 1S), .02(XREF 1K), .03(XREF 1S), .03(XREF 1K)
.04(XREF 1S), .04(XREF 1K), .05(XREF 1S), .05(XREF 1K), .06+1!, .08+1*!
>> Y .01+1, .08+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