Allow apps writing to iOS Health - duplicate records?
Apps can write data to Health because this allows you to add data from other sources.

For example, you might go on a run without your iPhone but with another health tracker which could track the activity (such as steps). The linked app for this tracker could import the data into the Health app.

iOS Health will figure out duplicate data by itself and won't count activities twice.