ADE6P303 ;IHS/OIT/GAB - ADE6.0 PATCH 30 [ 11/17/2015 10:51 AM ]
;;6.0;ADE*6.0*30;;March 25, 1999;Build 19
;;Deactivate codes by setting inactivate date /IHS/OIT/GAB
DELCDT5 ;EP
D DELETES^ADEUPD30("DELADA^ADE6P303","SETX^ADE6P303","^AUTTADA(")
Q
;
SETX ;EP
S ADEX=$P($P(ADEX,U),"D",2),ADEX=$O(^AUTTADA("B",ADEX,""))
Q
;
DELADA ; CODE & DESCRIPTION
;;D0260^
;;D0421^GENETIC TEST FOR SUSCEPTIBILITY TO ORAL DISEASES
;;D2970^TEMPORARY CROWN (FRACTURED TOOTH)
;;D9220^DEEP SEDATION/GENERAL ANESTHESIA - FIRST 30 MINUTES
;;D9221^DEEP SEDATION/GENERAL ANESTHESIA - EACH ADDITIONAL 15 MINUTES
;;D9241^INTRAVENOUS MODERATE (CONSCIOUS) SEDATION/ANALGESIA - FIRST 30 MINUTES
;;D9242^INTRAVENOUS MODERATE (CONSCIOUS) SEDATION/ANALGESIA - EACH ADDITIONAL 15 MINUTES
;;D9931^CLEANING AND INSPECTION OF A REMOVABLE APPLIANCE
;;***END***
;
MODADA ;
Q
ZAPINA ;REMOVE INACTIVE DATE
;/IHS/OIT/GAB COMMENTED OUT NEXT THREE LINES, NO REACTIVATED CODES
;S ADEIRN=""
;S ADEIRN=$O(^AUTTADA("B","0191",0)) I +ADEIRN D ZAPIT
;S ADEIRN=$O(^AUTTADA("B","1208",0)) I +ADEIRN D ZAPIT
Q
ZAPIT ;
;/IHS/OIT/GAB commented out below no reactivated codes in patch #30
;S DIE="^AUTTADA(",DA=ADEIRN
;S DR=".08////@" D ^DIE
;S ADEIRN=""
Q
ZAP K D,DA,DR,DIE,D0,DIC,ADEIRN
Q
ADE6P303 ;IHS/OIT/GAB - ADE6.0 PATCH 30 [ 11/17/2015 10:51 AM ]
+1 ;;6.0;ADE*6.0*30;;March 25, 1999;Build 19
+2 ;;Deactivate codes by setting inactivate date /IHS/OIT/GAB
DELCDT5 ;EP
+1 DO DELETES^ADEUPD30("DELADA^ADE6P303","SETX^ADE6P303","^AUTTADA(")
+2 QUIT
+3 ;
SETX ;EP
+1 SET ADEX=$PIECE($PIECE(ADEX,U),"D",2)
SET ADEX=$ORDER(^AUTTADA("B",ADEX,""))
+2 QUIT
+3 ;
DELADA ; CODE & DESCRIPTION
+1 ;;D0260^
+2 ;;D0421^GENETIC TEST FOR SUSCEPTIBILITY TO ORAL DISEASES
+3 ;;D2970^TEMPORARY CROWN (FRACTURED TOOTH)
+4 ;;D9220^DEEP SEDATION/GENERAL ANESTHESIA - FIRST 30 MINUTES
+5 ;;D9221^DEEP SEDATION/GENERAL ANESTHESIA - EACH ADDITIONAL 15 MINUTES
+6 ;;D9241^INTRAVENOUS MODERATE (CONSCIOUS) SEDATION/ANALGESIA - FIRST 30 MINUTES
+7 ;;D9242^INTRAVENOUS MODERATE (CONSCIOUS) SEDATION/ANALGESIA - EACH ADDITIONAL 15 MINUTES
+8 ;;D9931^CLEANING AND INSPECTION OF A REMOVABLE APPLIANCE
+9 ;;***END***
+10 ;
MODADA ;
+1 QUIT
ZAPINA ;REMOVE INACTIVE DATE
+1 ;/IHS/OIT/GAB COMMENTED OUT NEXT THREE LINES, NO REACTIVATED CODES
+2 ;S ADEIRN=""
+3 ;S ADEIRN=$O(^AUTTADA("B","0191",0)) I +ADEIRN D ZAPIT
+4 ;S ADEIRN=$O(^AUTTADA("B","1208",0)) I +ADEIRN D ZAPIT
+5 QUIT
ZAPIT ;
+1 ;/IHS/OIT/GAB commented out below no reactivated codes in patch #30
+2 ;S DIE="^AUTTADA(",DA=ADEIRN
+3 ;S DR=".08////@" D ^DIE
+4 ;S ADEIRN=""
+5 QUIT
ZAP KILL D,DA,DR,DIE,D0,DIC,ADEIRN
+1 QUIT