SDES GET APPT BY REQ/APPT TYP2 (4706)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES GET APPT BY REQ/APPT TYP2
TAG APPTBYRIENAPTYP
ROUTINE SDESAPPT3
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
APP PROXY ALLOWED Yes
DESCRIPTION
This RPC returns an appointment when given a request IEN, and an 
appointment type.
INPUT PARAMETER
  • REQIEN
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    This is the Appointment Request IEN for a Consult, Recall, or Appointment.
    
  • REQTYPE
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Appointment type ('C' - CONSULT or 'A' - APPOINTMENT).
    
  • EASTRCKNGNMBR
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   40
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    Enterprise Appointment Scheduling (EAS) Tracking Number associated to an
    appointment.
    
RETURN PARAMETER DESCRIPTION
{
   "AutoRebookedApptDateTime": "",
   "RequestIEN": 259592,
   "RequestType": "APPT",
   "Resource": {
    "ClinicIEN": 3753,
    "Name": "CHY ACUTE CARE 1"
   },
   "ResourceIEN": 2062,
   "RoutingSlipPrintDate": "",
   "RoutingSlipPrinted": "",
   "SchedulerName": "",
   "CancelDateTime": "2023-02-21T22:10:14-0500",
   "SchedulingApplication": "",
   "SchedulingRequestType": "'NEXT AVAILABLE' APPT.",
   "SpecialSurveyDisposition": "",
   "StartTimeFM": 3230327.09,
   "Status": "CANCELLED BY CLINIC",
   "StatusCancelDateTime": "2023-02-21T22:10:14-0500",
   "VVSApptID": "",
   "VeteranVideoCallURL": "",
   "Walkin": "NO",
   "WardLocation": "",
   "CancellationReason": "OTHER",
   "XRAY": "",
   "XrayDateTime": ""
  }
 ]
}
   "CancellationRemarks": "TESTING MRTC CANCEL",
   "CancelledByUser": {
    "ID": 520881776,
    "Name": "TEST,TEST A",
    "SecId": 1044590326
   },
   "CheckIn": "",
 "Appointment": [
   "CheckInEntered": "",
   "CheckInSteps": [
    ""
   ],
   "CheckInUser": "",
   "CheckOut": "",
   "CheckOutEntered": "",
   "CheckOutUser": "",
   "Clinic": {
    "ClinicIEN": 3753,
  {
    "Division": "CHEYENNE VAMROC",
    "IsOverbook": 0,
    "Name": "CHY ACUTE CARE 1",
    "PatientFriendlyName": "CHY ACUTE CARE THOMPSON",
    "PhysicalLocation": "ARROWHEAD BLDG LOBBY",
    "StationNumber": 442,
    "Telephone": "(307)778-7550",
    "TelephoneExtension": "x1234",
    "TimeZone": "EASTERN",
    "TimeZoneDetails": [
   "AppointmentCancelled": "CANCELLED",
     {
      "Offset": "-0500",
      "TimeFrame": "STANDARD",
      "TimeZoneCode": "EST"
     },
     {
      "Offset": "-0400",
      "TimeFrame": "DAYLIGHT SAVINGS",
      "TimeZoneCode": "EDT"
     }
   "AppointmentDateTime": "2023-03-27T09:00-0400",
    ],
    "TimeZoneException": ""
   },
   "CollateralVisit": "",
   "ConsultLink": "",
   "CurrentStatus": "CANCELLED BY CLINIC",
   "DataEntryClerk": "TEST,TEST A",
   "DateAppointmentMade": "2023-02-21",
   "DesiredDateOfAppointment": "2023-03-16",
   "DuplicateApptSameDay": "",
   "AppointmentIEN": 295722,
   "EASTrackingNumber": "",
   "EkgDateTime": "",
   "EncounterConversionStatus": "",
   "EncounterFormsAsAddOns": "",
   "EncounterFormsPrinted": "",
   "EndTime": "2023-03-27T09:30-0400",
   "FollowUpVisit": "NO",
   "LabDateTime": "",
   "LengthOfAppt": 30,
   "NextAvaApptIndicator": "'NEXT AVA.' APPT. INDICATED BY USER",
   "AppointmentType": "REGULAR",
   "NoShowCancelDateTime": "2023-02-21T22:10:14-0500",
   "NoShowCancelledBy": "TEST,TEST A",
   "Note": "",
   "NumberOfCollateralSeen": "",
   "OtherTests": "TEST",
   "OtherTravel": "  TEST",
   "OutpatientEncounter": "",
   "OverLaidAppointmentData": "NO",
   "OverbookFlag": "",
   "ParentRecordRequest": "",
   "AppointmentTypeIEN": 9,
   "Patient": {
    "CurrentEligibilityCode": "SC LESS THAN 50%",
    "DFN": 7242560,
    "EligibilityIEN": 3,
    "EligibilityOfVisit": "AID & ATTENDANCE",
    "EnrollmentCode": "",
    "EnrollmentDate": "",
    "ICN": "4420062172V859025",
    "Name": "GEORGE,TEST",
    "SSN": 9812,
   "AppointmentTypeSubCategory": "",
    "Street": "923 SMITHY STREET"
   },
   "PriorXRayResults": "",
   "Provider": {
    "ID": 520881799,
    "Name": "MITCHELL,CHAD E",
    "SecId": 1013556228
   },
   "PurposeOfVisit": "SCHEDULED VISIT",
   "RealAppointment": 0,