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: RORHEPC PATIENT SAVE

Package: Clinical Case Registries

Remote Procedure: RORHEPC PATIENT SAVE


Source Information

Name Value
NAME RORHEPC PATIENT SAVE
TAG SAVE
ROUTINE RORRP037
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
WORD WRAP ON TRUE
VERSION 1
DESCRIPTION
The RORHEPC 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:= 'RORHEPC PATIENT SAVE';
          Param[0].Value := RegistryIEN;
    RORHEPC PATIENT LOAD remote procedure. Only HEPC segment is processed; the
          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;
    others are ignored.
          all others are ignored.
    Example:
      with RPCBroker do
        begin
          RemoteProcedure:= 'RORHEPC 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 "5^HEPC" means that the 5th piece of the HEPC data
segment (SUPPORTING EVIDENCE) 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^RORRP037  

External References

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