SDES CREATE APPT REQ (4557)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES CREATE APPT REQ
TAG CREATEREQUEST
ROUTINE SDESCREATEAPPREQ
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON FALSE
APP PROXY ALLOWED Yes
DESCRIPTION
Creates new appointment request entry in File 409.85
INPUT PARAMETER
  • REQUEST
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   32000
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Creates new appointment request in 409.85
    S REQUEST("CLINIC IEN")=""                                REQ
    S REQUEST("REQUESTED BY")=""                              REQ
    S REQUEST("PROVIDER IEN")=""                              OPT
    S REQUEST("PATIENT INDICATED DATE")=""                    REQ
    S REQUEST("PRIORITY")=""                                  OPT
      Will default to ASAP
    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("STOP CODE")=""                                 OPT
    S REQUEST("SECONDARY STOP CODE")=""                       OPT
    S REQUEST("MODALITY")=""                                  OPT
    S REQUEST("APPOINTMENT TYPE IEN")=""                      OPT
    S REQUEST("APPOINTMENT TYPE NAME")=""                     OPT
       Either APPOINTMENT TYPE IEN or APPOINTMENT TYPE NAME
       must be defined.
    S REQUEST("PATIENT STATUS")=""                            OPT
    S REQUEST("VAOS GUID")=""                                 OPT
    S REQUEST("EAS")=""                                       OPT
    S REQUEST("DFN")=""                                       REQ
    S REQUEST("CPRS TIME SENSITIVE")=""                       OPT
    S REQUEST("CPRS PREREQUISITES",1)=""                      OPT
    S REQUEST("CPRS PREREQUISITES",2)=""                      OPT
    S REQUEST("CPRS PREREQUISITES",3)=""                      OPT
    S REQUEST("CPRS ORDER NUMBER")=""                         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("CREATE DATE")=""                               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","PARENT REQUEST")=""                     OPT
    S REQUEST("MRTC","NEEDED")=""                             OPT
    S REQUEST("MRTC","DAYS BETWEEN APPTS")=""                 OPT
    S REQUEST("MRTC","HOW MANY NEEDED")=""                    OPT
    S REQUEST("REQUEST SUB TYPE")=""                          REQ
    S REQUEST("STATION NUMBER")=""                            OPT
    S REQUEST("INSTITUTION NAME")=""                          OPT
      Either the STATION NUMBER or the INSTITUTION NAME
      must be defined.
    
RETURN PARAMETER DESCRIPTION
Returns new appointment request IEN
 
{
        "Request": {
                "IEN": 263340
        }
}