SORT FIELD DATA |
-
- FILE OR SUBFILE NO.: 160
- GET CODE: S Y(2)=$C(59)_$S($D(^DD(160,15,0)):$P(^(0),U,3),1:""),Y(1)=$S($D(^ONCO(160,D0,1)):^(1),1:"") S X=$P($P(Y(2),$C(59)_$P(Y(1),U,1)_":",2),$C(59),1)="Alive" I D0>0 S DISX(1)=X
- QUERY CONDITION: I DISX(1)
- DESCRIPTION OF SORT: STATUS=""Alive""
- DATA TYPE FOR SORTING: FREE TEXT
- COMPUTED FIELD CODE: S Y(2)=$C(59)_$S($D(^DD(160,15,0)):$P(^(0),U,3),1:""),Y(1)=$S($D(^ONCO(160,D0,1)):^(1),1:"") S X=$P($P(Y(2),$C(59)_$P(Y(1),U,1)_":",2),$C(59),1)="Alive" I D0>0 S DISX(1)=X
- FIELD NAME: STATUS="Alive"
- SORT QUALIFIERS BEFORE FIELD: "@B
- SORT QUALIFIERS AFTER FIELD: ;L1
-
- FILE OR SUBFILE NO.: 160
- GET CODE: S DISX(2)=$P($G(^ONCO(160,D0,1)),U,7)
- QUERY CONDITION: I DISX(2)'=""
- DESCRIPTION OF SORT: FOLLOW-UP STATUS not null
- DATA TYPE FOR SORTING: SET OF CODES
- FIELD NO.: 15.2
- FIELD NAME: FOLLOW-UP STATUS
- SORT QUALIFIERS BEFORE FIELD: +#
- FROM VALUE INTERNAL: -1
- FROM VALUE EXTERNAL: INACTIVE
- FROM VALUE PRINTABLE: 0 (INACTIVE)
- TO VALUE INTERNAL: 0
- TO VALUE EXTERNAL: INACTIVE
- TO VALUE PRINTABLE: 0 (INACTIVE)
- CROSS REFERENCE DATA: ^ONCO(160,"AFS",^ONCO(160,^2
-
- FILE OR SUBFILE NO.: 160
- GET CODE: X DPP(3,"OVF0",9.2) S X=$P(Y(1),U,1),C=$S(X="":-1,'$D(@(U_$P(X,";",2)_"0)")):-1,1:$P(^(0),U,2)),X=$S(X="":X,'$D(^(+X,0)):"",1:$P(^(0),U,1)),Y=X,C=$S($D(^DD(+C,.01,0)):$P(^(0),U,2),1:"D") D:X]"" Y^DIQ:C'["D" S X=Y,C="," I D0>0 S DISX(3)=X
- QUERY CONDITION: I DISX(3)'=""
- DESCRIPTION OF SORT: NAME not null
- DATA TYPE FOR SORTING: FREE TEXT
- COMPUTED FIELD CODE: X DPP(3,"OVF0",9.2) S X=$P(Y(1),U,1),C=$S(X="":-1,'$D(@(U_$P(X,";",2)_"0)")):-1,1:$P(^(0),U,2)),X=$S(X="":X,'$D(^(+X,0)):"",1:$P(^(0),U,1)),Y=X,C=$S($D(^DD(+C,.01,0)):$P(^(0),U,2),1:"D") D:X]"" Y^DIQ:C'["D" S X=Y,C="," I D0>0 S DISX(3)=X
- OVERFLOW DATA:
-
-
- FIRST SUBSCRIPT FOR OVERFLOW: OVF0
- SECOND SUBSCRIPT FOR OVERFLOW: 9.2
- OVERFLOW CODE: S Y(1)=$S($D(^ONCO(160,D0,0)):^(0),1:"")
- FIELD NAME: NAME
- SORT QUALIFIERS BEFORE FIELD: ".01
|