DENTV TP FILE TOOTH NOTE (1898)    REMOTE PROCEDURE (8994)

Name Value
NAME DENTV TP FILE TOOTH NOTE
TAG NOTE
ROUTINE DENTVTP6
RETURN VALUE TYPE ARRAY
AVAILABILITY AGREEMENT
DESCRIPTION
This will allow you to add, update, or delete a record in file 228.6
INPUT PARAMETER
  • DATA
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   256
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    DATA(1) = $START
     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
    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
    
RETURN PARAMETER DESCRIPTION
If action is successful, RET(n)= 1^message
Else RET(n)= -1^message