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

DGRPCTRG.m

Go to the documentation of this file.
  1. DGRPCTRG ;ALB/BAJ - CONFIDENTIAL ADDRESS TRIGGER AXEE141 ;May 17, 2006
  1. ;;5.3;Registration;**653,1015**;Aug 13, 1993;Build 21
  1. ;;**653 BAJ May 1,2006 Modifications to Confidential address to support functionality moved
  1. ;;from EVC Release 2 to EVC Release 1
  1. Q
  1. EECHG ; entry point
  1. ; this tag is called by a trigger in the CONFIDENTIAL ADDRESS CATEGORY FIELD (#2.141)
  1. ; If the ELIGIBILITY/ENROLLMENT Category has been added, changed, or deleted, X will equal 1
  1. ; A Z07 must be sent anytime the E/E Category is modified on a confidential address
  1. Q:'$G(DFN)
  1. I X=1 D EVENT^IVMPLOG(DFN)
  1. Q
  1. EECONF(DFN) ; used to identify E/E Confidential Category
  1. ; This tag is called by all Confidential Address fields and files a Z07 message if true:
  1. ; I $$EECONF^DGRPCTRG(DFN) D EVENT^IVMPLOG
  1. ;
  1. ; if there is no active E/E Category on file for this Confidential Address, return 0
  1. N ISEE,ACT
  1. S ISEE=0
  1. I '$G(DFN) Q ISEE
  1. I '$D(^DPT(DFN,.14,"B",1)) Q ISEE
  1. S ACT=+$O(^DPT(DFN,.14,"B",1,""))
  1. S ISEE=$P(^DPT(DFN,.14,ACT,0),U,2)="Y"
  1. Q ISEE
  1. ;