SDES2 GET APPT TYPES BY DFN

TITLEVALUE
NAMESDES2 GET APPT TYPES BY DFN
DESCRIPTIONThis RPC will return the active appointment types for a patient specified
by the DFN.

Can only be invoked by Acheron
TAGGETAPTYDFN
ROUTINESDES2APPTYPES
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERSDCONTEXT
DESCRIPTIONSDCONTEXT("ACHERON AUDIT ID")
- 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.
SDCONTEXT("PATIENT ICN")
- The ICN of the target patient from the calling application.
PARAMETER TYPELIST
REQUIREDYES
MAXIMUM DATA LENGTH32000

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERSDPARAM
DESCRIPTIONSDPARAM("DFN")= Patient (File #2) DFN used to show Appointment Types
for this Patient (required)
PARAMETER TYPELIST
REQUIREDYES
MAXIMUM DATA LENGTH32000

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTION{"AppointmentTypes":[
{"AppTypeIEN":1,
"AppTypeName":"COMPENSATION & PENSION"
},
|TAB| {"AppTypeIEN":3,
|TAB| "AppTypeName":"ORGAN DONORS"
},
{"AppTypeIEN":6,
"AppTypeName":"RESEARCH"
},
{"AppTypeIEN":9,
"AppTypeName":"REGULAR"
}
]
}
AVAILABILITYRESTRICTED
INACTIVEACTIVE
CLIENT MANAGER
WORD WRAP ONFALSE
VERSION1
SUPPRESS RDV USER SETUP
APP PROXY ALLOWEDYes