SDES2 GET CLINIC INFO

TITLEVALUE
NAMESDES2 GET CLINIC INFO
DESCRIPTIONNew RPC to get the clinic details by Clinic IEN and allow the user to
update the clinic hash if specified

Can only be invoked by Acheron
TAGENTRY
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")=Clinic IEN from the HOSPITAL LOCATION file (#44)
SDINPUT("HASHFLAG")=0|1 Flag to update the clinic, will default to 0
if not passed - optional parameter
PARAMETER TYPELIST
REQUIREDYES
MAXIMUM DATA LENGTH32000

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTIONClinic information from HOSPITAL LOCATION (#44) File.
Return Data is in JSON format.

{
"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": "TESTER,MAY RN",
"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": ""
}
}
"InstructionID": 1
},
{
"Instruction": "THIS IS A SPECIAL INSTRUCTION",
"InstructionID": 2
}
],
"StationNumber": 442,
"StopCodeAMISNum": 323,
"StopCodeName": "PRIMARY CARE/MEDICINE",
"StopCodeNum": 296,
"Subspecialty": [
{
"ID": 1,
"Name": "SUBSPECIALTY TEST 1",
"Tier": "SECONDARY",
"Parent": ""
},
{
"ID": 2,
"Name": "SUBSPECIALTY TEST 2",
"Tier": "TERTIARY",
"Parent": 1
}
],
"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