Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Source Information |  Call Graph |  External References |  All
Print Page as PDF
Remote Procedure: RORICR PATIENT SAVE

Package: Clinical Case Registries

Remote Procedure: RORICR PATIENT SAVE


Source Information

Name Value
NAME RORICR PATIENT SAVE
TAG SAVE
ROUTINE RORRP034
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
WORD WRAP ON TRUE
VERSION 1
DESCRIPTION
The RORICR PATIENT SAVE remote procedure updates the patient's record in
the registry (or creates one).
INPUT PARAMETER
  1. 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).
    
  2. INPUT PARAMETER:   PATIEN
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    A valid patient IEN (DFN) should be assigned to the PATIEN parameter.
    
  3. INPUT PARAMETER:   DATA
    PARAMETER TYPE:   LIST
    REQUIRED:   YES
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    A list that contains the data in the same format as the output of the
          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;
    RORICR PATIENT LOAD remote procedure. Only PH and ICR segments are
          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;
    processed; the others are ignored.
          all others are ignored.
    Example:
      with RPCBroker do
        begin
          RemoteProcedure:= 'RORICR PATIENT LOAD';
    
  4. INPUT PARAMETER:   CANCEL
    PARAMETER TYPE:   LITERAL
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    Cancel the update and unlock the patient's registry data.
    
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 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.
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

Call Graph

Call Graph

Call Graph Total: 1

Package Total Call Graph
Clinical Case Registries 1 SAVE^RORRP034  

External References

Name Field # of Occurrence
SAVE^RORRP034 1
Source Information |  Call Graph |  External References |  All