How can I retrieve the BPM data that underlies the SDNN data formation of HRV?

I am working on an application related to Heart Rate Variability. To complete a step, I need the data that can be found in "Heart Rate Interval Measurements" located in HealthKit by pressing on the value returned in the variability section (the specific value is SDNN). The data I would like are those in the photo. Is it possible to retrieve them using Swift? I have been trying for a week without results. Thank you very much for your help.

Hi. This forum is for discussions about the Open Source Swift language itself (ongoing development and use of). Your post appears to be more about usage of a framework (probably one usable by Swift). The forum owners think that these kinds of questions are better suited to be asked in other places. Probably the Apple Developer Forums or Stack Overflow. You are more likely to get answers there.

Good luck!

Thank you very much for the response, I didn't realize that this forum wasn't correct. Thanks again.