A computer-based method and system of virtually planning a dental restoration in a patient are disclosed, including steps, units or code segments for virtually planning a first dental restoration. First production data is based on the planned first dental restoration for production thereof or of a product related to a medical procedure for installing at least a portion of the first dental restoration in an oral cavity of the patient. Scan data is provided including factual position data and/or factual shape data based on the first dental restoration when at least partly installed in the oral cavity of the patient. The second dental restoration is virtually planned, including adjusting the planned first dental restoration in dependence of the scan data. Second production data is provided based on the planned second dental restoration useful for production of the second dental restoration.