SDES2 GET REQUESTS BY INST (4914)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES2 GET REQUESTS BY INST
TAG GETREQUESTS
ROUTINE SDES2GREQSINST
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
WORD WRAP ON FALSE
APP PROXY ALLOWED Yes
DESCRIPTION
This RPC returns all open appointment requests (up to 200 per request 
type). If the station number is passed in, only records for that 
station/institution will be returned.
 
If the station number
parameter is passed in, it will only return records for the institution 
associated with that station number.
INPUT PARAMETER
  • SDCONTEXT
    PARAMETER TYPE:   LIST
    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.
    
  • SDAPPTREQS
    PARAMETER TYPE:   LIST
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    SDAPPTREQS("STATION NUMBER") - (optional) - Station Number
    SDAPPTREQS("NUMBER")    - (optional) - the number of records to find for 
                                           each appointment request type
                                           (consult/procedure, appointment 
                                           request, and recall 1-200).
    
RETURN PARAMETER DESCRIPTION
{
   "CPRSTimeSensitive": "",
   "RequestIEN": 7900,
   "RequestType": "",
   "ScheduledDateOfAppt": "",
   "SdecContactDateOfLastLetterSent": "",
   "SdecContactNumberOfCalls": "",
   "SdecContactNumberOfContacts": 0,
   "SdecContactNumberOfEmailContact": "",
   "SdecContactNumberOfSecureMessage": "",
   "SdecContactNumberOfTextContact": "",
   "ServiceConnectedPercentage": "",
   "ClinicIEN": 246,
   "ServiceConnectedPriority": "",
   "Status": "",
   "Type": "Consult"
  }
 ]
}
   "ClinicName": "CHY MH SONES",
   "ClinicSecondaryStopCodeAMIS": "",
   "ClinicStopCodeAMIS": "",
   "ClinicStopCodeIEN": "",
   "ClinicStopCodeName": "",
   "CommentMultiple": [
    ""
   ],
 "Request": [
   "ConsultAssociatedStopCodes": [
    ""
   ],
   "ConsultCanEditPid": 0,
   "ConsultClinicIndicatedDate": "",
   "ConsultCovidPriority": "",
   "ConsultDateReleasedFromCPRS": "1999-02-02T14:27:07-0500",
   "ConsultProhibitedClinicFlag": 0,
   "ConsultRequestType": "Consult",
   "ConsultServiceRenderedAs": "outpatient",
  {
   "ConsultToService": "",
   "ConsultUrgencyOrEarliestDate": "",
   "Contact": [
    ""
   ],
   "CreateDate": "1999-02-02T14:27-0500",
   "DateLinkedApptMade": "",
   "DateTimeEntered": "",
   "DispositionReason": "",
   "DispositionedBy": "",
   "ByPatientOrProvider": "",
   "DispositionedDate": "",
   "EASTrackingNumber": "",
   "EnrollmentPriorityGroup": "",
   "EnteredByIEN": 520627813,
   "EnteredByName": "",
   "InstitutionIEN": "",
   "InstitutionName": "",
   "LinkedAppointmentType": "",
   "LinkedApptClinic": "",
   "LinkedApptCreditStopCode": "",
   "CPRSOrderID": "",
   "LinkedApptEnteredBy": "",
   "LinkedApptStationNumber": "",
   "LinkedApptStatus": "",
   "LinkedApptStopCode": "",
   "LinkedInstitution": "",
   "MRTC": [
    ""
   ],
   "MRTCDaysBetweenAppts": "",
   "MRTCHowManyNeeded": "",
   "CPRSPreRequisites": [
   "MRTCNeeded": "",
   "PIDChangeAllowed": "",
   "ParentRequestIEN": "",
   "PatientComment": [
    ""
   ],
   "PatientContact": [
    ""
   ],
   "PatientICN": "",
    ""
   "PatientIEN": 32864,
   "PatientName": "",
   "PatientStatus": "",
   "Priority": "",
   "ProviderIEN": 520627851,
   "ProviderName": "",
   "ProviderSecID": "",
   "RecallAccessionNumber": "",
   "RecallAppointmentLength": "",
   "RecallAppointmentType": "",
   ],
   "RecallClinicSecondaryStopCodeAMIS": "",
   "RecallClinicSecondaryStopCodeIEN": "",
   "RecallClinicSecondaryStopCodeName": "",
   "RecallClinicStopCodeAMIS": "",
   "RecallClinicStopCodeIEN": "",
   "RecallClinicStopCodeName": "",
   "RecallComment": "",
   "RecallDateReminderSent": "",
   "RecallEnteredBySecID": "",
   "RecallFastingNonFasting": "",
   "CPRSStatus": "PENDING",
   "RecallGAFScore": "",
   "RecallPatientSensitiveRecordAccessChecks": "",
   "RecallProviderIEN": "",
   "RecallProviderIndicatedDate": "",
   "RecallProviderName": "",
   "RecallProviderNewPersonIEN": "",
   "RecallProviderSecID": "",
   "RecallSecondPrint": "",
   "RecallSimilarPatientData": "",
   "RequestComments": "",