SDES2 GET CLINIC INFO (5067)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES2 GET CLINIC INFO
TAG ENTRY
ROUTINE SDES2CLININFO
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
VERSION 1
APP PROXY ALLOWED Yes
DESCRIPTION
New RPC to get the clinic details by Clinic IEN and allow the user to
update the clinic hash if specified 
INPUT PARAMETER
  • SDCONTEXT
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   32000
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    SDCONTEXT("ACHERON AUDIT ID")
    SDCONTEXT("PATIENT ICN")
      - The ICN of the target patient from the calling application.
      - 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.
    
  • SDINPUT
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   32000
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    SDINPUT("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
    
RETURN PARAMETER DESCRIPTION
Clinic information from HOSPITAL LOCATION (#44) File.
   "ApptCancelLetter": "CHY AMB CARE AC",
   "CHAR4": "POTH",
   "CancelLetter": "CHY AMB CARE CC",
   "CheckinCheckoutTime": "YES",
   "ClinicIEN": 4118,
   "ClinicName": "CHY ACUTE CARE 3",
   "ClinicStatus": "ACTIVE",
   "CreditStopCodeAMISNum": 679,
   "CreditStopCodeName": "NC CVT TO HOME PROVID LOC",
   "CreditStopCodeNum": 583,
  Return Data is in JSON format.
   "DefaultApptType": "REGULAR",
   "DefaultToPCPractitioner": "",
   "DisplayClinicAppt": "YES",
   "DivisionIEN": 1,
   "DivisionName": "CHEYENNE VAMROC",
   "ECheckinAllowed": "YES",
   "Hash": "3E57526517F492C0CF0BD23008B64BA3E166E6F5",
   "HolidaySchedule": "",
   "HourClinicDisplayBegins": 8,
   "InactivateDate": "2022-07-04",
  
   "IncrementsPerHr": "30-MIN ",
   "LastHashTimestamp": "2024-02-08T03:00:23-0500",
   "LengthOfAppt": 30,
   "MaxDaysForFutureBooking": 999,
   "MeetsAtThisFacility": "YES",
   "NoShowLetter": "CHY AMB CARE NS",
   "NoShowLetterIEN": 171,
   "NonCountClinic": "NO",
   "OverbooksPerDayMax": 99,
   "PatientFriendlyName": "CHY ACUTE CARE BAKER",
 {
   "PbspID": 373737373737,
   "PhysicalLocation": "",
   "PreApptLetter": "CHY AMB CARE PA",
   "PreCheckinAllowed": "YES",
   "Principal": "",
   "PrivilegedUser": [
    {
     "IEN": 2683,
     "Name": "TEST,USER Z"
    },
  "Clinic": {
    {
     "IEN": 520629954,
     "Name": "TEST,USER"
    },
  
   ],
   "ProhibitAccessToClinic": "YES",
   "Provider": [
    {
     "DefaultForClinic": "YES",
   "Abbreviation": "ACUTE",
     "IEN": 520690474,
     "Name": "PROVIDER ,MYRA SUE"
    },
    {
     "DefaultForClinic": "",
     "IEN": 520881793,
     "Name": "USER,SUPER"
    },
   ],
   "ReactivateDate": "2022-09-01",
   "AdminInpatientMeds": "",
   "ReqActionProfiles": "NO",
   "ReqXrayFilms": "",
   "Resource IEN": 2410,
   "Service": "MEDICINE",
   "SpecialInstructions": [
    {
     "Instruction": "THIS IS THE FIRST",
     "InstructionID": 1
    },
    {
   "AllowPatScheduling": "NO",
     "Instruction": "THIS IS A SPECIAL INSTRUCTION",
     "InstructionID": 2
    }
   ],
   "StationNumber": 442,
   "StopCodeAMISNum": 323,
   "StopCodeName": "PRIMARY CARE/MEDICINE",
   "StopCodeNum": 296,
   "Telephone": "",
   "TelephoneExtension": "",
   "AllowableConsecutiveNoShows": 2,
   "Timezone": "EASTERN",
   "TimezoneException": 0,
   "VariableApptLength": "YES, VARIABLE LENGTH",
   "VeteranSelfCancel": "YES",
   "WorkloadValidationCheckout": "YES"
  }
 }