SMART on FHIR framework for iOS and OS X