ICDEX ;SLC/KER - ICD Extractor - Main Entry Points ;12/19/2014
Source file <ICDEX.m>
Package | Total | Call Graph |
---|---|---|
DRG Grouper | 20 | ($$DTBR,$$IMP,$$MSG,$$SEL,$$STATCHK)^ICDEXA ($$HIST,$$NEXT,$$PERIOD,$$PREV)^ICDEXA2 ($$CS,$$DLM,$$OBA,$$OD)^ICDEXA3 ($$CODE,$$CODEABA,$$CODEBA,$$CODEN,$$ICDD,$$ICDDX,$$ICDOP)^ICDEXC ($$CODECS,$$CODEFI,$$CSI,$$SAI,$$VAGEH,$$VAGEL,$$VCC,$$VCCP,$$VMDC,$$VSEX)^ICDEXC2 ($$IEN,$$LD,$$SD,$$VLT,$$VLTD,$$VLTP,$$VST,$$VSTD,$$VSTP,PAR)^ICDEXC3 ($$LDH,$$RDX,$$SDH)^ICDEXC4 ($$EXIST,$$GETDRG,$$ISA)^ICDEXD ($$ISVALID,$$MDCD,$$MDCN,$$MDCT,$$MOR,$$REF,$$VMDCDX,$$VMDCOP,MD,MDCG)^ICDEXD2 ($$NCC,$$NOT,$$PDXE,$$REQ)^ICDEXD3 ($$ICDID,$$ICDIDS,$$ICDRGCC,$$IDSTR,$$ISOWNCC,INQ)^ICDEXD4 ($$DRG,$$DRGD,$$DRGDES,$$GETDATE)^ICDEXD5 ($$DRGC,$$DRGN,$$DRGW,$$EFD,$$EFM,$$FY,$$HAC,$$POAE,$$UPDX)^ICDEXD6 EN^ICDEXH LK^ICDEXLK Y^ICDEXLK2 ($$LK,$$WORD)^ICDEXLK3 ($$COD,$$EFF,$$EXC,$$FILE,$$IA,$$IE,$$LA,$$LI,$$LS,$$NUM,$$ROOT,$$SAB,$$SINFO,$$SNAM,$$SYS)^ICDEXS ($$HDR,$$VER)^ICDEXS2 TOKEN^ICDTOKN |
Name | Comments | DBIA/ICR reference |
---|---|---|
EN | ; Main Entry Point
|
|
HELP | ; Developer Help for an API
|
|
ICDDX(CODE,CDT,SYS,FMT,LOC) | ; Dx Code Info
|
|
ICDOP(CODE,CDT,SYS,FMT,LOC) | ; Procedure Code Info
|
|
ICDD(CODE,ARY,CDT,SYS,LEN) | ; Description in Array
|
|
CODEN(CODE,FILE) | ; IEN of code
|
|
CODEC(FILE,IEN) | ; Code from an IEN
|
|
CODEBA(CODE,ROOT) | ; IEN from Code/Root
|
|
CODEABA(CODE,ROOT,SYS) | ; IEN from Code/Root/Coding System
|
|
RDX(CODE,CDT) | ; Resolve Diagnosis Code Fragment
|
|
CODEFI(CODE) | ; File for code
|
|
CODECS(CODE,FILE,CDT) | ; Coding system for code/file
|
|
CSI(FILE,IEN) | ; Coding system for IEN
|
|
VMDC(IEN,CDT,FMT) | ; Major Diagnostic Category
|
|
VAGEL(IEN,CDT,FMT) | ; Age Low
|
|
VAGEH(IEN,CDT,FMT) | ; Age High
|
|
VCC(IEN,CDT,FMT) | ; Complication/Comorbidity
|
|
VCCP(IEN,CDT,FMT) | ; CC Primary Flag
|
|
VSEX(FILE,IEN,CDT,FMT) | ; Sex for file
|
|
SAI(FILE,IEN,CDT) | ; Status/Active/Inactive Dates
|
|
VST(FILE,IEN,CDT) |
|
|
VLT(FILE,IEN,CDT) | ; Long Text
|
|
VSTD(IEN,CDT) |
|
|
VSTP(IEN,CDT) | ; Short Text - Procedures
|
|
VLTD(IEN,CDT) | ; Description - Diagnosis
|
|
VLTP(IEN,CDT) | ; Description - Procedures
|
|
SD(FILE,IEN,CDT,ARY,LEN) | ; Short Description (formatted)
|
|
LD(FILE,IEN,CDT,ARY,LEN) | ; Long Description (formatted)
|
|
SDH(FILE,IEN,ARY) | ; Short Description History
|
|
LDH(FILE,IEN,ARY) | ; Long Description History
|
|
PAR(ARY,LEN) | ; Parse Array
|
|
IEN(CODE,ROOT,SYS) | ; IEN from Code/Root/Coding System
|
|
STATCHK(CODE,CDT,SYS) | ; Status of ICD Code
|
|
DTBR(CDT,STD,SYS) | ; Date Business Rules
|
|
IMP(SYS,CDT) | ; Implementation Date
|
|
MSG(CDT,STD,SYS) | ; Warning Message
|
|
SEL(FILE,IEN) | ; Entry is Selectable
|
|
NEXT(CODE,SYS,CDT) | ; Next Code
|
|
PREV(CODE,SYS,CDT) | ; Previous Code
|
|
HIST(CODE,ARY,SYS) | ; Activation History
|
|
PERIOD(CODE,ARY,SYS) | ; Activation Periods
|
|
OBA(FILE,CODE,SYS,REV) | ; $Order BA/ABA
|
|
OD(FILE,WORD,SYS,REV) | ; $Order D/AD
|
|
DLM(FILE,IEN,FIELD,CDT) | ; Date Last Modified
|
|
CS(FILE,FMT,CDT) | ; Select Coding System (lookup)
|
|
EFF(FILE,IEN,CDT) | ; Effective date and status
|
|
IA(FILE,IEN) | ; Initial Activation Date
|
|
LA(FILE,IEN,CDT) | ; Last Activation Date
|
|
LI(FILE,IEN,CDT) | ; Last Inactivation Date
|
|
LS(FILE,IEN,CDT,FMT) | ; Last Status
|
|
NUM(CODE) | ; Convert Code to a Numeric
|
|
COD(NUM) | ; Convert Numeric to a Code
|
|
IE(CODE) | ; Internal or External Format
|
|
FILE(SYS) | ; File Number from System
|
|
ROOT(SYS) | ; Global Root
|
|
SYS(SYS,CDT,FMT) | ; Resolve System (uses file 80.4)
|
|
SINFO(SYS,CDT) | ; System Info (uses file 80.4)
|
|
SNAM(SYS) | ; System Name from Coding System
|
|
SAB(SYS,CDT) | ; Source Abbreviation
|
|
EXC(FILE,IEN) | ; Exclude From lookup
|
|
VER(SYS,REL) | ; Coding System Version
|
|
HDR(FILE) | ; File Header Node
|
|
ISA(IEN1,IEN2,FIELD) | ; Is Code 1 a condition of Code 2 (ICDDRG)
|
|
ISVALID(FILE,IEN,CDT) | ; Is an ICD code Valid
|
|
EXIST(IEN,FIELD) | ; Does a condition Exist (ICDDRGX)
|
|
GETDRG(FILE,IEN,CDT,MDC) | ; DRGs for an Fiscal Year (ICDGTDRG)
|
|
MD(FILE,IEN,CDT,ARY,FLAG) | ; MDC DRGs
|
|
EFM(EDT) | ; Convert External Date to FM (ICDGTDRG)
|
|
FY(CDT) | ; FY 4 digit year (ICDGTDRG)
|
|
VMDCDX(IEN,CDT) | ; Versioned MDC for DX (ICDREF)
|
|
VMDCOP(IEN,MDC,CDT) | ; Versioned MDC for Op/Pro (ICDREF)
|
|
REF(IEN,CDT) | ; Return Reference Table (ICDREF)
|
|
MDCG(IEN,CDT,ARY) | ; Set up array of MDCs (ICDDRG)
|
|
MDCT(IEN,CDT,ARY,FMT) | ; For Multiple MDC DX Codes (ICDDRG)
|
|
MDCD(IEN,MDC,CDT) | ; Check for default MDC (ICDDRG)
|
|
MDCN(IEN) | ; Major Diagnostic Category Name
|
|
MOR(IEN) | ; Major O.R. Procedure (ICDDRG)
|
|
UPDX(IEN) | ; Unacceptable as Principle DX
|
|
POAE(IEN) | ; Present on Admission Exempt
|
|
HAC(IEN) | ; Hospital Acquired Conditions
|
|
NOT(IEN,SUB,FMT) | ; Codes not Used With
|
|
REQ(IEN,SUB,FMT) | ; Codes Required With
|
|
NCC(IEN,SUB,FMT) | ; Codes not Considered CC With
|
|
ICDID(FILE,ID,CODE) | ; Check if ICD identifier exist
|
|
IDSTR(FILE,IEN) | ; ICD identifier string (legacy)
|
|
ICDIDS(FILE,IEN,ARY) | ; Returns array of ICD identifiers
|
|
ISOWNCC(IEN,CDT,FMT) | ; Return CC if DX is Own CC
|
|
ICDRGCC(DRG,CDT) | ; Get CC/MCC flag from DRG
|
|
INQ | ; Inquire to the ICD Files
|
|
EFD(X) | ; Get Effective date in range (interactive)
|
|
PDXE(IEN) | ; Primary DX Exclusion Code
|
|
DRG(CODE,CDT) | ; Returns information about a DRG
|
|
DRGW(IEN) | ; DRG Weighted Work Unit (WWU)
|
|
DRGDES(IEN,CDT,ARY,LEN) | ; Formatted DRG Description
|
|
DRGD(CODE,OUTARR,CDT) | ; Unformatted DRG Description
|
|
DRGN(CODE) | ; Return the IEN of DRG
|
|
DRGC(IEN) | ; DRG Code
|
|
GETDATE(IEN) | ; Calculate Effective Date
|
|
LK | ; Special Lookup (called by DIC)
|
|
LKTX(X,ROOT,CDT,SYS,VER,OUT) | ; Lookup Text in ROOT (silent)
|
|
Y(ROOT,IEN,CDT,FMT) | ; Output Variable Y from Lookup
|
|
TOKEN(X,ROOT,SYS,ARY) | ; Parse Text into Words
|
|
WORD(X,ROOT,SYS) | ; Word is Found
|
|
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ARY | ICDD~, ICDD+1, SD~, SD+1, LD~, LD+1, SDH~, SDH+1, LDH~, LDH+1 , PAR~, PAR+1, HIST~, HIST+1, PERIOD~, PERIOD+1, MD~, MD+1, MDCG~, MDCG+1 , MDCT~, MDCT+1, ICDIDS~, ICDIDS+1, DRGDES~, DRGDES+1, TOKEN~, TOKEN+1 |
CDT | ICDDX~, ICDDX+1, ICDOP~, ICDOP+1, ICDD~, ICDD+1, RDX~, RDX+1, CODECS~, CODECS+1 , VMDC~, VMDC+1, VAGEL~, VAGEL+1, VAGEH~, VAGEH+1, VCC~, VCC+1, VCCP~, VCCP+1 , VSEX~, VSEX+1, SAI~, SAI+1, VST~, VST+1, VLT~, VLT+1, VSTD~, VSTD+1 , VSTP~, VSTP+1, VLTD~, VLTD+1, VLTP~, VLTP+1, SD~, SD+1, LD~, LD+1 , STATCHK~, STATCHK+1, DTBR~, DTBR+1, IMP~, IMP+1, MSG~, MSG+1, NEXT~, NEXT+1 , PREV~, PREV+1, DLM~, DLM+1, CS~, CS+1, EFF~, EFF+1, LA~, LA+1 , LI~, LI+1, LS~, LS+1, SYS~, SYS+1, SINFO~, SINFO+1, SAB~, SAB+1 , ISVALID~, ISVALID+1, GETDRG~, GETDRG+1, MD~, MD+1, FY~, FY+1, VMDCDX~, VMDCDX+1 , VMDCOP~, VMDCOP+1, REF~, REF+1, MDCG~, MDCG+1, MDCT~, MDCT+1, MDCD~, MDCD+1 , ISOWNCC~, ISOWNCC+1, ICDRGCC~, ICDRGCC+1, DRG~, DRG+1, DRGDES~, DRGDES+1, DRGD~, DRGD+1 , LKTX~, LKTX+1, Y~, Y+1 |
CODE | ICDDX~, ICDDX+1, ICDOP~, ICDOP+1, ICDD~, ICDD+1, CODEN~, CODEN+1, CODEBA~, CODEBA+1 , CODEABA~, CODEABA+1, RDX~, RDX+1, CODEFI~, CODEFI+1, CODECS~, CODECS+1, IEN~, IEN+1 , STATCHK~, STATCHK+1, NEXT~, NEXT+1, PREV~, PREV+1, HIST~, HIST+1, PERIOD~, PERIOD+1 , OBA~, OBA+1, NUM~, NUM+1, IE~, IE+1, ICDID~, ICDID+1, DRG~, DRG+1 , DRGD~, DRGD+1, DRGN~, DRGN+1 |
DRG | ICDRGCC~, ICDRGCC+1 |
EDT | EFM~, EFM+1 |
FIELD | DLM~, DLM+1, ISA~, ISA+1, EXIST~, EXIST+1 |
FILE | CODEN~, CODEN+1, CODEC~, CODEC+1, CODECS~, CODECS+1, CSI~, CSI+1, VSEX~, VSEX+1 , SAI~, SAI+1, VST~, VST+1, VLT~, VLT+1, SD~, SD+1, LD~, LD+1 , SDH~, SDH+1, LDH~, LDH+1, SEL~, SEL+1, OBA~, OBA+1, OD~, OD+1 , DLM~, DLM+1, CS~, CS+1, EFF~, EFF+1, IA~, IA+1, LA~, LA+1 , LI~, LI+1, LS~, LS+1, EXC~, EXC+1, HDR~, HDR+1, ISVALID~, ISVALID+1 , GETDRG~, GETDRG+1, MD~, MD+1, ICDID~, ICDID+1, IDSTR~, IDSTR+1, ICDIDS~, ICDIDS+1 |
FLAG | MD~, MD+1 |
FMT | ICDDX~, ICDDX+1, ICDOP~, ICDOP+1, VMDC~, VMDC+1, VAGEL~, VAGEL+1, VAGEH~, VAGEH+1 , VCC~, VCC+1, VCCP~, VCCP+1, VSEX~, VSEX+1, CS~, CS+1, LS~, LS+1 , SYS~, SYS+1, MDCT~, MDCT+1, NOT~, NOT+1, REQ~, REQ+1, NCC~, NCC+1 , ISOWNCC~, ISOWNCC+1, Y~, Y+1 |
ID | ICDID~, ICDID+1 |
IEN | CODEC~, CODEC+1, CSI~, CSI+1, VMDC~, VMDC+1, VAGEL~, VAGEL+1, VAGEH~, VAGEH+1 , VCC~, VCC+1, VCCP~, VCCP+1, VSEX~, VSEX+1, SAI~, SAI+1, VST~, VST+1 , VLT~, VLT+1, VSTD~, VSTD+1, VSTP~, VSTP+1, VLTD~, VLTD+1, VLTP~, VLTP+1 , SD~, SD+1, LD~, LD+1, SDH~, SDH+1, LDH~, LDH+1, SEL~, SEL+1 , DLM~, DLM+1, EFF~, EFF+1, IA~, IA+1, LA~, LA+1, LI~, LI+1 , LS~, LS+1, EXC~, EXC+1, ISVALID~, ISVALID+1, EXIST~, EXIST+1, GETDRG~, GETDRG+1 , MD~, MD+1, VMDCDX~, VMDCDX+1, VMDCOP~, VMDCOP+1, REF~, REF+1, MDCG~, MDCG+1 , MDCT~, MDCT+1, MDCD~, MDCD+1, MDCN~, MDCN+1, MOR~, MOR+1, UPDX~, UPDX+1 , POAE~, POAE+1, HAC~, HAC+1, NOT~, NOT+1, REQ~, REQ+1, NCC~, NCC+1 , IDSTR~, IDSTR+1, ICDIDS~, ICDIDS+1, ISOWNCC~, ISOWNCC+1, PDXE~, PDXE+1, DRGW~, DRGW+1 , DRGDES~, DRGDES+1, DRGC~, DRGC+1, GETDATE~, GETDATE+1, Y~, Y+1 |
IEN1 | ISA~, ISA+1 |
IEN2 | ISA~, ISA+1 |
LEN | ICDD~, ICDD+1, SD~, SD+1, LD~, LD+1, PAR~, PAR+1, DRGDES~, DRGDES+1 |
LOC | ICDDX~, ICDDX+1, ICDOP~, ICDOP+1 |
MDC | GETDRG~, GETDRG+1, VMDCOP~, VMDCOP+1, MDCD~, MDCD+1 |
NUM | COD~, COD+1 |
OUT | LKTX~, LKTX+1 |
OUTARR | DRGD~, DRGD+1 |
REL | VER~, VER+1 |
REV | OBA~, OBA+1, OD~, OD+1 |
ROOT | CODEBA~, CODEBA+1, CODEABA~, CODEABA+1, IEN~, IEN+1, LKTX~, LKTX+1, Y~, Y+1 , TOKEN~, TOKEN+1, WORD~, WORD+1 |
STD | DTBR~, DTBR+1, MSG~, MSG+1 |
SUB | NOT~, NOT+1, REQ~, REQ+1, NCC~, NCC+1 |
SYS | ICDDX~, ICDDX+1, ICDOP~, ICDOP+1, ICDD~, ICDD+1, CODEABA~, CODEABA+1, IEN~, IEN+1 , STATCHK~, STATCHK+1, DTBR~, DTBR+1, IMP~, IMP+1, MSG~, MSG+1, NEXT~, NEXT+1 , PREV~, PREV+1, HIST~, HIST+1, PERIOD~, PERIOD+1, OBA~, OBA+1, OD~, OD+1 , FILE~, FILE+1, ROOT~, ROOT+1, SYS~, SYS+1, SINFO~, SINFO+1, SNAM~, SNAM+1 , SAB~, SAB+1, VER~, VER+1, LKTX~, LKTX+1, TOKEN~, TOKEN+1, WORD~, WORD+1 |
VER | LKTX~, LKTX+1 |
WORD | OD~, OD+1 |
X | EFD~, LKTX~, LKTX+1, TOKEN~, TOKEN+1, WORD~, WORD+1 |