SDES2 REACTIVATE CLINIC (4964)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES2 REACTIVATE CLINIC
TAG REACTIVATECLIN
ROUTINE SDES2REACTTCLIN
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON FALSE
VERSION 1
APP PROXY ALLOWED Yes
DESCRIPTION
This RPC reactivates a clinic from HOSPITAL LOCATION File (#44) IEN. It will
remove the leading 'ZZ' from the clinic name if it doesn't create a name 
conflict.
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")=       Clinic IEN in HOSPITAL LOCATION file (#44)
                                 (required)
    SDPARAM("REACTIVATION DATE") ISO DATE to reactivate the clinic (required)
    
RETURN PARAMETER DESCRIPTION
Successful Return:
Otherwise, JSON Errors will be returned for any invalid/missing 
parameters.
  
{
     "Clinic": {
         "IEN": ",
         "SuccessMessage": "
     },
     "Error": [
         "Invalid Clinic ID.",
  
         "Invalid EAS Tracking Number."
      ]
}
{
    "Clinic": {
        "IEN": 5189,
        "SuccessMessage": "Clinic is successfully reactivated effective 09/25/2023"
    }
}