VistA Analysis » VistA Reference » RPCs » GMV MARK ERROR

GMV MARK ERROR

This remote procedure call marks a selected vitals record in the GMRVVital Measurement (#120.5) file as entered-in-error. This remote procedure call is documented in Integration Agreement 4414.

Properties

Property Value
Label ERROR
MUMPS Implementation GMVUTL1
Return Type SINGLE VALUE

Input Parameters

Name Type Maximum Data Length Required Description
GMVDATA LITERAL 60 true GMVDATA contains the following information: piece1^piece2^piece3 where piece1 = FILE 120.5 IEN piece2 = FILE 200 IEN (i.e., DUZ) piece3 = A single value to indicate the reason for the error. 1 = INCORRECT DATE/TIME, 2 = INCORRECT READING, 3 = INCORRECT PATIENT and 4 = INVALID RECORD

MUMPS Method Description

Property Value
Method ERROR^GMVUTL1
Method Comment GMV MARK ERROR [RPC entry point]
Input Parameters GMVDATA
First Comment
GMVDATA CONSISTS OF THE FOLLOWING DATA:
FILE # 120.5 IEN^DUZ^INCORRECT DATE/TIME^INCORRECT READING^INCORRECT
PATIENT^INVALID RECORD
Code
 N GMVFDA,GMVIEN,GMVIENS
I '$D(^GMR(120.5,+GMVDATA,0))#2 S RESULT="ERROR: Record Not Found" Q
S GMVIENS=(+GMVDATA)_","
S GMVFDA(120.5,GMVIENS,2)=1
S GMVFDA(120.5,GMVIENS,3)=$P(GMVDATA,"^",2)
S GMVFDA(120.506,"+1,"_GMVIENS,.01)=$P(GMVDATA,"^",3)
D UPDATE^DIE("","GMVFDA","GMVIEN")
S RESULT="OK"

CPRS

File Type Description
DLL File No Source Code Available (GMV_VitalsViewEnter.dll)


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