SDES GET APPTREQ BY INST (4801)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES GET APPTREQ BY INST
TAG GETREQSBYINTOPEN
ROUTINE SDESGETAREQINST
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
APP PROXY ALLOWED Yes
DESCRIPTION
Returns all open Appt Reqs from file 409.85 for all the Clinics under 
given Institution.
INPUT PARAMETER
  • INST
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Instituion number from file #4
    
  • YEAR
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Year for which the RPC should return the open Appt Reqs. Valid input 
    range(1900-current year)
    
  • EAS
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    Optional EAS parameter
    
RETURN PARAMETER DESCRIPTION
Returns all the open Appt Reqs from file 409.85 under the given 
 "CPRSTimeSensitive": 0,
 "RecallPatientSensitiveRecordAccessChecks": "",
 "RecallProviderIEN": "",
 "RecallProviderIndicatedDate": "",
 "RecallProviderName": "",
 "RecallProviderNewPersonIEN": "",
 "RecallProviderSecID": "",
 "RecallSecondPrint": "",
 "RecallSimilarPatientData": "",
 "RequestComments": 7512,
 "RequestIEN": 264613,
 "ChildRequestSequenceNumber": 6,
 "RequestSubType": "RETURN TO CLINIC",
 "ScheduledDateOfAppt": "",
 "SdecContactDateOfLastLetterSent": "",
 "SdecContactNumberOfCalls": "",
 "SdecContactNumberOfContacts": "",
 "SdecContactNumberOfEmailContact": "",
 "SdecContactNumberOfLetters": "",
 "SdecContactNumberOfSecureMessage": "",
 "SdecContactNumberOfTextContact": "",
 "ServiceConnectedPercentage": "",
 "ClinicIEN": 325,
 "ServiceConnectedPriority": "NO",
 "Status": "OPEN",
 "Type": "Appt Request"
}
 "ClinicName": "CHY EMERGENCY ROOM",
 "ClinicSecondaryStopCodeAMIS": "",
 "ClinicSecondaryStopCodeIEN": "",
 "ClinicSecondaryStopCodeName": "",
 "ClinicStopCodeAMIS": 130,
 "ClinicStopCodeIEN": 241,
 "ClinicStopCodeName": "EMERGENCY DEPT",
Institution number and year. Returns appropriate error if unsuccessful.
 "CommentMultiple": [
  ""
 ],
 "ConsultAssociatedStopCodes": [
  ""
 ],
 "ConsultCanEditPid": "",
 "ConsultClinicIndicatedDate": "",
 "ConsultCovidPriority": "",
 "ConsultDateReleasedFromCPRS": "",
{
 "ConsultProhibitedClinicFlag": "",
 "ConsultRequestType": "",
 "ConsultServiceRenderedAs": "",
 "ConsultToService": "",
 "ConsultUrgencyOrEarliestDate": "",
 "CreateDate": "2024-03-13",
 "CreditStopCodeAMIS": 179,
 "CreditStopCodeIEN": 391,
 "CreditStopCodeName": "RT CLIN VID CARE HOME",
 "DateLinkedApptMade": "",
 "ApptType": "",
 "DateTimeEntered": "2024-03-13T12:00-0400",
 "DisplayClinicAppt": "NO",
 "DispositionIEN": "",
 "DispositionReason": "",
 "DispositionedBy": "",
 "DispositionedDate": "",
 "EASTrackingNumber": "",
 "EnrollmentPriorityGroup": "GROUP 7",
 "EnteredByIEN": 520881792,
 "EnteredByName": "",
 "ByPatientOrProvider": "PROVIDER",
 "InstitutionIEN": 442,
 "InstitutionName": "CHEYENNE VA MEDICAL",
 "InstitutionNumber": 442,
 "LinkedApptClinic": "",
 "LinkedApptCreditStopCode": "",
 "LinkedApptEnteredBy": "",
 "LinkedApptInstitutionName": "",
 "LinkedApptInstitutionNumber": "",
 "LinkedApptStatus": "",
 "LinkedApptStopCode": "",
 "CPRSOrderID": 7512,
 "MRTC": [
  ""
 ],
 "MRTCDaysBetweenAppts": 2,
 "MRTCHowManyNeeded": 6,
 "MRTCNeeded": "YES",
 "ModalityCode": "",
 "ModalityName": "",
 "PIDChangeAllowed": 0,
 "ParentRequest": 264607,
 "CPRSPreRequisites": [
 "PatientComment": [
  ""
 ],
 "PatientContact": [
  ""
 ],
 "PatientICN": "4420062573V487358",
 "PatientIEN": 7242647,
 "PatientIndicatedDate": "2024-03-23",
 "PatientLast4":
  ""
 "PatientName": "TEST,SRAV",
 "PatientStatus": "NEW",
 "Priority": "FUTURE",
 "ProviderIEN": 520881805,
 "ProviderName": "",
 "ProviderSecID": 1046169286,
 "RecallAccessionNumber": "",
 "RecallAppointmentLength": "",
 "RecallAppointmentType": "",
 "RecallClinicSecondaryStopCodeAMIS": "",
 ],
 "RecallClinicSecondaryStopCodeIEN": "",
 "RecallClinicSecondaryStopCodeName": "",
 "RecallClinicStopCodeAMIS": "",
 "RecallClinicStopCodeIEN": "",
 "RecallClinicStopCodeName": "",
 "RecallComment": "",
 "RecallDateReminderSent": "",
 "RecallEnteredBySecID": "",
 "RecallFastingNonFasting": "",
 "RecallGAFScore": "",