LIST~SDAM |
LIST^SDAM call: Set up appointment status type array and
build appointment arrays
Input:
X := status group you want appointment for
SDBEG := begin date/time for appointment search
SDEND := end date/time for appointment search
SDAMTYP := [P for patient or C for clinic]
SDFN := DFN or SDCLN := Hospital Location pointer
- depends on how SDAMTYP is set.
Output:
SDAMLIST := array of specific appointment statuses
^TMP("SDAM",$J,<LM Line #>,0)
:= array of appointments use for List Manager Display
Format: free text for display
^TMP("SDAMIDX",$J,<Appt Selection #>) :=
:= raw data array elements that correspond to items on
the List Manager Display array [^TMP("SDAM")]
Format: Piece 1: LM line #
Piece 2: DFN
Piece 3: date/time of appt
Piece 4: Hospital Location ien
Piece 5: ien to 44.003 sub-file
(only set for clinic centric build)
^TMP("SDAM",$J,"IDX", <LM Line #>, <Appt Selection #>)
:= array indexing LM line #'s to appt selection #.
Format: None. (It's equal to null.)
|