SDES2 GET CLINICS BY CLIN LIST

TITLEVALUE
NAMESDES2 GET CLINICS BY CLIN LIST
DESCRIPTIONNew RPC to allow batch of up to 50 Clinic IENs, returning Clinic details.
TAGCLINICLIST
ROUTINESDES2CLININFO
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERSDCONTEXT
DESCRIPTIONSDCONTEXT("ACHERON AUDIT ID")
- Up to 40 Character unique ID number.
- Ex: 11d9dcc6-c6a2-4785-8031-8261576fca37
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 calling application.
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.
PARAMETER TYPELIST
REQUIREDYES
MAXIMUM DATA LENGTH32000

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERSDINPUT
DESCRIPTIONSDINPUT("CLINICIEN",1)=Clinic IEN from the HOSPITAL LOCATION file (#44)
SDINPUT("HASHFLAG",1)=0|1 Flag to update the clinic, will default to 0
if not passed
SDINPUT("CLINICIEN",2)=Optional Clinic IENs to return
SDINPUT("HASHFLAG",2)=Optional Hash Flags
SDINPUT("CLINICIEN",n)=Can pass up to 50 clinic IENs
SDINPUT("HASHFLAG",n)=Optional Hash Flags
PARAMETER TYPELIST
REQUIREDYES
MAXIMUM DATA LENGTH32000

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTION{
"Clinic": {
"Abbreviation": "",
"AdminInpatientMeds": "",
"AllowPatScheduling": "NO",
"AllowableConsecutiveNoShows": 5,
"ApptCancelLetter": "",
"CHAR4": "",
"CancelLetter": "",
"CheckinCheckoutTime": "",
"ClinicIEN": 5230,
"ClinicName": "TEST CLINIC 1",
"ClinicStatus": "ACTIVE",
"CreditStopCodeAMISNum": "",
"CreditStopCodeName": "",
"CreditStopCodeNum": "",
"DefaultApptType": "",
"DefaultToPCPractitioner": "",
"DisplayClinicAppt": "YES",
"DivisionIEN": 1,
"DivisionName": "CHEYENNE VAMROC",
"ECheckinAllowed": "NO",
"Hash": "3EDECDD21A492679EEB982CEA559FC2E5AFD0EDE",
"HolidaySchedule": "",
"HourClinicDisplayBegins": 8,
"InactivateDate": "",
"IncrementsPerHr": "20-MIN ",
"LastHashTimestamp": "2025-01-09T07:51:20-0500",
"LengthOfAppt": 20,
"MaxDaysForFutureBooking": 30,
"MeetsAtThisFacility": "",
"NoShowLetter": "",
"NoShowLetterIEN": "",
"NonCountClinic": "NO",
"OverbooksPerDayMax": 4,
"PatientFriendlyName": "",
"PbspID": 45678990,
"PhysicalLocation": "",
"PreApptLetter": "",
"PreCheckinAllowed": "NO",
"Principal": "",
"ProhibitAccessToClinic": "",
"Provider": [
{
"DefaultForClinic": "NO",
"IEN": 520849928,
"Name": "TEST,NURSE R",
"Title": "REGISTERED NURSE"
}
],
"ReactivateDate": "",
"ReqActionProfiles": "YES",
"ReqXrayFilms": "",
"Resource IEN": 3598,
"Service": "MEDICINE",
"SpecialInstructions": "",
"StationNumber": 442,
"StopCodeAMISNum": 303,
"StopCodeName": "CARDIOLOGY",
"StopCodeNum": 147,
"Subspecialty": [
""
],
"Telephone": "",
"TelephoneExtension": "",
"Timezone": "EASTERN",
"TimezoneException": 0,
"VariableApptLength": "",
"VeteranSelfCancel": "YES",
"WorkloadValidationCheckout": ""
}
}
"Instruction": "THIS IS THE FIRST",
"InstructionID": 1
},
{
"Instruction": "THIS IS A SPECIAL INSTRUCTION",
"InstructionID": 2
}
],
"StationNumber": 442,
"StopCodeAMISNum": 323,
"StopCodeName": "PRIMARY CARE/MEDICINE",
"StopCodeNum": 296,
"Telephone": "",
"TelephoneExtension": "",
"Timezone": "EASTERN",
"TimezoneException": 0,
"VariableApptLength": "YES, VARIABLE LENGTH",
"VeteranSelfCancel": "YES",
"WorkloadValidationCheckout": "YES"
}
}
AVAILABILITYRESTRICTED
INACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION1
SUPPRESS RDV USER SETUP
APP PROXY ALLOWEDYes