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

ABMMLTIT.m

Go to the documentation of this file.
ABMMLTIT ; IHS/SD/SDR - Input transform-anes. mod field - 8/19/2005 1:28:34 PM
 ;;2.6;IHS 3P BILLING SYSTEM;**3,14,21,27**;NOV 12, 2009;Build 486
 ;
 ; Input transform routine for multiples
 ;IHS/SD/SDR - 2.6*14 - Added input transform for ICD DX check; used on fields 17,.01 and .59
 ;IHS/SD/SDR - 2.6*21 - HEAT199768 - Added code for Radiology; used in 3P Fee Table
 ;
LAB() ; EP
 S ABMF=0
 ;I (($P(^ICPT(Y,0),"^",1)>79999)&($P(^(0),"^",1)<90000)!($P(^(0),"^",1)=36415)&($$CHKCPT^ABMDUTL(Y)'=0))!($A($E($P($G(^ICPT(Y,0)),"^",1),1),1)>65)&($A($E($P(^(0),"^",1),1),1)<90) S ABMF=1  ;abm*2.6*27 IHS/SD/SDR CR8894
 I ($$CHKCPT^ABMDUTL(Y)=0) Q ABMF  ;inactive CPT code  ;abm*2.6*27 IHS/SD/SDR CR8894
 I (($P($G(^ICPT(Y,0)),"^",1)>79999)&($P($G(^(0)),"^",1)<90000)!($P($G(^(0)),"^",1)=36415))!($A($E($P($G(^ICPT(Y,0)),"^",1),1))>65)&($A($E($P(^(0),"^",1),1))<90) S ABMF=1  ;abm*2.6*27 IHS/SD/SDR CR8894
 Q ABMF
 ;
 ;start new abm*2.6*14
ICDDX(X) ;EP
 S ABMF=0
 I $D(^ROUTINE("B","ICDEX")) D  Q ABMF
 .S ABMF=$P($$SAI^ICDEX(80,X,$P($G(^ABMDCLM(DUZ(2),DA,7)),U)),U)
 S ABMF=$TR(+$P($G(^ICD9(X,0)),U,9),"1","0")
 Q ABMF
 ;end new abm*2.6*14
 ;
 ;start new abm*2.6*21 IHS/SD/SDR HEAT199768
RAD() ; EP
 S ABMF=0
 ;I (($P(^ICPT(X,0),"^",1)>69999)&($P(^(0),"^",1)<80000)&($$CHKCPT^ABMDUTL(X)'=0))!($A($E($P($G(^ICPT(X,0)),"^",1),1),1)>65)&($A($E($P(^(0),"^",1),1),1)<90) S ABMF=1  ;abm*2.6*27 IHS/SD/SDR CR8894
 I ($$CHKCPT^ABMDUTL(Y)=0) Q ABMF  ;inactive CPT code  ;abm*2.6*27 IHS/SD/SDR CR8894
 I (($P($G(^ICPT(Y,0)),"^",1)>69999)&($P($G(^(0)),"^",1)<80000))!($A($E($P($G(^ICPT(Y,0)),"^",1),1))>65)&($A($E($P(^(0),"^",1),1))<90) S ABMF=1  ;abm*2.6*27 IHS/SD/SDR CR8894
 Q ABMF
 ;end new abm*2.6*21 IHS/SD/SDR HEAT199768
 ;start new abm*2.6*27 IHS/SD/SDR CR8894
SURGIT() ;EP
 S DIC("S")="I $$CHKCPT^ABMDUTL(X)'=0,X>9999,$E(X)'=7,$E(X)'=8"
 D ^DIC K DIC
 S DIC=DIE
 S X=$$DINUM^ABMFOFS($P(X,U,2))
 K:Y<0 X
 Q X
 ;end new abm*2.6*27 IHS/SD/SDR CR8894