Changeset 636 for FOIAVistA/tag/r/INCOME_VERIFICATION_MATCH-IVM
- Timestamp:
- Dec 4, 2009, 8:26:01 PM (15 years ago)
- Location:
- FOIAVistA/tag/r
- Files:
-
- 5 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
FOIAVistA/tag/r/INCOME_VERIFICATION_MATCH-IVM/IVMCM.m
r628 r636 1 1 IVMCM ;ALB/SEK,KCL,RTK,AEG,BRM,AEG - PROCESS INCOME TEST (Z10) TRANSMISSIONS ; 04/23/03 1:43pm 2 ;;2.0;INCOME VERIFICATION MATCH;**12,17,28,41,44,53,34,49,59,55,63,77,74 ,123**;21-OCT-94;Build 62 ;;2.0;INCOME VERIFICATION MATCH;**12,17,28,41,44,53,34,49,59,55,63,77,74**;21-OCT-94 3 3 ; 4 4 ; … … 142 142 .S SOURCE=$P($G(^TMP($J,"IVMCM","ZMT1")),HLFS,22) 143 143 .S IVMLAST=$$LST^DGMTU(DFN,$E(IVMMTDT,1,3)_1231,1) 144 .; Check that test is for same year 145 .I $P(IVMLAST,U,2),$E($P(IVMLAST,U,2),1,3)'=$E(IVMMTDT,1,3) S IVMLAST="" 146 .I $$Z06MT^EASPTRN1(+IVMLAST) D PROB^IVMCMC("IVM Means Test already on file for this year") Q 144 .I $$Z06MT^EASPTRN1(+IVMLAST) Q 147 145 .I '$$ELIG^IVMUFNC5(DFN) S ERRMSG="Means Test upload not appropriate for current patient" 148 146 .I $$AGE^IVMUFNC5(DT)>$$INCY^IVMUFNC5(IVMMTDT) D -
FOIAVistA/tag/r/INCOME_VERIFICATION_MATCH-IVM/IVMZ07C.m
r628 r636 1 IVMZ07C ;BAJ /PHH - HL7 Z07 CONSISTENCY CHECKER -- DRIVER ROUTINE ; 1/17/20082 ;;2.0;INCOME VERIFICATION MATCH;**105 ,128**;JUL 8,1996;Build 21 IVMZ07C ;BAJ - HL7 Z07 CONSISTENCY CHECKER -- DRIVER ROUTINE ; 9/27/2006 2 ;;2.0;INCOME VERIFICATION MATCH;**105**;JUL 8,1996;Build 2 3 3 ; 4 4 ; … … 100 100 S DTTM=$O(^DGMS(29.11,"APDT",DFN,""),-1) 101 101 I DTTM'="" D 102 . S NIEN=$O(^DGMS(29.11,"APDT",DFN,DTTM,""),-1) 102 . S DTTM=$O(^DGMS(29.11,"APDT",DFN,"")) 103 . S NIEN=$O(^DGMS(29.11,"APDT",DFN,DTTM,"")) 103 104 . I $D(^DGMS(29.11,NIEN,0)) S DGP("MST",0)=^DGMS(29.11,NIEN,0) 104 105 ; -
FOIAVistA/tag/r/INCOME_VERIFICATION_MATCH-IVM/IVMZ7CD.m
r628 r636 1 IVMZ7CD ;CKN,BAJ ,ERC- HL7 Z07 CONSISTENCY CHECKER -- DEMOGRAPHIC SUBROUTINE ; 9/27/20062 ;;2.0;INCOME VERIFICATION MATCH;**105 ,127**;JUL 8,1996;Build 61 IVMZ7CD ;CKN,BAJ - HL7 Z07 CONSISTENCY CHECKER -- DEMOGRAPHIC SUBROUTINE ; 9/27/2006 2 ;;2.0;INCOME VERIFICATION MATCH;**105**;JUL 8,1996;Build 2 3 3 ; 4 4 ; Demographic Consistency Checks … … 69 69 Q 70 70 ; 71 306 ; VALID SSN/PSEUDO SSN REQUIRED , turned off with DG*5.3*77171 306 ; VALID SSN/PSEUDO SSN REQUIRED 72 72 N Z 73 73 S X=$P($G(DGP("PAT",0)),U,9) … … 83 83 Q 84 84 ; 85 307 ; PSEUDO SSN REASON REQUIRED , turned off with DG*5.3*77185 307 ; PSEUDO SSN REASON REQUIRED 86 86 S X=$P($G(DGP("PAT",0)),U,9) 87 87 I X]"",X["P",$P($G(DGP("PAT","SSN")),U)="" S FILERR(RULE)="" -
FOIAVistA/tag/r/INCOME_VERIFICATION_MATCH-IVM/IVMZ7CE.m
r628 r636 1 IVMZ7CE ;TDM,BAJ ,ERC - HL7 Z07 CONSISTENCY CHECKER -- SERVICE SUBROUTINE ; 12/4/07 2:56pm2 ;;2.0;INCOME VERIFICATION MATCH;**105 ,127**;JUL 8,1996;Build 61 IVMZ7CE ;TDM,BAJ - HL7 Z07 CONSISTENCY CHECKER -- SERVICE SUBROUTINE ; 01/23/07 2 ;;2.0;INCOME VERIFICATION MATCH;**105**;JUL 8,1996;Build 2 3 3 ; 4 4 ; Eligibility Consistency Checks … … 61 61 ; 62 62 409 ; AGREE TO PAY DEDUCT INVALID 63 ; this CC inactivated by DG*5.3*77164 63 ; 2 PENDING ADJUDICATION MEANS TEST 65 64 ; 6 MT COPAY REQUIRED MEANS TEST -
FOIAVistA/tag/r/INCOME_VERIFICATION_MATCH-IVM/IVMZ7CR.m
r628 r636 1 IVMZ7CR ;BAJ ,ERC - HL7 Z07 CONSISTENCY CHECKER -- REGISTRATION SUBROUTINE ; 12/6/07 8:51am2 ;;2.0;INCOME VERIFICATION MATCH;**105 ,127**;JUL 8,1996;Build 61 IVMZ7CR ;BAJ - HL7 Z07 CONSISTENCY CHECKER -- REGISTRATION SUBROUTINE ; 12/7/05 12:24pm 2 ;;2.0;INCOME VERIFICATION MATCH;**105**;JUL 8,1996;Build 2 3 3 ; 4 4 ; Registration Consistency Checks … … 15 15 S SPDEP=$D(DGSD("DEP")) 16 16 ; we do not count through all numbers to save routine space 17 F RULE=4,7,9,11,13,15,16,19,24,29:1:31,34,60,72,74,7 5,76,78,81,83,85,86 I $D(^DGIN(38.6,RULE)) D17 F RULE=4,7,9,11,13,15,16,19,24,29:1:31,34,60,72,74,78,81,83,85,86 I $D(^DGIN(38.6,RULE)) D 18 18 . I $$ON(RULE) D @RULE 19 19 I $D(FILERR) M ^TMP($J,DFN)=FILERR … … 100 100 I $P(DGP("PAT",.321),U,2)="Y",$P(DGP("PAT",.321),U,13)="" S FILERR(RULE)="" 101 101 Q 102 72 ; MSE DATA MISSING/INCOMPLETE , turned off with DG*5.3*765102 72 ; MSE DATA MISSING/INCOMPLETE 103 103 ; Note: Rule #513 in IVMZ7CS is a duplicate of this rule. 104 104 N I,X … … 109 109 Q 110 110 ; 111 74 ; CONFLICT DT MISSING/INCOMPLETE , turned off with DG*5.3*765112 ; Note: #515 IVMZ7CS is a duplicate, turned off with DG*5.3*771113 75; ALSO # 75 CONFLICT TO DT BEFORE FROM DT114 76 ; # 76 INACCURATE CONFLICT DATE, turned off with DG*5.3*771 111 74 ; CONFLICT DT MISSING/INCOMPLETE 112 ; Note: Rule #515 in IVMZ7CS is a duplicate of this rule. 113 ; ALSO # 75 CONFLICT TO DT BEFORE FROM DT 114 ; # 76 INACCURATE CONFLICT DATE 115 115 ; 116 N I,T,FROM,TO,NODE,PCE,PCEFR,PCETO,CONFL,RANGE,RFR,RTO,RNGE,ERR,COM,ON74,ON75,ON76 117 S ON74=$$ON(74),ON75=$$ON(75),ON76=$$ON(76) 116 N I,T,FROM,TO,RULE1,RULE2,NODE,PCE,PCEFR,PCETO,CONFL,RANGE,RFR,RTO,RNGE,ERR,COM,ON75,ON76 117 S RULE1=75,RULE2=76 118 S ON75=$$ON(75),ON76=$$ON(76) 118 119 S I=$$RANGE^DGMSCK() ; load range table 119 120 F I=1:1 S CONFL=$P($T(CONLIST+I),";;",3) Q:CONFL="QUIT" D … … 127 128 . S FROM=$P(DGP("PAT",NODE),U,PCEFR),TO=$P(DGP("PAT",NODE),U,PCETO) 128 129 . ; check rule 74 CONFLICT DT MISSING/INCOMPLETE 129 . I ON74,(RULE=74)F T=FROM,TO I '$$YM^IVMZ7CS(T) S FILERR(RULE)="",ERR=1130 . F T=FROM,TO I '$$YM^IVMZ7CS(T) S FILERR(RULE)="",ERR=1 130 131 . Q:ERR 131 132 . ; check rule 75 CONFLICT TO DT BEFORE CONFLICT FROM DT 132 . I ON75, (RULE=75),(FROM>TO) S FILERR(RULE)="",ERR=1133 . I ON75,FROM>TO S FILERR(RULE1)="",ERR=1 133 134 . Q:ERR 134 135 . ; check rule 76 INACCURATE CONFLICT DATE … … 137 138 . ; determine whether dates are withing conflict range 138 139 . S RFR=$P(RANGE(RNGE),U,1),RTO=$P(RANGE(RNGE),U,2) 139 . I ON76 ,(RULE=76)D140 . . I '((RFR'>FROM)&((RTO'<TO))) S FILERR(RULE )=""141 Q 142 78 ; INACCURATE COMBAT DT/LOC , turned off with DG*5.3*771140 . I ON76 D 141 . . I '((RFR'>FROM)&((RTO'<TO))) S FILERR(RULE2)="" 142 Q 143 78 ; INACCURATE COMBAT DT/LOC 143 144 N I,T,FROM,TO,RULE,NODE,PCE,PCEFR,PCETO,CONFL,RANGE,RFR,RTO,RNGE,ERR,COM,ON78,LOC 144 145 ; This tag checks COMBAT status and verifies that valid FROM & TO dates are found … … 157 158 . I '(RFR'>FROM&((FROM'>RTO)&((RTO'<TO)&((TO'<RFR))))) S FILERR(RULE)="" 158 159 Q 159 81 ; COMBAT DT NOT WITHIN MSE , turned off with DG*5.3*765160 81 ; COMBAT DT NOT WITHIN MSE 160 161 ; this code is copied from DGRP3 161 162 ; MSFROMTO^DGMSCK creates a block for a continual MSE
Note:
See TracChangeset
for help on using the changeset viewer.