SDES GET MISSION ACT ELIG (4641)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES GET MISSION ACT ELIG
TAG GETMISSIONELG
ROUTINE SDESMISSIONELG
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
APP PROXY ALLOWED Yes
DESCRIPTION
Create an RPC to calculate whether patient is mission act eligible based 
on their appt request IEN, PID, and selected appointment date.
 
Use stop code to determine primary care vs specialty-verify stop codes 
that are primary care.
INPUT PARAMETER
  • APPTREQIEN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Appointment Request IEN
    
  • PID
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Patient Indicated Date in ISO format ex-2022-01-19
    
  • APPTREQTYP
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    APPOINTMENT REQUEST type - CONSULT, PROCEDURE, APPT, PTCSCH
    
  • EASTRCKNGNMBR
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   NO
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    [optional] - Enterprise Appointment Scheduling (EAS) Tracking Number 
    associated to an appointment.
    
  • APPTDATE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   10
    REQUIRED:   YES
    SEQUENCE NUMBER:   5
    DESCRIPTION:   
    Date of appointment- IS0 8601 format CCYY-MM-DD
    
  • CLINICIEN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   6
    DESCRIPTION:   
    Pointer to HOSPITAL LOCATION (#100) File
    
  • FILEENTRYDATE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   15
    REQUIRED:   NO
    SEQUENCE NUMBER:   7
    DESCRIPTION:   
    This is the file entry date, or the date that the appointment request was 
    entered.
    
RETURN PARAMETER DESCRIPTION
JSON Return:
   "ClinicID": 5263,
   "ClinicName": "TEST CLINIC1"
  },
  {
   "AppointmentEnd": "2023-03-10T09:00-0500",
   "AppointmentStart": "2023-03-10T08:30-0500",
   "AvailableSlots": 3,
   "ClinicID": 5263,
   "ClinicName": "TEST CLINIC1"
  },
Code - 0 or 1. 0 for not Mission Act Eligible and 1 for Eligible.
  {
   "AppointmentEnd": "2023-03-10T09:30-0500",
   "AppointmentStart": "2023-03-10T09:00-0500",
   "AvailableSlots": 3,
   "ClinicID": 5263,
   "ClinicName": "TEST CLINIC1"
  },
  {
   "AppointmentEnd": "2023-03-10T10:00-0500",
   "AppointmentStart": "2023-03-10T09:30-0500",
Clinic Availability if found:
   "AvailableSlots": 2,
   "ClinicID": 5263,
   "ClinicName": "TEST CLINIC1"
  }
 ],
 "MissionEligibility": {
  "Code": 0,
  "Message": "Not Eligible-Special Care"
  "PrimaryStopCodeAmis": 303,
  "PrimaryStopCodeName": "CARDIOLOGY",
{
  "SecondaryStopCodeAmis": 179,
  "SecondaryStopCodeName": "RT CLIN VID CARE HOME"
 }
}
 "MissionActAvailability": [
  {
   "AppointmentEnd": "2023-03-10T08:30-0500",
   "AppointmentStart": "2023-03-10T08:00-0500",
   "AvailableSlots": 2,