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

AUTNKWLD.m

Go to the documentation of this file.
AUTNKWLD ; IHS/DIRM/JDM/DFM - DRIVER ROUTINE FOR "AND"ING INVERTED LIST SEARCHES ;   [ 03/04/98   8:10 AM ]
 ;;98.1;IHS DICTIONARIES (POINTERS);;MAR 04, 1998;Build 6
 ;
 ; AICDDESC,AICDH,AICDMULT,AICDREF0 ARE PASSED IN AND SHOULD NOT
 ;  BE KILLED
 ; AICDKSCH,AICDX ARE KILLED BY AICDKWL
 ;
INS ;EP ;
 S AICDX=X K AICDKSCH S AICDKSCH("TYPE")="INSURERS",AICDKSCH("GBL")="^AUTNINS(",AICDKSCH("INDEX")="C",AICDKSCH("DSPLY")="DSPLYIN^AUTNKWLD" G COMMON
 ;
COMMON I $D(DIC(0)),DIC(0)["A" W !
 S X=AICDX,AICDX="" F %=1:1 S AICDC=$E(X,%) Q:AICDC=""  S:AICDC?1L AICDC=$C($A(AICDC)-32) S AICDX=AICDX_AICDC
 K AICDC
 D ^AICDKWL
 Q
 ;
DSPLYIN ; DISPLAY CODE AND TEXT FOR INSURER
 W:AICDMULT $J(AICDH,3),": "
 W $P(@(AICDREF0),"^"),?37,"- ",$P(@(AICDREF0),"^",2) I $D(^(1)),$P(^(1),U,6)]"",$D(^DIC(5,$P(^(1),U,6),0)) W ?70,"Domain: ",$P(^(0),U,2)
 W !?39,$P(@(AICDREF0),"^",3)
 I $P(@(AICDREF0),"^",4)]"" W ", ",$P(^DIC(5,$P(^(0),"^",4),0),"^",2)," ",$P(@(AICDREF0),"^",5)
 W !
 K AICDREFD
 Q