RORICR CDC SAVE

TITLEVALUE
NAMERORICR CDC SAVE
DESCRIPTIONThe RORICR CDC SAVE remote procedure updates the fields that are used by
the ICR CDC form.
TAGSAVECDC
ROUTINERORRP027
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERREGIEN
DESCRIPTIONThe REGIEN parameter should contain a valid registry IEN (IEN of the
registry parameters record in the ROR REGISTRY PARAMETERS file #798.1).
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERPATIEN
DESCRIPTIONA valid patient IEN (DFN) should be assigned to the PATIEN parameter.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERFLAGS
DESCRIPTIONFlags that control the execution (can be combined):

H Update the patient history. If this flag is
not provided, the PH data segment is ignored.
PARAMETER TYPELITERAL
REQUIRED
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER4
INPUT PARAMETERDATA
DESCRIPTIONA list that contains the CDC data in the same format as the output of the
RORICR CDC LOAD remote procedure (see the RORRP025 routine and description
of the RPC for more details).

Example:

with RPCBroker.Param[3] do
begin
PType := list;
Mult[1] := 'HDR^^2990622';
Mult[2] := 'CDM^^2^22^1^^1^^Westmont^Du Page^17^ILLINOIS^US';
...
Mult[n] := 'CMT^1^Just a sample CDC comment';
end;

NOTE #1: The CS data segment must be always included before the
AID segments. Otherwise, the latter will be ignored.

NOTE #2: Any AIDS indicator disease, which has empty 3rd piece
in the corresponding AID segment (or no segment at all),
will be removed from the patient record.

NOTE #3: There should be at least one empty comment (i.e. the
"CMT^1" segment) among the data if you want to clear
the CDC comments. Otherwise, they will not be updated.
PARAMETER TYPELIST
REQUIREDYES
MAXIMUM DATA LENGTH

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTIONA 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 the error descriptors

Results[i] Error Descriptor
^01: Error code
^02: Message
^03: Place of the error

A positive value of the first "^"-piece of the Results[0] indicates an
error in the CDC data. The value is the number of the erroneous piece of
the data segment whose name is returned in the second piece of the
Results[0]. For example, the "11^CDM" means that the 11th piece of the CDM
data segment (ONSET OF ILLNESS/AIDS- STATE) contains an invalid value.

Otherwise, zero is returned in the Results[0].
AVAILABILITYRESTRICTED
INACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION1
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED