ACKQ DIAG COND ICD-9 (930)    SORT TEMPLATE (.401)

Name Value
NAME ACKQ DIAG COND ICD-9
SORT FIELD DATA
  • FILE OR SUBFILE NO.:   509850.1
    GET CODE:   S Y(1)=$S($D(^ACK(509850.1,D0,0)):^(0),1:"") S X=$P($G(^ICD9(+$P(Y(1),U,1),0)),U) I D0>0 S DISX(1)=X
    QUERY CONDITION:   I DISX(1)'=""
    DESCRIPTION OF SORT:   CODE not null
    DATA TYPE FOR SORTING:   FREE TEXT
    COMPUTED FIELD CODE:   S Y(1)=$S($D(^ACK(509850.1,D0,0)):^(0),1:"") S X=$P($G(^ICD9(+$P(Y(1),U,1),0)),U) I D0>0 S DISX(1)=X
    FIELD NAME:   CODE
    SORT QUALIFIERS BEFORE FIELD:   ".01
  • FILE OR SUBFILE NO.:   509850.1
    GET CODE:   S Y(1)=$S($D(^ACK(509850.1,D0,0)):^(0),1:"") S X=$P($G(^ICDS(+$P(Y(1),U,7),0)),U) I D0>0 S DISX(2)=X
    QUERY CONDITION:   I DISX(2)="ICD-9-CM"
    DESCRIPTION OF SORT:   ICD VERSION equals ICD-9-CM
    DATA TYPE FOR SORTING:   FREE TEXT
    COMPUTED FIELD CODE:   S Y(1)=$S($D(^ACK(509850.1,D0,0)):^(0),1:"") S X=$P($G(^ICDS(+$P(Y(1),U,7),0)),U) I D0>0 S DISX(2)=X
    FIELD NAME:   ICD VERSION
    SORT QUALIFIERS BEFORE FIELD:   @".07
    FROM VALUE INTERNAL:   ICD-9-CLz
    FROM VALUE EXTERNAL:   ICD-9-CM
    TO VALUE INTERNAL:   ICD-9-CM
    TO VALUE EXTERNAL:   ICD-9-CM
DATE CREATED 2012-05-03 14:56:00
READ ACCESS @
FILE A&SP DIAGNOSTIC CONDITION
WRITE ACCESS @
DATE LAST USED 2013-02-22 00:00:00