Print Page as PDF
PSJSTSTP ICR (7343)

PSJSTSTP    ICR (7343)

Name Value
NUMBER 7343
IA # 7343
DATE CREATED 2022/07/20
CUSTODIAL PACKAGE INPATIENT MEDICATIONS
USAGE Private
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE PSJSTSTP
NAME PSJSTSTP
GENERAL DESCRIPTION
INPATIENT MEDICATIONS application provides two APIs
implemented in PSJSTSTP routine:

STRSTP - calculate standard start date/time, duration, expected first dose,
stop date/time and to provide information in regards to overriding the stop
dates by providers if this was set for the orderable item on the system (site)
level. Data returned by this API is used for purposes of editing quick orders
and using them in CPRS.

LIMITS - return system (site) level default 'DAY (nD) or DOSE (nL) LIMIT'
value of the orderable item in the PHARMACY ORDERABLE ITEM FILE #50.7.
STATUS Active
KEYWORDS
  • STRSTP
  • LIMITS
ID PSJSTSTP
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
$$LIMITS(IEN507)
Return system (site) level default 'DAY (nD) or DOSE
(nL) LIMIT' value of the orderable item in the PHARMACY ORDERABLE ITEM FILE
(#50.7).
VARIABLES TYPE VARIABLES DESCRIPTION
IEN507 Input
this is the internal entry number from the PHARMACY
ORDERABLE ITEM FILE (#50.7) [REQUIRED]
$$LIMITS(IEN507) Output
If data is found, then the API returns a string with
values separated by "^":
Piece #1: LIMIT - value of the (#1) DAY (nD) or DOSE (nL) LIMIT field of the
(#.055) DAY/ DOSE LIMIT multiple entry or the (#.05) DAY (nD) or DOSE (nL)
LIMIT field of the file (#50.7).
Piece #2: CAN PROVIDER OVERRIDE STOP DATE? - value of the (#2) CAN PROVIDER
OVERRIDE LIMIT? field of the (#.055) DAY/DOSE LIMIT multiple entry.
Piece #3: OVERRIDE MESSAGE - value of the (#3) OVERRIDE MESSAGE field of the
(#.055) DAY/DOSE LIMIT multiple entry. If nothing found, then returns "".
$$STRSTP(PSGSHED,OI,PSGORST,PSGDRG)
STRSTP calculates standard start date/time, duration,
expected first dose and stop date/time. It also provides information in
regards to overriding the stop dates by providers if this was set for the
orderable item on the system (site) level.
VARIABLES TYPE VARIABLES DESCRIPTION
PSGSHED Input
PSGSHED - this is the internal entry number from the
ADMINISTRATION SCHEDULE FILE (#51.1) [OPTIONAL]
OI Input
OI - this is the internal entry number from the
PHARMACY ORDERABLE ITEM FILE (#50.7) [OPTIONAL]
PSGORST Input
PSGORST - this is the order start date. 'NOW' will be
used as a default value if no start date was provided [OPTIONAL]
PSGDRG Input
PSGDRG - this is the internal entry number from the
DRUG FILE (#50) [OPTIONAL]
$$STRSTP Output
If data is found, then the API returns a string with
values separated by "^":
Piece #1 DEFAULT START DATE/TIME
Piece #2 ORDER DURATION (NUMBER OF DAYS ORDER LASTS OR NUMBER OF HOURS ORDER
LASTS)
Piece #3 EXPECTED FIRST DOSE
Piece #4 STOP DATE
Piece #5 CAN PROVIDER OVERRIDE STOP DATE?
Piece #6 OVERRIDE MESSAGE If nothing is found, then returns "".
SUBSCRIBING PACKAGE ORDER ENTRY/RESULTS REPORTING
DATE ACTIVATED 2022/08/01