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: ETSRXN1

Package: Enterprise Terminology Services

Routine: ETSRXN1


Information

ETSRXN1 ;O-OIFO/FM23 - RxNorm APIs 2 ;03/06/2017

Source Information

Source file <ETSRXN1.m>

Call Graph

Call Graph

Call Graph Total: 1

Package Total Call Graph
VA FileMan 1 ($$GET1,GETS)^DIQ  

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: 1

Package Total Caller Graph
Enterprise Terminology Services 1 ETSRXN  

Entry Points

Name Comments DBIA/ICR reference
VUI2RXN(ETSVUID,ETSTTY,ETSSUB) ;Extract RxNorm Concept Numbers and other data for a given VA Unique ID
; Input -- ETSVUID VA Unique ID (VUID) (Required)
; ETSTTY Term Type Lookup (Optional)
; ETSSUB (Optional) Subscript for ^TMP array storing the results (default = ETSRXN)
; Output --
; $$VUI2RXN - # records found or -1^<error message>
;
; ^TMP(ETSSUB,$J,RXCUI Count, Results in the following subscripts:
; 0) = IEN^RXCUI (#.01)^Source (SAB) (#.02)^Term_Type (TTY) (#.03)^Code (#.04)^Suppression_Flag (SUPPRESS) (#.05)
; 1) = Text (STR) (#1)
VUIDATA ;Store data
NDC2RXN(ETSNDC,ETSSUB) ;Extract RxNorm Simple Concept Numbers and other data for a given National Drug Code
; Input -- ETSNDC National Drug Code (NDC) (Required)
; ETSSUB (Optional) Subscript for ^TMP array storing the results (default = ETSNDC)
; Output --
; $$NDC2RXN - # records found or -1^<error message>
;
; ^TMP(ETSSUB,$J,RXCUI Count,0) = IEN^RXCUI (#.01)^Source (SAB) (#.02)^Suppression_Flag (SUPPRESS) (#.03)
NDCDATA
RXN2OUT(ETSRXCUI,ETSSUB) ;Extract VUID and NDC for a given RxNorm Concept Unique ID (RXCUI)
; Input -- ETSRXCUI RxNorm Concept Unique ID (RXCUI) (Required)
; ETSSUB (Optional) Subscript for ^TMP array storing the results (default = ETSOUT)
; Output --
; $$RXN2OUT - # VUIDs^# NDCs found or -1^<error message>
;
; ^TMP(ETSSUB,$J,RXCUI, Results in the following subscripts:
; "VUID") = Count
; "VUID",VUID Count,0) = IEN^RXCUI (129.2,#.01)^Source (SAB) (#.02)^Term_Type (TTY) (#.03)^Code (#.04)^Suppression_Flag (SUPPRESS) (#.05)
; 1) = Text (STR) (#1)
; "NDC") = Count
; "NDC",NDC Count,0) = IEN^RXCUI (129.21,#.01)^Code (#.05)^Source (SAB) (#.02)^Suppression_Flag (SUPPRESS) (#.03)
; "NDC",NDC Count,1) = Attribute Name (ATN) (129.21,#1)
; "NDC",NDC Count,2) = Attribute Value (ATV) (129.21,#2)
GETDATA(ETSRXCUI,ETSSUB) ;Extract all data related to a given RxNorm Concept Unique ID (RXCUI)
; Input -- ETSRXCUI RxNorm Concept Unique ID (RXCUI) (Required)
; ETSSUB (Optional) Subscript for ^TMP array storing the results (default = ETSDATA)
; Output --
; $$RXN2OUT - 1 if records found; 0 if no records found; or -1^<error message>
;
; ^TMP(ETSSUB,$J,RXCUI, Results in the following subscripts:
; "RXCONSO") = RXNORM CONCEPTS NAMES AND SOURCES (File #129.2) Count
; "RXCONSO",RXCONSO Count,0) = IEN^RXCUI (#.01)^Source (SAB) (#.02)^Term_Type (TTY) (#.03)^Code (#.04)^Suppression_Flag (SUPPRESS) (#.05)^Content_View_Flag (CVF) (#.06)
; 1) = Text (STR) (#1)

External References

Name Field # of Occurrence
$$GET1^DIQ RXN2OUT+30, RXN2OUT+48
GETS^DIQ VUIDATA+2, NDCDATA+2, RXN2OUT+32, RXN2OUT+50, GETDATA+39, GETDATA+59, GETDATA+80, GETDATA+99

FileMan Files Accessed Via FileMan Db Call

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

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ETSRXN(129.2 - [#129.2] VUI2RXN+27, VUI2RXN+28, VUI2RXN+32, RXN2OUT+30, GETDATA+37
^ETSRXN(129.21 - [#129.21] NDCDATA, RXN2OUT+48, GETDATA+57
^ETSRXN(129.22 - [#129.22] GETDATA+78
^ETSRXN(129.23 - [#129.23] GETDATA+97
^TMP( VUI2RXN+23!, VUIDATA+7*, VUIDATA+8*, NDC2RXN+31!, NDCDATA+7*, RXN2OUT+24!, RXN2OUT+38*, RXN2OUT+39*, RXN2OUT+42*, RXN2OUT+57*
, RXN2OUT+58*, RXN2OUT+59*, RXN2OUT+62*, GETDATA+31!, GETDATA+47*, GETDATA+48*, GETDATA+51*, GETDATA+67*, GETDATA+68*, GETDATA+69*
, GETDATA+72*, GETDATA+88*, GETDATA+91*, GETDATA+103*, GETDATA+106*, GETDATA+109

Label References

Name Line Occurrences
VUIDATA VUI2RXN+28, VUI2RXN+32

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ETS1 NDC2RXN+8~, NDC2RXN+18*, NDC2RXN+19
ETS2 NDC2RXN+8~, NDC2RXN+18*, NDC2RXN+19
ETS3 NDC2RXN+8~, NDC2RXN+18*, NDC2RXN+19
ETSATN RXN2OUT+15~, RXN2OUT+55*, RXN2OUT+58, GETDATA+22~, GETDATA+65*, GETDATA+68
ETSATV GETDATA+22~, GETDATA+66*, GETDATA+69
ETSCIEN VUI2RXN+11~, VUI2RXN+17*, VUI2RXN+28*, VUI2RXN+32*, VUIDATA+2, VUIDATA+3, VUIDATA+7, NDC2RXN+9~, NDC2RXN+25*, NDCDATA*
, NDCDATA+2, NDCDATA+3, NDCDATA+7, RXN2OUT+15~, RXN2OUT+28*, RXN2OUT+30*, RXN2OUT+32, RXN2OUT+33, RXN2OUT+38, RXN2OUT+46*
, RXN2OUT+48*, RXN2OUT+50, RXN2OUT+51, RXN2OUT+57, GETDATA+22~, GETDATA+35*, GETDATA+37*, GETDATA+39, GETDATA+40, GETDATA+47
, GETDATA+55*, GETDATA+57*, GETDATA+59, GETDATA+60, GETDATA+67, GETDATA+76*, GETDATA+78*, GETDATA+80, GETDATA+81, GETDATA+88
, GETDATA+95*, GETDATA+97*, GETDATA+99, GETDATA+100, GETDATA+103
ETSCNT VUI2RXN+11~, VUI2RXN+17*, VUI2RXN+26, VUI2RXN+35, VUIDATA+1*, VUIDATA+7, VUIDATA+8, NDC2RXN+9~, NDC2RXN+25*, NDCDATA+1*
, NDCDATA+7, NDCDATA+11, GETDATA+22~, GETDATA+35*, GETDATA+38*, GETDATA+47, GETDATA+48, GETDATA+51, GETDATA+55*, GETDATA+58*
, GETDATA+67, GETDATA+68, GETDATA+69, GETDATA+72, GETDATA+76*, GETDATA+79*, GETDATA+88, GETDATA+91, GETDATA+95*, GETDATA+98*
, GETDATA+103, GETDATA+106, GETDATA+109*, GETDATA+110
ETSCODE RXN2OUT+15~, RXN2OUT+52*, RXN2OUT+57, GETDATA+22~, GETDATA+43*, GETDATA+47, GETDATA+61*, GETDATA+67
ETSCVF GETDATA+22~, GETDATA+45*, GETDATA+47, GETDATA+64*, GETDATA+67, GETDATA+87*, GETDATA+88, GETDATA+102*, GETDATA+103
ETSDATA VUI2RXN+11~, VUIDATA+2!, VUIDATA+3*, VUIDATA+4, VUIDATA+5, VUIDATA+6, NDC2RXN+9~, NDCDATA+2!, NDCDATA+3*, NDCDATA+4
, NDCDATA+5, NDCDATA+6, RXN2OUT+15~, RXN2OUT+32!, RXN2OUT+33*, RXN2OUT+34, RXN2OUT+35, RXN2OUT+36, RXN2OUT+37, RXN2OUT+50!
, RXN2OUT+51*, RXN2OUT+52, RXN2OUT+53, RXN2OUT+54, RXN2OUT+55, RXN2OUT+56, GETDATA+22~, GETDATA+39!, GETDATA+40*, GETDATA+41
, GETDATA+42, GETDATA+43, GETDATA+44, GETDATA+45, GETDATA+46, GETDATA+59!, GETDATA+60*, GETDATA+61, GETDATA+62, GETDATA+63
, GETDATA+64, GETDATA+65, GETDATA+66, GETDATA+80!, GETDATA+81*, GETDATA+82, GETDATA+83, GETDATA+84, GETDATA+85, GETDATA+86
, GETDATA+87, GETDATA+99!, GETDATA+100*, GETDATA+101, GETDATA+102
ETSERR NDC2RXN+9~, NDC2RXN+15*, NDC2RXN+16, NDC2RXN+17*
ETSI GETDATA+22~, GETDATA+109*
ETSNCNT RXN2OUT+15~, RXN2OUT+46*, RXN2OUT+49*, RXN2OUT+57, RXN2OUT+58, RXN2OUT+59, RXN2OUT+62, RXN2OUT+65
ETSNDC NDC2RXN~, NDC2RXN+12, NDC2RXN+16, NDC2RXN+17, NDC2RXN+18, NDC2RXN+19*, NDC2RXN+22, NDCDATA, RXN2OUT+15~, RXN2OUT+56*
, RXN2OUT+59
ETSREL GETDATA+22~, GETDATA+82*, GETDATA+88
ETSRELA GETDATA+22~, GETDATA+84*, GETDATA+88
ETSRXCUI VUI2RXN+11~, VUIDATA+4*, VUIDATA+7, NDC2RXN+9~, NDCDATA+4*, NDCDATA+7, RXN2OUT~, RXN2OUT+18, RXN2OUT+30, RXN2OUT+38
, RXN2OUT+39, RXN2OUT+42, RXN2OUT+48, RXN2OUT+57, RXN2OUT+58, RXN2OUT+59, RXN2OUT+62, GETDATA~, GETDATA+25, GETDATA+37
, GETDATA+47, GETDATA+48, GETDATA+51, GETDATA+57, GETDATA+67, GETDATA+68, GETDATA+69, GETDATA+72, GETDATA+78, GETDATA+88
, GETDATA+91, GETDATA+97, GETDATA+103, GETDATA+106, GETDATA+109
ETSRXN2 GETDATA+22~, GETDATA+83*, GETDATA+88
ETSSRC NDC2RXN+9~, NDCDATA+5*, NDCDATA+7, RXN2OUT+15~, RXN2OUT+53*, RXN2OUT+57, GETDATA+22~, GETDATA+41*, GETDATA+47, GETDATA+62*
, GETDATA+67, GETDATA+85*, GETDATA+88
ETSSTR VUI2RXN+11~, VUIDATA+6*, VUIDATA+8, RXN2OUT+15~, RXN2OUT+37*, RXN2OUT+39, GETDATA+22~, GETDATA+46*, GETDATA+48
ETSSTY GETDATA+22~, GETDATA+101*, GETDATA+103
ETSSUB VUI2RXN~, VUI2RXN+20*, VUI2RXN+23, VUIDATA+7, VUIDATA+8, NDC2RXN~, NDC2RXN+28*, NDC2RXN+31, NDCDATA+7, RXN2OUT~
, RXN2OUT+21*, RXN2OUT+24, RXN2OUT+38, RXN2OUT+39, RXN2OUT+42, RXN2OUT+57, RXN2OUT+58, RXN2OUT+59, RXN2OUT+62, GETDATA~
, GETDATA+28*, GETDATA+31, GETDATA+47, GETDATA+48, GETDATA+51, GETDATA+67, GETDATA+68, GETDATA+69, GETDATA+72, GETDATA+88
, GETDATA+91, GETDATA+103, GETDATA+106, GETDATA+109
ETSSUPP VUI2RXN+11~, VUIDATA+5*, VUIDATA+7, NDC2RXN+9~, NDCDATA+6*, NDCDATA+7, RXN2OUT+15~, RXN2OUT+36*, RXN2OUT+38, RXN2OUT+54*
, RXN2OUT+57, GETDATA+22~, GETDATA+44*, GETDATA+47, GETDATA+63*, GETDATA+67, GETDATA+86*, GETDATA+88
ETSTTY VUI2RXN~, VUI2RXN+26*, VUI2RXN+27*, VUI2RXN+28, VUI2RXN+32, VUIDATA+7, RXN2OUT+15~, RXN2OUT+34*, RXN2OUT+38, GETDATA+22~
, GETDATA+42*, GETDATA+47
ETSVCNT RXN2OUT+15~, RXN2OUT+28*, RXN2OUT+31*, RXN2OUT+38, RXN2OUT+39, RXN2OUT+42, RXN2OUT+65
ETSVUID VUI2RXN~, VUI2RXN+14, VUI2RXN+27, VUI2RXN+28, VUI2RXN+32, VUIDATA+7, RXN2OUT+15~, RXN2OUT+35*, RXN2OUT+38
U VUIDATA+7, NDCDATA+7, RXN2OUT+38, RXN2OUT+57, RXN2OUT+65, GETDATA+47, GETDATA+67, GETDATA+88, GETDATA+103
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