TITLE | VALUE | |
---|---|---|
NAME | SDES2 INACTIVATE CLINIC | |
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. Can only be invoked by Acheron | |
TAG | SDINACTCLN | |
ROUTINE | SDES2INACTCLIN | |
INPUT PARAMETERS | SEQUENCE NUMBER | 1 |
INPUT PARAMETER | SDCONTEXT | |
DESCRIPTION | SDCONTEXT("ACHERON AUDIT ID") = Up to 40 Character unique ID number. 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 calling application. | |
PARAMETER TYPE | LIST | |
REQUIRED | YES | |
MAXIMUM DATA LENGTH | 32000 | |
INPUT PARAMETERS | SEQUENCE NUMBER | 2 |
INPUT PARAMETER | SDPARAM | |
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. SDPARAM("DELETE INACTIVATION")= Only passed if the inactivation date is being deleted. It must be "Y" if deleting a previous inactivation. If it is passed in with any other value including the empty string it will cause an error. | |
PARAMETER TYPE | LIST | |
REQUIRED | YES | |
MAXIMUM DATA LENGTH | 32000 | |
RETURN VALUE TYPE | ARRAY | |
RETURN PARAMETER DESCRIPTION | Successful Return: { "ClinicInactivate":[ "Clinic is successfully inactivated." ] } Success message for successful delete inactivation date { "ClinicInactivate":[ { "DeleteInactivate":"Inactivate Date successfully removed from clinic: 5924." } ] } Error message for an invalid value for delete inactivation date { "ClinicInactivate":[ """" ], "Error":[ "Error: Incorrect value for 'DELETE INACTIVATION' parameter, must be 'Y' or not provided." ] | |
AVAILABILITY | RESTRICTED | |
INACTIVE | ||
CLIENT MANAGER | ||
WORD WRAP ON | ||
VERSION | 1 | |
SUPPRESS RDV USER SETUP | ||
APP PROXY ALLOWED | Yes |