Name | Value |
---|---|
NAME | MAGGSUR GET |
TAG | GET |
ROUTINE | MAGGTSR |
RETURN VALUE TYPE | ARRAY |
AVAILABILITY | RESTRICTED |
DESCRIPTION | Returns a list of Surgery Cases for the Patient. |
INPUT PARAMETER |
|
RETURN PARAMETER DESCRIPTION | Returns an array of Surgery cases for the given DFN. MAGRY(2..N) = Sting of '^' delimited pieces. ; for Imaging Versions < 2.5 the data is ; # DATE DESC SRF(IEN FM DATE ;CNT_U_(READABLE DATE)_U_SROPS(1)_U_SROP_U_SRSDATE ; ; for Imaging Versions > 2.4, the data is different ;CNT_U_(READABLE DATE)_U_SROPS(1)_U_IMAGECT_U_"|"_SROP_U_SRSDATE Calls Surgery API GET^SROGTSR to get the list. We insert headers as first list entry, for easy display in Delphi Window. MAGRY(0) = count of cases ^ "Cases found" second array entry is the column headers MAGRY(1) ="# ^ Date ^ Case description^ # Images" entries 2..n are the data and extra internal info : the surgery internal number SROP and Date in internal format. |