Print Page as PDF
PSJORPOE API ICR (3167)

PSJORPOE API    ICR (3167)

Name Value
NUMBER 3167
IA # 3167
DATE CREATED 2000/08/25
CUSTODIAL PACKAGE INPATIENT MEDICATIONS
CUSTODIAL ISC Birmingham
USAGE Private
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE PSJORPOE
NAME PSJORPOE API
GENERAL DESCRIPTION
Inpatient Medications is providing 3 entry points to
Computerized Patient Record System (CPRS) as a part of the Pharmacy Order
Enhancements project.  1) Entry point $$STARTSTP returns to CPRS the setting
for the DEFAULT START DATE CALCULATION for the ward the patient is on, Default
Start Date/Time based on the parameter, and the number of days or hours the
order would last.  2) Entry Point $$RESOLVE returns the parameter passed by
CPRS to be resolved and the Date/Time it was resolved to. 3) Entry point
$$SCHREQ returns a 1 if a schedule should be required for the order being
placed via the Inpatient Medications dialogue through CPRS or a 0 if no
schedule is required.
STATUS Active
DURATION Till Otherwise Agreed
ID PSJORPOE
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
$$STARTSTP
Entry point
$$STARTSTP(PSGP,SCH,OI,PSJPWD,PSGORD,PSJADM,STARTDT) returns to CPRS the
setting for the DEFAULT START DATE CALCULATION for the ward the patient is on,
Default Start Date/Time based on the parameter, and the number of days or
hours the order would last.
VARIABLES TYPE VARIABLES DESCRIPTION
PSGP Input
This is the IEN of the patient from the PATIENT file
(#2). It is required.
SCH Input
This is the schedule for the order being placed.
OI Input
This is the IEN of the Orderable Item from the
PHARMACY ORDERABLE ITEM file (#50.7).
PSJPWD Input
This is the IEN of the ward location.  It is
optional.
PSGORD Input
This is the IEN of the order with the U or V if the
order being placed is a renewal of another order. It is optional.
$$STARTSTP Output
$$STARTSTP=WARD PARAMETER^DEFAULT START
DATE/TIME^#_D(NUMBER OF DAYS ORDER LASTS) OR #_H(NUMBER OF HOURS ORDER LASTS)
OR 0.
PSJADM Input
This is the admin times. (Optional)
STARTDT Input
This is the date upon which calculations are based
instead of doing all calculations against NOW. If nothing is passed in, it
will default to NOW.  (Optional)
$$RESOLVE
Entry Point $$RESOLVE(PSGP,SCH,OI,PCH,PSJPWD) returns
the parameter passed by CPRS to be resolved and the Date/Time it was resolved
to.
VARIABLES TYPE VARIABLES DESCRIPTION
PSGP Input
This is the IEN of the patient from the PATIENT file
(#2). It is required.
SCH Input
This is the schedule for the order being placed. It
is required.
OI Input
This is the IEN of the Orderable Item from the
PHARMACY ORDERABLE ITEM file (#50.7).
PCH Input
This is the provider's choice of time for the order
to start.  Allowable choices are NOW, NEXT, and CLOSEST.
PSJPWD Input
This is the IEN of the ward location.  It is
optional.
$$RESOLVE Output
$$RESOLVE=PCH_^_Resolved Start Date/Time.
$$SCHREQ
Entry point $$SCHREQ(MR,OI,DD) returns a 1 if a
schedule should be required for the order being placed via the Inpatient
Medications dialogue through CPRS or a 0 if no schedule is required.
VARIABLES TYPE VARIABLES DESCRIPTION
MR Input
Medication Route from MEDICATION ROUTES file (#51.2).
Required.
OI Input
Orderable Item IEN from PHARAMACY ORDERABLE ITEM file
(#50.7). Optional.
DD Input
Dispense Drug IEN from DRUG file (#50). Optional.
$$SCHREQ Output
$$SCHREQ will equal 1 if a schedule is required or a
0 if no schedule is required.
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC SUBSCRIBING DETAILS
ORDER ENTRY/RESULTS REPORTING Salt Lake City
VISTA INTEGRATION ADAPTOR
Access to RESOLVE and SCHREQ in routine PSJORPOE for
VIABDPS2 OISLCT RPC and OrderMgmtSvc - getMedOrderableItemDefaults.  VIA will
also use the STARTSTP entry point for VIAB ADMIN RPC.
CREATOR THOMPSON,SETH
DBA Comments
3/10/17-MM:  Access to RESOLVE and SCHREQ in routine PSJORPOE
for VIABDPS2 OISLCT RPC and OrderMgmtSvc - getMedOrderableItemDefaults.  CPRS
RPC is ORWDPS2 OISLCT.

3/13/17-MM:  VIA also request to use the STARTSTP entry point.  Ron concurred
with this request after discussion with VIA.  They  said they are not asking
the custodial package to provide them with information on the functionality of
STARTSTP^PSJORPOE. They would like to use the STARTSTP^PSJORPOE API and VIA
will massage the data just like CPRS to get what's needed.

Changed ICR name from 3167 to PSJORPOE API.
DATE ACTIVATED 2011/06/08
MAIL MESSAGE 33144825
DATE/TIME EDITED
DATE/TIME EDITED ACTION AT THE REQUEST OF WITH CONCURRENCE OF
2011/06/07 15:59 DEACTIVATED FOR EDITS THOMPSON,SETH SCOTT,APRIL
2011/06/08 12:04 APPROVED THOMPSON,SETH SCOTT,APRIL
2017/03/10 15:15 SUBSCRIBER ADDED ROSS,RICK RUZBACKI,RON
2017/03/13 13:22 CONTENT CORRECTED ICR,TEAM ICR,TEAM
Generated from AUG 12, 2020@ IA Listing Descriptions