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

ACHSVDVA.m

Go to the documentation of this file.
  1. ACHSVDVA ; IHS/ITSC/PMF - 2/2 EDIT VENDOR INFORMATION - CALLED FROM ACHSVDV ;
  1. ;;3.1;CONTRACT HEALTH MGMT SYSTEM;**6,11,13,19,23**;JUN 11, 2001;Build 43
  1. ;IHS/SET/JVK ACHS*3.1*11 MODIFIED FOR MEDICARE PROVIDER ENTRY 8/10/2004
  1. ;IHS/SET/JVK ACHS*3.1*6 MODIFIED FOR ADDITIONAL ENTRY 4/15/2003
  1. ;ACHS*3.1*13 11/29/06 IHS/OIT/FCJ ADDED DUNS NUMBER OPTION
  1. ;
  1. EDIT ;EP
  1. ;ACHS*3.1*13 11/29/06 IHS/OIT/FCJ MODIFIED FOR ADDITIONAL ENTRY;ACHS*3.1*23
  1. ;S Y=+$$DIR^XBDIR("NO^1:14","Change Which Item","","","Enter the number corresponding to the field you need to edit","",2)
  1. S Y=+$$DIR^XBDIR("NO^1:20","Change Which Item","","","Enter the number corresponding to the field you need to edit","",2)
  1. G END^ACHSVDV:$D(DTOUT),A1^ACHSVDV:$D(DUOUT)!(Y<1)
  1. S $P(^AUTTVNDR(ACHSPROV,11),U,11)=DT
  1. W !
  1. D @(Y)
  1. G A2^ACHSVDV
  1. ;
  1. 1 ;
  1. D EDITVNDR(ACHSPROV,.01)
  1. G A1^ACHSVDV
  1. ;
  1. 2 ;
  1. D EDITVNDR(ACHSPROV,"1101;1102")
  1. D ^ACHSVDVD
  1. Q
  1. ;
  1. 3 ;
  1. D EDITVNDR(ACHSPROV,.05)
  1. Q
  1. ;
  1. 4 ;
  1. S ACHSACO="L",P=ACHSPROV,A("DISPLAY")=0
  1. D L^ACHSVDV1
  1. S:'$D(DA) DA=""
  1. Q:'$D(DA)!(DA="")
  1. S DIE("NO^")="",DIE="^AUTTVNDR("_ACHSPROV_",""CN"",",DA(1)=ACHSPROV,DR="1;2;4;3"
  1. D ^DIE
  1. K DIE,DA
  1. Q
  1. ;
  1. 5 ;
  1. D EDITVNDR(ACHSPROV,1701)
  1. Q
  1. ;
  1. 6 ;
  1. S ACHSAGTP="RQ"
  1. D AGRDSP^ACHSVDV2
  1. Q:'$G(DA)
  1. S DIE="^AUTTVNDR("_ACHSPROV_",18,",DA(1)=ACHSPROV,DR=".02;.04;.03;.05;.07;.06;.08;.09"
  1. D ^DIE
  1. K DIE
  1. Q
  1. ;
  1. 7 ;
  1. D EDITVNDR(ACHSPROV,1126)
  1. Q
  1. ;
  1. 8 ;
  1. S ACHSAGTP="PA"
  1. D AGRDSP^ACHSVDV2
  1. Q:'$G(DA)
  1. S DIE="^AUTTVNDR("_ACHSPROV_",18,",DA(1)=ACHSPROV,DR=".02;.04;.03;.05;.07;.06;.08;.09"
  1. D ^DIE
  1. K DIE
  1. Q
  1. ;
  1. 9 ;IHS/SET/JVK ACHS*3.1*11 ADD MEDICARE PROVIDER
  1. I $P($G(^AUTTVNDR(ACHSPROV,23)),U)'="" D MP^ACHSVDV1,EDITVNDR(ACHSPROV,"2301;2302")
  1. I $P($G(^AUTTVNDR(ACHSPROV,23)),U)="" D EDITVNDR(ACHSPROV,"2301;2302"),MP^ACHSVDV1
  1. Q:'$G(DA)
  1. ;D EDITVNDR(ACHSPROV,"2301;2302")
  1. Q
  1. ;
  1. 10 ;IHS/SET/JVK ACHS*3.1*11 RE-NUMBER 10-16
  1. ;
  1. S ACHSAGTP="BPA"
  1. D AGRDSP^ACHSVDV2
  1. Q:'$G(DA)
  1. S DIE="^AUTTVNDR("_ACHSPROV_",18,",DA(1)=ACHSPROV,DR=".02;.04;.03;.05;.07;.06;.08;.09"
  1. D ^DIE
  1. K DIE
  1. Q
  1. ;
  1. 11 ;ACHS*3.1*19 3.30.11 IHS/OIT/FCJ ADDED E-MAIL OPTION 11 AND RE-NUMBER 12-18
  1. D EDITVNDR(ACHSPROV,"2103")
  1. Q
  1. 12 ;ACHS*3.1*13 11/29/06 IHS/OIT/FCJ ADDED DUNS NUMBER AND RE-NUMBER 12-17
  1. D EDITVNDR(ACHSPROV,".07;.08")
  1. Q
  1. ;ACHS*3.1*23 IHS.OIT.FCJ ADDED DIRECT PARTICIPANT AND DIRECT EMAIL ADDRESS THEN RENUMBERED
  1. 13 ;DIRECT PARTICIPANT
  1. D EDITVNDR(ACHSPROV,"2104")
  1. Q
  1. 14 ;DIRECT EMAIL ADDRESS
  1. D EDITVNDR(ACHSPROV,"2105")
  1. Q
  1. 15 ;
  1. D EDITVNDR(ACHSPROV,"1301:1302;1303;1304;1305;1109;1114") ;ACHS*3.1*19 ADDED FIELD 1114 TO LINE
  1. Q
  1. ;
  1. 16 ;
  1. D EDITVNDR(ACHSPROV,"1306;1307;1308;1309")
  1. Q
  1. ;
  1. 17 ;EP
  1. D EDITVNDR(ACHSPROV,1103)
  1. Q
  1. ;
  1. 18 ;
  1. D EDITVNDR(ACHSPROV,1110)
  1. Q
  1. ;
  1. 19 ;
  1. D EDITVNDR(ACHSPROV,1103.01)
  1. Q
  1. ;
  1. ;IHS/SET/JVK ACHS*3.1*6 ADDED GEOGRAPHICAL LOC 4/15/2003
  1. 20 ;
  1. D EDITVNDR(ACHSPROV,1125)
  1. Q
  1. ;
  1. EDITVNDR(DA,DR) ;EP - Edit fields in VENDOR.
  1. N DIE
  1. S DIE="^AUTTVNDR("
  1. D ^DIE
  1. Q
  1. ;