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 |  Caller 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: ETSRXN

Package: Enterprise Terminology Services

Routine: ETSRXN


Information

ETSRXN ;O-OIFO/FM23 - RxNorm APIs ;03/06/2017

Source Information

Source file <ETSRXN.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
Enterprise Terminology Services 2 ($$GETDATA,$$NDC2RXN,$$RXN2OUT,$$VUI2RXN)^ETSRXN1  $$TAX^ETSRXNTX  
VA FileMan 2 ^%DT  ($$GET1,GETS)^DIQ  
Kernel 1 $$DT^XLFDT  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Enterprise Terminology Services 1 ETSRXNTX  
Virtual Patient Record 1 VPRSDA  

Entry Points

Name Comments DBIA/ICR reference
HIST(ETSCODE,ETSSYS,ARY) ; Get Activation History for a Code
;
; Input:
;
; ETSCODE RXCUI (required)
; ETSSYS Coding System (required) [hard coded to RXN]
; .ARY Array, passed by Reference (required)
;
; Output:
;
; $$HIST Number of Histories Found
; or
; -1 ^ error message
;
; ARY(0) = Number of Activation History
; ARY(0,0) = IEN ^ "RXN" ^ "RXNORM" ^ IEN (file 129.2)
; ^ TTY (file 129.2, #.03)
; ARY(0,1) = STR (file 129.2, #1)
; ARY(<date>,<status>) = Comment
GETIEN(ETSRXC,ETSACT,ETSDT) ;
; Input - ETSRXC - RXCUI (required)
; ETSACT - (Optional) Active only (default is 1)
; ETSDT - (Optional) Date to filter on
ACTFLG(ETSFDT,ETSIEN)
PERIOD(ETSCODE,ETSSYS,ARY) ; Get Activation/Inactivation Periods for a Code
CSYS(ETSSYS) ;Retrieve the Coding System Information
; Hardcoded to specifically provide LEXICON users System Information
; Currently hardcoded - ETS does not have a Coding System dictionary
CSDATA(ETSCODE,ETSCSYS,ETSCDT,ARY) ; Get Information about a Code
VUICLASS(ETSVUID,ETSSUB) ;Entry point for function $$VUICLASS
TAX(ETSVUID,ETSSUB) ; Taxonomy lookup for Clinical Reminders
CHKDATE(ETSX) ;Check to see if the date is in proper FileMan format
VUI2RXN(ETSVUID,ETSTTY,ETSSUB) ;Entry point for function $$VUI2RXN
NDC2RXN(ETSNDC,ETSSUB) ;Entry point for function $$NDC2RXN
RXN2OUT(ETSRXCUI,ETSSUB) ;Entry point for function $$RXN2OUT
GETDATA(ETSRXCUI,ETSSUB) ;Entry point for function $$GETDATA

External References

Name Field # of Occurrence
^%DT CHKDATE+3
$$GET1^DIQ HIST+45, HIST+53, HIST+54, GETIEN+26, ACTFLG+11, PERIOD+54, PERIOD+57, PERIOD+61
GETS^DIQ CSDATA+74
$$GETDATA^ETSRXN1 GETDATA+2
$$NDC2RXN^ETSRXN1 NDC2RXN+2
$$RXN2OUT^ETSRXN1 RXN2OUT+2
$$VUI2RXN^ETSRXN1 VUI2RXN+2
$$TAX^ETSRXNTX VUICLASS+2, TAX+2
$$DT^XLFDT CSDATA+62

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^ETSRXN(129.2 - [#129.2] GET1^DIQ,  GETS^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ETSRXN(129.2 - [#129.2] GETIEN+21

Label References

Name Line Occurrences
$$ACTFLG GETIEN+27, GETIEN+29
$$CHKDATE CSDATA+64
$$GETIEN HIST+38, PERIOD+51, CSDATA+70

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%DT CHKDATE+2~, CHKDATE+3*
ARY HIST~, HIST+24!, PERIOD~, PERIOD+44, PERIOD+48!, CSDATA~, CSDATA+67!
ARY( HIST+49*, PERIOD+60*, PERIOD+61*
ARY("LEX" CSDATA+89*, CSDATA+90*, CSDATA+94*, CSDATA+95*, CSDATA+98*, CSDATA+99*
ARY("RXN" CSDATA+102*, CSDATA+103*, CSDATA+104*, CSDATA+105*
ARY(0 HIST+51*, HIST+52*, HIST+53*, HIST+54*, PERIOD+54*, PERIOD+62
DTOUT CHKDATE+2~, CHKDATE+4
ETSACT GETIEN~, GETIEN+16*, GETIEN+25, GETIEN+28
ETSADT ACTFLG+7~, ACTFLG+11*, ACTFLG+12, ACTFLG+13, PERIOD+39~, PERIOD+57*, PERIOD+58, PERIOD+60, PERIOD+61
ETSARY CSDATA+56~
ETSARY( CSDATA+80, CSDATA+89, CSDATA+102, CSDATA+103, CSDATA+104
ETSCDT CSDATA~, CSDATA+62*, CSDATA+64, CSDATA+84
ETSCODE HIST~, HIST+27, HIST+38, GETIEN+21, PERIOD~, PERIOD+41, PERIOD+51, CSDATA~, CSDATA+58, CSDATA+70
ETSCSYS CSDATA~, CSDATA+59*, CSDATA+60
ETSDATA CSYS+24~, CSYS+25*, CSYS+28*, CSYS+29, CSDATA+56~
ETSDATE HIST+21~, HIST+45*, HIST+47, HIST+49
ETSDFLG CSDATA+56~, CSDATA+77*, CSDATA+84*, CSDATA+98
ETSDT GETIEN~, GETIEN+14
ETSEFDT CSDATA+56~, CSDATA+80*, CSDATA+84*, CSDATA+93, CSDATA+94
ETSFDT GETIEN+12~, GETIEN+14*, GETIEN+27, GETIEN+29, ACTFLG~, ACTFLG+10, ACTFLG+13
ETSFLG ACTFLG+7~, ACTFLG+9*, ACTFLG+12*, ACTFLG+13*, ACTFLG+14
ETSIEN HIST+21~, HIST+38*, HIST+41, HIST+45, HIST+52, HIST+53, HIST+54, GETIEN+12~, GETIEN+15*, GETIEN+21*
, GETIEN+22, GETIEN+26, GETIEN+27, GETIEN+29, GETIEN+35, ACTFLG~, ACTFLG+11, PERIOD+39~, PERIOD+51*, PERIOD+52
, PERIOD+54, PERIOD+57, PERIOD+60, PERIOD+61, CSDATA+56~, CSDATA+70*, CSDATA+71, CSDATA+74, CSDATA+80, CSDATA+89
, CSDATA+102, CSDATA+103, CSDATA+104
ETSN HIST+21~, HIST+44*, HIST+51, HIST+55
ETSNDC NDC2RXN~, NDC2RXN+2
ETSRXC GETIEN~
ETSRXCUI RXN2OUT~, RXN2OUT+2, GETDATA~, GETDATA+2
ETSSD PERIOD+39~, PERIOD+47*, PERIOD+54
ETSSI HIST+21~, HIST+31*, HIST+52
ETSSTAT HIST+21~, HIST+44*, HIST+49, CSDATA+56~, CSDATA+77*, CSDATA+94
ETSSUB VUICLASS~, VUICLASS+2, TAX~, TAX+2, VUI2RXN~, VUI2RXN+2, NDC2RXN~, NDC2RXN+2, RXN2OUT~, RXN2OUT+2
, GETDATA~, GETDATA+2
ETSSYS HIST~, HIST+28*, HIST+29, PERIOD~, PERIOD+42*, PERIOD+43, CSYS~, CSYS+26*, CSYS+27
ETSTTY VUI2RXN~, VUI2RXN+2
ETSVUID VUICLASS~, VUICLASS+2, TAX~, TAX+2, VUI2RXN~, VUI2RXN+2
ETSX CSDATA+56~, CHKDATE~, CHKDATE+3
FLG GETIEN+12~, GETIEN+19*, GETIEN+20, GETIEN+24*, GETIEN+26*, GETIEN+27*, GETIEN+29*, GETIEN+32
TTY GETIEN+12~, GETIEN+20*, GETIEN+21
U PERIOD+54, PERIOD+60, CSDATA+89, CSDATA+94, CSDATA+102, CSDATA+104
X CHKDATE+2~, CHKDATE+3*
Y CHKDATE+2~, CHKDATE+4*, CHKDATE+5
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All