2 Replies
      Latest reply: Mar 5, 2017 10:25 PM by JoshPayne RSS
      GJNilsen Level 1 Level 1 (0 points)

        The scale answer type is pretty nice for logging stuff like pain, but I also need to log the location on the body where the subject is experiencing the pain. I have made a picker as a subclass of UIView and used that in an app, but now with CareKit, it and ResearchKit is a perfect match.

        The question is how I incorporate my custom UIView into an answer with a scale picker.

        I was hoping there was a way to just put a view into an answer step, but after some reading I now really fear I have to fork ResearchKit and make a ORKAnswerTypeImageMap.

        Anyone with a suggestion on how Ill solve this problem?

         

        https://cloud.githubusercontent.com/assets/628887/15027582/d69ab586-1244-11e6-89d1-b4c7457ba5f2.gif

         

        The link shows the UIVIew I subclassed, it uses UIBezierPaths for each body part, and has the front and back side of the body.