SORT FIELD DATA |
-
- FILE OR SUBFILE NO.: 42.5
- GET CODE: S Y(1)=$S($D(^DGWAIT(D0,0)):^(0),1:"") S X=$S('$D(^DG(40.8,+$P(Y(1),U,1),0)):"",1:$P(^(0),U,1)) I D0>0 S DISX(1)=X
- QUERY CONDITION: I DISX(1)'=""
- DESCRIPTION OF SORT: DIVISION not null
- DATA TYPE FOR SORTING: FREE TEXT
- COMPUTED FIELD CODE: S Y(1)=$S($D(^DGWAIT(D0,0)):^(0),1:"") S X=$S('$D(^DG(40.8,+$P(Y(1),U,1),0)):"",1:$P(^(0),U,1)) I D0>0 S DISX(1)=X
- FIELD NAME: DIVISION
- SORT QUALIFIERS BEFORE FIELD: #".01
- CROSS REFERENCE DATA: ^DGWAIT("B",^DGWAIT(^2
- POINT TO CROSS REFERENCE: ^DG(40.8,"B",
-
- FILE OR SUBFILE NO.: 42.51
- GET CODE: S DISX(2)=$P($G(^DGWAIT(D0,"P",D1,0)),U,5)
- QUERY CONDITION: I DISX(2)'=""
- DESCRIPTION OF SORT: BEDSECTION APPLYING TO not null
- DATA TYPE FOR SORTING: SET OF CODES
- MULTIPLE FIELD DATA:
-
-
- MULT.FILE OR SUBFILE NO.: 42.5
- NODE: P
- FIELD NO.: 1
- FIELD NAME: BEDSECTION APPLYING TO
-
- FILE OR SUBFILE NO.: 42.51
- GET CODE: X DPP(3,"OVF1",9.2) S X=$S('$D(D0):"",D0<0:"",1:D0) S D0=I(0,0) S D1=I(1,0) I D1>0 S DISX(3)=X
- QUERY CONDITION: I DISX(3)'=""
- DESCRIPTION OF SORT: PRIORITY GROUPING:NUMBER not null
- DATA TYPE FOR SORTING: FREE TEXT
- COMPUTED FIELD CODE: X DPP(3,"OVF1",9.2) S X=$S('$D(D0):"",D0<0:"",1:D0) S D0=I(0,0) S D1=I(1,0) I D1>0 S DISX(3)=X
- MULTIPLE FIELD DATA:
-
-
- MULT.FILE OR SUBFILE NO.: 42.5
- NODE: P
- OVERFLOW DATA:
-
-
- FIRST SUBSCRIPT FOR OVERFLOW: OVF1
- SECOND SUBSCRIPT FOR OVERFLOW: 9.2
- OVERFLOW CODE: S I(1,0)=$S($D(D1):D1,1:""),I(0,0)=$S($D(D0):D0,1:""),Y(1)=$S($D(^DGWAIT(D0,"P",D1,0)):^(0),1:""),D0=$P(Y(1),U,9) S:'$D(^DIC(42.55,+D0,0)) D0=-1
- FIELD NAME: PRIORITY GROUPING:NUMBER
- SORT QUALIFIERS BEFORE FIELD: "
- SORT QUALIFIERS AFTER FIELD: ;"PRIORITY GROUP # "
-
- FILE OR SUBFILE NO.: 42.51
- GET CODE: S DISX(4)=$P($G(^DGWAIT(D0,"P",D1,0)),U,2)
- QUERY CONDITION: I DISX(4)'=""
- DESCRIPTION OF SORT: DATE/TIME OF APPLICATION not null
- DATA TYPE FOR SORTING: DATE/TIME
- MULTIPLE FIELD DATA:
-
-
- MULT.FILE OR SUBFILE NO.: 42.5
- NODE: P
- FIELD NO.: 2
- FIELD NAME: DATE/TIME OF APPLICATION
|