BQIVFVAL ;PRXM/HC/ALA-Validate VFILE data ; 10 Apr 2007 12:56 PM
Source file <BQIVFVAL.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
VAL(DATA,VDEF,PARMS) | ;EP -- BQI VFILE DATA VALIDATION
|
|
MSR(TYPE,X) | ;EP - Measurement validation
; Input ; TYPE = Measurement choice (APCDTTYP) ; X = value of the measurement (APCDTVAL) |
|
SKT(RESLT,READ) | ;EP - Skin Test
; Input ; RESLT - Result (APCDTRES) ; READ - Reading (APCDTREA) ; Output ; RESULT=-1 didn't pass validation ; RESULT=1 passed validation |
|
CPT(VDAT,NCPT) | ; EP - CPT Code validation
|
|
EPRV(APCDTPRO) | ; EP - Education Provider
|
|
ERR | ;
|
|
TXNM(AMQQTNAR) | ; EP - Taxonomy name validation
|
|
LAB(TEST,RESLT) | ;EP - Lab Result
; Input ; TEST - Lab Test IEN ; RESLT - The entered result |
|
VDT(VDAT,DFN) | ; EP - Visit Date
; Input ; VDAT - Visit date from APCDDATE ; DFN - Patient IEN |
|
CLAS(DX,CLS) | ; EP - Classification validation
|
|
DONE | ;
|
|
RDT(SKRDT) | ; EP - Skin Test Reading Date
|
|
AIDDT(DFN,BKMAIDT,BKMDXDT) | ; EP - Initial AIDS DX Date
|
|
BDT(VDAT,DFN) | ; EP - Problem Date of Onset
; Input ; VDAT - Visit date from APCDDATE ; DFN - Patient IEN |
|
HIVDT(DFN,BKMDXDT,BKMAIDT) | ; EP - Initial HIV DX Date
|
|
PDT(PDAT,VDAT,DFN) | ; EP - Procedure Date
; Input ; PDAT - Procedure date ; VDAT - Visit date from APCDDATE ; DFN - Patient IEN |
|
IMP(VALUE) | ; EP - Imprecise date validation
|
|
LOC(LOC) | ; EP - Location
; Input ; Location IEN |
|
EXM(EXAM,RESLT) | ;EP - Exam result
; Input ; EXAM - Exam Type ; RESLT - The entered result |
Name | Field # of Occurrence |
---|---|
^%ZTER | ERR+1 |
$$ICD^ATXCHK | CLAS+9 |
$$BKMIEN^BKMIXX3 | HIVDT+4, AIDDT+4 |
$$BKMREG^BKMIXX3 | HIVDT+5, AIDDT+5 |
$$DATE^BQIUL1 | VDT+7, PDT+8, PDT+9, HIVDT+8, HIVDT+11, AIDDT+8, AIDDT+11, RDT+1, BDT+8, CPT+2 , IMP+2 |
$$FMTE^BQIUL1 | VDT+10, VDT+12, PDT+13, PDT+15, HIVDT+12, AIDDT+12, BDT+11, BDT+13 |
$$FIND1^DIC | VAL+15, EXM+5 |
$$IENS^DILF | HIVDT+7, AIDDT+7 |
$$GET1^DIQ | LOC+4, VDT+5, VDT+6, PDT+6, PDT+7, HIVDT+10, AIDDT+10, BDT+6, BDT+7 |
$$CPT^ICPTCOD | CPT+4 |
$$NOW^XLFDT | ERR+3 |
$$STRIP^XLFSTR | VAL+46, VAL+56 |
$$VERSION^XPDUTL | CLAS+1 |
RPC Name | Call Tags |
---|---|
BQI VFILE DATA VALIDATION | VAL |
FileNo | Call Tags |
---|---|
^DPT - [#2] | GET1^DIQ |
^DIC(4 - [#4] | GET1^DIQ |
^BQI(90506.3 - [#90506.3] | FIND1^DIC |
^AUTTEXAM - [#9999999.15] | FIND1^DIC |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^APCDPLCL - [#9001002.9] | CLAS+5, CLAS+6, CLAS+10, CLAS+11 |
^APCDSITE - [#9001001.2] | LOC+5 |
^ATXAX - [#9002226] | CLAS+8, TXNM+6 |
^ATXAX("B" | TXNM+4, TXNM+5 |
^AUTTEXAM - [#9999999.15] | EXM+7 |
^AUTTMSR - [#9999999.07] | MSR+9 |
^BQI(90506.3 - [#90506.3] | VAL+16, VAL+39, VAL+41, VAL+42 |
^DD("DD" | ERR+3 |
^LAB(60 - [#60] | LAB+10 |
^TMP("BQIVFVAL" | VAL+10 |
^VA(200 - [#200] | EPRV+2 |
Name | Line Occurrences |
---|---|
@( | VAL+52 |
DONE | VAL+30 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
AIDSDT | HIVDT+1~, HIVDT+8*, HIVDT+14 |
AMQN | TXNM+1~, TXNM+5*, TXNM+6 |
AMQQTNAR | TXNM~, TXNM+3, TXNM+4, TXNM+5 |
APCDTPRO | EPRV~, EPRV+2 |
BI | VAL+7~, VAL+45*, VAL+55*, VAL+56 |
BKMAIDT | HIVDT~, HIVDT+3, HIVDT+8, AIDDT~, AIDDT+3, AIDDT+11 |
BKMDXDT | HIVDT~, HIVDT+3, HIVDT+11, AIDDT~, AIDDT+3, AIDDT+8 |
BKMIEN | HIVDT+1~, HIVDT+4*, HIVDT+5, HIVDT+6, AIDDT+1~, AIDDT+4*, AIDDT+5, AIDDT+6 |
BKMIENS | HIVDT+1~, HIVDT+7*, AIDDT+1~, AIDDT+7* |
BKMREG | HIVDT+1~, HIVDT+5*, HIVDT+6, AIDDT+1~, AIDDT+5*, AIDDT+6 |
>> BMXSEC | VAL+14*, VAL+32, VAL+40*, VAL+47*, VAL+48, ERR+4* |
BN | VAL+7~, VAL+24*, VAL+25* |
BQ | VAL+7~, VAL+32*, VAL+33 |
BQA | CLAS+2~, CLAS+5*, CLAS+6, CLAS+10, CLAS+11 |
BQIXTYP | MSR+5~ |
C | EXM+6~, EXM+7*, EXM+8, EXM+9, EXM+10, EXM+11, EXM+12, EXM+13 |
CLS | CLAS~, CLAS+3, CLAS+4 |
CODN | VAL+7~, VAL+39*, VAL+40, VAL+41, VAL+42 |
DA | HIVDT+1~, HIVDT+6*, HIVDT+7, AIDDT+1~, AIDDT+6*, AIDDT+7 |
DA(1 | HIVDT+6*, AIDDT+6* |
DATA | VAL~, VAL+10*, VAL+11, VAL+20, VAL+30, VAL+53, DONE+1, ERR+5 |
DFN | VDT~, VDT+5, VDT+6, PDT~, PDT+6, PDT+7, HIVDT~, HIVDT+4, HIVDT+10, AIDDT~ , AIDDT+4, AIDDT+10, BDT~, BDT+6, BDT+7 |
DOB | VDT+5*, VDT+10, PDT+6*, PDT+13, HIVDT+1~, HIVDT+10*, HIVDT+12, AIDDT+1~, AIDDT+10*, AIDDT+12 , BDT+6*, BDT+11 |
>> DOD | VDT+6*, VDT+11, VDT+12, PDT+7*, PDT+14, PDT+15, BDT+7*, BDT+12, BDT+13 |
DT | VDT+9, PDT+12, HIVDT+13, AIDDT+13, RDT+2, BDT+10 |
DUZ | TXNM+6 |
DUZ(2 | LOC+5 |
DX | CLAS~, CLAS+9 |
ERRDTM | ERR+2~, ERR+3*, ERR+4 |
EXAM | EXM~, EXM+5*, EXM+7 |
EXEC | MSR+5~, MSR+9*, MSR+10, LAB+13*, LAB+14 |
HDR | VAL+7~ |
HG | CLAS+2~, CLAS+11*, CLAS+12 |
HIVDT | AIDDT+1~, AIDDT+8*, AIDDT+14 |
HNDLR | VAL+8~, VAL+30, VAL+53, TXNM+7* |
IEN | VAL+8~, VAL+30, VAL+53 |
II | VAL+7~, VAL+12*, VAL+20, VAL+30*, VAL+53*, DONE+1*, ERR+5* |
LDATA | LAB+9~, LAB+12*, LAB+13 |
LIST | VAL+7~, VAL+24*, VAL+25*, VAL+27, VAL+28! |
LOC | LOC~, LOC+4 |
LW | CLAS+2~, CLAS+10*, CLAS+12 |
MSG | VAL+8~, VAL+12*, VAL+30, VAL+53, LOC+5*, VDT+9*, VDT+10*, VDT+12*, PDT+11*, PDT+12* , PDT+13*, PDT+15*, EPRV+2*, HIVDT+12*, HIVDT+13*, HIVDT+14*, AIDDT+12*, AIDDT+13*, AIDDT+14*, RDT+2* , BDT+10*, BDT+11*, BDT+13*, CLAS+14*, TXNM+3*, TXNM+6*, TXNM+7*, CPT+3*, CPT+4*, IMP+3* |
NAME | VAL+7~, VAL+34*, VAL+35, VAL+38, VAL+39 |
NCPT | CPT~, CPT+3, CPT+4 |
PARMS | VAL~, VAL+22*, VAL+23, VAL+26!, VAL+27*, VAL+30, VAL+32, VAL+33 |
PARMS( | VAL+25 |
PDAT | PDT~, PDT+9*, PDT+11, PDT+12, PDT+13, PDT+15 |
PDATA | VAL+7~, VAL+33*, VAL+34 |
READ | SKT~, SKT+9, SKT+12, SKT+14 |
RESLT | SKT~, SKT+9, SKT+12, SKT+14, EXM~, EXM+8, EXM+9, EXM+10, EXM+11, EXM+12 , EXM+13, LAB~, LAB+14 |
RESULT | VAL+7~, VAL+50*, VAL+53, MSR+12*, MSR+13*, SKT+9*, SKT+12*, SKT+14*, SKT+16*, EXM+8* , EXM+9*, EXM+10*, EXM+11*, EXM+12*, EXM+13*, EXM+14*, LAB+7*, LAB+11*, LAB+15*, LAB+16* , LOC+3*, LOC+5*, VDT+4*, VDT+9*, VDT+10*, VDT+12*, PDT+5*, PDT+11*, PDT+12*, PDT+13* , PDT+15*, EPRV+1*, EPRV+2*, HIVDT+2*, HIVDT+12*, HIVDT+13*, HIVDT+14*, AIDDT+2*, AIDDT+12*, AIDDT+13* , AIDDT+14*, RDT+2*, RDT+3*, BDT+4*, BDT+10*, BDT+11*, BDT+13*, CLAS+1*, CLAS+3*, CLAS+14* , CLAS+15*, TXNM+2*, TXNM+3*, TXNM+6*, TXNM+7*, CPT+1*, CPT+3*, CPT+4*, IMP+1*, IMP+3* |
SKRDT | RDT~, RDT+1*, RDT+2 |
TEST | LAB~, LAB+10 |
TTYPE | MSR+5~, MSR+6* |
TX | CLAS+2~, CLAS+6*, CLAS+7, CLAS+8, CLAS+9 |
TYPE | VAL+7~, MSR~, MSR+6, MSR+9 |
U | VAL+16, VAL+30, VAL+41, VAL+42, VAL+53, EXM+7, LAB+10, LAB+12, LAB+13, LOC+5 , EPRV+2, CLAS+6, CLAS+10, CLAS+11, TXNM+6, CPT+4 |
UID | VAL+7~, VAL+9*, VAL+10 |
VALFLD | VAL+7~, VAL+42*, VAL+45, VAL+55, VAL+56 |
VALID | VAL+7~, VAL+41*, VAL+50*, VAL+52 |
VALUE | VAL+7~, VAL+34*, VAL+35, IMP~, IMP+2*, IMP+3 |
VDAT | VDT~, VDT+7*, VDT+9, VDT+10, VDT+12, PDT~, PDT+8*, PDT+11, BDT~, BDT+5 , BDT+8*, BDT+10, BDT+11, BDT+13, CPT~, CPT+2*, CPT+4 |
VDEF | VAL~, VAL+14*, VAL+15 |
VFIEN | VAL+8~, VAL+15*, VAL+16, VAL+39, VAL+41, VAL+42 |
>> VFILE | VAL+16*, VAL+38 |
VFLD | VAL+7~, VAL+45*, VAL+46*, VAL+47, VAL+56*, VAL+57 |
WHERE | LAB+9~, LAB+10*, LAB+11, LAB+12 |
X | VAL+7~, MSR~, MSR+12, LAB+9~, LAB+14*, LAB+15, HIVDT+1~, HIVDT+11*, HIVDT+12, HIVDT+13 , HIVDT+14, AIDDT+1~, AIDDT+11*, AIDDT+12, AIDDT+13, AIDDT+14, CLAS+2~, CLAS+4*, CLAS+5, CLAS+12! , CLAS+14 |
Y | ERR+2~, ERR+3* |
>> ZTSK | VAL+9 |