VistA Analysis » VistA Reference » RPCs » RORICR PATIENT SAVE
RORICR PATIENT SAVE
The RORICR PATIENT SAVE remote procedure updates the patient’s record inthe registry (or creates one).
Properties
Property | Value |
---|---|
Label | SAVE |
MUMPS Implementation | RORRP034 |
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 theRORICR PATIENT LOAD remote procedure. Only PH and ICR segments areprocessed; 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. | |
CANCEL | LITERAL | Cancel the update and unlock the patient's registry data. |
Document generated on August 31st 2022, 2:55:43 pm