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 |
-
- SDCONTEXT
- PARAMETER TYPE: LIST
- MAXIMUM DATA LENGTH: 32000
- REQUIRED: YES
- SEQUENCE NUMBER: 1
- DESCRIPTION:
SDCONTEXT("ACHERON AUDIT ID") = Up to 40 Character unique ID number.
calling application.
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
-
- CONTACT
- PARAMETER TYPE: LIST
- MAXIMUM DATA LENGTH: 32000
- REQUIRED: YES
- SEQUENCE NUMBER: 2
- DESCRIPTION:
CONTACT("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
|
RETURN PARAMETER DESCRIPTION |
"Contact": {
"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",
"Clinic": 4972,
"EnteredBySecID": 1044590326,
"LeftMessage": "YES",
"Sequence": 1,
"Type": "CALL"
},
...
]
}
"ClinicStopCodeAMIS": 170,
"ID": 2467,
"MainSequence": 1,
"Patient": 7242540,
"PreferredDate": "2021-02-15",
"RequestPointer": "247365;SDEC(409.85,",
"RequestType": "A",
|