Ignore:
Timestamp:
Dec 4, 2009, 8:26:01 PM (15 years ago)
Author:
George Lilly
Message:

WorldVistAEHR overlayed on FOIAVistA

Location:
FOIAVistA/tag/r
Files:
5 edited
1 copied

Legend:

Unmodified
Added
Removed
  • FOIAVistA/tag/r/INCOME_VERIFICATION_MATCH-IVM/IVMCM.m

    r628 r636  
    11IVMCM ;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 6
     2 ;;2.0;INCOME VERIFICATION MATCH;**12,17,28,41,44,53,34,49,59,55,63,77,74**;21-OCT-94
    33 ;
    44 ;
     
    142142 .S SOURCE=$P($G(^TMP($J,"IVMCM","ZMT1")),HLFS,22)
    143143 .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
    147145 .I '$$ELIG^IVMUFNC5(DFN) S ERRMSG="Means Test upload not appropriate for current patient"
    148146 .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/2008
    2  ;;2.0;INCOME VERIFICATION MATCH;**105,128**;JUL 8,1996;Build 2
     1IVMZ07C ;BAJ - HL7 Z07 CONSISTENCY CHECKER -- DRIVER ROUTINE ; 9/27/2006
     2 ;;2.0;INCOME VERIFICATION MATCH;**105**;JUL 8,1996;Build 2
    33 ;
    44 ;
     
    100100 S DTTM=$O(^DGMS(29.11,"APDT",DFN,""),-1)
    101101 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,""))
    103104 . I $D(^DGMS(29.11,NIEN,0)) S DGP("MST",0)=^DGMS(29.11,NIEN,0)
    104105 ;
  • FOIAVistA/tag/r/INCOME_VERIFICATION_MATCH-IVM/IVMZ7CD.m

    r628 r636  
    1 IVMZ7CD ;CKN,BAJ,ERC - HL7 Z07 CONSISTENCY CHECKER -- DEMOGRAPHIC SUBROUTINE ; 9/27/2006
    2  ;;2.0;INCOME VERIFICATION MATCH;**105,127**;JUL 8,1996;Build 6
     1IVMZ7CD ;CKN,BAJ - HL7 Z07 CONSISTENCY CHECKER -- DEMOGRAPHIC SUBROUTINE ; 9/27/2006
     2 ;;2.0;INCOME VERIFICATION MATCH;**105**;JUL 8,1996;Build 2
    33 ;
    44 ; Demographic Consistency Checks
     
    6969 Q
    7070 ;
    71 306 ; VALID SSN/PSEUDO SSN REQUIRED, turned off with DG*5.3*771
     71306 ; VALID SSN/PSEUDO SSN REQUIRED
    7272 N Z
    7373 S X=$P($G(DGP("PAT",0)),U,9)
     
    8383 Q
    8484 ;
    85 307 ; PSEUDO SSN REASON REQUIRED, turned off with DG*5.3*771
     85307 ; PSEUDO SSN REASON REQUIRED
    8686 S X=$P($G(DGP("PAT",0)),U,9)
    8787 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:56pm
    2  ;;2.0;INCOME VERIFICATION MATCH;**105,127**;JUL 8,1996;Build 6
     1IVMZ7CE ;TDM,BAJ - HL7 Z07 CONSISTENCY CHECKER -- SERVICE SUBROUTINE ; 01/23/07
     2 ;;2.0;INCOME VERIFICATION MATCH;**105**;JUL 8,1996;Build 2
    33 ;
    44 ; Eligibility Consistency Checks
     
    6161 ;
    6262409 ; AGREE TO PAY DEDUCT INVALID
    63  ; this CC inactivated by DG*5.3*771
    6463 ; 2  PENDING ADJUDICATION     MEANS TEST
    6564 ; 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:51am
    2  ;;2.0;INCOME VERIFICATION MATCH;**105,127**;JUL 8,1996;Build 6
     1IVMZ7CR ;BAJ - HL7 Z07 CONSISTENCY CHECKER -- REGISTRATION SUBROUTINE ; 12/7/05 12:24pm
     2 ;;2.0;INCOME VERIFICATION MATCH;**105**;JUL 8,1996;Build 2
    33 ;
    44 ; Registration Consistency Checks
     
    1515 S SPDEP=$D(DGSD("DEP"))
    1616 ; 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,75,76,78,81,83,85,86 I $D(^DGIN(38.6,RULE)) D
     17 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
    1818 . I $$ON(RULE) D @RULE
    1919 I $D(FILERR) M ^TMP($J,DFN)=FILERR
     
    100100 I $P(DGP("PAT",.321),U,2)="Y",$P(DGP("PAT",.321),U,13)="" S FILERR(RULE)=""
    101101 Q
    102 72 ; MSE DATA MISSING/INCOMPLETE, turned off with DG*5.3*765
     10272 ; MSE DATA MISSING/INCOMPLETE
    103103 ; Note: Rule #513 in IVMZ7CS is a duplicate of this rule.
    104104 N I,X
     
    109109 Q
    110110 ;
    111 74 ; CONFLICT DT MISSING/INCOMPLETE, turned off with DG*5.3*765
    112  ; Note:#515 IVMZ7CS is a duplicate, turned off with DG*5.3*771
    113 75 ; ALSO # 75 CONFLICT TO DT BEFORE FROM DT
    114 76 ;      # 76 INACCURATE CONFLICT DATE, turned off with DG*5.3*771
     11174 ; 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
    115115 ;
    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)
    118119 S I=$$RANGE^DGMSCK()    ; load range table
    119120 F I=1:1 S CONFL=$P($T(CONLIST+I),";;",3) Q:CONFL="QUIT"  D
     
    127128 . S FROM=$P(DGP("PAT",NODE),U,PCEFR),TO=$P(DGP("PAT",NODE),U,PCETO)
    128129 . ; check rule 74 CONFLICT DT MISSING/INCOMPLETE
    129  . I ON74,(RULE=74) F T=FROM,TO I '$$YM^IVMZ7CS(T) S FILERR(RULE)="",ERR=1
     130 . F T=FROM,TO I '$$YM^IVMZ7CS(T) S FILERR(RULE)="",ERR=1
    130131 . Q:ERR
    131132 . ; check rule 75 CONFLICT TO DT BEFORE CONFLICT FROM DT
    132  . I ON75,(RULE=75),(FROM>TO) S FILERR(RULE)="",ERR=1
     133 . I ON75,FROM>TO S FILERR(RULE1)="",ERR=1
    133134 . Q:ERR
    134135 . ; check rule 76 INACCURATE CONFLICT DATE
     
    137138 . ; determine whether dates are withing conflict range
    138139 . S RFR=$P(RANGE(RNGE),U,1),RTO=$P(RANGE(RNGE),U,2)
    139  . I ON76,(RULE=76) D
    140  . . I '((RFR'>FROM)&((RTO'<TO))) S FILERR(RULE)=""
    141  Q
    142 78 ; INACCURATE COMBAT DT/LOC, turned off with DG*5.3*771
     140 . I ON76 D
     141 . . I '((RFR'>FROM)&((RTO'<TO))) S FILERR(RULE2)=""
     142 Q
     14378 ; INACCURATE COMBAT DT/LOC
    143144 N I,T,FROM,TO,RULE,NODE,PCE,PCEFR,PCETO,CONFL,RANGE,RFR,RTO,RNGE,ERR,COM,ON78,LOC
    144145 ; This tag checks COMBAT status and verifies that valid FROM & TO dates are found
     
    157158 . I '(RFR'>FROM&((FROM'>RTO)&((RTO'<TO)&((TO'<RFR))))) S FILERR(RULE)=""
    158159 Q
    159 81 ; COMBAT DT NOT WITHIN MSE, turned off with DG*5.3*765
     16081 ; COMBAT DT NOT WITHIN MSE
    160161 ; this code is copied from DGRP3
    161162 ; MSFROMTO^DGMSCK creates a block for a continual MSE
Note: See TracChangeset for help on using the changeset viewer.