Print Page as PDF
RETRIEVE PATIENT'S DATA FOR FINDINGS ICR (6239)

RETRIEVE PATIENT'S DATA FOR FINDINGS    ICR (6239)

Name Value
NUMBER 6239
IA # 6239
DATE CREATED 2015/10/01
CUSTODIAL PACKAGE WOMEN'S HEALTH
USAGE Controlled Subscription
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE WVRPCPT1
NAME RETRIEVE PATIENT'S DATA FOR FINDINGS
GENERAL DESCRIPTION
This integration agreement allows subscribing packages
to retrieve a sub-set of a patient's data from the Women's Health package in a
format that is easily convertible into Clinical Reminders general findings.
STATUS Active
KEYWORDS
  • PREGNANCY DATA
  • LACTATION DATA
  • FINDINGS
DURATION Till Otherwise Agreed
ID WVRPCPT1
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
GETFINDS(RESULT,WVDFN,WVVISIT)
This entry point will return the data associated with
the specified patient and visit. Data that is marked as entered in error is
not returned.
VARIABLES TYPE VARIABLES DESCRIPTION
RESULT Input
The subscript in the ^TMP global under which to
return data or error messages. This value is required.
WVDFN Input
Internal entry number (IEN) of the patient in the WV
PATIENT file (#790). This value is required.
WVVISIT Input
The visit associated with the data to return. This is
either the IEN of the entry in the VISIT file (#9000010) or the Text
Integration Utilities (TIU) visit string. This value is required.

The TIU visit string is a semi-colon delimited string of data from the VISIT
file formatted as:

H;D;E

H: internal value of the HOSPITAL LOCATION
field (#22)
D: internal value of the VISIT/ADMIT DATE&TIME
field (#.01)
E: internal value of the ENCOUNTER TYPE
field (#15003)
TMP(RESULT,$J) Output
The global node in which data is returned.

Format:

^TMP(RESULT,$J)=Caret-delimited string
RESULT - the value in the RESULT input variable
Caret-delimited string - status of the call to
GETFINDS
PIECE   VALUE
=======================
1       -1 to denote an error occurred
>-1 to denote the number of entries
returned
2       ERROR MESSAGE if an error occurred
"" if no error occurred

For fields that are not multiples: ^TMP(RESULT,$J,PACKAGE,"FILE NUMBER",
"FIELD NUMBER")=VALUE
RESULT - the value in the RESULT input variable
PACKAGE - IEN of the Women's Health entry in the
PACKAGE file (#9.4)
"FILE NUMBER" - the file number from which the
data comes
"FIELD NUMBER" - the field number in which the
data resides
VALUE - the data in external format

For fields that are multiples: ^TMP(RESULT,$J,PACKAGE,"FILE NUMBER",
"FIELD NUMBER","RECORD NUMBER")=VALUE
RESULT - the value in the RESULT input variable
PACKAGE - IEN of the Women's Health entry in the
PACKAGE file (#9.4)
"FILE NUMBER" - the file number from which the
data comes
"FIELD NUMBER" - the field number in which the
data resides
"RECORD NUMBER" - IEN of the entry from which
the data comes
VALUE - the data in external format
SUBSCRIBING PACKAGE CLINICAL REMINDERS
DATE ACTIVATED 2017/11/17