MAGV-PAT-QUERY (924)    SORT TEMPLATE (.401)

Name Value
NAME MAGV-PAT-QUERY
DESCRIPTION
This sort template allows the user to select one or more entries from the 
IMAGING PATIENT REFERENCE File (#2005.6) based on the value of the 
ENTERPRISE PATIENT ID Field (#.01).
SORT FIELD DATA
  • FILE OR SUBFILE NO.:   2005.6
    GET CODE:   S DISX(1)=$P($G(^MAGV(2005.6,D0,0)),U)
    QUERY CONDITION:   I DISX(1)=21
    DESCRIPTION OF SORT:   ENTERPRISE PATIENT ID equals 21
    DATA TYPE FOR SORTING:   FREE TEXT
    FIELD NO.:   .01
    FIELD NAME:   ENTERPRISE PATIENT ID
    FROM VALUE INTERNAL:   20.999999
    FROM VALUE EXTERNAL:   21
    TO VALUE INTERNAL:   21
    TO VALUE EXTERNAL:   21
    CROSS REFERENCE DATA:   ^MAGV(2005.6,"B",^MAGV(2005.6,^2
DATE CREATED 2010-11-09 15:11:00
READ ACCESS @
FILE IMAGING PATIENT REFERENCE
WRITE ACCESS @
DATE LAST USED 2010-11-18 00:00:00