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

ABMRVCXR.m

Go to the documentation of this file.
ABMRVCXR ; IHS/SD/SDR - Revenue Code Cross reference FOR MULTIPLES ;   
 ;;2.6;IHS 3P BILLING SYSTEM;;NOV 12, 2009
 ;
 ; This routine is used for the cross reference for pages
 ; 8A, 8E and 8F of the claim editor.  It will try to
 ; populate the rev code (.02) if the field is blank,
 ; looking in the CPT file for a default rev code.
 ;
 ; IHS/SD/SDR - v2.6 CSV
 ;
SET ;EP
 Q:$G(ABMZ("SUB"))=""  ;subfile number not defined
 Q:$P($G(^ABMDCLM(DUZ(2),DA(1),ABMZ("SUB"),DA,0)),U,2)'=""  ;something already there
 S ABMREVCD=$P($$IHSCPT^ABMCVAPI($P($G(^ABMDCLM(DUZ(2),DA(1),ABMZ("SUB"),DA,0)),U),ABMP("VDT")),U,3)  ;CSV-c
 I ABMREVCD'="" D
 .S DIE="^ABMDCLM(DUZ(2),"
 .S DR=".02////"_ABMREVCD
 .D ^DIE
 Q
KILL ;EP
 Q