SCMSVUT3 ;BP/JRP - HL7 segment & field validation utilities ;8/11/99 9:54am
Source file <SCMSVUT3.m>
Package | Total | Call Graph |
---|---|---|
Registration | 2 | $$GETSTAT^DGMSTAPI (ELIG,SVC)^VADPT |
Health Level Seven | 1 | $$FMDATE^HLFNC |
VA Fileman | 1 | ^%DT |
Name | Comments | DBIA/ICR reference |
---|---|---|
VA01(DATA) | ;VA Table 1 (Yes/No/Unknown)
|
|
MSTSTAT(DATA) | ;
|
|
ACTFAC(DATA) | ;Determine if given facility number is active
|
|
VALFAC(DATA) | ;Determine if given facility number is valid
|
|
AOLOC(DATA,DFN) | ;Validate Agent Orange exposure location (error 7130)
|
|
CLAMST(VALUE,DFN) | ;
|
|
MSTDATE(DATA) | ;
|
|
ROLEID(DATA) | ;Role Instance ID
|
|
POWLOC(DATA,DFN) | ;Prisoner of war location
|
|
CANBEAO(DFN) | ;Check to determine if patient can claim Agent Orange expos.
|
|
NUMRANK(DATA,MINVAL,MAXVAL,DECCNT) | ;Numeric ranking validation
|
|
PROVID(DATA,HLECH) | ;External Provider ID
|
|
RADMTHD(DATA,DFN) | ;Radiation exposure method
|
|
AO(DATA,DFN) | ;Validate Agent Orange expos. (error 7120)
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DIC(21 - [#21] | CANBEAO+13 |
^DIC(4 - [#4] | VALFAC+4, ACTFAC+8, ACTFAC+10 |
^DPT - [#2] | POWLOC+12, RADMTHD+13, CANBEAO+7, AOLOC+8 |
Name | Line Occurrences |
---|---|
$$ACTFAC | PROVID+8 |
$$NUMRANK | PROVID+8, ROLEID+7 |
$$VALFAC | PROVID+8 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
>> %DT | MSTDATE+17* |
ACTIVE | ACTFAC+3~, ACTFAC+6*, ACTFAC+8, ACTFAC+14*, ACTFAC+16 |
DATA | POWLOC~, POWLOC+6, POWLOC+15, POWLOC+17, POWLOC+18, RADMTHD~, RADMTHD+7, RADMTHD+16, RADMTHD+18, RADMTHD+19 , NUMRANK~, NUMRANK+5, NUMRANK+6, NUMRANK+7, NUMRANK+11, NUMRANK+14, NUMRANK+18, VALFAC~, VALFAC+1, VALFAC+2 , VALFAC+4, ACTFAC~, ACTFAC+1, ACTFAC+2, ACTFAC+8, PROVID~, PROVID+1, PROVID+2, PROVID+5, PROVID+6 , ROLEID~, ROLEID+1, ROLEID+2, ROLEID+4, ROLEID+5, VA01~, VA01+3, VA01+4, VA01+5, VA01+7 , MSTSTAT~, MSTSTAT+11, MSTSTAT+12, MSTDATE~, MSTDATE+14, MSTDATE+15, AO~, AO+5, AO+7, AO+8 , AOLOC~, AOLOC+9, AOLOC+13, AOLOC+15 |
DECCNT | NUMRANK~, NUMRANK+21, NUMRANK+22 |
DFN | POWLOC~, POWLOC+8*, POWLOC+11, POWLOC+12, POWLOC+18, RADMTHD~, RADMTHD+9*, RADMTHD+12, RADMTHD+13, RADMTHD+19 , CLAMST~, CLAMST+16, AO~, AO+6, CANBEAO~, CANBEAO+6, CANBEAO+7, AOLOC~, AOLOC+7, AOLOC+8 |
HLECH | PROVID~, PROVID+4 |
INVALID | NUMRANK+8~, NUMRANK+9*, NUMRANK+14*, NUMRANK+15, NUMRANK+18*, NUMRANK+19, NUMRANK+23 |
MAXVAL | NUMRANK~, NUMRANK+17, NUMRANK+18 |
MINVAL | NUMRANK~, NUMRANK+13, NUMRANK+14 |
MSTSTAT | CLAMST+14~, CLAMST+16*, CLAMST+17*, CLAMST+18*, CLAMST+19, MSTDATE+13~, MSTDATE+15*, MSTDATE+16, MSTDATE+19 |
NODE | POWLOC+7~, POWLOC+12*, POWLOC+13, RADMTHD+8~, RADMTHD+13*, RADMTHD+14, ACTFAC+3~, ACTFAC+10*, ACTFAC+12 |
POW | POWLOC+7~, POWLOC+10*, POWLOC+13*, POWLOC+17, POWLOC+18 |
PRVDUZ | PROVID+3~, PROVID+5*, PROVID+8 |
PRVFAC | PROVID+3~, PROVID+6*, PROVID+8 |
PTR4 | ACTFAC+3~, ACTFAC+7*, ACTFAC+8*, ACTFAC+10 |
RAD | RADMTHD+8~, RADMTHD+11*, RADMTHD+14*, RADMTHD+18, RADMTHD+19 |
ROLEID | ROLEID+3~, ROLEID+4*, ROLEID+7 |
SEQID | ROLEID+3~, ROLEID+5*, ROLEID+7 |
SUBSEP | PROVID+3~, PROVID+4*, PROVID+5, PROVID+6 |
TMP | VA01+6~, VA01+7*, VA01+8 |
VAEL | CANBEAO+5~ |
VAEL(2 | CANBEAO+13 |
VAEL(4 | CANBEAO+11 |
VALID | PROVID+3~, PROVID+7*, PROVID+8*, PROVID+9, ROLEID+3~, ROLEID+6*, ROLEID+7*, ROLEID+8 |
VALUE | CLAMST~, CLAMST+15, CLAMST+19 |
VASV | AOLOC+6~ |
VASV(2 | AOLOC+13 |
X | MSTDATE+13~, MSTDATE+14*, MSTDATE+16, MSTDATE+17* |
>> Y | MSTDATE+19 |