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

AUTPOS3.m

Go to the documentation of this file.
AUTPOS3 ; IHS/DIRM/JDM/DFM - Post Init to AUT ;  [ 03/04/98   8:10 AM ]
 ;;98.1;IHS DICTIONARIES (POINTERS);;MAR 04, 1998;Build 6
 ;
 ;
RECODE ;EP - Converts invalid phone #s to valid in INSURER file.
 S NX=0 D CONVRT
 Q
CONVRT ;
 Q:'$O(^AUTNINS(NX))
 S NX=$O(^AUTNINS(NX))
 S PN=$P(^AUTNINS(NX,0),U,6)
 S LN=$L(PN)
 Q:PN=""!(LN<13)
 I $E(PN,6)="-" S PN=$P(PN,"-",1)_$P(PN,"-",2)
 S DIE="^AUTNINS(",DA=NX,DR=".06//^S X=PN" D ^DIE
 G CONVRT
 Q