HKMetadataKeySexualActivityProtectionUsed should likely store multiple enumerations, not a single boolean
| Originator: | greg | ||
| Number: | rdar://21404987 | Date Originated: | 06/16/2015 |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | iOS 9 (13A4254u) |
| Classification: | Enhancement | Reproducible: | Not Applicable |
Summary: When logging HKCategoryTypeIdentifierSexualActivity, the metadata HKMetadataKeySexualActivityProtectionUsed should more likely be an enumeration of types of sexual protection, rather than a boolean of whether or not protection was used. There are many types of protection available, and depending on what is being protected against, multiple types may be used. For instance, the enumerated values of "condom" and "birth control pill" might be combined. Steps to Reproduce: 1. Meet partner. 2. Um...ask your parents... 3. Use new app to log details of step 2. 4. Discover STD, go back through health kit data to review how. Expected Results: Notice that you only logged that a birth-control pill was used, not a condom. Actual Results: Notice that you only logged that "protection" was used. Wonder how disease manifested when you took precautions.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!