Print Page as PDF
RDI DOMAIN CALL ICR (4659)

RDI DOMAIN CALL    ICR (4659)

Name Value
NUMBER 4659
IA # 4659
DATE CREATED 2006/05/30
CUSTODIAL PACKAGE ORDER ENTRY/RESULTS REPORTING
USAGE Controlled Subscription
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE ORRDI1
NAME RDI DOMAIN CALL
GENERAL DESCRIPTION
This integration agreement allows packages to use the
Remote Data Interoperability (RDI) functionality.
STATUS Active
KEYWORDS RDI
ID ORRDI1
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
$$GET(DFN,DOMAIN)
Return remote data from the Health Data Repository
(HDR).
VARIABLES TYPE VARIABLES DESCRIPTION
DFN Input
The internal entry number (IEN) of the patient in the
PATIENT file (#2).
DOMAIN Input
The type of data to return. Possible values are "ART"
for adverse reaction tracking data and "PSOO" for outpatient pharmacy data.
$$GET Output
The number of records returned from HDR. If an error
occurred, a caret-delimited string is returned. The first caret piece is -1
and the second caret piece is the error message.
XTMP("ORRDI") GLOBAL Output
Remote data is returned in nodes descendant from this
node.

Data Format:

^XTMP("ORRDI","ART",DFN,COUNT,
DFN - corresponds to the DFN input parameter.
COUNT - number that starts at one and increments
by one for each subsequent adverse
reaction
DESCENDANT NODE
CORRESPONDING               CORRESPONDING
LOCAL FIELD                 LOCAL FILE
===================================================
"AUTHOR",0)
ORIGINATOR (#5)             PATIENT ALLERGIES
(#120.8)
Value: Caret-delimited string
PIECE  VALUE
============
1      FAMILY (LAST) NAME
2      GIVEN (FIRST) NAME
3      MIDDLE NAME

"DRUG CLASSES",COUNT)
DRUG CLASSES (#3)           PATIENT ALLERGIES
(#120.8)
COUNT - number that starts at one for the
first drug class and increments by one
for each subsequent drug class
Value: Caret-delimited string
PIECE  VALUE
============
1      VUID field (#99.99) in the VA
DRUG CLASS file (#50.605)
2      CLASSIFICATION field (#1) in the
VA DRUG CLASS file (#50.605)
3      Coding System
4      CODE field (#.01) in the VA DRUG
CLASS file (#50.605)

"DRUG INGREDIENTS",COUNT)
DRUG INGREDIENTS (#2)       PATIENT ALLERGIES
(#120.8)
COUNT - number that starts at one for the
first drug ingredient and increments
by one for each subsequent drug
ingredient
Value: Caret-delimited string
PIECE  VALUE
============
1      VUID field (#99.99) in the DRUG
INGREDIENTS file (#50.416)
2      NAME field (#.01) in the DRUG
INGREDIENTS file (#50.416)
3      Coding System
"FACILITY",0)
Remote site that documented this adverse
reaction
Value: Caret-delimited string
PIECE  VALUE
============
1      IEN in the INSTITUTION file (#4)
2      NAME field (#.01) in the
INSTITUTION file (#4)
3      STATION NUMBER field (#99) in
the INSTITUTION file (#4)
"GMRALLERGY",0)
GMR ALLERGY (#1)           PATIENT ALLERGIES
(#120.8)
Value: Caret-delimited string
PIECE  VALUE
============
1      VUID field (#99.99) in either
the GMR ALLERGIES file
(#120.82), VA GENERIC file
(#50.6), VA DRUG CLASS file
(#50.605) or DRUG INGREDIENTS
file (#50.416)
2      Field #.01 in either the GMR
ALLERGIES file (#120.82), VA
GENERIC file (#50.6), VA DRUG
CLASS file (#50.605) or DRUG
INGREDIENTS file (#50.416)
3      Coding System
First four characters are
"99VA" followed by the file
number from which the data
value comes
"MECHANISM",0)
MECHANISM (#17)             PATIENT ALLERGIES
(#120.8)
Value: Caret-delimited string
PIECE  VALUE
============
1      VUID field (#99.99) in the XTID
VUID FOR SET OF CODES file
(#8985.1)
2      External format
3      Coding System
"OBS/HISTORICAL",0)
OBSERVED/HISTORICAL (#6)    PATIENT ALLERGIES
(#120.8)
Value: Caret-delimited string
PIECE  VALUE
============
1      VUID field (#99.99) in the XTID
VUID FOR SET OF CODES file
(#8985.1)
2      External format
3      Coding System
"ORIGINATION DATE/TIME",0)
ORIGINATION DATE/TIME (#4)  PATIENT ALLERGIES
(#120.8)
Value: Health Level 7 (HL7) formatted date/
time string
"REACTANT",0)
REACTANT (#.02)             PATIENT ALLERGIES
(#120.8)
Value: Text string
"SEVERITY",0)
SEVERITY (#14.5)            ADVERSE REACTION
REPORTING
(#120.85)
Value: Caret-delimited string
PIECE  VALUE
============
1      Internal format
2      External format
"SIGNS/SYMPTOMS",COUNT)
REACTIONS (#10)             PATIENT ALLERGIES
(#120.8)
COUNT - number that starts at one for the
first sign or symptom and increments
by one for each subsequent sign or
symptom
Value: Caret-delimited string
PIECE  VALUE
============
1      VUID field (#99.99) in the
SIGN/SYMPTOMS file (#120.83)
2      NAME field (#.01) in the SIGN/
SYMPTOMS file (#120.83)
3      Coding System
"SIGNS/SYMPTOMS",COUNT,"DATE_ENTERED",0)
DATE ENTERED (#3) sub-      PATIENT ALLERGIES
field in the REACTIONS      (#120.8)
field (#10)
Value: HL7 formatted date/time string
"TYPE",0)
ALLERGY TYPE (#3.1)         PATIENT ALLERGIES
(#120.8)
Value: Caret-delimited string
PIECE  VALUE
============
1      Internal Format
2      External Format
3      Coding System
"VERIFIED",0)
VERIFIED (#19)              PATIENT ALLERGIES
(#120.8)
Value: External Format
"ASSESSMENT",COUNT)
REACTION ASSESSMENT (#1)    ADVERSE REACTION
ASSESSMENT
(#120.86)
COUNT - number that starts at one for the
first assessment and increments by
one for each subsequent assessment
Value: Caret-delimited string
PIECE  VALUE
============
1      VUID field (#99.99) in the XTID
VUID FOR SET OF CODES file
(#8985.1)
2      External Format
3      Coding System
"ASSESSMENT",COUNT,"FACILITY",0)
Remote site that documented this assessment
COUNT - corresponds to the COUNT node in
"ASSESSMENT",COUNT)
Value: Caret-delimited string
PIECE  VALUE
============
1      IEN in the INSTITUTION file (#4)
2      NAME field (#.01) in the
INSTITUTION file (#4)
3      STATION NUMBER field (#99) in
the INSTITUTION file (#4)

^XTMP("ORRDI","PSOO",DFN,COUNT,
DFN - corresponds to the DFN input parameter.
COUNT - number that starts at one and increments
by one for each subsequent outpatient
prescription
DESCENDANT NODE  DATA VALUE
===========================
1,0)           Facility Name
2,0)           DN
3,0)           Drug VUID
4,0)           RX
5,0)           ST
6,0)           QT;DS
7,0)           EX
8,0)           ID
9,0)           FD
10,0)          RF
11,0)          PR
12,0)          CF
14,0)          SIG
$$HAVEHDR
Determine if the local system has an HDR connection.
VARIABLES TYPE VARIABLES DESCRIPTION
$$HAVEHDR Output
Possible values are one for yes, the local system has
a HDR connection and zero for no, the local system does not have a HDR
connection.
SUBSCRIBING PACKAGE
DATE ACTIVATED 2014/06/03