TITLE | VALUE | |
---|---|---|
NAME | SDES2 RESTORE CLIN AVAIL | |
DESCRIPTION | This RPC will allow the restore of clinic availability. If the day was a full day cancel, will restore full day. If time periods (partial) day cancellation were cancelled, then the RPC will restore a partial day for the time period start time sent in. | |
TAG | RESTORE | |
ROUTINE | SDES2RSTCAVAIL | |
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 | SRESTORE | |
DESCRIPTION | SDRESTORE("CLINIC IEN")=5529 SDRESTORE("DATE OR DATETIME")="2023-10-23" SDRESTORE("RESTORE TYPE")="F" - or - SDRESTORE("CLINIC IEN")=5529 SDRESTORE("DATE OR DATETIME")="2023-10-23T08:00-0400" SDRESTORE("RESTORE TYPE")="P" Time is required for Partial restore. Time will be the start time of the period. Time should NOT be sent for FULL restore. | |
PARAMETER TYPE | LIST | |
REQUIRED | YES | |
MAXIMUM DATA LENGTH | 32000 | |
RETURN VALUE TYPE | ARRAY | |
RETURN PARAMETER DESCRIPTION | { "Restore": [ "Restore completed successfully" ] } Example errors: Example 1: { "Error": [ "Error: Not a cancelled period. Must send defined cancelled period.", { "Restore Periods": [ "2023-09-27T08:00-0400 (to restore: 2023-09-27T08:00-0400 to 2023-09-27T10:00-0400)", "2023-09-27T15:00-0400 (to restore: 2023-09-27T15:00-0400 to 2023-09-27T16:00-0400)" ] } ], "Restore": [ "" ] } Example 2: { "Error": [ "Error: No time needed for Full restore." ], "Restore": [ "" ] } | |
AVAILABILITY | RESTRICTED | |
INACTIVE | ||
CLIENT MANAGER | ||
WORD WRAP ON | ||
VERSION | ||
SUPPRESS RDV USER SETUP | ||
APP PROXY ALLOWED | Yes |