SDES2 INACTIVATE CLINIC (4967)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES2 INACTIVATE CLINIC
TAG SDINACTCLN
ROUTINE SDES2INACTCLIN
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
VERSION 1
APP PROXY ALLOWED Yes
DESCRIPTION
This RPC inactivates a clinic from HOSPITAL LOCATION File #44 IEN. It will
mark an associated SDEC RESOURCE File 409.831 entry as inactive if there is
a link to the resource.
 
Please note that the clinic must not have any future appointments.
INPUT PARAMETER
  • SDCONTEXT
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   32000
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
     SDCONTEXT("ACHERON AUDIT ID") = Up to 40 Character unique ID number.
                               calling application.
                               Ex: 11d9dcc6-c6a2-4785-8031-8261576fca37
     SDCONTEXT("USER DUZ")   = The DUZ of the user taking action on the
                               calling application. 
     SDCONTEXT("USER SECID") = The SECID of the user taking action in the
                               calling application.
     SDCONTEXT("PATIENT DFN")= The name of the patient taking action on the
                               calling application.
     SDCONTEXT("PATIENT ICN")= The ICN of the patient taking action on the
    
  • SDPARAM
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   32000
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    SDPARAM("CLINIC IEN")=       IEN of the clinic in file 44 Hospital location
                                  (required)
    SDPARAM("INACTIVATION DATE")= ISO DATE to inactivate the clinic, the date
                                  should be today or in the future. 
                                  If the value is not provided then
                                  the default value of today will be
                                  used as the inactivation date.
                                  Inactivation date is limited to 180 days
                                  in the future.
    
RETURN PARAMETER DESCRIPTION
Successful Return:
   
 {
   "Clinic": {
       "IEN": 5189,
     "SuccessMessage": "Clinic is successfully inactivated "
     }
 }