Print Page as PDF
CLNCHK - SDUTL2 (RESTRICTING STOP CODE) ICR (4652)

CLNCHK - SDUTL2 (RESTRICTING STOP CODE)    ICR (4652)

Name Value
NUMBER 4652
IA # 4652
DATE CREATED 2005/04/01
CUSTODIAL PACKAGE SCHEDULING
USAGE Supported
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE SDUTL2
NAME CLNCHK - SDUTL2 (RESTRICTING STOP CODE)
GENERAL DESCRIPTION
The purpose of API CLNCK^SDUTL2 is to determine whether
a Clinic entry in the HOSPITAL LOCATION File #44 has conforming stop codes.
Stop codes are stored in the CLINIC STOP File #40.7 and are used in accordance
to their assigned restriction types.  Stops codes with restriction type 'P'
can only be used in the primary stop code position. Stop codes with
restriction type 'S' can only be used in the secondary stop code position.
Stop codes with restriction type 'E' can be used in either the primary or
secondary stop code position
STATUS Active
KEYWORDS
  • STOP CODES
  • RESTRICTING STOP CODES
  • SDUTL2
DURATION Till Otherwise Agreed
ID SDUTL2
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
$$CLNCK(CLN,DSP)
Checks a clinic for valid stop code restriction.
Returns 1 if stop code conforms or 0 and error message.
VARIABLES TYPE VARIABLES DESCRIPTION
CLN Input
Clinic IEN in HOSPITAL LOCATION File #44.
DSP Input
Interactive display of error message, 1 - Display or
0 No Display.
$$CLNCK Output
1  if clinic has conforming stop code, or 0^error
message (if clinic has non-conforming stop codes)
SUBSCRIBING PACKAGE