Name | Value |
---|---|
NAME | SDES ADD/UPDATE CONTACT |
TAG | ADDUPD |
ROUTINE | SDESCONTACTS |
RETURN VALUE TYPE | ARRAY |
AVAILABILITY | RESTRICTED |
WORD WRAP ON | FALSE |
APP PROXY ALLOWED | Yes |
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. |
INPUT PARAMETER |
|
RETURN PARAMETER DESCRIPTION | { "RequestType": "A", "Service": 109, "ServiceName": "AMBULATORY CARE" } ], "ContactAttempts": [ { "Comments": "sdes contact new testing", "DateTimeEntered": "2022-12-29T11:59:41-0500", "DateTimeOfContact": 3221229.115941, "Contact": [ "EnteredBy": "USER,TEST W", "LeftMessage": "NO", "Sequence": 1, "Type": "CALL" }, { "Comments": "Adding another contact attempt", "DateTimeEntered": "2022-12-29T12:13-0500", "DateTimeOfContact": 3221213.121, "EnteredBy": "USER,TEST W", { "LeftMessage": "NO", "Sequence": 2, "Type": "TEXT" }, { "Comments": "Adding another contact attempt", "DateTimeEntered": "2022-12-29T13:02-0500", "DateTimeOfContact": 3221213.1259, "EnteredBy": "USER,NEWTEST A", "LeftMessage": "NO", "Clinic": 5263, "Sequence": 3, "Type": "TEXT" } ] } "ID": 2211, "MainSequence": 1, "Patient": 7172311, "PreferredDate": 3221221, "RequestPointer": "258545;SDEC(409.85,", |