A computer-based method, system and computer program of virtually planning a dental restoration in a patient are disclosed, comprising method steps, units or code segments for virtually planning a first dental restoration. First production data (12) 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 (14) is provided comprising 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 (16), comprising adjusting the planned first dental restoration in dependence of the scan data. Second production data (18) is provided based on the planned second dental restoration useful for production of the second dental restoration.