TITLE | VALUE | |
---|---|---|
NAME | RORICR CDC SAVE | |
DESCRIPTION | The RORICR CDC SAVE remote procedure updates the fields that are used by the ICR CDC form. | |
TAG | SAVECDC | |
ROUTINE | RORRP027 | |
INPUT PARAMETERS | SEQUENCE NUMBER | 1 |
INPUT PARAMETER | REGIEN | |
DESCRIPTION | The REGIEN parameter should contain a valid registry IEN (IEN of the registry parameters record in the ROR REGISTRY PARAMETERS file #798.1). | |
PARAMETER TYPE | LITERAL | |
REQUIRED | YES | |
MAXIMUM DATA LENGTH | ||
INPUT PARAMETERS | SEQUENCE NUMBER | 2 |
INPUT PARAMETER | PATIEN | |
DESCRIPTION | A valid patient IEN (DFN) should be assigned to the PATIEN parameter. | |
PARAMETER TYPE | LITERAL | |
REQUIRED | YES | |
MAXIMUM DATA LENGTH | ||
INPUT PARAMETERS | SEQUENCE NUMBER | 3 |
INPUT PARAMETER | FLAGS | |
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. | |
PARAMETER TYPE | LITERAL | |
REQUIRED | ||
MAXIMUM DATA LENGTH | ||
INPUT PARAMETERS | SEQUENCE NUMBER | 4 |
INPUT PARAMETER | DATA | |
DESCRIPTION | A 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 TYPE | LIST | |
REQUIRED | YES | |
MAXIMUM DATA LENGTH | ||
RETURN VALUE TYPE | ARRAY | |
RETURN PARAMETER DESCRIPTION | 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 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]. | |
AVAILABILITY | RESTRICTED | |
INACTIVE | ||
CLIENT MANAGER | ||
WORD WRAP ON | TRUE | |
VERSION | 1 | |
SUPPRESS RDV USER SETUP | ||
APP PROXY ALLOWED |