Print Page as PDF
DBIA3854 ICR (3854)

DBIA3854    ICR (3854)

Name Value
NUMBER 3854
IA # 3854
DATE CREATED 2002/11/26
CUSTODIAL PACKAGE CLINICAL PROCEDURES
CUSTODIAL ISC Chicago
USAGE Private
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE MDAPI1
NAME DBIA3854
GENERAL DESCRIPTION
This IA documents the API interface between Clinical
Procedures and Clinical Case Registries version 1.0.  Prior to calling the API
GET^MDAPI1(RESULTS,MDARDFN,MDSDT,MDEDT,MDFLDS), the subscriber should check
the existence of patch MD*1*1.
STATUS Active
DURATION Till Otherwise Agreed
ID MDAPI1
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
GET(RESULTS,MDARDFN,MDSDT,MDEDT,MDFLDS)
This API returns a list of data from the
Electrocardiogram file (#691.5) for a patient for a specified start and end
date.  Only the Electrocardiogram records in the following statuses will be
returned in the list:

RELEASED ON-LINE VERIFIED                                       RELEASED
OFF-LINE VERIFIED                                     RELEASED NOT VERIFIED
RELEASED ON-LINE VERIFIED OF SUPERSEDED
RELEASED OFF-LINE VERIFIED OF SUPERSEDED

VARIABLES TYPE VARIABLES DESCRIPTION
RESULTS Both
Input: The global ^TMP array in which to return
results. (Required)

Output: Passed by Reference
Global array returned in the FM DIQ call
format:
MDARDFN Input
The patient DFN  (Required).
MDSDT Input
The start date of the date range to return the data
in.  This must be in FM internal format. (Required).
MDEDT Input
The end date of the date range to return the data in.
This must be in FM internal format.  (Required).
MDFLDS Input
A list of fields from file #691.5 to be returned in
RESULTS.  MDFLDS should contain a list of fields delimited by ";"  (Required).

example: MDFLDS=".01;11;20..."

Example API call:

S RESULTS="^TMP(""NAMESPACE"",$J)"                 D
GET^MDAPI1(.RESULTS,162,2900101,3021001,
".01;11")

return:

^TMP("NAMESPACE",$J,file #,record ien_","
,field #,"E")=Data
^TMP("NAMESPACE",$J,subfile #,entry #_","_
record ien field of the multiple,"E")=data

^TMP("NAMESPACE",$J,0) will equal one of the
following,
If the call failed:
-1^No Patient DFN.
-1^No Start Date Range
-1^No End Date Range.
-1^Start Date greater than End Date.
-1^No fields defined.

If a local variable is defined in RESULTS,
^TMP("MDAPI",$J,0) equals
-1^Global TMP array only.

If no return array defined, ^TMP("MDAPI",$J,0) equals
-1^No return array global.

If no data, ^TMP("NAMESPACE",$J,0) equals
-1^No data for patient.
SUBSCRIBING PACKAGE CLINICAL CASE REGISTRIES