BDMDM1 ; IHS/CMI/LAB -IHS -GETS DATA FOR DIABETES QA REPORT ;
Source file <BDMDM1.m>
Package | Total | Call Graph |
---|---|---|
Diabetes Registry | 6 | ^BDMDM1A ^BDMDM2 ^BDMDM3 ^BDMDM4 (CLEAN,EN)^BDMDM5 TOBACCO^BDMDM6 |
Patient Care Component Reports | 2 | $$START1^APCLDF $$CLINIC^APCLV |
VA Fileman | 2 | (,DD)^%DT ^%DTC |
Name | Comments | DBIA/ICR reference |
---|---|---|
2 | ;
|
|
FIRSTDX | ;
|
|
CUML | ; - ENTRY POINT - Set cumulative nodes
|
|
TOBACCO | ;
|
|
CMSFDX | ;get first dm dx from case management
|
|
LASTHT | ||
PLFDX | ;get first dm dx from problem list
|
|
3 | ;
|
|
VISITS | ; Get all visits for indicated time period
|
|
41 | ;
|
|
1 | ;
|
|
PLFDXX | ||
EN | ; - ENTRY POINT - from ^BDMASK
|
|
XIT | ||
DMVISITS | ; Gets all visits where dx was DM for indicated time period
|
|
X2 | ;
|
|
X | ||
X1 | ||
CLINICAL | ; Get clinical data
|
|
X4 | ;
|
|
4 | ;DATE OF ONSET
|
Name | Field # of Occurrence |
---|---|
^%DT | 41+5 |
DD^%DT | FIRSTDX+2, CMSFDX+6, PLFDX+3 |
^%DTC | 41+5 |
$$START1^APCLDF | DMVISITS+2, VISITS+1, FIRSTDX+2, PLFDX+1, LASTHT |
$$CLINIC^APCLV | DMVISITS+5 |
^BDMDM1A | CLINICAL+5 |
^BDMDM2 | CLINICAL+6 |
^BDMDM3 | CLINICAL+7 |
^BDMDM4 | CLINICAL+8 |
CLEAN^BDMDM5 | EN+4 |
EN^BDMDM5 | EN+2 |
TOBACCO^BDMDM6 | TOBACCO+1 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^ACM(44 - [#9002244] | CMSFDX+3, CMSFDX+4 |
^AUPNPROB - [#9000011] | PLFDX+2 |
^AUPNVSIT - [#9000010] | DMVISITS+7 |
^TMP("BDM" | FIRSTDX+3*, X2+1*, 4+1, 4+2, 4+3*, 41+1, 41+5, CMSFDX+6*, PLFDX+3*, LASTHT+1* , LASTHT+2 |
^TMP("BDMCUML" | CUML+1*, CUML+2 |
^TMP("BDMDM DXVS" | DMVISITS+8* |
^TMP("BDMDM FETCH" | DMVISITS+1!, DMVISITS+4, DMVISITS+5, DMVISITS+8, DMVISITS+11!, VISITS+2 |
^TMP("BDMDM V" | DMVISITS+4!, DMVISITS+5*, DMVISITS+9! |
^TMP("BDMDM VST" | VISITS+2* |
Name | Line Occurrences |
---|---|
41 | 4+1, 4+2 |
@( | CLINICAL+4 |
CLINICAL | EN+3 |
CMSFDX | 4+1 |
CUML | 41+2, 41+3, 41+5, LASTHT+2 |
DMVISITS | CLINICAL+1 |
PLFDX | 4+2 |
PLFDXX | PLFDX+1 |
VISITS | CLINICAL+3 |
X | CLINICAL+2 |
X1 | DMVISITS+3 |
X4 | 41+1 |
Name | Field # of Occurrence |
---|---|
^( | CUML+2* |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
>> %DT | 41+5* |
BDM | CLINICAL+4!, DMVISITS+11!, VISITS+3!, FIRSTDX+1!, X2+2!, X4+1! |
BDM(1 | FIRSTDX+2, CMSFDX+6*, PLFDX+1, PLFDX+2*!, PLFDX+3, LASTHT |
BDMC | DMVISITS+4*, DMVISITS+8*, DMVISITS+9! |
>> BDMCUML | LASTHT+2 |
>> BDMDATE | DMVISITS+2, VISITS+1 |
>> BDMDMRG | CMSFDX+2, CMSFDX+3 |
BDMDX | DMVISITS+11! |
>> BDMER | EN+1*, CLINICAL+2, DMVISITS+2*, DMVISITS+3, VISITS+1*, FIRSTDX+2*, X2+1, PLFDX+1*, LASTHT* |
BDMFDX | CMSFDX+1!, CMSFDX+3, CMSFDX+4*, CMSFDX+5, CMSFDX+6 |
BDMGOT1 | CUML+1, CUML+2, 41+2*, 41+3*, 41+5*, X4+1!, LASTHT+2* |
>> BDMHT | LASTHT*, LASTHT+1 |
>> BDMHTKI | LASTHT* |
>> BDMI | CLINICAL+4* |
>> BDML | DMVISITS+4*, DMVISITS+5, DMVISITS+8, VISITS+2* |
>> BDMPD | DMVISITS+2, VISITS+1, FIRSTDX+2, CMSFDX+3, PLFDX+1, LASTHT |
BDMSUB | CUML+1, CUML+2, 41+2*, 41+3*, 41+5*, X4+1!, LASTHT+2* |
>> BDMTOT | DMVISITS+9*, DMVISITS+10* |
BDMX | CLINICAL+4!, DMVISITS+2*, VISITS+1*, FIRSTDX+2*, CMSFDX+3*, CMSFDX+4, PLFDX+1*, LASTHT* |
BDMY | CLINICAL+4*, X!, DMVISITS+2*, VISITS+1*, FIRSTDX+2, PLFDX+1, LASTHT |
>> C | DMVISITS+5*, DMVISITS+6 |
DT | 41+5 |
U | DMVISITS+5, DMVISITS+7, DMVISITS+8, VISITS+2, FIRSTDX+2, CMSFDX+3, CMSFDX+4, PLFDX+2, LASTHT |
>> V | DMVISITS+5*, DMVISITS+7 |
>> X | 41+5* |
>> X1 | 41+5* |
>> X2 | 41+5* |
>> Y | FIRSTDX+2*, FIRSTDX+3, 41+5, CMSFDX+6*, PLFDX+3* |
Name | Field # of Occurrence |
---|---|
$T(@BDMI | CLINICAL+4 |