MyCarePath
MyCarePath, powered by Avidon Health, guides members through a personalized wellness journey of courses and content, and completed courses count toward the member's activity. AFCore gives your app a secure access URL for the member that you open in an in-app web view, so the journey never leaves your app. Requires MyCarePath to be enabled for your client.
What you can do
- Open the member's MyCarePath home page inside your app.
- Land the member directly on the course catalog or the content library.
- Open a page your tenant configures, by its page id.
Key APIs
| Call | What it is for |
|---|---|
getMyCarePathAccessUrl() | Access URL for the MyCarePath home page |
getMyCarePathAccessUrl(section = ...) | Access URL that lands on COURSES or CONTENT_LIBRARY |
getMyCarePathAccessUrl(pageId = ...) | Access URL for a tenant-configured page |
The URL is tied to the member's session: request a fresh one every time the member opens MyCarePath.
Example: open the course catalog
- Android (Kotlin)
- iOS (Swift)
lifecycleScope.launch {
try {
val url = AFCore.myCarePath().getMyCarePathAccessUrl(section = MyCarePathSection.COURSES)
if (url.isNotEmpty()) webView.loadUrl(url) else showUnavailable()
} catch (t: Throwable) {
showError(t)
}
}
Task {
do {
let url = try await AFCore.shared.myCarePath().getMyCarePathAccessUrl(section: .courses)
if let link = URL(string: url), !url.isEmpty {
webView.load(URLRequest(url: link))
} else {
showUnavailable()
}
} catch {
showError(error)
}
}
Learn more
- API Reference -- every MyCarePath call and model.
- Complete integration guides for MyCarePath are in AIDE Docs.