VistA Analysis » VistA Reference » RPCs » RORHEPC PATIENT SAVE
RORHEPC PATIENT SAVE
The RORHEPC PATIENT SAVE remote procedure updates the patient’s record inthe registry (or creates one).
Properties
Property | Value |
---|---|
Label | SAVE |
MUMPS Implementation | RORRP037 |
Return Type | ARRAY |
Input Parameters
Name | Type | Maximum Data Length | Required | Description |
---|---|---|---|---|
REGIEN | LITERAL | true | The REGIEN parameter should contain a valid registry IEN (IEN of theregistry parameters record in the ROR REGISTRY PARAMETERS file #798.1). | |
PATIEN | LITERAL | true | A valid patient IEN (DFN) should be assigned to the PATIEN parameter. | |
DATA | LIST | true | A list that contains the data in the same format as the output of theRORHEPC PATIENT LOAD remote procedure. Only HEPC segment is processed; theothers are ignored. Example: with RPCBroker do begin RemoteProcedure:= 'RORHEPC 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:= 'RORHEPC 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. | |
CANCEL | LITERAL | Cancel the update and unlock the patient's registry data. |
Document generated on August 31st 2022, 2:55:43 pm