Print Page as PDF
GETSIOPI ICR (5763)

GETSIOPI    ICR (5763)

Name Value
NUMBER 5763
IA # 5763
DATE CREATED 2012/01/10
CUSTODIAL PACKAGE INPATIENT MEDICATIONS
USAGE Controlled Subscription
TYPE Routine
ROUTINE PSJBCMA5
NAME GETSIOPI
GENERAL DESCRIPTION
Inpatient Medications has expanded the Special
Instructions and Other Print Info associated with Inpatient orders to an
unlimited maximum length. Bar Code Medication Administration (BCMA) requests
access to the new data via an API that will return the word processing data in
a ^TMP global node.
STATUS Pending
KEYWORDS
  • PSJBCMA5
  • SPECIAL INSTRUCTIONS
  • OTHER PRINT INFO
DURATION Till Otherwise Agreed
ID PSJBCMA5
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
GETSIOPI(DFN,ON,BCMA)
This API will return an order's Special Instructions
if a Unit Dose order is passed in, and it will return an order's Other Print
Info if an IV order is passed in.

The unlimited length word processing text will returned in the
^TMP("PSJBCMA5",$J global if the input parameter BCMA evaluates to true. If
the BCMA input parameter evaluates to false, the text will be returned in
^PS(53.45,PSJSYSP, where PSJSYSP is the user's internal entry number from the
NEW PERSON file.
VARIABLES TYPE VARIABLES DESCRIPTION
DFN Input
This is the patient's internal Internal Entry Number
(IEN).
ON Input
This is the Inpatient Order number, appended with
appropriate suffix (P=Pending, U=Unit Dose, V=IV).
bcma Input
Flag indicating the API is being called from BCMA. If
it evaluates to TRUE, data will be returned in ^TMP("PSJBCMA5",$J. If it
evaluates to FALSE, data will be returned in ^PS(53.45,PSJSYSP, where PSJSYSP
is the user's internal entry number from the NEW PERSON file.
PS(53.45,PSJSYSP Output
If the BCMA flag is not passed in:
Special Instructions data will be returned in ^PS(45,PSJSYSP,5,LINE,0)
Other Print Info will be returned in ^PS(53.45,PSJSYSP,6,LINE,0) where
PSJSYSP is the user's internal entry number from the NEW PERSON file.

If the BCMA is passed in, nothing will be returned in ^PS(53.45,PSJSYSP.
TMP(PSJBCMA5,J Output
If the BCMA flag is passed in:

If a Unit Dose order was passed in, the Special Instructions will be returned
in ^TMP("PSJBCMA5",$J,DFN,ON,LINE).

If an IV order was passed in, the Other Print Info will be returned in
^TMP("PSJBCMA5",$J,DFN,ON,LINE).

DFN is the patient IEN passed in, ON is the order number passed in, LINE is
the nth line of text.


If the BCMA flag is not passed in, nothing will be returned in
^TMP("PSJBCMA5",$J
SUBSCRIBING PACKAGE BAR CODE MED ADMIN