MEDLKUP |
This component will return all information on the indicated
procedure and last associated image if any.
Coding example of Query call:
<tab>K IMAGE
<tab>S FN=699.5,IEN=33
<tab>D MEDLKUP^MCARUTL3(.IMAGE,FN,IEN)
Example of Return Array:
IMAGE=1^699.5^30^33^ROBERTSON,JOHN^3001124.1309^
Nov 24, 2000@13:09^75^GENERIC
SUBSPECIALTY^1^10
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
.ARRAY |
Both |
(Required)
.ARRAY = The return array where
the data will be placed.
Recommend the array should
be namespaced.
Return Values:
ARRAY can be any variable array that the
developer chooses. When the API returns
the data it will be placed into the
variable array specified.
ARRAY = Piece1_^_Piece2_^_Piece3_^_
Piece4_^_Piece5_^_ Piece6_^_
Piece7_^_Piece8_^_Piece9_^_
Piece10_^_Piece11
Piece1 1 Indicates that the component
returned data.
0 Indicates that the component
failed. If the component
fails Piece 2 will contain
text indicating why the
component failed.
Piece2 The file number within the
Medicine package.
Piece3 The Internal Entry Number of
the entry within the file
indicated by Piece2.
Piece4 The Internal Entry Number of
the patient within the Medical
Patient File (690).
Piece5 The External format of the
patient name.
Piece6 The Procedure date and time
in File Manager format.
Piece7 The Procedure date and time
in External format.
Piece8 Pointer to the Procedure/
Subspecialty file (697.2)
Piece9 The Name of the Procedure
indicated in Piece8.
Piece10 The internal entry number
of the last image entry
within the 2005 multiple
in the indicated procedure.
For example,
^MCAR(FN,IEN,2005,X,0)
where X is the last entry.
X is what is returned as
Piece 10.
Piece11 The internal entry number
of the entry within the
IMAGE file (#2005) indicated
by Piece 10.
|
FN |
Input |
(Required)
The File number within the Medicine package.
|
IEN |
Input |
(Required)
The Internal Entry Number of the
entry within the indicated file as
specified by FN.
|
|