Name | Value |
---|---|
NAME | SDES GET APPT BY APPT IEN |
TAG | GETAPPTBYIEN |
ROUTINE | SDESGETAPPTWRAP4 |
RETURN VALUE TYPE | ARRAY |
AVAILABILITY | RESTRICTED |
APP PROXY ALLOWED | Yes |
DESCRIPTION | For a given appointment IEN, this RPC retrieves and returns appointments from SDEC APPOINTMENT File #409.84, HOSPITAL LOCATION File #44, and Appointment Multiple Patient File #2 in JSON format. |
INPUT PARAMETER |
|
RETURN PARAMETER DESCRIPTION | Returns a combined appointment object from SDEC APPOINTMENT File #409.84, "AppointmentType": "REGULAR", "SSN": 9812, "Street": "923 SMITHY STREET" }, "PatientComments": "", "PriorXRayResults": "", "Provider": { "ID": 520881799, "Name": "PROVIDER,CHAD E", "SecId": 1013556228 }, "AppointmentTypeIEN": 9, "PurposeOfVisit": "SCHEDULED VISIT", "RealAppointment": 0, "RequestIEN": 259592, "RequestType": "APPT", "Resource": { "ClinicIEN": 3753, "Name": "CHY ACUTE CARE 1" }, "ResourceIEN": 2062, "RoutingSlipPrintDate": "", "AppointmentTypeSubCategory": "", "RoutingSlipPrinted": "", "SchedulerName": "", "SchedulingApplication": "", "SchedulingRequestType": "'NEXT AVAILABLE' APPT.", "SpecialSurveyDisposition": "", "StartTimeFM": 3230327.09, "Status": "CANCELLED BY CLINIC", "StatusCancelDateTime": "2023-02-21T22:10:14-0500", "VVSApptID": "", "VeteranVideoCallURL": "", "AutoRebookedApptDateTime": "", "Walkin": "NO", "WardLocation": "", "XRAY": "", "XrayDateTime": "" } ] } "CancelDateTime": "2023-02-21T22:10:14-0500", "CancellationReason": "OTHER", "CancellationRemarks": "TESTING MRTC CANCEL", "CancelledByUser": { "ID": 520881776, "Name": "TEST,TEST A", HOSPITAL LOCATION File #44, and Appointment Multiple Patient File #2 for a "SecId": 1044590326 }, "CheckIn": "", "CheckInEntered": "", "CheckInSteps": [ "" ], "CheckInUser": "", "CheckOut": "", "CheckOutEntered": "", for a single appointment IEN in JSON format. "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", "DisplayClinicAppt": "YES", "StopCodeAMIS": 323 "StopCodeName": "PRIMARY CARE", "CreditStopCodeAMIS": 710, "CreditStopCodeName": "IMMUNIZATION" "TimeZone": "EASTERN", "TimeZoneDetails": [ { "Offset": "-0500", "Appointment": [ "TimeFrame": "STANDARD", "TimeZoneCode": "EST" }, { "Offset": "-0400", "TimeFrame": "DAYLIGHT SAVINGS", "TimeZoneCode": "EDT" } ], "TimeZoneException": "" { }, "CollateralVisit": "", "ConsultLink": "", "CurrentStatus": "CANCELLED BY CLINIC", "DataEntryClerk": "TEST,TEST A", "DateAppointmentMade": "2023-02-21", "DesiredDateOfAppointment": "2023-03-16", "DuplicateApptSameDay": "", "EASTrackingNumber": "", "ECheckinAllowed": "", "AppointmentCancelled": "CANCELLED", "EkgDateTime": "", "EncounterConversionStatus": "", "EncounterFormsAsAddOns": "", "EncounterFormsPrinted": "", "EndTime": "2023-03-27T09:30-0400", "FollowUpVisit": "NO", "LabDateTime": "", "LengthOfAppt": 30, "NextAvaApptIndicator": "'NEXT AVA.' APPT. INDICATED BY USER", "NoShowCancelDateTime": "2023-02-21T22:10:14-0500", "AppointmentDateTime": "2023-03-27T09:00-0400", "NoShowCancelledBy": "TEST,TEST A", "Note": "", "NumberOfCollateralSeen": "", "OriginatingRequestType": "R", "OtherTests": "TEST", "OtherTravel": " TEST", "OutpatientEncounter": "", "OverLaidAppointmentData": "NO", "OverbookFlag": "", "PreCheckinAllowed": "", "AppointmentIEN": 295722, "ParentRecordRequest": "", "Patient": { "CurrentEligibilityCode": "SC LESS THAN 50%", "DFN": 7242560, "EligibilityIEN": 3, "EligibilityOfVisit": "AID & ATTENDANCE", "EnrollmentCode": "", "EnrollmentDate": "", "ICN": "4420062172V859025", "Name": "GEORGE,TEST", |