SDES2 UNDO CHECKIN (5183)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES2 UNDO CHECKIN
TAG UNDOCHECKIN
ROUTINE SDES2UNDOCHECKIN
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
APP PROXY ALLOWED Yes
DESCRIPTION
This RPC allows the user to remove an appointment check-in 
information given the appointment IEN. It returns the entire
appointment object with an updated EAS tracking number.
 
Can only be invoked by Acheron 
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("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.
    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
    
  • SDINPUT
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   32000
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    SDINPUT("APPT IEN") = IEN of SDEC APPOINTMENT (#409.84) file record to
                          remove check-in (required).
    SDINPUT("FULL OBJECT") = 1 to return the full appointment object (optional)
    
RETURN PARAMETER DESCRIPTION
List of appointment objects in JSON format
                "AppointmentTypeIEN": 11,
                    "CurrentEligibilityCode": "SERVICE CONNECTED 50% to 
100%",
                    "DFN": 7242649,
                    "DateOfBirth": "1975-10-10",
                    "DateOfBirthInternal": 2751010,
                    "DateOfDeath": "",
                    "DemographicsNeedUpdate": 1,
                    "Eligibility": "SERVICE CONNECTED 50% to100%",
                    "EligibilityIEN": 1,
                    "EligibilityOfVisit": "SERVICE CONNECTED 50% to 100%",
                "AppointmentTypeSubCategory": "",
                    "EnrollmentCode": "",
                    "EnrollmentDate": "",
                    "FugitiveFelonFlag": "NO",
                    "Gender": "FEMALE",
                    "ICN": "4420062575V720075",
                    "LastRegistrationDate": "",
                    "LocalFlag": [
                        ""
                    ],
                    "Name": "TEST,SUVARNA",
                "AutoRebookedApptDateTime": "",
                    "NationalFlag": [
                        ""
                    ],
                    "NeedInsuranceVerification": 1,
                    "OriginalRegistrationDate": "",
                    "PreferredName": "",
                    "SSN": 7900,
                    "SensitivePatientRestrictedRecord": 0,
                    "SensitivePatientType": 0,
                    "Street": "123 SESAME ST",
                "CancelDateTime": "",
                    "cellularPhone": "",
                    "residentialPhone": ""
                },
                "PatientComments": [
                    ""
                ],
                "PriorXRayResults": "",
                "Provider": [
                    ""
                ],
                "CancellationReason": "",
                "PurposeOfVisit": "UNSCHED. VISIT",
                "RealAppointment": 1,
                "RequestIEN": 265493,
                "RequestType": "APPT",
                "Resource": {
                    "ClinicIEN": 5117,
                    "Name": "CHP VVS FL15 1SLOT"
                },
                "ResourceIEN": 3483,
                "RoutingSlipPrintDate": "",
                "CancellationRemarks": "",
                "RoutingSlipPrinted": "",
                "SchedulerName": "",
                "SchedulingApplication": "",
                "SchedulingRequestType": "WALKIN APPT.",
                "SpecialSurveyDisposition": "",
                "StartTimeFM": 3240709.17,
                "Status": "NO ACTION TAKEN",
                "StatusCancelDateTime": "",
                "VVSApptID": "",
                "VeteranVideoCallURL": "",
                "CancelledByUser": [
                "Walkin": "YES",
                "WardLocation": "",
                "XRAY": "",
                "XrayDateTime": ""
            },
            "Results": "Undo check-in successful"
        }
    ]
}
                    ""
                ],
                "CheckIn": "",
{
                "CheckInEntered": "",
                "CheckInSteps": [
                    ""
                ],
                "CheckInUser": "",
                "CheckOut": "",
                "CheckOutEntered": "",
                "CheckOutUser": "",
                "Clinic": {
                    "ClinicIEN": 5117,
    "undoCheckin": [
                    "CreditStopCodeAMIS": 679,
                    "CreditStopCodeName": "NC CVT TO HOME PROVID LOC",
                    "DisplayClinicAppt": "NO",
                    "Division": "CHEYENNE VAMROC",
                    "ECheckinAllowed": "YES",
                    "IsOverbook": 1,
                    "Name": "CHP VVS FL15 1SLOT",
                    "NonCountClinic": 0,
                    "PatientFriendlyName": "",
                    "PbspID": "",
        {
                    "PhysicalLocation": "",
                    "PreCheckinAllowed": "YES",
                    "ProhibitedClinic": 0,
                    "StationNumber": 442,
                    "StopCodeAMIS": 123,
                    "StopCodeName": "NUTRITION/DIETETICS-INDIVIDUAL",
                    "Telephone": "",
                    "TelephoneExtension": "",
                    "TimeZone": "EASTERN",
                    "TimeZoneDetails": [
            "Appointment": {
                        {
                            "Offset": "-0500",
                            "TimeFrame": "STANDARD",
                            "TimeZoneCode": "EST"
                        },
                        {
                            "Offset": "-0400",
                            "TimeFrame": "DAYLIGHT SAVINGS",
                            "TimeZoneCode": "EDT"
                        }
                "AppointmentCancelled": "",
                    ],
                    "TimeZoneException": "",
                    "VeteranSelfCancel": "YES"
                },
                "CollateralVisit": "",
                "ConsultLink": "",
                "CurrentStatus": "NO ACTION TAKEN",
                "DataEntryClerk": "XXXX,XXXX",
                "DateAppointmentMade": "2024-07-09T15:41:56-0400",
                "DesiredDateOfAppointment": "2024-07-09",
                "AppointmentDateTime": "2024-07-09T17:00-0400",
                "DuplicateApptSameDay": "",
                "EASTrackingNumber": 
"11d9dcc6-c6a2-j3ff-8031-8261576fca37",
                "EkgDateTime": "",
                "EncounterConversionStatus": "",
                "EncounterFormsAsAddOns": "",
                "EncounterFormsPrinted": "",
                "EndTime": "2024-07-09T17:15-0400",
                "FollowUpVisit": "NO",
                "InpatientFlag": 0,
                "AppointmentIEN": 300050,
                "LabDateTime": "",
                "LengthOfAppt": 15,
                "MRTCFlag": 0,
                "NextAvaApptIndicator": "NOT INDICATED TO BE A 'NEXT 
AVA.' APPT.",
                "NoShowCancelDateTime": "",
                "NoShowCancelledBy": "",
                "Note": "",
                "NoteAuditing": [
                    ""
                "AppointmentType": "SERVICE CONNECTED",
                ],
                "NumberOfCollateralSeen": "",
                "OriginatingRequestType": "APPT",
                "OtherTests": "",
                "OtherTravel": "  ",
                "OutpatientEncounter": "",
                "OverLaidAppointmentData": "NO",
                "OverbookFlag": "O",
                "ParentRecordRequest": "",
                "Patient": {