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