52.41 (251)    INDEX (.11)

Name Value
FILE 52.41
NAME APKI
DESCRIPTION
This cross-reference is used only to index digitally signed orders by the
login date and the related institution. It will be identical to that of 
the "AD" cross-reference in functionality, but this cross-reference will
not be killed when the pending orders are discontinued. It is primarily
used to list discontinued orders in the Digitally Signed Orders Report,
which is made available in the Controlled Substance package, as part of
the PKI project.
SHORT DESCRIPTION This indexes the login date and related institution.
TYPE MUMPS
EXECUTION RECORD
ACTIVITY IR
USE SORTING ONLY
ROOT TYPE INDEX FILE
ROOT FILE 52.41
SET LOGIC I $P(^PS(52.41,DA,0),"^",3)["NW"!($P(^(0),"^",3)="DC"),$P(^(0),"^",24)=1,$P($G(^PS(52.41,DA,"INI")),"^") S ^PS(52.41,"APKI",X,$P(^PS(52.41,DA,"INI"),"^"),DA)=""
CROSS-REFERENCE VALUES
  • ORDER NUMBER:   1
    SUBSCRIPT NUMBER:   1
    TYPE OF VALUE:   FIELD
    FILE:   52.41
    FIELD:   15
    MAXIMUM LENGTH:   30
    COLLATION:   forwards
  • ORDER NUMBER:   2
    SUBSCRIPT NUMBER:   2
    TYPE OF VALUE:   FIELD
    FILE:   52.41
    FIELD:   100
    COLLATION:   forwards
KILL LOGIC K ^PS(52.41,"APKI",X,+$P($G(^PS(52.41,DA,"INI")),"^"),DA)
KILL ENTIRE INDEX CODE K ^PS(52.41,"APKI")