// Update methods for each path node used in binding steps.
 private void Update_(global::WoundManagementSystem.ViewPatientVisit obj, int phase)
 {
     if (obj != null)
     {
         if ((phase & (NOT_PHASED | (1 << 0))) != 0)
         {
             this.Update_docsCollection(obj.docsCollection, phase);
             this.Update_photosCollection(obj.photosCollection, phase);
             this.Update_servList(obj.servList, phase);
             this.Update_medList(obj.medList, phase);
         }
     }
 }
            // ViewPatientVisit_obj1_Bindings

            public void SetDataRoot(global::WoundManagementSystem.ViewPatientVisit newDataRoot)
            {
                this.dataRoot = newDataRoot;
            }