SDES GET APPTS BY IENS2 (4892)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES GET APPTS BY IENS2
TAG APPTSLISTBYIEN
ROUTINE SDESGETAPPTSIEN2
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON FALSE
VERSION 1
APP PROXY ALLOWED Yes
DESCRIPTION
 Returns Appointment details based on list of Appointment IENS
Currently set to take in SDEAS numbers from an array in corresponding 
 nodes. 
INPUT PARAMETER
  • EASAUDITID
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    EAS Audit ID Number
    
  • APPTIENS
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   255
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Array of Appointment IENS
    
  • SDEASARRAY
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   255
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
     List of EAS numbers corresponding to Appointment IEN of same node. 
    
RETURN PARAMETER DESCRIPTION
 {
                         "AutoRebookedApptDateTime": "",
 VET.",
                                 "EnrollmentCode": "",
                                 "EnrollmentDate": "",
                                 "ICN": "4420062148V046561",
                                 "Name": "VVS,THREE",
                                 "SSN": 3626,
                                 "Street": "10000 MAIN"
                         },
  "PatientComments": "",                       
  "PreCheckinAllowed": "", 
                         "CancelDateTime": "",
 "PriorXRayResults": "",
                         "Provider": {
                                 "ID": 520637558,
                                 "Name": "SMIDA,REUBEN",
                                 "SecId": 1023705699
                         },
                         "PurposeOfVisit": "SCHEDULED VISIT",
                         "RealAppointment": 1,
                         "RequestIEN": 27342,
                         "RequestType": "RECALL",
                         "CancellationReason": "",
                         "Resource": {
                                 "ClinicIEN": 2147,
                                 "Name": "CHY CARDIOLOGY"
                         },
                         "ResourceIEN": 1058,
                         "RoutingSlipPrintDate": "",
                         "RoutingSlipPrinted": "",
                         "SchedulerName": "",
                         "SchedulingApplication": "",
                         "SchedulingRequestType": "OTHER THAN 'NEXT AVA.' 
                         "CancellationRemarks": "",
 (CLINICIAN REQ.)",
                         "SpecialSurveyDisposition": "",
                         "StartTimeFM": 3220408.113,
                         "Status": "NO ACTION TAKEN",
                         "StatusCancelDateTime": "",
                         "VVSApptID": 
 "524AA365-EB0E-49AB-89A6-D9CE8E34764E",
                         "VeteranVideoCallURL": "",
                         "Walkin": "",
                         "WardLocation": "",
                         "CancelledByUser": [
                         "XRAY": "",
                         "XrayDateTime": ""
                 },
                 {
"Error": [
    "Invalid Appointment ID: nnnnnn",
    "Missing Appointment ID:"
  ]
}
                                 ""
                         ],
                         "CheckIn": "",
                         "CheckInEntered": "",
                         "CheckInSteps": [
         "Appointment": [
                                 {
                                         "DateTime": 
 "2022-04-21T12:10:54-0400",
                                         "IEN": 1,
                                         "Status": "E-CHECK-IN STARTED"
                                 }
                         ],
                         "CheckInUser": "",
                         "CheckOut": "",
                         "CheckOutEntered": "",
                 {
                         "CheckOutUser": "",
                         "Clinic": {
                                 "ClinicIEN": 2147,
                                 "Division": "CHEYENNE VAMROC",
                                 "IsOverbook": 0,
                                 "Name": "CHY CARDIOLOGY",
                                 "PatientFriendlyName": "CHY CARDIOLOGY",
                                 "PhysicalLocation": "ARROWHEAD BLD A1-16 
 OR 17",
                                 "StationNumber": 442,
                         "AppointmentCancelled": "",
                                 "Telephone": "(307)778-7550",
                                 "TelephoneExtension": "x1234",
                                 "DisplayClinicAppt": "YES",      
 "ECheckinAllowed": "",                                
 "StopCodeAMIS": 323
                                 "StopCodeName": "PRIMARY CARE",  
                                 "CreditStopCodeAMIS": 710,    
                                 "CreditStopCodeName": "IMMUNIZATION"    
  
  "TimeZone": "EASTERN",
                         "AppointmentDateTime": "2022-04-08T11:30-0400",
                                 "TimeZoneDetails": [
                                         {
                                                 "Offset": "-0500",
                                                 "TimeFrame": "STANDARD",
                                                 "TimeZoneCode": "EST"
                                         },
                                         {
                                                 "Offset": "-0400",
                                                 "TimeFrame": "DAYLIGHT 
 SAVINGS",
                         "AppointmentIEN": 290500,
                                                 "TimeZoneCode": "EDT"
                                         }
                                 ],
                                 "TimeZoneException": ""
                         },
                         "CollateralVisit": "",
                         "ConsultLink": "",
                         "CurrentStatus": "NO ACTION TAKEN",
                         "DataEntryClerk": "GUNES,OZNUR",
                         "DateAppointmentMade": "2022-04-07T14:24-0400",
                         "AppointmentType": "REGULAR",
                         "DesiredDateOfAppointment": "2022-04-08",
                         "DuplicateApptSameDay": "",
                         "EASTrackingNumber": 123,
                         "EkgDateTime": "",
                         "EncounterConversionStatus": "",
                         "EncounterFormsAsAddOns": "",
                         "EncounterFormsPrinted": "",
                         "EndTime": "2022-04-08T12:00-0400",
                         "FollowUpVisit": "YES",
                         "LabDateTime": "",
                         "AppointmentTypeIEN": 9,
                         "LengthOfAppt": 30,
                         "NextAvaApptIndicator": "NOT INDICATED TO BE A 
 'NEXT AVA.' APPT.",
                         "NoShowCancelDateTime": "",
                         "NoShowCancelledBy": "",
                         "Note": "",
                         "NumberOfCollateralSeen": "",
                         "OriginatingRequestType": "APPT",
                         "OtherTests": "",
                         "OtherTravel": "  ",
                         "AppointmentTypeSubCategory": "",
                         "OutpatientEncounter": "2022-04-08T11:30-0400",
                         "OverLaidAppointmentData": "NO",
                         "OverbookFlag": "",
                         "ParentRecordRequest": "",
                         "Patient": {
                                 "CurrentEligibilityCode": "COLLATERAL OF 
 VET.",
                                 "DFN": 25041,
                                 "EligibilityIEN": 12,
                                 "EligibilityOfVisit": "COLLATERAL OF