Print Page as PDF
MCARUTL3 ICR (3280)

MCARUTL3    ICR (3280)

Name Value
NUMBER 3280
IA # 3280
DATE CREATED 2001/01/02
CUSTODIAL PACKAGE CLINICAL PROCEDURES
CUSTODIAL ISC Chicago
USAGE Supported
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE MCARUTL3
NAME MCARUTL3
GENERAL DESCRIPTION

This API allows the Imaging package access to the Medicine package
data. The API will do a lookup on the MEDICAL PATIENT File (#690)
and the PROCEDURE/SUBSPECIALTY file (#697.2) for the indicated
entry and return the associated Medicine package data.
STATUS Active
KEYWORDS
  • MEDICINE
  • API
  • IMAGING
DURATION Till Otherwise Agreed
ID MCARUTL3
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
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.