409.68 (426)    INDEX (.11)

Name Value
FILE 409.68
NAME ACOD
DESCRIPTION
This index sorts records by Patient (.02) and Check Out Process Completion
(.07).  The index is used by a PCMM Web RPC to find a patient's completed 
encounters within the past 30 days (possibly 90 days).  Given this 
requirement, a record is only indexed if Check Out Process Completion
(.07) is on or after 04/01/2014.
SHORT DESCRIPTION Sort records by Patient and Check Out Completed Date.
TYPE MUMPS
EXECUTION RECORD
ACTIVITY IR
USE SORTING ONLY
ROOT TYPE INDEX FILE
ROOT FILE 409.68
SET LOGIC I X(2)>3140400 S ^SCE("ACOD",X(1),X(2),DA)=""
CROSS-REFERENCE VALUES
  • ORDER NUMBER:   1
    SUBSCRIPT NUMBER:   1
    TYPE OF VALUE:   FIELD
    FILE:   409.68
    FIELD:   .02
    COLLATION:   forwards
  • ORDER NUMBER:   2
    SUBSCRIPT NUMBER:   2
    TYPE OF VALUE:   FIELD
    FILE:   409.68
    FIELD:   .07
    COLLATION:   forwards
KILL LOGIC K ^SCE("ACOD",X(1),X(2),DA)
KILL ENTIRE INDEX CODE K ^SCE("ACOD")