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 
 
Can only be invoked by Acheron
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": "",
     {
      "ID": 1,
      "Name": "SUBSPECIALTY TEST 1",
      "Tier": "SECONDARY",
      "Parent": ""
     },
     {
      "ID": 2,
      "Name": "SUBSPECIALTY TEST 2",
      "Tier": "TERTIARY",
                 "CHAR4": "",
      "Parent": 1
     }
    ],
    "Telephone": "",
    "TelephoneExtension": "",
    "Timezone": "EASTERN",
    "TimezoneException": 0,
    "VariableApptLength": "YES, VARIABLE LENGTH",
    "VeteranSelfCancel": "YES",
    "WorkloadValidationCheckout": "YES"
                 "CancelLetter": "",
   }
  }
                 "CheckinCheckoutTime": "",
                 "ClinicIEN": 5230,
                 "ClinicName": "TEST CLINIC 1",
                 "ClinicStatus": "ACTIVE",
                 "CreditStopCodeAMISNum": "",
                 "CreditStopCodeName": "",
                 "CreditStopCodeNum": "",
  Return Data is in JSON format.
                 "DefaultApptType": "",
                 "DefaultToPCPractitioner": "",
                 "Diagnosis": [
                        {
                               "Code":""
                               "DefaultForClinic":""
                        }       
                  ],
                 "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",
         "Clinic": {
                 "Principal": "",
                 "PrivilegedUser": [
                         {
                                 "Name":"",
                                 "IEN":""  
                         }
                 ],
                 "ProhibitAccessToClinic": "",
                 "Provider": [
                         {
                 "Abbreviation": "",
                                 "DefaultForClinic": "NO",
                                 "IEN": 520849928,
                                 "Name": "TESTER,MAY RN",
                                 "Title": "REGISTERED NURSE"
                         }
                 ],
                 "ReactivateDate": "",
                 "ReqActionProfiles": "YES",
                 "ReqXrayFilms": "",
                 "Resource IEN": 3598,
                 "AdminInpatientMeds": "",
                 "Service": "MEDICINE",
                 "SpecialInstructions": "",
                 "StationNumber": 442,
                 "StopCodeAMISNum": 303,
                 "StopCodeName": "CARDIOLOGY",
                 "StopCodeNum": 147,
                 "Subspecialty": [
                         ""
                 ],
                 "Telephone": "",
                 "AllowPatScheduling": "NO",
                 "TelephoneExtension": "",
                 "Timezone": "EASTERN",
                 "TimezoneException": 0,
                 "VariableApptLength": "",
                 "VeteranSelfCancel": "YES",
                 "WorkloadValidationCheckout": ""
         }
 }
      "InstructionID": 1
     },
                 "AllowableConsecutiveNoShows": 5,
     {
      "Instruction": "THIS IS A SPECIAL INSTRUCTION",
      "InstructionID": 2
     }
    ],
    "StationNumber": 442,
    "StopCodeAMISNum": 323,
    "StopCodeName": "PRIMARY CARE/MEDICINE",
    "StopCodeNum": 296,
    "Subspecialty": [