SDES2 GET APPT TYPES BY DFN (4969)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES2 GET APPT TYPES BY DFN
TAG GETAPTYDFN
ROUTINE SDES2APPTYPES
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON FALSE
VERSION 1
APP PROXY ALLOWED Yes
DESCRIPTION
This RPC will return the active appointment types for a patient specified
by the DFN.
INPUT PARAMETER
  • SDCONTEXT
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   32000
    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.
    
  • SDPARAM
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   32000
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    SDPARAM("DFN")=  Patient (File #2) DFN used to show Appointment Types
                     for this Patient (required)
    
RETURN PARAMETER DESCRIPTION
{"AppointmentTypes":[
      },
      {"AppTypeIEN":9,
       "AppTypeName":"REGULAR"
      }
  ]
}
      {"AppTypeIEN":1,
       "AppTypeName":"COMPENSATION & PENSION"
      },
|TAB|  {"AppTypeIEN":3,
|TAB|   "AppTypeName":"ORGAN DONORS"
      },
      {"AppTypeIEN":6,
       "AppTypeName":"RESEARCH"