VistA Analysis » VistA Reference » RPCs » DENTV DD GET ADD RECORD

DENTV DD GET ADD RECORD

This rpc returns the internal entry number to file 228 for a cpt code.

Properties

Property Value
Label ADD
MUMPS Implementation DENTVRP3
Return Type SINGLE VALUE

Input Parameters

Name Type Maximum Data Length Required Description
DATA LITERAL 10 true Format: data = p1 ^ p2 where p1 = cpt code name (or ien to file 81) p2 = optional - if p2=1 then add cpt code to file 228 if p2 is undefined or is 0, then lookup ien to file 228, but do not add if cpt is not in file 228
KEY LITERAL 1 true Check which security key this user has. The default value is 'L', or youmay pass 'M' If L, then see if user owns the local edit security key toedit entries in the local number space (>100,000). If you pass 'M' thenthis will check to see if the user owns the VACO security key and if sothen the user can edit any entry in the file. Regardless of the keyowned, if the record being edited has an ien>100,000 then only fields.01,1,5,6 may be edited.


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