VistA Analysis » VistA Reference » RPCs » TIU IS USER A USR PROVIDER

TIU IS USER A USR PROVIDER

This Boolean RPC returns TRUE if the user was a member of USR CLASS PROVIDER on the date specified.

Properties

Property Value
Label USRPROV
MUMPS Implementation TIUSRVP1
Return Type SINGLE VALUE

Input Parameters

Name Type Maximum Data Length Required Description
USER LITERAL   true This is the IEN of the user in the NEW PERSON FILE 200. If no user is specified, DUZ (the current user of the software) is the default.
DATE LITERAL   true This is the date in internal FILEMAN format for which the user's membership in USR CLASS PROVIDER is evaluated. If no date is received, TODAY is the default. Date must be a strict date; time must NOT beincluded.

MUMPS Method Description

Property Value
Method USRPROV^TIUSRVP1
Method Comment Is USER a USR CLASS provider?
Input Parameters USER, DATE
First Comment
 Checks USR CLASS PROVIDER only
DATE must not include time
Code
 N TIUERR
S USER=$G(USER,DUZ)
S DATE=$G(DATE,DT),TIUY=0
I +$$ISA^USRLM(USER,"PROVIDER",.TIUERR,DATE) S TIUY=1 ; DBIA/ICR 2324

CPRS

File Type Description
Pascal File Encounter/rPCE.pas


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