SDES GET CLINICS BY CLIN LIST (4784)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES GET CLINICS BY CLIN LIST
TAG CLINICLISTBYIEN
ROUTINE SDESGETCLINSIEN
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON FALSE
VERSION 1
APP PROXY ALLOWED Yes
DESCRIPTION
New RPC to allow batch up to 50 Clinic IENs, returning Clinic Details.
INPUT PARAMETER
  • CLINICIENS
    PARAMETER TYPE:   LIST
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Array of Clinic IENS.
    
RETURN PARAMETER DESCRIPTION
Clinic information from HOSPITAL LOCATION (#44) File.
   "ApptCancelLetter": "CHY SPEC 2 AC",
 ],
 "Error": {
  "ClinicIEN 123456789": [
   "Invalid Clinic ID."
  ],
  "Max": [
   "Search string exceeds 50 Clinic IEN limit."
  ]
 }
}
   "CHAR4": "",
     "Name": "ABIDE,JILLIAN R"
    },
    {
     "DefaultForClinic": "YES",
     "IEN": 520638595,
     "Name": "SIGRIST,LUCIA E"
    },
    {
     "DefaultForClinic": "",
     "IEN": 520760445,
   "CancelLetter": "CHY SPEC 2 CC",
     "Name": "MARHOEFER,MINDY A"
    },
    {
     "DefaultForClinic": "NO",
     "IEN": 520742093,
     "Name": "MARKT,CLEVELAND A"
    }
   ],
   "Reactivate Date": "2022-08-08",
   "ReqActionProfiles": "NO",
   "CheckinCheckoutTime": "YES",
   "ReqXrayFilms": "YES",
   "Resource IEN": 3634,
   "Service": "NONE",
   "Special Instructions": [
    "NEW PTS 60 MIN/EST PTS 30 MIN",
    "LINE11",
    "LINE12",
    "LINE13",
    "New line of special intructions",
    "ADD LINE 2",
   "ClinicIEN": 2147,
    "LINE 6",
    "LINE 7",
    "LINE8",
    "LINE9"
   ],
   "StationNumber": 442,
   "StopCodeAMISNum": 147,
   "StopCodeName": "TELEPHONE/ANCILLARY",
   "StopCodeNum": 305,
   "Telephone": "888-123-4567",
   "ClinicName": "CHY CARDIOLOGY",
   "TelephoneExtension": 228,
   "Timezone": "EASTERN",
   "TimezoneException": 0,
   "VariableApptLength": "",
   "WorkloadValidationCheckout": "YES"
  },
  {
   "Abbreviation": "CANDISP",
   "AdminInpatientMeds": "",
   "AllowPatScheduling": "YES",
   "ClinicStatus": "ACTIVE",
   "AllowableConsecutiveNoShows": 999,
   "ApptCancelLetter": "",
   "CHAR4": "",
   "CancelLetter": "",
   "CheckinCheckoutTime": "",
   "ClinicIEN": 5642,
   "ClinicName": "CHY TEST CANCEL DISPLAY",
   "ClinicStatus": "ACTIVE",
   "CreditStopCodeAMISNum": "",
   "CreditStopCodeName": "",
   "CreditStopCodeAMISNum": 179,
   "CreditStopCodeNum": "",
   "DefaultApptType": "REGULAR",
   "DefaultToPCPractitioner": "",
   "DisplayClinicAppt": "YES",
   "DivisionIEN": 1,
   "DivisionName": "CHEYENNE VAMROC",
   "ECheckinAllowed": "NO",
   "Hash": "01202AD7A930A94C6E97D3C89061977F250446AF",
   "HolidaySchedule": "",
   "HourClinicDisplayBegins": 8,
   "CreditStopCodeName": "RT CLIN VID CARE HOME",
   "Inactivate Date": "",
   "IncrementsPerHr": "30-MIN ",
   "LastHashTimestamp": "2024-02-08T03:00:29-0500",
   "LengthOfAppt": 30,
   "MaxDaysForFutureBooking": 390,
   "MeetsAtThisFacility": "YES",
   "NoShowLetter": "",
   "NoShowLetterIEN": "",
   "NonCountClinic": "NO",
   "OverbooksPerDayMax": 3,
   "CreditStopCodeNum": 391,
   "PatientFriendlyName": "",
   "PbspID": "TESTING PBSP ID",
   "PhysicalLocation": "",
   "PreApptLetter": "",
   "PreCheckinAllowed": "NO",
   "Principal": "",
   "ProhibitAccessToClinic": "",
   "Reactivate Date": "",
   "ReqActionProfiles": "YES",
   "ReqXrayFilms": "",
 Return Data is in JSON format.
   "DefaultApptType": "REGULAR",
   "Resource IEN": 4049,
   "Service": "MEDICINE",
   "StationNumber": 442,
   "StopCodeAMISNum": 303,
   "StopCodeName": "CARDIOLOGY",
   "StopCodeNum": 147,
   "Telephone": "",
   "TelephoneExtension": "",
   "Timezone": "EASTERN",
   "TimezoneException": 0,
   "DefaultToPCPractitioner": "YES",
   "VariableApptLength": "",
   "WorkloadValidationCheckout": ""
  }
 ]
}
   "Diagnosis": [
    {
     "Code": "I50.23",
     "DefaultForClinic": "YES"
    },
    {
     "Code": "I50.33",
     "DefaultForClinic": ""
{
    }
   ],
   "DisplayClinicAppt": "YES",
   "DivisionIEN": 1,
   "DivisionName": "CHEYENNE VAMROC",
   "ECheckinAllowed": "YES",
   "Hash": "216307BDEE36110639BBD05176091946EA71CF97",
   "HolidaySchedule": "YES",
   "HourClinicDisplayBegins": 8,
   "Inactivate Date": "",
 "Clinic": [
   "IncrementsPerHr": "30-MIN ",
   "LastHashTimestamp": "2024-03-04T07:45:49-0500",
   "LengthOfAppt": 30,
   "MaxDaysForFutureBooking": 999,
   "MeetsAtThisFacility": "YES",
   "NoShowLetter": "CHY SPEC 2 NS",
   "NoShowLetterIEN": 20,
   "NonCountClinic": "NO",
   "OverbooksPerDayMax": 3,
   "PatientFriendlyName": "CHY CARDIOLOGY",
  {
   "PbspID": 333,
   "PhysicalLocation": "ARROWHEAD BLD A1-16 OR 17",
   "PreApptLetter": "CHY SPEC 2 PA",
   "PreCheckinAllowed": "YES",
   "Principal": "",
   "PrivilegedUser": [
    {
     "IEN": 12345,
     "Name": "TEST,USER L"
    },
   "Abbreviation": "CHY",
    {
     "IEN": 67890,
     "Name": "TEST,USER M"
    }
   ],
   "ProhibitAccessToClinic": "",
   "Provider": [
    {
     "DefaultForClinic": "YES",
     "IEN": 1824,
   "AdminInpatientMeds": "",
     "Name": "TEST,USER J"
    },
    {
     "DefaultForClinic": "NO",
     "IEN": 123456,
     "Name": "TEST,USER B"
    }
   ],
   "Reactivate Date": "",
   "ReqActionProfiles": "NO",
   "AllowPatScheduling": "YES",
   "ReqXrayFilms": "",
   "Resource IEN": 1058,
   "Service": "MEDICINE",
   "Special Instructions": [
    "NEW PTS 60 MIN\/EST PTS 30 MIN; OVERBOOKS MUSTPPROVED BY DR. HATTEL",
    "special instructions again",
    "special instructions line 3",
    "TEST SPECIAL CHARACTERS ORDER"
   ],
   "StationNumber": 442,
   "AllowableConsecutiveNoShows": 6,
   "StopCodeAMISNum": 303,
   "StopCodeName": "CARDIOLOGY",
   "StopCodeNum": 147,
   "Telephone": "(888)123-4567",
   "TelephoneExtension": 1234,
   "Timezone": "EASTERN",
   "TimezoneException": 0,
   "VariableApptLength": "YES, VARIABLE LENGTH",
   "WorkloadValidationCheckout": "YES"
  }