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

AG71POST.m

Go to the documentation of this file.
AG71POST ;IHS/SD/TPF - POST INSTALL TO PLACE SITE MANDATORY FIELDS DATA INTO THE REGISTRATION PARAMTER FILE
 ;;7.1;PATIENT REGISTRATION;;AUG 25,2005
START ;EP
 ;FOR ALL SITES IN THE REGISTRATION FILE
 S AGIEN=0
 F  S AGIEN=$O(^AGFAC(AGIEN)) Q:+AGIEN=0  D
 .K ^AGFAC(AGIEN,11)
 .D POPULATE(AGIEN)
 Q
POPULATE(AGFACIEN)       ;EP
 F LINE=1:2 S NODE=$P($T(DATA+LINE),";;",2) Q:NODE="*END*"  S DATA=$P($T(DATA+LINE+1),";;",2)  D
 .S @NODE=DATA
 Q
DATA ;
 ;;^AGFAC(AGIEN,11,0)
 ;;^9009061.11P^12^9
 ;;^AGFAC(AGIEN,11,1,0)
 ;;2
 ;;^AGFAC(AGIEN,11,1,1,0)
 ;;^9009061.1101^15^8
 ;;^AGFAC(AGIEN,11,1,1,1,0)
 ;;SSN^1
 ;;^AGFAC(AGIEN,11,1,1,4,0)
 ;;EMPLOYMENT STATUS^1
 ;;^AGFAC(AGIEN,11,1,1,5,0)
 ;;EMPLOYER NAME^1
 ;;^AGFAC(AGIEN,11,1,1,9,0)
 ;;MAILING ADDRESS-STREET^1
 ;;^AGFAC(AGIEN,11,1,1,12,0)
 ;;MAILING ADDRESS-CITY^1
 ;;^AGFAC(AGIEN,11,1,1,13,0)
 ;;MAILING ADDRESS-ZIP^1
 ;;^AGFAC(AGIEN,11,1,1,14,0)
 ;;HOME PHONE^1
 ;;^AGFAC(AGIEN,11,1,1,15,0)
 ;;MAILING ADDRESS-STATE^1
 ;;^AGFAC(AGIEN,11,1,1,"B","EMPLOYER NAME",5)
 ;;
 ;;^AGFAC(AGIEN,11,1,1,"B","EMPLOYMENT STATUS",4)
 ;;
 ;;^AGFAC(AGIEN,11,1,1,"B","HOME PHONE",14)
 ;;
 ;;^AGFAC(AGIEN,11,1,1,"B","MAILING ADDRESS-CITY",12)
 ;;
 ;;^AGFAC(AGIEN,11,1,1,"B","MAILING ADDRESS-STATE",15)
 ;;
 ;;^AGFAC(AGIEN,11,1,1,"B","MAILING ADDRESS-STREET",9)
 ;;
 ;;^AGFAC(AGIEN,11,1,1,"B","MAILING ADDRESS-ZIP",13)
 ;;
 ;;^AGFAC(AGIEN,11,1,1,"B","SSN",1)
 ;;
 ;;^AGFAC(AGIEN,11,3,0)
 ;;9000004
 ;;^AGFAC(AGIEN,11,3,1,0)
 ;;^9009061.1101^4^4
 ;;^AGFAC(AGIEN,11,3,1,1,0)
 ;;POLICY HOLDER^1
 ;;^AGFAC(AGIEN,11,3,1,2,0)
 ;;RELATIONSHIP TO INSURED^1
 ;;^AGFAC(AGIEN,11,3,1,3,0)
 ;;GROUP NAME^1
 ;;^AGFAC(AGIEN,11,3,1,4,0)
 ;;MEDICAID DATE OF BIRTH^1
 ;;^AGFAC(AGIEN,11,3,1,"B","GROUP NAME",3)
 ;;
 ;;^AGFAC(AGIEN,11,3,1,"B","MEDICAID DATE OF BIRTH",4)
 ;;
 ;;^AGFAC(AGIEN,11,3,1,"B","POLICY HOLDER",1)
 ;;
 ;;^AGFAC(AGIEN,11,3,1,"B","RELATIONSHIP TO INSURED",2)
 ;;
 ;;^AGFAC(AGIEN,11,4,0)
 ;;9000003
 ;;^AGFAC(AGIEN,11,4,1,0)
 ;;^9009061.1101^1^1
 ;;^AGFAC(AGIEN,11,4,1,1,0)
 ;;MEDICARE DATE OF BIRTH^1
 ;;^AGFAC(AGIEN,11,4,1,"B","MEDICARE DATE OF BIRTH",1)
 ;;
 ;;^AGFAC(AGIEN,11,5,0)
 ;;9000003.1
 ;;^AGFAC(AGIEN,11,5,1,0)
 ;;^9009061.1101^9^9
 ;;^AGFAC(AGIEN,11,5,1,1,0)
 ;;POLICY NUMBER^1
 ;;^AGFAC(AGIEN,11,5,1,2,0)
 ;;GROUP NAME^1
 ;;^AGFAC(AGIEN,11,5,1,3,0)
 ;;HOLDER'S ADDRESS - CITY^1
 ;;^AGFAC(AGIEN,11,5,1,4,0)
 ;;HOLDER'S ADDRESS - STATE^1
 ;;^AGFAC(AGIEN,11,5,1,5,0)
 ;;HOLDER'S ADDRESS - STREET^1
 ;;^AGFAC(AGIEN,11,5,1,6,0)
 ;;HOLDER'S ADDRESS - ZIP^1
 ;;^AGFAC(AGIEN,11,5,1,7,0)
 ;;HOLDER'S TELEPHONE NUMBER^1
 ;;^AGFAC(AGIEN,11,5,1,8,0)
 ;;HOLDER'S EMPLOYMENT STATUS^1
 ;;^AGFAC(AGIEN,11,5,1,9,0)
 ;;DATE  OF BIRTH^1
 ;;^AGFAC(AGIEN,11,5,1,"B","DATE OF BIRTH",9)
 ;;
 ;;^AGFAC(AGIEN,11,5,1,"B","GROUP NAME",2)
 ;;
 ;;^AGFAC(AGIEN,11,5,1,"B","HOLDER'S ADDRESS - CITY",3)
 ;;
 ;;^AGFAC(AGIEN,11,5,1,"B","HOLDER'S ADDRESS - STATE",4)
 ;;
 ;;^AGFAC(AGIEN,11,5,1,"B","HOLDER'S ADDRESS - STREET",5)
 ;;
 ;;^AGFAC(AGIEN,11,5,1,"B","HOLDER'S ADDRESS - ZIP",6)
 ;;
 ;;^AGFAC(AGIEN,11,5,1,"B","HOLDER'S EMPLOYMENT STATUS",8)
 ;;
 ;;^AGFAC(AGIEN,11,5,1,"B","HOLDER'S TELEPHONE NUMBER",7)
 ;;
 ;;^AGFAC(AGIEN,11,5,1,"B","POLICY NUMBER",1)
 ;;
 ;;^AGFAC(AGIEN,11,6,0)
 ;;9000005
 ;;^AGFAC(AGIEN,11,6,1,0)
 ;;^9009061.1101^2^2
 ;;^AGFAC(AGIEN,11,6,1,1,0)
 ;;RAILROAD NAME^1
 ;;^AGFAC(AGIEN,11,6,1,2,0)
 ;;RAILROAD DATE OF BIRTH^1
 ;;^AGFAC(AGIE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 ;;^AGFAC(AGIEN,11,10,1,"B","STATE",3)
 ;;
 ;;^AGFAC(AGIEN,11,10,1,"B","STREET ADDRESS",1)
 ;;
 ;;^AGFAC(AGIEN,11,10,1,"B","ZIP",4)
 ;;
 ;;^AGFAC(AGIEN,11,12,0)
 ;;9000001
 ;;^AGFAC(AGIEN,11,12,1,0)
 ;;^9009061.1101^3^3
 ;;^AGFAC(AGIEN,11,12,1,1,0)
 ;;EMPLOYMENT STATUS^1
 ;;^AGFAC(AGIEN,11,12,1,2,0)
 ;;EMPLOYER NAME^1
 ;;^AGFAC(AGIEN,11,12,1,3,0)
 ;;RELEASE OF INFORMATION^1
 ;;^AGFAC(AGIEN,11,12,1,"B","EMPLOYER NAME",2)
 ;;
 ;;^AGFAC(AGIEN,11,12,1,"B","EMPLOYMENT STATUS",1)
 ;;
 ;;^AGFAC(AGIEN,11,12,1,"B","RELEASE OF INFORMATION",3)
 ;;
 ;;^AGFAC(AGIEN,11,"B",2,1)
 ;;
 ;;^AGFAC(AGIEN,11,"B",9000001,12)
 ;;
 ;;^AGFAC(AGIEN,11,"B",9000003,4)
 ;;
 ;;^AGFAC(AGIEN,11,"B",9000003.1,5)
 ;;
 ;;^AGFAC(AGIEN,11,"B",9000004,3)
 ;;
 ;;^AGFAC(AGIEN,11,"B",9000005,6)
 ;;
 ;;^AGFAC(AGIEN,11,"B",9000041,7)
 ;;
 ;;^AGFAC(AGIEN,11,"B",9000043,8)
 ;;
 ;;*END*