DGPM INP HISTORICAL 1 DIVISION (116)    SORT TEMPLATE (.401)

Name Value
NAME DGPM INP HISTORICAL 1 DIVISION
SORT FIELD DATA
  • FROM VALUE INTERNAL:   2910204.99999
    FROM VALUE EXTERNAL:   T-100
    TO VALUE INTERNAL:   2910516.9999
    TO VALUE EXTERNAL:   T
    CROSS REFERENCE DATA:   ^DGPM("B",^DGPM(^2
  • FROM VALUE INTERNAL:   @z
    FROM VALUE EXTERNAL:   A
    TO VALUE INTERNAL:   Z
    TO VALUE EXTERNAL:   Z
  • COMPUTED FIELD CODE:   S I(0,0)=$S($D(D0):D0,1:""),Y(1)=$S($D(^DGPM(D0,0)):^(0),1:""),D0=$P(Y(1),U,3) S:'$D(^DPT(+D0,0)) D0=-1 S Y(101)=$S($D(^DPT(D0,0)):^(0),1:"") S X=$P(Y(101),U,1) S D0=I(0,0) I D0>0 S X(3)=X
DATE CREATED 1991-05-16 15:30:00
FILE PATIENT MOVEMENT