SDES GET APPTREQ BY INST2 (4963)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES GET APPTREQ BY INST2
TAG GETREQSBYINST
ROUTINE SDESGETAREQINST2
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
APP PROXY ALLOWED Yes
DESCRIPTION
Returns all the open Appt Reqs from file #409.85, #123, and #403.5
under the given institution number and year. Returns appropriate error if 
unsuccessful.
 Institution number and year. Returns appropriate error if unsuccessful.
INPUT PARAMETER
  • INST
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Institution 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:   40
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
     Optional EAS parameter
    
RETURN PARAMETER DESCRIPTION
Returns all the open Appt Reqs from file #409.85, #123, and #403.5
                "ByPatientOrProvider": "PATIENT",
                "RecallDateReminderSent": "",
                "RecallEnteredBySecID": "",
                "RecallFastingNonFasting": "",
                "RecallGAFScore": "",
                "RecallPatientSensitiveRecordAccessChecks": "",
                "RecallProviderIEN": "",
                "RecallProviderIndicatedDate": "",
                "RecallProviderName": "",
                "RecallProviderNewPersonIEN": "",
                "RecallProviderSecID": "",
                "CPRSOrderID": 0,
                "RecallSecondPrint": "",
                "RecallSimilarPatientData": "",
                "RequestComments": "",
                "RequestIEN": 252257,
                "RequestSubType": "APPOINTMENT",
                "ScheduledDateOfAppt": "2022-01-05T08":00-0500,
                "SdecContactDateOfLastLetterSent": "",
                "SdecContactNumberOfCalls": "",
                "SdecContactNumberOfContacts": "",
                "SdecContactNumberOfEmailContact": "",
                "CPRSPreRequisites": [
                "SdecContactNumberOfLetters": "",
                "SdecContactNumberOfSecureMessage": "",
                "SdecContactNumberOfTextContact": "",
                "ServiceConnectedPercentage": 0,
                "ServiceConnectedPriority": "NO",
                "Status": "CLOSED",
                "Type": "Appt Request"
                }
            ]
        }
                    ""
}
                ],
                "CPRSTimeSensitive": 0,
                "ClinicIEN": 3753,
                "ClinicName": "CHY ACUTE CARE 1",
                "ClinicSecondaryStopCodeAMIS": "",
                "ClinicSecondaryStopCodeIEN": "",
under the given Institution number and year. Returns appropriate error if
                "ClinicSecondaryStopCodeName": "",
                "ClinicStopCodeAMIS": 323,
                "ClinicStopCodeIEN": 296,
                "ClinicStopCodeName": "PRIMARY CARE/MEDICINE",
                "CommentMultiple": [
                    ""
                ],
                "ConsultAssociatedStopCodes": [
                    ""
                ],
unsuccessful.
                "ConsultCanEditPid": "",
                "ConsultClinicIndicatedDate": "",
                "ConsultCovidPriority": "",
                "ConsultDateReleasedFromCPRS": "",
                "ConsultProhibitedClinicFlag": "",
                "ConsultRequestType": "",
                "ConsultServiceRenderedAs": "",
                "ConsultToService": "",
                "ConsultUrgencyOrEarliestDate": "",
                "CreateDate": "2022-01-03",
 
                "CreditStopCodeAMIS": 179,
                "CreditStopCodeIEN": 391,
                "CreditStopCodeName": "RT CLIN VID CARE HOME",
                "DateLinkedApptMade": "2022-01-03",
                "DateTimeEntered": "2022-01-03T14":35-0500,
                "DisplayClinicAppt": "YES",
                "DispositionIEN": 3,
                "DispositionReason": "REMOVED/SCHEDULED-ASSIGNED",
                "DispositionedBy": "VSE,CLINICIAN",
                "DispositionedDate": "2022-01-03",
{
                "EASTrackingNumber": "",
                "EnrollmentPriorityGroup": "GROUP 8",
                "EnteredByIEN": 520881795,
                "EnteredByName": "VSE,SCHEDULER",
                "InstitutionIEN": 442,
                "InstitutionName": "CHEYENNE VA MEDICAL",
                "InstitutionNumber": 442,
                "LinkedApptClinic": "CHY ACUTE CARE 1",
                "LinkedApptCreditStopCode": "",
                "LinkedApptEnteredBy": "VSE,SCHEDULER",
    "Request": [
                "LinkedApptInstitutionName": "",
                "LinkedApptInstitutionNumber": 442,
                "LinkedApptStatus": "Scheduled/Kept",
                "LinkedApptStopCode": "PRIMARY CARE/MEDICINE",
                "MRTC": [
                    ""
                ],
                "MRTCDaysBetweenAppts": "",
                "MRTCHowManyNeeded": "",
                "MRTCNeeded": "NO",
        {
                "ModalityCode": "",
                "ModalityName": "",
                "PIDChangeAllowed": 0,
                "ParentRequest": "",
                "PatientComment": [
                    ""
                ],
                "PatientContact": [
                    ""
                ],
            {
                "PatientICN": "4420062401V229097",
                "PatientIEN": 42930,
                "PatientIndicatedDate": "2022-01-05",
                "PatientLast4":
                "PatientName": "VSE,PATIENT SEVEN",
                "PatientStatus": "NEW",
                "Priority": "FUTURE",
                "ProviderIEN": "",
                "ProviderName": "",
                "ProviderSecID": "",
                "ApptType": "REGULAR",
                "RecallAccessionNumber": "",
                "RecallAppointmentLength": "",
                "RecallAppointmentType": "",
                "RecallClinicSecondaryStopCodeAMIS": "",
                "RecallClinicSecondaryStopCodeIEN": "",
                "RecallClinicSecondaryStopCodeName": "",
                "RecallClinicStopCodeAMIS": "",
                "RecallClinicStopCodeIEN": "",
                "RecallClinicStopCodeName": "",
                "RecallComment": "",