A demo application that showcases the CloudMine CMHealth iOS SDK interface for Apple ResearchKit used in a Swift-only project.
ResearchKit is an Apple framework geared toward the applications of medical researchers. By itself, ResearchKit is a powerful tool for managing patient consent flows and charting patient activities. However, ResearchKit provides no mechanisms for storing the patient consent documents or other data it generates. This is where CloudMine and the CMHealth iOS SDK step in.
The CMHealth iOS SDK uses the CloudMine Connected Health Cloud to manage the user and data needs of ResearchKit applications. Through the CMHealth iOS SDK, your application can create patient accounts in the cloud, store consent documents and survey data associated with that patient, and even send the patient an email if they forget their password. Application developers can further leverage patient data using either the CloudMine iOS SDK within the application itself, or create a patient portal using the CloudMine JavaScript SDK. In all cases, the data is stored on the [CloudMine Connected Health Cloud](CMHealth iOS SDK), a HIPAA HITECH compliant cloud data platform for healthcare.
The CMHealth iOS SDK is built to work seamlessly with Swift, Apple's open source language for building apps on their platforms. If your ResearchKit app is built using Swift, you'll be able to use CMHealth while still writing efficient, idiomatic code.
This demo application requires CocoaPods for dependency management. If you don't already have it, install the cocoapods
gem:
sudo gem install cocoapods
Then you can proceed to clone, configure and build the project:
git clone https://github.com/cloudmine/AsthmaHealthSwift.git
cd AsthmaHealthSwift/
cp AsthmaHealthSwift/SupportingFiles/Secrets.swift-Template AsthmaHealthSwift/SupportingFiles/Secrets.swift
pod install
open AsthmaHealthSwift.xcworkspace/
The project should now open and build.
You will want to edit AsthmaHealthSwift/SupportingFiles/Secrets.swift
and add your CloudMine App ID and API Key.
Need a CloudMine account? Email our Sales team.