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

ACHS31P0.m

Go to the documentation of this file.
ACHS31P0 ;IHS/SET/GTH - ACHS 3.1 PATCH 5 ENTRY ACTIONS ; [ 12/06/2002  10:36 AM ]
 ;;3.1;CONTRACT HEALTH MGMT SYSTEM;**5**;JUN 11, 2001
 ;IHS/SET/GTH ACHS*3.1*5 12/06/2002 - Specific to Patch 5.
 ;
POS ;EP - From KIDS.
 ; All the "D AUDIT^ACHSMAUD("ACHS",.LEVEL)" are removed from the
 ; ENTRY ACTIONs of the CHS options.
 ;
 D BMES^XPDUTL("BEGIN Removing non-standard auditing from CHS options.")
 NEW ACHS,ACHS20,ACHSR,DA,DIC,DIE,DR,X
 S (DIC,DIE)=19,DIC(0)=""
 F ACHS=1:1 S ACHSR=$P($T(AUDOPTS+ACHS),";",3,99) Q:ACHSR="END"  D
 . S X=$P(ACHSR,"^",1)
 . D ^DIC
 . I +Y<1 D MES^XPDUTL($J("",5)_"Option "_X_" not found (That's OK).") Q
 . S ACHS20=$P(ACHSR,U,2,99),DA=+Y,DR="20///"_$S(ACHS20="":"@",1:"^S X=ACHS20")
 . D ^DIE
 . I $D(Y) D MES^XPDUTL("ERROR:  Edit ENTRY ACTION of Option '"_$P(ACHSR,U,1)_"' FAILED.") Q
 . D MES^XPDUTL($J("",5)_"ENTRY ACTION of Option "_$P(ACHSR,U,1)_" edited to '"_$P(ACHSR,U,2,99)_"'.") Q
 .Q
 I '$$KILLOK^ZIBGCHAR("ACHSAUD") KILL ^ACHSAUD ; KILL non-standard work global.
 E  NEW % S %="" F  S %=$O(^ACHSAUD(%)) Q:'$L(%)  KILL ^ACHSAUD(%)
 D MES^XPDUTL("END Removing non-standard auditing from CHS options.")
 Q
 ;
 ; - Option Name - ^ - Entry Action -
AUDOPTS ;
 ;;ACHS ADD REFERRAL^
 ;;ACHS CALC INTEREST^
 ;;ACHS CAN CC SCC^
 ;;ACHS CHEF EDIT CASES^
 ;;ACHS CHEF MANAGEMENT^
 ;;ACHS CHEF PARAMETERS^
 ;;ACHS CHEF REQUEST^
 ;;ACHS DEF ACCRUEDDEFSVC^D H^ACHS,^ACHSDFS
 ;;ACHS DEF ADD^D H^ACHS,^ACHSDF
 ;;ACHS DEF BY ISSUE DATE^D H^ACHS
 ;;ACHS DEF CANCEL^D H^ACHS,^ACHSDFC
 ;;ACHS DEF DOCNTL^D H^ACHS,DOCNTL1^ACHSDF
 ;;ACHS DEF DOCUMENT^S ACHDIO=IO D H^ACHS,DUMP^ACHSDF2
 ;;ACHS DEF EXRPT^D H^ACHS,^ACHSDFE
 ;;ACHS DEF LETTER^D H^ACHS,^ACHSDFL
 ;;ACHS DEF PO^D H^ACHS,PO^ACHSDF
 ;;ACHS DEFDEN ENHANCEMENTS^D H^ACHS
 ;;ACHS DEFDEN MENU^D LOGO^ACHS,SETCK^ACHSDF1
 ;;ACHS DEFDEN MENU ADD^D H^ACHS
 ;;ACHS DEFDEN MENU CANCEL^D H^ACHS
 ;;ACHS DEFDEN MENU DEF LTRS^D H^ACHS
 ;;ACHS DEFDEN MENU DEF RPT^D H^ACHS
 ;;ACHS DEFDEN MENU DEF SUPP^D H^ACHS
 ;;ACHS DEFDEN MENU DEN LTRS^D H^ACHS
 ;;ACHS DEFDEN MENU DEN REPORTS^D H^ACHS
 ;;ACHS DEFDEN MENU DEN SUPP^D H^ACHS
 ;;ACHS DEFDEN MENU PARM^D H^ACHS
 ;;ACHS DEFDEN MENU PRINT^D H^ACHS
 ;;ACHS DEFDEN MENU REPORTS^D H^ACHS
 ;;ACHS DEFDEN MENU SUPP^D H^ACHS
 ;;ACHS DEFDEN PARM AMT^D H^ACHS S DIE="^ACHSDENR(",DA=DUZ(2),DR=.06 D ^DIE
 ;;ACHS DEFDEN PARM CLOSE^D H^ACHS S DIE="^ACHSDENR(",DA=DUZ(2),DR=8 D ^DIE
 ;;ACHS DEFDEN PARM DEFCATEGORY^D H^ACHS
 ;;ACHS DEFDEN PARM FAC^D H^ACHS S DIE="^ACHSDENR(",DA=DUZ(2),DR=.02 D ^DIE
 ;;ACHS DEFDEN PARM HEAD^D H^ACHS S DIE="^ACHSDENR(",DA=DUZ(2),DR=".07;1.1" D ^DIE
 ;;ACHS DEFDEN PARM MEDPRI^D H^ACHS
 ;;ACHS DEFDEN PARM NUMS^D H^ACHS S DIE="^ACHSDENR(",DA=DUZ(2),DR=".03:.05" D ^DIE S DR=".08" D ^DIE
 ;;ACHS DEFDEN PARM SIG^D H^ACHS S DIE="^ACHSDENR(",DA=DUZ(2),DR=6 D ^DIE
 ;;ACHS DEFDEN TECHNICAL MANUAL^D H^ACHS
 ;;ACHS DEN ADD^D H^ACHS K ACHD D ^ACHSDN
 ;;ACHS DEN ADDPROVIDER^D H^ACHS,^ACHSDNAP
 ;;ACHS DEN ALTRESC^D H^ACHS,^ACHSDAR
 ;;ACHS DEN ALTRESCAPPEAL^D H^ACHS,^ACHSDAR3
 ;;ACHS DEN APPEAL^D H^ACHS,APPEAL^ACHSDN2
 ;;ACHS DEN CANCEL^D H^ACHS,^ACHSDNC
 ;;ACHS DEN DOCNTL^D H^ACHS,DOCNTL^ACHSDN2
 ;;ACHS DEN DOCUMENT^S ACHDIO=IO D H^ACHS,DUMP^ACHSDN2
 ;;ACHS DEN INFO^D H^ACHS,DENIAL^ACHSDF
 ;;ACHS DEN LETTER^D H^ACHS,^ACHSDNL
 ;;ACHS DEN PVDRLIST^D H^ACHS,^ACHSDPVO,RTRN^ACHS
 ;;ACHS DEN PVDRLISTNOT^D H^ACHS,^ACHSDPVN,RTRN^ACHS
 ;;ACHS DEN REASONS^D H^ACHS,^ACHSDREA
 ;;ACHS DEN REP1^D H^ACHS,^ACHSDNI
 ;;ACHS DEN REP1A^D H^ACHS,^ACHSDNA
 ;;ACHS DEN RPTHQ1^D H^ACHS,^ACHSDHQ,RTRN^ACHS
 ;;ACHS DEN STATS^D H^ACHS,^ACHSDNS
 ;;ACHS EDIT AUTH DATES^
 ;;ACHS EDIT DOCUMENT ACTIONS^
 ;;ACHS EDIT INTEREST^
 ;;ACHS ENHANCEMENTS^
 ;;ACHS INTEREST DISPLAY^
 ;;ACHS MENU EXPORT^
 ;;ACHS MENU INTEREST^
 ;;ACHS MENU OBJECT CLASS REPORTS^
 ;;ACHS MENU SCC REPORTS^
 ;;ACHS MENU VENDOR REPORTS^
 ;;ACHS PCC TRANSFER^
 ;;ACHS PG OPTIONS^
 ;;ACHS QUARTERLY VENDOR^
 ;;ACHS REPORT SCC DCRS^S ACHSIO=IO
 ;;ACHS SERVICE CLASS CODES^S DA=DUZ(2),DR="[ACHSOBCL]",DIE="^ACHS(3," D ^DIE
 ;;ACHS TST VER^D ^ACHSTV
 ;;ACHS-HV-DENIAL-REPORT^
 ;;ACHS-HV-EDIT HV PROVIDERS^S DIE="^ACHSF(",DA=DUZ(2),DR=18 D ^DIE KILL DA,DIE,DR
 ;;ACHS-HV-MASTER^
 ;;ACHS-HV-MDOL-REPORT^
 ;;ACHS-HV-MDOL-TX^
 ;;ACHS-HV-PRINT HVP^
 ;;ACHS-HV-PRINT NOTIFICATION^
 ;;ACHS-HV-RECEIVE NOTIFICATION^
 ;;ACHS638CHECK1^I $$638^ACHSFU D ^ACHSCHK
 ;;ACHS638CHECKB^I $P(^ACHSF(DUZ(2),0),U,8)="Y",$P(^(0),U,9)="Y" D BATCH^ACHSCHK
 ;;ACHS638CHECKIN^I $$638^ACHSFU D RETURN^ACHSCHK1
 ;;ACHS638CHECKMENU^Q:'$$638^ACHSFU
 ;;ACHS638CHECKSOUT^
 ;;ACHS638CHECKSPRINTED^S:'$$638^ACHSFU ACHSXQT="" Q:$D(ACHSXQT)  S ACHSIO=IO
 ;;ACHS638REPORTS^Q:'$$638^ACHSFU
 ;;ACHSAA^D ^ACHSAA
 ;;ACHSAB^D ^ACHSAB,^ACHSAA
 ;;ACHSAC^D ^ACHSAC,^ACHSAA
 ;;ACHSAD^
 ;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