SDES GET APPTS BY CLINIEN LIST

TITLEVALUE
NAMESDES GET APPTS BY CLINIEN LIST
DESCRIPTIONAccepts array of clinic IENs and returns appointments for today. Today
is defined by the clinic's time zone.
TAGAPPTBYCLNLISTEAS
ROUTINESDESAPPT4
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERCLINICIENS
DESCRIPTIONArray of clinic iens
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH32000

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTIONLists the entire Appt Object(wrapper logic from all 3 files #409.84#2#44)
for each Appt in that Clinic for that day.
Else gives appropriate error.
{
"Clinics": [
{
"Appt": [
{
"AppointmentCancelled": "",
"AppointmentDateTime": "2023-02-24T08:00-0500",
"AppointmentIEN": 295747,
"AppointmentType": "CLASS II DENTAL",
"AppointmentTypeIEN": 2,
"AppointmentTypeSubCategory": "",
"AutoRebookedApptDateTime": "",
"CancelDateTime": "",
"CancellationReason": "",
"CancellationRemarks": "",
"CancelledByUser": [
""
],
"CheckIn": "",
"CheckInEntered": "",
"CheckInSteps": [
""
],
"CheckInUser": "",
"CheckOut": "",
"CheckOutEntered": "",
"CheckOutUser": "",
"Clinic": {
"ClinicIEN": 4118,
"Division": "CHEYENNE VAMROC",
"IsOverbook": 0,
"Name": "CHY ACUTE CARE 3",
"PatientFriendlyName": "CHY ACUTE CARE BAKER",
"PhysicalLocation": "",
"StationNumber": 442,
"Telephone": "",
"TelephoneExtension": "",
"DisplayClinicAppt": "YES",
"StopCodeAMIS": 323
"StopCodeName": "PRIMARY CARE",
"CreditStopCodeAMIS": 710,
"CreditStopCodeName": "IMMUNIZATION"
"TimeZone": "EASTERN",
"TimeZoneDetails": [
{
"Offset": "-0500",
"TimeFrame": "STANDARD",
"TimeZoneCode": "EST"
},
{
"Offset": "-0400",
"TimeFrame": "DAYLIGHT SAVINGS",
"TimeZoneCode": "EDT"
}

],
"TimeZoneException": ""
},
"CollateralVisit": "",
"ConsultLink": "",
"CurrentStatus": "NO ACTION TAKEN/TODAY",
"DataEntryClerk": "TEST,TEST A",
"DateAppointmentMade": "2023-02-24T13:26:27-0500",
"DesiredDateOfAppointment": "2021-06-11",
"DuplicateApptSameDay": "",
"EASTrackingNumber": "",
"ECheckinAloowed": "",
"EkgDateTime": "",
"EncounterConversionStatus": "",
"EncounterFormsAsAddOns": "",
"EncounterFormsPrinted": "",
"EndTime": "2023-02-24T08:30-0500",
"FollowUpVisit": "NO",
"LabDateTime": "",
"LengthOfAppt": 30,
"NextAvaApptIndicator": "NOT INDICATED TO BE A 'NEXT AVA.' APPT.",
"NoShowCancelDateTime": "",
"NoShowCancelledBy": "",
"Note": "",
"NumberOfCollateralSeen": "",
"OtherTests": "",
"OtherTravel": " ",
"OutpatientEncounter": "2023-02-24T08:00-0500",
"OverLaidAppointmentData": "NO",
"OverbookFlag": "",
"ParentRecordRequest": "",
"Patient": {
"CurrentEligibilityCode": "SC LESS THAN 50%",
"DFN": 7242560,
"DOBE": "1970-03-24",
"DOBI": 2700324,
"EligibilityE": "SC LESS THAN 50%",
"EligibilityI": 3,
"EligibilityIEN": 3,
"EligibilityOfVisit": "SC LESS THAN 50%",
"EnrollmentCode": "",
"EnrollmentDate": "",
"FugitiveFelonFlag": "NO",
"Gender": "FEMALE",
"ICN": "4420062172V859025",
"InsuranceVerification":
"{\"NeedInsuranceVerification\":{\"YesNo\":1}}",
"LocalFlag": [
""
],
"Name": "GEORGE,TEST",
"NationalFlag": [
""
],
"RegistrationEditDate": "",
"SSN": 9812,
"SensitiveRecord": 0,
"Street": "923 SMITHY STREET"
},
"PatientComments": "",
"PreCheckinAllowed": "",
"PriorXRayResults": "",
"Provider": {
"ID": 520658009,
"Name": "BRICKEY,MARISSA L",
"SecId": ""
},
"PurposeOfVisit": "SCHEDULED VISIT",
"RealAppointment": 1,
"Request": 249331,
"RequestType": "APPT",
"Resource": {
"ClinicIEN": 4118,
"Name": "CHY ACUTE CARE 3"
},
"ResourceIEN": 2410,
"RoutingSlipPrintDate": "",
"RoutingSlipPrinted": "",
"SchedulerName": "",
"SchedulingApplication": "",
"SchedulingRequestType": "OTHER THAN 'NEXT AVA.' (CLINICIAN REQ.)",
"SpecialSurveyDisposition": "",
"StartTimeFM": 3230224.08,
"Status": "NO ACTION TAKEN/TODAY",
"StatusCancelDateTime": "",
"VVSApptID": "",
"VeteranVideoCallURL": "",
"Walkin": "",
"WardLocation": "",
"XRAY": "",
"XrayDateTime": ""
}
],
"IEN": 4118,
"Station": 442
},
{
"Appt": "",
"IEN": 5367,
"Station": 442
}
]
}
AVAILABILITYRESTRICTED
INACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWEDYes