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

IBCEMRA.m

Go to the documentation of this file.
  1. IBCEMRA ;ALB/TMP - 837 MEDICARE MRA UTILITIES ;30-JUL-98
  1. ;;2.0;INTEGRATED BILLING;**103,137**;21-MAR-94
  1. ;;Per VHA Directive 10-93-142, this routine should not be modified.
  1. ;
  1. CATOK(X) ; Screen executed for data in plan category field in field 355.3
  1. ; Required Input:
  1. ; X = PLAN CATEGORY CODE ENTERED
  1. ; DA = File 355.3 IEN
  1. ; Output:
  1. ; Returns 1 if valid (TYPE OF PLAN'S MAJOR CATEGORY = 5 MEDICARE)
  1. ; 0 if not valid
  1. ; 0 if TYPE OF PLAN is blank
  1. ;
  1. N PLTYP
  1. S PLTYP=$P($G(^IBE(355.1,+$P($G(^IBA(355.3,DA,0)),U,9),0)),U,3)
  1. Q $S(PLTYP="":0,"ABC"[X:PLTYP=5,1:PLTYP'=5)
  1. ;
  1. MRA(IBEOB) ; Print the MRA for entry # IBEOB in file 361.1
  1. W @IOF
  1. Q
  1. ;