Print Page as PDF
RAMAG EXAM COMPLETE ICR (5072)

RAMAG EXAM COMPLETE    ICR (5072)

Name Value
NUMBER 5072
IA # 5072
DATE CREATED 2008/01/16
CUSTODIAL PACKAGE RADIOLOGY/NUCLEAR MEDICINE
USAGE Private
TYPE Remote Procedure
DBIC APPROVAL STATUS APPROVED
NAME RAMAG EXAM COMPLETE
GENERAL DESCRIPTION
The RAMAG EXAM COMPLETE remote procedure completes the
exam. It also sends required HL7 messages, sends changed order control "XX" to
CPRS, but does not send VistA alerts regarding the exam status change.

Input Parameters
================

RAEXAM        String of exam/case identifiers separated by '^'
^01: IEN of the patient in the RAD/NUC MED
PATIENT file (#70)
^02: IEN in the REGISTERED EXAMS multiple
(sub-file #70.02)
^03: IEN in the EXAMINATIONS multiple
(sub-file #70.03)

[RAMSC]       Items of this list define miscellaneous/optional
order parameters. Each record has 3 or more pieces
separated by '^':

^01: Parameter name
^02: Index (for multiples and word-processing)
^03: Value1
^04: Value2
...

The following parameters are supported by this remote
procedure:

ACLHIST^{Seq#}^{Line of clinical history}
Text for the ADDITIONAL CLINICAL HISTORY field
(400) of the RAD/NUC MED REPORTS file (#74).

FLAGS^^{flags}
Flags that control the execution (can be combined):

F  Try to enforce the new status even if some
required fields are not populated.

S  Do not send HL7 message to speech recognition
(dictation) systems

IMPRESSION^{Seq#}^{Line of impression text}
Text for the IMPRESSION TEXT field (300)
of the file #74.

PROBSTAT^^{text}
Value for the PROBLEM STATEMENT field (25)
of the file #74.

REPORT^{Seq#}^{Line of report text}
Text for the REPORT TEXT field (200)
of the file #74.

RPTDTE^^{date}
Date in HL7 format (TS) for the REPORTED DATE
field (8) of the file #74: YYYYMMDD. The date
must be exact. If a time part is provided, it
is ignored.

RPTSTATUS^^{status}
Internal value for the REPORT STATUS field (5)
of the file #74.

TRANSCRST^^{IEN #200}
Internal value for the TRANSCRIPTIONIST
field (11) of the file #74: IEN in the NEW
PERSON file (#200).

VERDTE^^{date}
Date/time in HL7 format (TS) for the
VERIFIED DATE field (7) of the file #74:
YYYYMMDD[HHMM[+/-ZZZZ]]. The date must be
exact.

VERPHYS^^{IEN #200}
Internal value for the VERIFYING PHYSICIAN
field (9) of the file #74: IEN in the NEW
PERSON file (#200).

The following optional parameters are also supported:
BEDSECT, CMUSED, COMPLICAT, CONTMEDIA, CPTMODS, EXAMCAT,
FILMSIZE, PRIMCAM, PRIMDXCODE, PRIMINTRES, PRIMINTSTF,
PRINCLIN, RDPHARMS, RDPH-*, SERVICE, TECH, TECHCOMM, and
WARD. If any of them are defined, their values replace the
existing ones assigned by the RAMAG EXAM REGISTER and
RAMAG EXAMINED remote procedures.

Records can be added to the list in any order.

If you want to clear a multiple that already has a
value, assign "@" or empty string to the parameter
itself and do not set any subscripts. For example,
the following construction will clear the CONTRAST
MEDIA multiple: Mult[i] := 'CONTMEDIA^^@'.

Example:

with RPCBroker.Param[4] do
begin
PType := list;
Mult[1] := 'PRIMDXCODE^^1';
Mult[2] := 'CONTMEDIA^^N';
Mult[3] := 'REPORT^1^Report line #1';
Mult[4] := 'REPORT^2^Report line #2';
Mult[5] := 'IMPRESSION^1^Impression line #1';
Mult[6] := 'FLAGS^^FS';
Mult[7] := 'RPTDTE^^20071215';
end;

Results
=======

A negative value of the first '^'-piece of the Results[0] indicates that an
error occurred during the execution of the remote procedure. In this case, the
second piece of the Results[0] will contain number of the error descriptors
returned in the subsequent nodes of the Results array.

Results[0]            Result descriptor
^01: The last error code
^02: Number of error descriptors

Results[i]            Error descriptor
^01: Error code
^02: Message
^03: Error location
^04: Error type

Results[j]            Line of the additional info
^01: "" (empty)
^02: Text

Error descriptors are returned in reverse chronological order (most recent
first).

Otherwise, 0 is returned in the Results[0].

Notes
=====

See comments in the source code of the RAMAG06 routine and description of the
RAMAG EXAM COMPLETE remote procedure for additional and/or most recent
details.
STATUS Active
DURATION Till Otherwise Agreed
SUBSCRIBING PACKAGE IMAGING
DATE ACTIVATED 2008/10/06