Print Page as PDF
SDAM ICR (1304)

SDAM    ICR (1304)

Name Value
NUMBER 1304
IA # 1304
DATE CREATED 2003/04/03
CUSTODIAL PACKAGE SCHEDULING
CUSTODIAL ISC Albany
USAGE Private
TYPE Routine
ROUTINE SDAM
NAME SDAM
GENERAL DESCRIPTION
The PCE developers request the following DBIA with the
Scheduling developers. We are aware that these are not publicly supported
calls and request only PRIVATE USE BY PCE.

LIST^SDAM

All calls assume you are in a List Manager(LM) environment, so appropriate LM
variables have been initialized.
STATUS Retired
DURATION Till Otherwise Agreed
ID SDAM
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION
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.)

SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC
PCE PATIENT CARE ENCOUNTER Salt Lake City