If you are not familiar with Linq<=>XML (System.Xml.Linq):[
^].
If you are already using Linq<=>XML, you might review the use of XElement:[
^].
In any case you want your tree-structured information loaded into an XDocument. You can access all the top level nodes of your XDocument using XDocument.Descendants.
You find an Element by using .Element("elementName") method on the parent Node of the Element you are looking for.
If you want to add a new child node to a node: first use .Element to get the node: then use the .Add method on that node:
Hospitalizations.Descendants.Element("Hospitalization1").Add(new XElement("List of Procedures"));
As suggested by Addy Tas, XPath (System.Linq.XPath) may be useful here for accessing elements:[
^].