SDES2 EDIT APPT REQ

TITLEVALUE
NAMESDES2 EDIT APPT REQ
DESCRIPTIONThis RPC allows the editing of an appointment request.

Can only be invoked by Acheron
TAGEDITREQUEST
ROUTINESDES2EDITAPREQ
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERSDCONTEXT
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 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.
SDCONTEXT("PATIENT ICN")
- The ICN of the target patient from the calling application.
PARAMETER TYPELIST
REQUIREDYES
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERREQUEST
DESCRIPTIONAppointment request data that is being edited. Non-required data fields
that are not changing should not be passed into this RPC. The intent of
the edit is to only validate and store fields that are changing.

S REQUEST("REQUEST IEN")="" REQ
S REQUEST("DFN")="" REQ
S REQUEST("APPOINTMENT TYPE")="" OPT
APPOINTMENT TYPE - can be the Name or IEN
S REQUEST("PATIENT INDICATED DATE")="" OPT
when editing a child, this is the new PID date for the child
S REQUEST("PRIORITY")="" OPT
S REQUEST("REQUESTED BY")="" OPT
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("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("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","PARENT REQUEST")="" OPT
S REQUEST("DUPLICATE REASON")="" OPT

only validate and edit fields that are changing.
PARAMETER TYPELIST
REQUIREDYES
MAXIMUM DATA LENGTH

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTION
{
"Request": {
"IEN": 263051
}
}
AVAILABILITYRESTRICTED
INACTIVE
CLIENT MANAGER
WORD WRAP ONFALSE
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWEDYes