Print Page as PDF
WVRPCNO ICR (4104)

WVRPCNO    ICR (4104)

Name Value
NUMBER 4104
IA # 4104
DATE CREATED 2003/11/18
CUSTODIAL PACKAGE WOMEN'S HEALTH
CUSTODIAL ISC Chicago
USAGE Private
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE WVRPCNO
NAME WVRPCNO
STATUS Active
DURATION Till Otherwise Agreed
ID WVRPCNO
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
NEW(.RESULT,.NOTIFY)
Used to update a procedure result, create a
notification, print a notification letter and update a patient's treatment
needs.

A notification letter for a patient may be printed based on the input
parameter values. No data is passed back to the calling routine.
VARIABLES TYPE VARIABLES DESCRIPTION
RESULT Input
This is an array that identifies what WV PROCEDURE
file (#790.1) entries will be updated and the result code to use. (Optional)

RESULT(n)=FILE 790.1 IEN^"A", "N" or "U"

where: n is a number greater than zero.

The first piece is the FILE 790.1 IEN.

The second piece is a one character code that identifies the diagnosis.
"A" stands for Abnormal, "N" stands for Normal and "U" stands for
Unsatisfactory.


Three fields are updated in the FILE 790.1 entry.

The codes of "A", "N" and "U" are converted to entries in the WV
RESULTS/DIAGNOSIS file (#790.31). "A" becomes "Abnormal". "N" becomes "No
Evidence of Malignancy". "U" becomes "Unsatisfactory for Dx". That FILE 790.31
value is stored in the RESULTS/DIAGNOSIS field (#.05).

The STATUS field (#.14) is set to "c" (for Closed).

The PROCESSED Y/N? field (#.16) is set to 1 (for Yes).
NOTIF Input
This is an array that identifies the notification
purposes to use to create entries in the WV NOTIFICATION file (#790.4).
(Optional)

NOTIF(FILE 790.404 IEN,n)=FILE 790.1 IEN^Type^FILE 3.5 NAME^DFN

The first array subscript is a FILE 790.404 internal entry number (IEN).

The second subscript is a sequential number starting with 1.

The first piece of data in the node is the FILE 790.1 IEN which identifies the
procedure performed.

The second piece is a one character code that identifies the type of
notification. "I" stands for In-person, "L" stands for Letter and "P" stands
for Phone.

The third piece identifies the print device. It consists of the FILE 3.5 IEN,
a semi-colon and the .01 value of the entry (e.g., 5;HPLASERJET).

The fourth piece is the patient IEN (i.e., DFN) from FILE 2.

If the first subscript value is a valid FILE 790.404 IEN, then a WV
NOTIFICATION file (#790.4) entry is created. This new entry has the following
field values set:
(.01) PATIENT - is set to the DFN of the patient.
(.02) DATE NOTIFICATION OPENED - is set to today's date.
(.03) TYPE OF NOTIFICATION - is set to a WV NOTIFICATION TYPE file
(#790.403) value. The one character code in the second piece is
converted to a FILE 790.403 value. "I" becomes "CONVERSATION WITH
PATIENT". "L" becomes "LETTER, FIRST". "P" becomes "CONTACT PHN".
(.04) PURPOSE OF NOTIFICATION - is set with the value of the first
subscript (i.e., FILE 790.404 value).
(.05) OUTCOME - is set to "Letter Sent" if the third piece contains a
device. If no device is identified, it is set to null. Also, if the
second piece is "I" (i.e., In-person) or "P" (i.e., Phone), this
field is set to null.
(.06) ACCESSION# - is set to a FILE 790.1 IEN.
(.07) FACILITY - is set to the user's facility value (i.e., DUZ(2)).
(.08) DATE NOTIFICATION CLOSED - is set to today's date.
(.11) PRINT DATE - is set to today's date if a device is selected.
(.13) COMPLETE BY (DATE) - is set to today's date.
(.14) STATUS - is set to "c" (for Closed).


The Purpose of Notification value (the first subscript) is a pointer to FILE
790.404. The following fields in that FILE 790.404 entry are checked for a
value:
(.07) BR TX NEED
(.08) BR TX DUE DATE
(.09) CX TX NEED
(.1)  CX TX DUE DATE

If any of these four fields in this entry have a value, those values are used
to update the patient's entry in the WV PATIENT file (#790).
For example:
The BR TX NEED value is used in the BR TX NEED field (#.18).
The CX TX NEED value is used in the CX TX NEED field (#.11).
The day, month or year offset in the BR TX DUE DATE value is added to
the procedure or current date to create a future date that is used in the
BR TX NEED DUE DATE (#.19).
The day, month or year offset in the CX TX DUE DATE value is added to
the procedure or current date to create a future date that is used in the
CX TX NEED DUE DATE (#.12).
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC
CLINICAL REMINDERS Salt Lake City