Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: NHINVART

Package: National Health Information Network

Routine: NHINVART


Information

NHINVART ;SLC/MKB -- Allergy/Reaction extract

Source Information

Source file <NHINVART.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
Adverse Reaction Tracking 2 EN1^GMRADPT  EN1^GMRAOR2  
National Drug File 2 $$B^PSN50P41  C^PSN50P65  
VA FileMan 2 ^%DT  $$FIND1^DIC  
National Health Information Network 1 ($$ESC,$$FAC,$$STRING,$$VUID)^NHINV  

Entry Points

Name Comments DBIA/ICR reference
EN(DFN,BEG,END,MAX,IFN) ; -- find patient's allergies/reactions
EN1(ID,REAC) ; -- return a reaction in REAC("attribute")=value
; from EN: expects GMRAL(ID)
VA200(NAME) ; -- Return ien^name from #200
DATE(X) ; -- Return internal form of date X
DFO(X) ; -- Return 'DFO' string for mechanism name(s)
XML(REAC) ; -- Return patient reaction as XML
; as <element code='123' displayName='ABC' />
ADD(X) ; Add a line @NHIN@(n)=X
C32(REAC) ; -- convert iens to C32 codes

External References

Name Field # of Occurrence
^%DT DATE+2
$$FIND1^DIC EN1+18
EN1^GMRADPT EN+4
EN1^GMRAOR2 EN1+3
$$ESC^NHINV XML+10, XML+12, XML+19, XML+23, XML+26
$$FAC^NHINV EN1+5
$$STRING^NHINV EN1+26
$$VUID^NHINV EN1+8, EN1+19, EN1+33, EN1+38, C32+2, C32+13, C32+16, C32+19
$$B^PSN50P41 EN1+30
C^PSN50P65 EN1+36

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^GMRD(120.83 - [#120.83] FIND1^DIC

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP($J EN1+37
^VA(200 - [#200] VA200+2

Label References

Name Line Occurrences
$$DATE EN1+4
$$DFO EN1+11
$$VA200 EN1+23
ADD XML+3, XML+4, XML+6, XML+13, XML+14, XML+16, XML+20, XML+21, XML+27, XML+28
EN1 EN+7, EN+12
XML EN+7, EN+10, EN+13

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%DT DATE+1~, DATE+2*
ATT XML+2~, XML+4*, XML+5, XML+7, XML+15, XML+16, XML+17, XML+18, XML+22, XML+23
, XML+25
BEG EN~, EN+3*, EN1+4
DFN EN~, EN+2*
END EN~, EN+3*, EN1+4
GMRA EN+1~, EN1+2~, EN1+3*, EN1+6, EN1+7, EN1+11, EN1+39
GMRAL EN+1~, EN+10
GMRAL( EN+11, EN1+3
I EN1+2~, EN1+13*, EN1+16*, EN1+17, EN1+19, EN1+21*, EN1+22, EN1+25, EN1+27, EN1+31*
, EN1+33, EN1+35*, EN1+38, DFO+1~, DFO+2*, XML+2~, XML+6*, XML+7*, XML+8, XML+17*
, XML+18, C32+1~, C32+4, C32+5*, C32+6*, C32+7*, C32+11*, C32+12, C32+13, C32+14*
, C32+15, C32+16, C32+17*, C32+18, C32+19
ID EN1~, EN1+3, EN1+6
IEN EN1+32~*, EN1+33, EN1+37~*, EN1+38
IFN EN~, EN+7
J EN1+2~, EN1+25*
MAX EN~, EN+3*, EN+11
NAME VA200~, VA200+1*, VA200+2
NHI EN+1~, EN+11*, EN+12
NHICNT EN+1~, EN+3*, EN+11, EN+13*
>> NHIN ADD+2
>> NHINI ADD+1*, ADD+2
>> NHINTOTL XML+3*
NHITM EN+1~, EN+7, EN+10, EN+12!, EN+13
NHITM("assessment" EN+10*
NHY EN1+2~, EN1+4, EN1+6, EN1+9, EN1+10, EN1+11, EN1+12
NHY("C" EN1+21, EN1+22, EN1+25
NHY("I" EN1+29, EN1+31
NHY("O" EN1+13
NHY("S" EN1+16, EN1+17
NHY("V" EN1+34, EN1+35
NM EN1+2~, EN1+17*, EN1+18, EN1+19, XML+2~, XML+16*, XML+21
P DFO+1~, DFO+2*, XML+2~, XML+19*, XML+26*
REAC EN1~, EN1+2!, XML~, C32~
REAC( XML+4, XML+7, XML+15, XML+17, XML+18, XML+22
REAC("adverseEventType" EN1+11*
REAC("comment" EN1+27*
REAC("drugClass" EN1+38*, C32+14, C32+15, C32+16*
REAC("drugIngredient" EN1+33*, C32+17, C32+18, C32+19*
REAC("entered" EN1+4*
REAC("facility" EN1+5*
REAC("id" EN1+6*
REAC("localCode" EN1+8*
REAC("mechanism" EN1+9*, C32+3
REAC("name" EN1+6*
REAC("product" C32+2*
REAC("reaction" EN1+19*, C32+11, C32+12, C32+13*
REAC("removed" EN1+39*
REAC("severity" EN1+14*, C32+8, C32+10*
REAC("source" EN1+10*
REAC("type" C32+3, C32+4*
REAC("verified" EN1+12*
REAC("vuid" EN1+8*
ROOT EN1+30~*, EN1+32
SEV EN1+2~, EN1+13*, EN1+14
TAG XML+2~, XML+19*, XML+26*
TXT EN1+2~, EN1+22!, EN1+26
TXT( EN1+25*
U EN1+4, EN1+6, EN1+7, EN1+9, EN1+10, EN1+11, EN1+12, EN1+13, EN1+19, EN1+23
, EN1+24, EN1+27, EN1+33, EN1+36, EN1+37, EN1+38, VA200+2, XML+9, XML+10, XML+11
, XML+12, XML+19, XML+26, C32+2, C32+3, C32+4, C32+10, C32+13, C32+16, C32+19
X EN1+2~, EN1+4*, EN1+7*, EN1+8, EN1+9*, EN1+10*, EN1+13*, EN1+17*, EN1+22*, EN1+23
, EN1+24, EN1+25*, EN1+26!*, EN1+27, EN1+31*, EN1+32, EN1+33, EN1+35*, EN1+36, EN1+37
, EN1+38, DATE~, DFO~, DFO+2, DFO+3, XML+2~, XML+7*, XML+9, XML+10, XML+11
, XML+12, XML+18*, XML+19, XML+22*, XML+23, XML+24, XML+26, ADD~, ADD+2, C32+1~
, C32+2*, C32+3*, C32+4, C32+5, C32+6, C32+7, C32+8*, C32+9*, C32+10, C32+12*
, C32+13, C32+15*, C32+16, C32+18*, C32+19
Y EN1+2~, EN1+7*, EN1+8, EN1+18*, EN1+19, EN1+23*, EN1+24*, EN1+27, VA200+1~*, VA200+2*
, VA200+3, DATE+1~, DATE+3, DFO+1~*, DFO+2*, DFO+3*, DFO+4, XML+2~, XML+4, XML+5*
, XML+6*, XML+8*, XML+9*, XML+10*, XML+11*, XML+12*, XML+13*, XML+15*, XML+18*, XML+19*
, XML+20*, XML+22*, XML+23*, XML+24*, XML+25*, XML+26*, XML+27*, C32+1~, C32+3*, C32+5
, C32+6
Info |  Source |  Call Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All