PRPF INDIGENT LIST (592)    SORT TEMPLATE (.401)

Name Value
NAME PRPF INDIGENT LIST
DESCRIPTION
Select all Active Indigent patients.
SORT FIELD DATA
  • FILE OR SUBFILE NO.:   470
    GET CODE:   S DISX(1)=$P($G(^PRPF(470,D0,0)),U,5)
    QUERY CONDITION:   I DISX(1)]]"Xz"
    DESCRIPTION OF SORT:   INDIGENT from Y (YES)
    SEARCH EFFICIENCY RATING:   0.0000
    PROBABILITY RATING:   0.0000
    DATA TYPE FOR SORTING:   SET OF CODES
    FIELD NO.:   4
    FIELD NAME:   INDIGENT
    SORT QUALIFIERS BEFORE FIELD:   ]
    FROM VALUE INTERNAL:   Xz
    FROM VALUE EXTERNAL:   Y
    FROM VALUE PRINTABLE:   Y (YES)
    TO VALUE INTERNAL:   z
  • FILE OR SUBFILE NO.:   470
    GET CODE:   S DISX(2)=$P($G(^PRPF(470,D0,0)),U,2)
    QUERY CONDITION:   I DISX(2)="A"
    DESCRIPTION OF SORT:   ACCOUNT STATUS equals A (ACTIVE)
    SEARCH EFFICIENCY RATING:   0.0000
    PROBABILITY RATING:   0.0000
    DATA TYPE FOR SORTING:   SET OF CODES
    FIELD NO.:   1
    FIELD NAME:   ACCOUNT STATUS
    FROM VALUE INTERNAL:   @z
    FROM VALUE EXTERNAL:   A
    FROM VALUE PRINTABLE:   A (ACTIVE)
    TO VALUE INTERNAL:   A
    TO VALUE EXTERNAL:   A
    TO VALUE PRINTABLE:   A (ACTIVE)
    CROSS REFERENCE DATA:   ^PRPF(470,"AC",^PRPF(470,^2
  • FILE OR SUBFILE NO.:   470
    GET CODE:   S Y(1)=$S($D(^PRPF(470,D0,0)):^(0),1:"") S X=$S('$D(^DPT(+$P(Y(1),U,1),0)):"",1:$P(^(0),U,1)) I D0>0 S DISX(3)=X
    QUERY CONDITION:   I DISX(3)'=""
    DESCRIPTION OF SORT:   NAME not null
    SEARCH EFFICIENCY RATING:   0.0000
    PROBABILITY RATING:   0.0000
    DATA TYPE FOR SORTING:   FREE TEXT
    COMPUTED FIELD CODE:   S Y(1)=$S($D(^PRPF(470,D0,0)):^(0),1:"") S X=$S('$D(^DPT(+$P(Y(1),U,1),0)):"",1:$P(^(0),U,1)) I D0>0 S DISX(3)=X
    FIELD NAME:   NAME
    SORT QUALIFIERS BEFORE FIELD:   ".01
    CROSS REFERENCE DATA:   ^PRPF(470,"B",^PRPF(470,^2
    POINT TO CROSS REFERENCE:   ^DPT("B",
DATE CREATED 1998-02-19 15:23:00
READ ACCESS @
FILE PATIENT FUNDS
WRITE ACCESS @
DATE LAST USED 1998-02-19 00:00:00