Print Page as PDF
ORWDAL32 APIS ICR (6756)

ORWDAL32 APIS    ICR (6756)

Name Value
NUMBER 6756
IA # 6756
DATE CREATED 2017/04/14
CUSTODIAL PACKAGE ORDER ENTRY/RESULTS REPORTING
USAGE Controlled Subscription
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE ORWDAL32
NAME ORWDAL32 APIS
GENERAL DESCRIPTION
For CPRS v32 development, the GMRA package needs access
to new OR APIs, CHKMEDS^ORWDAL32, GETPROV^ORWDAL32, & SENDALRT^ORWDAL32, which
have also been developed for CPRS v32.

These changes are all related to NSR 20070203 for allergy order check
enhancements and will be part of the CPRS v32 bundled release.
STATUS Active
KEYWORDS
  • ORWDAL32
  • SENDALRT
  • GETPROV
  • CHKMEDS
ID ORWDAL32
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
CHKMEDS
This function will check a patient's active
medication profile against any new allergies being entered into the system for
potential conflicts. Input parameters are the patient's DFN and the name of
the newly-entered allergy. The return data will be in an array format.
VARIABLES TYPE VARIABLES DESCRIPTION
ORDFN Input
Patient's DFN
GMRAGNT Input
The newly-entered patient allergy entered in the GMRA
system.
LST Output
An array list of the patient's active medication
orders that have potential conflicts with the newly-entered allergy in the
GMRA system.
GETPROV
For a given OR order number, this function returns a
list of providers who are associated with the order.
VARIABLES TYPE VARIABLES DESCRIPTION
ORDLST Input
The OR order number needed to retrieve the list of
providers.
LST Output
List of provider names along with each associated
file and ien. Returned in an array format.
SENDALRT
This function sends a group of alerts for a new
allergy that impacts an existing medication order based on the OR order number
and list of providers passed in.
VARIABLES TYPE VARIABLES DESCRIPTION
ORIFN Input
OR order number to send the alerts for.
PROVLST Input
List of providers to send the alerts to.
SUBSCRIBING PACKAGE ADVERSE REACTION TRACKING
DATE ACTIVATED 2017/06/06