IBCNBES ;ALB/ARH-Ins Buffer: stuff new entries/data into buffer ;1 Jun 97
Source file <IBCNBES.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Name | Comments | DBIA/ICR reference |
---|---|---|
ADDSTF(IBSOURCE,DFN,IBDATA) | ; add new entry to Insurance Buffer file (355.33) and stuff the data passed in, no user interaction
; IBSOURCE = source of information (required) ; 1 = interview 2 = data match ; 3 = ivm 4 = pre-registration ; 5 = eIV etc., refer to file #365.12 for full list of sources ;IB*743/CKB ; DFN = patient's ifn in file 2 (required) ; IBDATA = data to file in Buffer in an array subscripted by field number of the data field in 355.33 ; ex: IBDATA(20.01)="Insurance Company Name", etc, ; returns ien of new entry or 0 followed by error if entry not added |
|
EXIT | ||
EDITSTF(IBBUFDA,IBDATA) | ; loop though data array and stuff each buffer field, no user interaction
|
|
FLDCHK(FILE,FIELD,VALUE) | ; minor checks on data: truncate if length too long, if pointer add ' so can be processed as external format
|
|
FLDCHKQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DPT - [#2] | ADDSTF+16 |
^IBA(355.33 - [#355.33] | ADDSTF+31, EDITSTF+2 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
DFN | ADDSTF~, ADDSTF+16, ADDSTF+22 |
DUZ | ADDSTF+26 |
FIELD | FLDCHK~, FLDCHK+3 |
FILE | FLDCHK~, FLDCHK+3 |
IBARR | EDITSTF+2~, EDITSTF+9, EDITSTF+16! |
IBARR( | EDITSTF+8*, EDITSTF+16* |
IBATTR | FLDCHK+1~ |
IBATTR("FIELD | LENGTH" , FLDCHK+6 |
IBATTR("SPECIFIER" | FLDCHK+5 |
IBBUFDA | ADDSTF+12~, ADDSTF+20*, ADDSTF+28, ADDSTF+31, EXIT, EDITSTF~, EDITSTF+2, EDITSTF+8, EDITSTF+16 |
IBDATA | ADDSTF~, ADDSTF+17, ADDSTF+28, EDITSTF~ |
IBDATA( | ADDSTF+22*, EDITSTF+4, EDITSTF+7, EDITSTF+12, EDITSTF+14, EDITSTF+15 |
IBERR | EDITSTF+2~, FLDCHK+1~, FLDCHK+4 |
IBERR("DIERR" | FLDCHK+4 |
IBERROR | ADDSTF+12~, ADDSTF+15*, ADDSTF+16*, ADDSTF+17*, ADDSTF+20*, EXIT |
IBFIELD | EDITSTF+2~, EDITSTF+4*, EDITSTF+6, EDITSTF+7, EDITSTF+8 |
IBSOURCE | ADDSTF~, ADDSTF+15, ADDSTF+20 |
IBSUBIDF | EDITSTF+13~, EDITSTF+14*, EDITSTF+15, EDITSTF+16 |
IBVALUE | EDITSTF+2~, EDITSTF+7*, EDITSTF+8, EDITSTF+15*, EDITSTF+16 |
IBX | FLDCHK+1~*, FLDCHK+2*, FLDCHK+4*, FLDCHK+5*, FLDCHK+6*, FLDCHKQ |
U | EDITSTF+8, EDITSTF+16 |
VALUE | FLDCHK~, FLDCHK+1, FLDCHK+2, FLDCHK+5, FLDCHK+6 |
X | ADDSTF+12~ |
Y | ADDSTF+12~ |