SDES2 ADD CONTACT ATTEMPT

TITLEVALUE
NAMESDES2 ADD CONTACT ATTEMPT
DESCRIPTION This RPC serves two functions.
1.) If no record exists for the given appointment request, it will create
a NEW record in the SDEC CONTACT file (#409.86), and add the first
contact attempt to the Date/Time of Contact subfile (#409.863)
2.) If there is already a contact in the SDEC CONTACT file for this
appointment request, a new entry will be added to the Date/Time of
Contact subfile (#409.863), but will not change any values for the
SDEC CONTACT entry (#409.86). The parent record is not editable, only
new contact attempts may be added.
TAGADDCONTACT
ROUTINESDES2CONTACTS
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 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 TYPELIST
REQUIREDYES
MAXIMUM DATA LENGTH32000

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERCONTACT
DESCRIPTIONCONTACT("COMMENTS") - comments
CONTACT("CONTACTTYPE") - Contact Type (C - Call, L - Letter, E - Email, T
- Text, S - Secure messaging)
CONTACT("DTTMENTERED") - date/time entered - ISO Format
CONTACT("DTTMOFCONTACT") - date/time of contact - ISO Format
CONTACT("LEFTMESSAGE") - left message flag (0 for no, 1 for yes)
CONTACT("REQTYPE") - Request Type (A,RTC,V,C,P,R)
CONTACT("REQUESTIEN") - Request IEN
PARAMETER TYPELIST
REQUIREDYES
MAXIMUM DATA LENGTH32000

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTION "Contact": {
"Clinic": 4972,
"ClinicStopCodeAMIS": 170,
"ID": 2467,
"MainSequence": 1,
"Patient": 7242540,
"PreferredDate": "2021-02-15",
"RequestPointer": "247365;SDEC(409.85,",
"RequestType": "A",
"Service": 109,
"ServiceName": "AMBULATORY CARE"
},
"ContactAttempts": [
{
"Comments": "TESTING THIS INFORMATION 3",
"DateTimeEntered": "2023-07-31T07:01-0400",
"DateTimeOfContact": "2023-07-31T07:00-0400",
"EnteredByIEN": 520881776,
"EnteredByName": "LAST,FIRST I",
"EnteredBySecID": 1044590326,
"LeftMessage": "YES",
"Sequence": 1,
"Type": "CALL"
},
...
]
}
AVAILABILITYRESTRICTED
INACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWEDYes