It is very unusual to have endocarditis on the tricuspid valve at age 6 years unless the valve is structurally abnormal. The valve may need to be repaired and your daughter should take antibiotics before procedures eg, dental work to prevent a recurrence. I think a second opinion is warranted as this is an unusual situation.