SDES GET APPTS BY CLINIEN LIST (4779)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES GET APPTS BY CLINIEN LIST
TAG APPTBYCLNLISTEAS
ROUTINE SDESAPPT4
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
APP PROXY ALLOWED Yes
DESCRIPTION
Accepts array of clinic IENs and returns appointments for today.  Today 
is defined by the clinic's time zone.
INPUT PARAMETER
  • CLINICIENS
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   32000
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Array of clinic iens
    
RETURN PARAMETER DESCRIPTION
Lists the entire Appt Object(wrapper logic from all 3 files #409.84#2#44)
     "AppointmentDateTime": "2023-02-24T08:00-0500",
      "EnrollmentDate": "",
      "FugitiveFelonFlag": "NO",
      "Gender": "FEMALE",
      "ICN": "4420062172V859025",
      "InsuranceVerification": 
"{\"NeedInsuranceVerification\":{\"YesNo\":1}}",
      "LocalFlag": [
       ""
      ],
      "Name": "GEORGE,TEST",
     "AppointmentIEN": 295747,
      "NationalFlag": [
       ""
      ],
      "RegistrationEditDate": "",
      "SSN": 9812,
      "SensitiveRecord": 0,
      "Street": "923 SMITHY STREET"
     },
 "PatientComments": "",    
 "PreCheckinAllowed": "", 
     "AppointmentType": "CLASS II DENTAL",
 "PriorXRayResults": "",
     "Provider": {
      "ID": 520658009,
      "Name": "BRICKEY,MARISSA L",
      "SecId": ""
     },
     "PurposeOfVisit": "SCHEDULED VISIT",
     "RealAppointment": 1,
     "Request": 249331,
     "RequestType": "APPT",
     "AppointmentTypeIEN": 2,
     "Resource": {
      "ClinicIEN": 4118,
      "Name": "CHY ACUTE CARE 3"
     },
     "ResourceIEN": 2410,
     "RoutingSlipPrintDate": "",
     "RoutingSlipPrinted": "",
     "SchedulerName": "",
     "SchedulingApplication": "",
     "SchedulingRequestType": "OTHER THAN 'NEXT AVA.' (CLINICIAN REQ.)",
     "AppointmentTypeSubCategory": "",
     "SpecialSurveyDisposition": "",
     "StartTimeFM": 3230224.08,
     "Status": "NO ACTION TAKEN/TODAY",
     "StatusCancelDateTime": "",
     "VVSApptID": "",
     "VeteranVideoCallURL": "",
     "Walkin": "",
     "WardLocation": "",
     "XRAY": "",
     "XrayDateTime": ""
     "AutoRebookedApptDateTime": "",
    }
   ],
   "IEN": 4118,
   "Station": 442
  },
  {
   "Appt": "",
   "IEN": 5367,
   "Station": 442
  }
     "CancelDateTime": "",
 ]
}
     "CancellationReason": "",
     "CancellationRemarks": "",
     "CancelledByUser": [
for each Appt in that Clinic for that day.
      ""
     ],
     "CheckIn": "",
     "CheckInEntered": "",
     "CheckInSteps": [
      ""
     ],
     "CheckInUser": "",
     "CheckOut": "",
     "CheckOutEntered": "",
Else gives appropriate error.
     "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",
 "Clinics": [
        "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": "",
   "Appt": [
 "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": "",
     "AppointmentCancelled": "",
     "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": "",