APCHSM03 ; IHS/CMI/LAB -- CONTINUATION OF ROUTINES ;
Source file <APCHSM03.m>
Package | Total | Call Graph |
---|---|---|
Patient Care Component Reports | 6 | $$LASTALC^APCLAPI ($$LASTTOBS,$$LASTTON)^APCLAPI1 $$LASTHC^APCLAPI2 $$LASTTD^APCLAPI4 $$LASTITEM^APCLAPIU $$START1^APCLDF |
Patient Care Component | 2 | ($$AGESEX,$$DATE,$$DATEAGE,$$INAC,$$LASTITEM,$$MINAGE,$$OVR,$$PLTAX,$$REF,$$SITECRIT,WRITE)^APCHSMU $$IPLSNO^APCHSMU1 |
IHS Patient | 1 | ($$AGE,$$DOB)^AUPNPAT |
Kernel | 1 | ($$FMADD,$$FMDIFF,$$FMTE)^XLFDT |
Name | Comments | DBIA/ICR reference |
---|---|---|
RESET | ;
|
|
TDREG | ;
|
|
ALCOHOL | ;EP - alcohol screening
|
|
TOBACCO | ;EP - tobacco screening
|
|
TOBWT | ;
|
|
TON | ;
|
|
ALCOWT | ;
|
|
IHSHEAD | ;use IHS default criteria
|
|
TOBREG | ;regular stuff
|
|
ALCOREG | ;regular stuff
|
|
TD | ;EP - influenza
|
|
TONREG | ;regular stuff
|
|
HEAD | ;EP - head circumference
|
|
PRHH | ;
|
|
BP | ;
|
|
HEADREG | ;
|
|
LASTBHED(P,BDATE,EDATE,C) | ;find date of last BH EDUC of C, return date in fileman format
|
|
BPREG | ;regular stuff
|
|
LASTBHDX(P,BDATE,EDATE,C) | ;find date of last BH dx of C, return date in fileman format
|
|
LASTALCS(P) | ;
|
|
S(X) | ;
|
|
HEADT | ;
|
|
HEARINQ | ;EP
|
Name | Field # of Occurrence |
---|---|
$$AGESEX^APCHSMU | TD+4, TONREG+2, BPREG+4, HEADREG+2, HEARINQ+5, ALCOREG+3, TOBREG+3 |
$$DATE^APCHSMU | TD+16, TDREG+2, TDREG+9, TDREG+10, TON+8, TONREG+9, TONREG+15, TONREG+16, BP+8, BPREG+12 , BPREG+18, BPREG+19, HEAD+8, HEADREG+10, HEADREG+12, HEADREG+13, IHSHEAD+1, IHSHEAD+5, HEADT+1, HEADT+2 , HEADT+3, ALCOHOL+9, ALCOREG+5, ALCOREG+7, ALCOREG+8, TOBACCO+7, TOBREG+5, TOBREG+7, TOBREG+8 |
$$DATEAGE^APCHSMU | TDREG+2, TONREG+9, BPREG+12, HEADREG+10, ALCOREG+5, TOBREG+5 |
$$INAC^APCHSMU | TD+2, TON+2, BP+2, HEAD+2, HEARINQ+2, ALCOHOL+1, TOBACCO+1 |
$$LASTITEM^APCHSMU | RESET+2 |
$$MINAGE^APCHSMU | TD+4, TONREG+2, BPREG+4, HEADREG+2, HEARINQ+5, ALCOREG+3, TOBREG+3 |
$$OVR^APCHSMU | TD+13, TON+6, BP+6, HEAD+6, ALCOHOL+7, TOBACCO+5 |
$$PLTAX^APCHSMU | BPREG+1 |
$$REF^APCHSMU | TD+18, TDREG+4, TDREG+12, TON+9, TONREG+10, TONREG+17, BP+9, BPREG+13, BPREG+20, PRHH+1 , ALCOWT+2 |
$$SITECRIT^APCHSMU | TD+3, TONREG+1, BPREG+3, HEADREG+1, HEARINQ+4, ALCOREG+1, TOBREG+1 |
WRITE^APCHSMU | TD+19, TDREG+5, TDREG+13, TON+10, TONREG+11, TONREG+18, BP+10, BPREG+14, BPREG+21, PRHH+2 , HEARINQ+12, ALCOWT+13, ALCOHOL+10, TOBWT+1, TOBACCO+8 |
$$IPLSNO^APCHSMU1 | BPREG+2 |
$$LASTALC^APCLAPI | ALCOHOL+4 |
$$LASTTOBS^APCLAPI1 | TOBACCO+3 |
$$LASTTON^APCLAPI1 | TON+4 |
$$LASTHC^APCLAPI2 | HEAD+4 |
$$LASTTD^APCLAPI4 | TD+11 |
$$LASTITEM^APCLAPIU | BP+4 |
$$START1^APCLDF | LASTALCS+3 |
$$AGE^AUPNPAT | TD+6 |
$$DOB^AUPNPAT | BP+4 |
$$FMADD^XLFDT | TDREG+8, TONREG+14, BPREG+17, HEADREG+11, IHSHEAD+5, IHSHEAD+6, IHSHEAD+7, IHSHEAD+8, IHSHEAD+9, IHSHEAD+10 , ALCOREG+6, TOBREG+6 |
$$FMDIFF^XLFDT | IHSHEAD+3, IHSHEAD+4 |
$$FMTE^XLFDT | ALCOWT+9, ALCOWT+10 |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^AMHPROB - [#9002012.2] | LASTBHDX+6 |
^AMHREC - [#9002011] | ALCOWT+7, LASTBHDX+3, LASTBHDX+7, LASTBHED+3, LASTBHED+7, LASTALCS+8 |
^AMHREC("AE" | ALCOWT+6, LASTBHDX+2, LASTBHED+2, LASTALCS+7 |
^AMHREDU - [#9002011.05] | LASTBHED+4 |
^AMHREDU("AD" | LASTBHED+4 |
^AMHRPRO - [#9002011.01] | LASTBHDX+4 |
^AMHRPRO("AD" | LASTBHDX+4 |
^AUTTEDT - [#9999999.09] | LASTBHED+6 |
^AUTTEXAM("C" | ALCOWT+2 |
^AUTTIMM("C" | TD+17, TDREG+3, TDREG+11 |
^AUTTMSR("B" | TON+9, TONREG+10, TONREG+17, BP+9, BPREG+13, BPREG+20, PRHH+1 |
Name | Line Occurrences |
---|---|
ALCOWT | ALCOREG+5, ALCOREG+9 |
HEADT | IHSHEAD+6, IHSHEAD+7, IHSHEAD+8, IHSHEAD+9, IHSHEAD+10 |
IHSHEAD | HEADREG+9 |
PRHH | HEAD+9, HEADREG+10, HEADREG+14, IHSHEAD+1, IHSHEAD+5, HEADT+1, HEADT+2, HEADT+3 |
RESET | BPREG+11 |
S | TD+16, TD+18, TDREG+4, TDREG+12, TON+8, TON+9, TONREG+10, TONREG+17, BP+8, BP+9 , BPREG+13, BPREG+20, HEAD+8, PRHH+1, ALCOWT+12, ALCOHOL+9, TOBACCO+7 |
TOBWT | TOBREG+5, TOBREG+9 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | S+1~*, LASTALCS+2~, LASTALCS+3* |
APCHC | ALCOWT+5*, LASTALCS+2~, LASTALCS+6*, LASTALCS+7, LASTALCS+12* |
>> APCHDAYS | IHSHEAD+3*, IHSHEAD+5, IHSHEAD+6, IHSHEAD+7, IHSHEAD+8, IHSHEAD+9, IHSHEAD+10 |
APCHG | LASTALCS+2~, LASTALCS+3! |
APCHG(1 | LASTALCS+4 |
>> APCHICAR | TD+11*, TD+12, TON+4*, TON+5, BP+4*, BP+5, HEAD+4*, HEAD+5, ALCOHOL+4*, ALCOHOL+5 , TOBACCO+3*, TOBACCO+4 |
>> APCHLAST | TD+10*, TD+12*, TD+15, TD+18, TDREG+2, TDREG+4, TDREG+8, TDREG+12, TON+3*, TON+5* , TON+7, TON+9, TONREG+9, TONREG+10, TONREG+14, TONREG+17, BP+3*, BP+5*, BP+7, BP+9 , BPREG+12, BPREG+13, BPREG+17, BPREG+20, HEAD+3*, HEAD+5*, HEAD+7, HEADREG+10, HEADREG+11, IHSHEAD+1 , IHSHEAD+4, HEADT+1, PRHH+1, HEARINQ+3*, ALCOWT+2, ALCOWT+6, ALCOWT+12, ALCOHOL+3*, ALCOHOL+5*, ALCOHOL+8 , ALCOREG+5, ALCOREG+6, TOBACCO+2*, TOBACCO+4*, TOBACCO+6, TOBREG+5, TOBREG+6 |
>> APCHLDUE | IHSHEAD+6*, IHSHEAD+7*, IHSHEAD+8*, IHSHEAD+9*, IHSHEAD+10*, HEADT+1 |
>> APCHMIN | TD+4*, TD+8*, TDREG+2, TONREG+2*, TONREG+5*, TONREG+7*, TONREG+9, BPREG+4*, BPREG+8*, BPREG+12 , HEADREG+2*, HEADREG+6*, HEADREG+10, HEARINQ+5*, HEARINQ+9*, ALCOREG+2*, ALCOREG+3*, ALCOREG+5, TOBREG+2*, TOBREG+3* , TOBREG+5 |
>> APCHNEXT | TD+10*, TDREG+8*, TDREG+9, TDREG+10, TON+3*, TONREG+14*, TONREG+15, TONREG+16, BP+3*, BPREG+17* , BPREG+18, BPREG+19, HEAD+3*, HEADREG+11*, HEADREG+12, HEADREG+13, IHSHEAD+6*, IHSHEAD+7*, IHSHEAD+8*, IHSHEAD+9* , IHSHEAD+10*, HEADT+2, HEADT+3, HEARINQ+3*, ALCOHOL+3*, ALCOREG+6*, ALCOREG+7, ALCOREG+8, TOBACCO+2*, TOBREG+6* , TOBREG+7, TOBREG+8 |
>> APCHOVR | TD+13*, TD+15, TD+16, TON+6*, TON+7, TON+8, BP+6*, BP+7, BP+8, HEAD+6* , HEAD+7, HEAD+8, ALCOHOL+7*, ALCOHOL+8, ALCOHOL+9, TOBACCO+5*, TOBACCO+6, TOBACCO+7 |
APCHP | LASTBHDX+1~, LASTBHDX+4*, LASTBHDX+5, LASTBHDX+6*, LASTBHDX+7, LASTBHED+1~, LASTBHED+4*, LASTBHED+5, LASTBHED+6*, LASTBHED+7 |
>> APCHSAGE | TONREG+4, TONREG+5, BPREG+6, HEADREG+4, RESET+1, HEARINQ+7, ALCOREG+2, TOBREG+2 |
>> APCHSC | TD+17*, TDREG+3*, TDREG+11* |
>> APCHSCRI | TD+3*, TD+4, TD+5, TONREG+1*, TONREG+2, TONREG+3, BPREG+3*, BPREG+4, BPREG+5, BPREG+11 , HEADREG+1*, HEADREG+2, HEADREG+3, HEADREG+9, HEARINQ+4*, HEARINQ+5, HEARINQ+6, ALCOREG+1*, ALCOREG+2, ALCOREG+3 , TOBREG+1*, TOBREG+2, TOBREG+3 |
>> APCHSDOB | IHSHEAD+1, IHSHEAD+3, IHSHEAD+4, IHSHEAD+5, IHSHEAD+6, IHSHEAD+7, IHSHEAD+8, IHSHEAD+9, IHSHEAD+10 |
>> APCHSFLX | TD+17*, TD+18, TDREG+3*, TDREG+4, TDREG+11*, TDREG+12 |
>> APCHSINT | TD+3*, TD+4*, TD+7*, TD+9, TDREG+1, TDREG+8, TONREG+1*, TONREG+2*, TONREG+5*, TONREG+6* , TONREG+8, TONREG+14, BPREG+3*, BPREG+4*, BPREG+7*, BPREG+9, BPREG+17, HEADREG+1*, HEADREG+2*, HEADREG+5* , HEADREG+7, HEADREG+11, RESET+3*, RESET+4*, RESET+5*, HEARINQ+4*, HEARINQ+5*, HEARINQ+8*, HEARINQ+10, ALCOREG+1* , ALCOREG+2*, ALCOREG+3*, ALCOREG+4, ALCOREG+6, TOBREG+1*, TOBREG+2*, TOBREG+3*, TOBREG+4, TOBREG+6 |
>> APCHSITI | TD+2, TD+3, TD+4, TD+13, TON+2, TON+6, TONREG+1, TONREG+2, BP+2, BP+6 , BPREG+3, BPREG+4, HEAD+2, HEAD+6, HEADREG+1, HEADREG+2, HEARINQ+2, HEARINQ+4, HEARINQ+5, ALCOHOL+1 , ALCOHOL+7, ALCOREG+1, ALCOREG+3, TOBACCO+1, TOBACCO+5, TOBREG+1, TOBREG+3 |
>> APCHSOLD | IHSHEAD+4* |
>> APCHSPAT | TD+4, TD+6, TD+11, TD+13, TD+18, TDREG+2, TDREG+4, TDREG+12, TON+4, TON+6 , TON+9, TONREG+2, TONREG+9, TONREG+10, TONREG+17, BP+4, BP+6, BP+9, BPREG+1, BPREG+2 , BPREG+4, BPREG+12, BPREG+13, BPREG+20, HEAD+4, HEAD+6, HEADREG+2, HEADREG+10, PRHH+1, RESET+2 , HEARINQ+5, ALCOWT+2, ALCOWT+6, ALCOHOL+4, ALCOHOL+7, ALCOREG+3, ALCOREG+5, TOBACCO+3, TOBACCO+5, TOBREG+3 , TOBREG+5 |
APCHSTEX | TD+10!, TON+3!, BP+3!, HEAD+3!, HEARINQ+3!, ALCOHOL+3!, TOBACCO+2! |
APCHSTEX( | S+1, S+2* |
APCHSTEX(1 | TDREG+2*, TDREG+9*, TDREG+10*, TONREG+9*, TONREG+15*, TONREG+16*, BPREG+12*, BPREG+18*, BPREG+19*, HEADREG+10* , HEADREG+12*, HEADREG+13*, IHSHEAD+1*, IHSHEAD+5*, HEADT+1*, HEADT+2*, HEADT+3*, HEARINQ+11*, ALCOREG+5*, ALCOREG+7* , ALCOREG+8*, TOBREG+5*, TOBREG+7*, TOBREG+8* |
APCHSTEX(2 | HEARINQ+11* |
>> APCHSURX | TD+1, TD+9, TD+20, TDREG+1, TDREG+6, TDREG+14, TON+1, TON+11, TONREG+8, TONREG+12 , TONREG+19, BP+1, BP+11, BPREG+1, BPREG+2, BPREG+9, BPREG+15, BPREG+22, HEAD+1, HEADREG+7 , PRHH+2, HEARINQ+1, HEARINQ+10, HEARINQ+13, ALCOWT+14, ALCOHOL+11, ALCOREG+4, TOBWT+2, TOBACCO+9, TOBREG+4 |
APCHV | ALCOWT+1!, LASTALCS+2~, LASTALCS+6* |
APCHV( | ALCOWT+3*, ALCOWT+9*, ALCOWT+10*, ALCOWT+12 |
APCHV(0 | ALCOWT+12 |
APCHX | LASTBHDX+1~*, LASTBHDX+2, LASTBHDX+4, LASTBHDX+7*, LASTBHDX+8, LASTBHED+1~*, LASTBHED+2, LASTBHED+4, LASTBHED+7*, LASTBHED+8 , LASTALCS+2~, LASTALCS+3! |
APCHX( | LASTALCS+12* |
APCHX(0 | LASTALCS+13 |
APCHX(9999999 | LASTALCS+4* |
BDATE | LASTBHDX~, LASTBHDX+2, LASTBHED~, LASTBHED+2 |
C | S+1~*, S+2, LASTBHDX~, LASTBHDX+7, LASTBHED~, LASTBHED+7 |
D | RESET+2~*, RESET+3, RESET+4, RESET+5, ALCOWT+6*, ALCOWT+9, ALCOWT+10, LASTBHDX+1~, LASTBHDX+2*, LASTBHED+1~ , LASTBHED+2*, LASTALCS+7*, LASTALCS+12 |
DT | TDREG+9, TDREG+10, TONREG+15, TONREG+16, BP+4, BPREG+18, BPREG+19, HEADREG+12, HEADREG+13, IHSHEAD+3 , HEADT+2, HEADT+3, ALCOWT+6, ALCOREG+7, ALCOREG+8, TOBREG+7, TOBREG+8, LASTALCS+7 |
E | ALCOWT+6*, LASTBHDX+1~, LASTBHDX+2*, LASTBHED+1~, LASTBHED+2*, LASTALCS+3*, LASTALCS+7* |
EDATE | LASTBHDX~, LASTBHDX+2, LASTBHED~, LASTBHED+2 |
P | LASTBHDX~, LASTBHDX+2, LASTBHED~, LASTBHED+2, LASTALCS~, LASTALCS+3, LASTALCS+7 |
U | TD+12, TD+15, TD+16, TD+18, TDREG+4, TDREG+12, TON+5, TON+7, TON+8, TON+9 , TONREG+10, TONREG+17, BP+5, BP+7, BP+8, BP+9, BPREG+13, BPREG+20, HEAD+5, HEAD+7 , HEAD+8, PRHH+1, ALCOWT+3, ALCOWT+7, ALCOWT+9, ALCOWT+10, ALCOWT+12, ALCOHOL+5, ALCOHOL+8, ALCOHOL+9 , TOBACCO+4, TOBACCO+6, TOBACCO+7, LASTBHDX+4, LASTBHDX+6, LASTBHDX+7, LASTBHED+4, LASTBHED+6, LASTBHED+7, LASTALCS+4 , LASTALCS+8 |
V | TD+14*, TD+17*, TD+18*, TDREG+3*, TDREG+4*, TDREG+11*, TDREG+12*, TON+9*, TONREG+10*, TONREG+17* , BP+9*, BPREG+13*, BPREG+20*, PRHH+1*, ALCOWT+2*, ALCOWT+3, ALCOWT+5*, ALCOWT+6*, ALCOWT+7, LASTBHDX+1~ , LASTBHDX+2*, LASTBHDX+3, LASTBHDX+4, LASTBHDX+7, LASTBHED+1~, LASTBHED+2*, LASTBHED+3, LASTBHED+4, LASTBHED+7, LASTALCS+7* , LASTALCS+8 |
X | S~, S+2, TD+16*, TD+18*, TDREG+4*, TDREG+12*, TON+8*, TON+9*, TONREG+10*, TONREG+17* , BP+8*, BP+9*, BPREG+13*, BPREG+20*, HEAD+8*, PRHH+1*, ALCOWT+3*, ALCOWT+7*, ALCOWT+8, ALCOWT+9 , ALCOWT+10, ALCOWT+12*, ALCOHOL+9*, TOBACCO+7*, LASTBHDX+4*, LASTBHED+4*, LASTALCS+8*, LASTALCS+9, LASTALCS+10, LASTALCS+11 |
>> Y | ALCOWT+12* |
>> Z | ALCOWT+12* |