AMHLEMD ; IHS/CMI/LAB - PART 7 OF AMHS -- SUMMARY PRODUCTION COMPONENTS ;
Source file <AMHLEMD.m>
Package | Total | Caller Graph |
---|---|---|
Mental Health Social Services | 2 | AMHGRU AMHLESM |
Name | Comments | DBIA/ICR reference |
---|---|---|
OTH | ;gather up all others by date range in components, get last of each
|
|
GETMEDS(DFN,Y,Z,SIGT) | ;EP - return array of meds for patient P
|
|
S1 | ;
|
|
SITE | ;DETERMINE IF OUTSIDE LOCATION INFO PRESENT
|
|
S(Y,F,C,T) | ;set up array
|
|
SIG | ;CONSTRUCT THE FULL TEXT FROM THE ENCODED SIG
|
|
SETARRAY | ;DISPLAY MEDICATION
|
|
REORDER | ;
|
Name | Field # of Occurrence |
---|---|
$$FMTE^XLFDT | SETARRAY+4, SETARRAY+8 |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^AUPNVMED - [#9000010.14] | OTH+3, OTH+4, OTH+5, SETARRAY+1 |
^AUPNVMED("AA" | OTH+1, OTH+2 |
^AUPNVSIT - [#9000010] | SETARRAY+4, SITE+2 |
^DPT - [#2] | GETMEDS+4 |
^PS(51 - [#51] | SIG+3 |
^PSDRUG - [#50] | SETARRAY+2, SETARRAY+7 |
^TMP("AMHSMEDS" | GETMEDS+2!, REORDER+6!, S1+1*, S1+2*, S1+3* |
^TMP($J | GETMEDS+2!, OTH+3, OTH+4*, OTH+5*, REORDER+4, REORDER+5, REORDER+7! |
Name | Line Occurrences |
---|---|
S | SETARRAY+11, SETARRAY+12 |
S1 | S+5, S+7, S+10 |
SETARRAY | REORDER+5 |
SIG | SETARRAY+9 |
SITE | SETARRAY+10 |
Name | Field # of Occurrence |
---|---|
^(21 | SITE+2 |
^(9 | SIG+3 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | GETMEDS+1~, SETARRAY+1*, SETARRAY+2, SETARRAY+4, SETARRAY+6, SETARRAY+7, SITE+2, S+8*, S+9*, S1+2* , S1+3 |
A | GETMEDS+1~ |
AMHSC | REORDER+4~, REORDER+5* |
AMHSX | REORDER+4~*, REORDER+5 |
B | GETMEDS+1~ |
C | GETMEDS+1~, S~, S+7 |
D | GETMEDS+1~, SETARRAY+4*, SETARRAY+5*, SETARRAY+11 |
DFN | GETMEDS~, GETMEDS+3, GETMEDS+4, OTH+1, OTH+2 |
E | GETMEDS+1~, SETARRAY+6*, SETARRAY+8* |
F | GETMEDS+1~, S~, S+2*, S+5* |
G | GETMEDS+1~, SETARRAY+6*, SETARRAY+9*, SETARRAY+10*, SETARRAY+12, SIG+1, SIG+2, SIG+3 |
H | GETMEDS+1~ |
I | GETMEDS+1~, OTH+1~*, OTH+2, OTH+5, REORDER+4~*, S1+1, S1+2, S1+3 |
J | GETMEDS+1~ |
K | GETMEDS+1~, SETARRAY+7*, SETARRAY+11 |
L | GETMEDS+1~, S+7* |
M | GETMEDS+1~ |
N | GETMEDS+1~, REORDER+4~, REORDER+5*, SETARRAY+1, SETARRAY+7 |
O | GETMEDS+1~ |
P | GETMEDS+1~, SIG+2~*, SIG+3 |
Q | GETMEDS+1~, SETARRAY+6*, SETARRAY+11 |
R | GETMEDS+1~ |
S | GETMEDS+1~, SETARRAY+10, SITE+1*, SITE+2* |
SIGT | GETMEDS~, SIG+1 |
T | GETMEDS+1~, SETARRAY+4*, SETARRAY+5*, S~, S+3*, S+7*, S+8, S+9 |
U | OTH+3, OTH+4, OTH+5, SETARRAY+4, SETARRAY+6, SETARRAY+7, SITE+2, S1+2 |
V | GETMEDS+1~, SETARRAY+4*, SETARRAY+5 |
W | GETMEDS+1~ |
X | GETMEDS+1~, OTH+2*, OTH+3, OTH+4, OTH+5, SETARRAY+11*, SETARRAY+12*, SIG+2*, SIG+3*, SIG+4 , S+1~, S+5*, S+6*, S+8*, S+9*, S1+3 |
Y | GETMEDS~, GETMEDS+5*, GETMEDS+8*, GETMEDS+9*, OTH+1, SIG+3*, S~, S+6, S+7, S+9 |
Z | GETMEDS~, GETMEDS+6*, GETMEDS+10*, GETMEDS+11*, SETARRAY+9, SIG+1*, SIG+2*, SIG+4* |