Print Page as PDF
PSSDSAPD Duration ICR (5617)

PSSDSAPD Duration    ICR (5617)

Name Value
NUMBER 5617
IA # 5617
DATE CREATED 2011/03/21
CUSTODIAL PACKAGE PHARMACY DATA MANAGEMENT
USAGE Private
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE PSSDSAPD
NAME PSSDSAPD Duration
GENERAL DESCRIPTION
This DBIA returns the number of minutes to the calling
application based on the duration passed in.
STATUS Active
DURATION Till Otherwise Agreed
ID PSSDSAPD
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
$$DRT(PSSDBJV)
This component returns the number of minutes to the
calling application based on the duration passed in.
VARIABLES TYPE VARIABLES DESCRIPTION
PSSDBJV Input
This is the duration in text format. Approved values
are:

'60M'  represents 60 minutes.  '4H' represents 4 hours.  '3D' represents 3
days.  '2W' represents 2 weeks.  '1L' represents 1 month.

If only a numeric is passed in, Days will be assumed.
$$DRT Output
This is the duration converted to number of minutes.
If the value passed in cannot be interpreted, a '-1' will be returned.
SUBSCRIBING PACKAGE INPATIENT MEDICATIONS
DATE ACTIVATED 2018/05/29