SDES2 CREATE APPT REQ (4992)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES2 CREATE APPT REQ
TAG CREATEREQUEST
ROUTINE SDES2CRTAPREQ
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
WORD WRAP ON FALSE
APP PROXY ALLOWED Yes
DESCRIPTION
Creates new appointment request in the SDEC APPT REQUEST file (#409.85).
INPUT PARAMETER
  • SDCONTEXT
    PARAMETER TYPE:   LIST
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
      SDCONTEXT("ACHERON AUDIT ID")
      SDCONTEXT("PATIENT ICN")
       - The ICN of the target patient from the calling application.
       - Up to 40 Character unique ID number. 
       - Ex: 11d9dcc6-c6a2-4785-8031-8261576fca37
      SDCONTEXT("USER DUZ")
       - The DUZ of the user taking action in the calling application.
      SDCONTEXT("USER SECID")
       - The SECID of the user taking action in the calling application.
      SDCONTEXT("PATIENT DFN")
       - The DFN/IEN of the target patient from the calling application.
    
  • REQUEST
    PARAMETER TYPE:   LIST
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Appointment request data.
    S REQUEST("REQUEST SUB TYPE")=""                          REQ
    S REQUEST("REQUESTED BY")=""                              REQ
    S REQUEST("CLINIC IEN")=""                                OPT/REQ  \
    S REQUEST("PRIMARY AMIS")=""                              OPT/REQ---> 
    Either CLINIC IEN or PRIMARY AMIS/CREDIT PRIMARY AMIS must be defined
    S REQUEST("CREDIT AMIS")=""                               OPT/REQ  /
    S REQUEST("STATION NUMBER")=""                            OPT/REQ -- > 
    Either STATION NUMBER or INSTITUTION NAME is REQUIRED
    S REQUEST("INSTITUTION NAME")=""                          OPT/REQ --/
    S REQUEST("CREATE DATE")=""                               OPT
     
      Defaults to today if not sent
    S REQUEST("PROVIDER IEN")=""                              OPT
      (Required if 'REQUESTED BY' is 'PROVIDER')
    S REQUEST("PRIORITY GROUP")=""                            OPT
    S REQUEST("SERVICE CONNECTED")=""                         OPT
      (This is for PRIORITY; 1 OR 0, if passed)
    S REQUEST("SERVICE CONNECTED PERCENTAGE")=""              OPT
    S REQUEST("MODALITY")=""                                  OPT
    S REQUEST("PATIENT STATUS")=""                            OPT
    S REQUEST("VAOS GUID")=""                                 OPT
    S REQUEST("DFN")=""                                       REQ
    S REQUEST("TIME SENSITIVE")=""                            OPT
    S REQUEST("REQUEST COMMENT")=""                           OPT
    S REQUEST("PATIENT COMMENT")=""                           OPT
    S REQUEST("PATIENT PREFERRED START DATE",1)=""            OPT
    S REQUEST("PATIENT PREFERRED END DATE",1)=""              OPT
    S REQUEST("PATIENT PREFERRED START DATE",2)=""            OPT
    S REQUEST("PATIENT PREFERRED END DATE",2)=""              OPT
    S REQUEST("PATIENT PREFERRED START DATE",3)=""            OPT
    S REQUEST("PATIENT PREFERRED END DATE",3)=""              OPT
    S REQUEST("MRTC","NEEDED")=""                             OPT
      (PATIENT IEN)
    S REQUEST("MRTC","PARENT REQUEST")=""                     OPT
    S REQUEST("MRTC","DAYS BETWEEN APPTS")=""                 OPT
    S REQUEST("MRTC","HOW MANY NEEDED")=""                    OPT
    S REQUEST("APPOINTMENT TYPE")=""                          OPT
      APPOINTMENT TYPE - can be the Name or IEN
    S REQUEST("PATIENT INDICATED DATE")=""                    REQ
      (PID DATE IN ISO FORMAT)
    S REQUEST("PRIORITY")=""                                  REQ
    
RETURN PARAMETER DESCRIPTION
JSON:
 
{
 "Request": {
  "IEN": 263051
 }
}