SDES2 BLOCK AND MOVE (5016)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES2 BLOCK AND MOVE
TAG BLOCKANDMOVE
ROUTINE SDES2BLOCKANDMOV
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
WORD WRAP ON FALSE
APP PROXY ALLOWED Yes
DESCRIPTION
This RPC allows the user to block and move an appointment. This will 
block the availability in the slot the appointment was originally in and 
move it to a new clinic.
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
    
  • BLOCKANDMOVE
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   32000
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    This array contains the input parameters that are to be passed into block 
                                      appointment in ISO date/time format
    and move.
      
    BLOCKANDMOVE("APPOINTMENT IEN")= IEN of the Appointment to move from
                                     SDEC APPOINTMENT File (#409.84)
    BLOCKANDMOVE("TARGET CLINIC")= The target clinic to that will get the
                                   moved appointment. This is the IEN
                                   from HOSPITAL LOCATION File (#44)
    BLOCKANDMOVE("TARGET DATE TIME")= The date and time of the target
    
RETURN PARAMETER DESCRIPTION
{
  "BlockAndMoveAppointment": {
    "NewAppointmentIEN": 299315
  }
}
}