VistA Analysis » VistA Reference » RPCs » DG SENSITIVE RECORD BULLETIN

DG SENSITIVE RECORD BULLETIN

This Remote Procedure Call (RPC) will add an entry to the DG SECURITY LOG(#38.1) file and/or generate the sensitive record access bulletindepending on the value in ACTION input parameter. If ACTION parameter notdefined, defaults to update DG Security Log file and generate SensitiveRecord Access mail message.

Properties

Property Value
Label NOTICE
MUMPS Implementation DGSEC4
Return Type SINGLE VALUE

Input Parameters

Name Type Maximum Data Length Required Description
ACTION LITERAL 1 true ACTION = 1 - Set DG Security Log entry 2 - Generate Sensitive Record Access bulletin 3 - Both
DFN LITERAL   true DFN = Patient (#2) file DFN
DGOPT LITERAL   true DGOPT = Option Name^Menu test If not defined, OP^XQCHK identifies option or defaults to UNKNOWN.

MUMPS Method Description

Property Value
Method NOTICE^DGSEC4
Method Comment RPC/API entry point for log entry and message generation
Input Parameters DFN, DGOPT, ACTION
First Comment
Input parameters:  
DFN = Patient file DFN
DGOPT = Option name^Menu text (Optional)
ACTION = 1 - Set DG Security Log entry, 2 - Generate mail
message, 3 - Both (Optional - Defaults to both)

Output: RESULT = 1 - DG Security Log updated and/or Sensitive Record msg sent (Determined by ACTION value)
0 - Required variable undefined
Code
 I $G(DFN)="" S RESULT=0 Q
I $G(DUZ)="" S RESULT=0 Q
S DGOPT=$G(DGOPT)
I $G(ACTION)="" S ACTION=3
I ACTION'=1 D BULTIN1^DGSEC(DFN,DUZ,DGOPT)
I ACTION'=2 D SETLOG1^DGSEC(DFN,DUZ,,DGOPT)
S RESULT=1

CPRS

File Type Description
Pascal File rCore.pas


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