INPUT PARAMETER |
-
- REGIEN
- PARAMETER TYPE: LITERAL
- REQUIRED: YES
- SEQUENCE NUMBER: 1
- DESCRIPTION:
The REGIEN parameter should contain a valid registry IEN (IEN of the
registry parameters record in the ROR REGISTRY PARAMETERS file #798.1).
-
- PATIEN
- PARAMETER TYPE: LITERAL
- REQUIRED: YES
- SEQUENCE NUMBER: 2
- DESCRIPTION:
A valid patient IEN (DFN) should be assigned to the PATIEN parameter.
-
- DATA
- PARAMETER TYPE: LIST
- REQUIRED: YES
- SEQUENCE NUMBER: 4
- DESCRIPTION:
A list that contains the CDC data in the same format as the output of the
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
RORICR CDC LOAD remote procedure (see the RORRP025 routine and description
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.
of the RPC for more details).
Example:
with RPCBroker.Param[3] do
begin
PType := list;
-
- FLAGS
- PARAMETER TYPE: LITERAL
- SEQUENCE NUMBER: 3
- DESCRIPTION:
Flags that control the execution (can be combined):
H Update the patient history. If this flag is
not provided, the PH data segment is ignored.
|
RETURN PARAMETER DESCRIPTION |
A negative value of the first "^"-piece of the Results[0] indicates that
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.
an error occurred during the execution of the remote procedure. In this
Otherwise, zero is returned in the Results[0].
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
|