DENTV TP FILE TOOTH NOTE

TITLEVALUE
NAMEDENTV TP FILE TOOTH NOTE
DESCRIPTIONThis will allow you to add, update, or delete a record in file 228.6
TAGNOTE
ROUTINEDENTVTP6
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERDATA
DESCRIPTIONDATA(1) = $START
DATA(2) = FLG ^ IEN ^ DFN ^ DATE ^ TOOTH ^ PLAN
if $G(FLG)="",$G(IEN)<1 then default to ADD
FLG - optional - A add new note
U replace existing text
D delete note for this patient,date,tooth
IEN - opt/req - pointer to TP NOTE file (#228.6) required for Update or
Delete
DFN - required - pointer to the patient file
DATE - optional - external date (time not allowed) default to today
TOOTH - required - 0, 1-32, 99

DATA(n) = text of note where n =3,4,5,6,...
DATA(n) = $END
PARAMETER TYPELIST
REQUIREDYES
MAXIMUM DATA LENGTH256

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTIONIf action is successful, RET(n)= 1^message
Else RET(n)= -1^message
AVAILABILITYAGREEMENT
INACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED