VistA Analysis » VistA Reference » RPCs » ORQQPL UPDATE

ORQQPL UPDATE

Updates problem record

Properties

Property Value
Label UPDATE
MUMPS Implementation ORQQPL1
Return Type ARRAY

Input Parameters

Name Type Maximum Data Length Required Description
UPDARRAY LIST     UPDATE ARRAY

MUMPS Method Description

Property Value
Method UPDATE^ORQQPL1
Method Comment UPDATE A PROBLEM RECORD
Input Parameters UPDARRAY
First Comment
 Does essentially same job as EDSAVE above, however does not handle edits to comments
or addition of multiple comments.
Use initially just for status updates.
Code
 N S,GMPL,GMPORIG,ORARRAY ; last 2 vars created in nested call
S S=""
F S S=$O(UPDARRAY(S)) Q:S="" D
. S @UPDARRAY(S)
D UPDATE^GMPLUTL(.ORARRAY,.ORRETURN)
S ORRETURN(1)=ORRETURN(0) ; error text
S ORRETURN(0)=ORRETURN ; gmpdfn
I ORRETURN(0)="" S ORRETURN=1 ; insurance ? need

CPRS

File Type Description
Pascal File rProbs.pas


Document generated on August 31st 2022, 2:55:43 pm