| TITLE | VALUE | |
|---|---|---|
| NAME | RORICR PATIENT SAVE | |
| DESCRIPTION | The RORICR PATIENT SAVE remote procedure updates the patient's record in the registry (or creates one). | |
| TAG | SAVE | |
| ROUTINE | RORRP034 | |
| 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 | CANCEL | |
| DESCRIPTION | Cancel the update and unlock the patient's registry data. | |
| PARAMETER TYPE | LITERAL | |
| REQUIRED | ||
| MAXIMUM DATA LENGTH | ||
| INPUT PARAMETERS | SEQUENCE NUMBER | 4 |
| INPUT PARAMETER | DATA | |
| DESCRIPTION | A list that contains the data in the same format as the output of the RORICR PATIENT LOAD remote procedure. Only PH and ICR segments are processed; the others are ignored. Example: with RPCBroker do begin RemoteProcedure:= 'RORICR PATIENT LOAD'; Param[0].Value := RegistryIEN; Param[0].PType := literal; Param[1].Value := DFN; Param[1].PType := literal; lstCall(PatientData); // Load the data ... // Edit the data RemoteProcedure:= 'RORICR PATIENT SAVE'; Param[0].Value := RegistryIEN; Param[0].PType := literal; Param[1].Value := DFN; Param[1].PType := literal; Param[2].PType := list; Param[2].Mult.Assign(PatientData); Call; // Save the data end; NOTE: Only those items of the list are processed that have numeric subscripts greater than 0; all others are ignored. | |
| 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 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 "16^PH" means that the 16th piece of the PH data segment (DATE OF FIRST TRANSFUSION) 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 | ||