Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: ICDHLPD

ICDHLPD.m

Go to the documentation of this file.
  1. ICDHLPD ;ALB/GRR/EG - HELP DISPLAY DIAGNOSIS IDENTIFIERS ; 9/22/04 9:41am
  1. ;;18.0;DRG Grouper;**10,14,20,24,55,62**;Oct 20, 2000;Build 10
  1. EN ;routine revised 12/94
  1. N ICDID,I,J,ID
  1. F I=1:1 S ICDID=$T(DXCODE+I),ICDID=$E($P(ICDID,";;",2),1,25) Q:ICDID="EXIT" D
  1. . S ICDID($P(ICDID,"="))=ICDID
  1. W ! S I="" F J=0:1 S I=$O(ICDID(I)) Q:I="" D
  1. . I J#3 W ?(J#3*27)
  1. . I '(J#3) W !
  1. . W ICDID(I)
  1. K ICDID
  1. W ! F I=1:1 S ICDID=$T(DNCODE+I),ICDID=$E($P(ICDID,";;",2),1,25) Q:ICDID="EXIT" D
  1. . W ?(I-1#3*27) I '(I-1#3) W !
  1. .W ICDID
  1. W !
  1. Q
  1. MAJ ;display major or procedure identifier
  1. W !,"1=Bowel",?20,"2=Chest",?50,"3=Lymphoma/Leukemia"
  1. W !,"4=Joint",?20,"5=Pancreas/Liver",?50,"6=Pelvic"
  1. W !,"7=Shoulder/Elbow",?20,"8=Thumb/Joint",?50,"9=Head/Neck"
  1. W !,"A=Cardio",?20,"M=Musculoskeletal",?50,"B=Spine"
  1. Q
  1. DXCODE ;DIAGNOSIS CODES
  1. ;;A=AMI/CHF
  1. ;;B=abrtn
  1. ;;D=Delivered
  1. ;;E=extrm immtrty
  1. ;;F=fem
  1. ;;G=Ganglion
  1. ;;H=any DX
  1. ;;I=Acute MI
  1. ;;J=Maj prblm
  1. ;;K=Intracranial Hemorrhage
  1. ;;L=Leukemia/lymphoma
  1. ;;M=malignancy/Neoplasm
  1. ;;O=only
  1. ;;P=Pruritis
  1. ;;Q=Acute CNS DX
  1. ;;R=full term
  1. ;;S=Significant problem
  1. ;;T=Trauma
  1. ;;U=Ulcer/itis
  1. ;;V=CV cmplctn
  1. ;;W=Severe Sepsis
  1. ;;X=cmplx/cmplctd
  1. ;;Y=Mouth,Larynx,Pharynx
  1. ;;Z=2ndry DX of Heart failur
  1. ;;a=Adenoidectomy/Tonsillect
  1. ;;b=full thickness burn
  1. ;;c=MCV in prime or 2ndry
  1. ;;d=Postpartum
  1. ;;g=major GI dx
  1. ;;h=HIV
  1. ;;i=hiv related cond
  1. ;;j=inhalation injury
  1. ;;k=infection
  1. ;;l=Acute leuk.
  1. ;;m=hist malig as 2ry dx
  1. ;;o=ovary
  1. ;;p=prematurity
  1. ;;r=Breast Malig
  1. ;;s=MCV in 2ndry
  1. ;;t=Therapy
  1. ;;u=antepartum cmplx
  1. ;;v=Dx comp vag delivry
  1. ;;z=not sig 2ry dx
  1. ;;EXIT
  1. Q
  1. DNCODE ; NUMERIC/OTHER ID CODES
  1. ;;1=coma>1hr
  1. ;;2=DRG492 before10/1/07(CMS) Chemo w acute leukemia as sdx or w high dose chemo agent
  1. ;;2=DRG 837 after 9/31/07(MS) Chemo w acute leukemia as sdx or w high dose chemo agent
  1. ;;3=DRG480 before10/1/07(CMS) liver transplant
  1. ;;3=DRG 005 after 9/31/07(MS) liver transplant
  1. ;;4=DRG481 before10/1/07(CMS) Bone marrow transplant
  1. ;;4=DRG 009 after 9/31/07(MS) TRACH W MV 96+ HRS OR PDX EXC FACE, MOUTH & NECK W/O MAJ O.R
  1. ;;4=DRG14,15 after 10/1/07 ALLOGENEIC/AUTOLOGOUS BONE MARROW TRANSPLANT
  1. ;;4=DRG14,16,17 aft 9/31/11 ALLOGENEIC/AUTOLOGOUS BONE MARROW TRANSPLANT
  1. ;;5=DRG481 w/leuk
  1. ;;6=DRG546 curvature of spine or malignancy - before 10012007
  1. ;;6=DRG456 after 9/31/07 - Spinal fus exc cerv w spinal curv/malig/infec or 9+ fus w MCC
  1. ;;*=extensive burn
  1. ;;EXIT
  1. Q