Dashmed SDK
How to get started
-
Install
dashmed-sbx
into you appnpm install dashmed-sbx
-
Import Dashmed into your app.
import Dashmed from 'dashmed-sbx'
-
Initiate sdk using your sdx API_KEY
Dashmed.init(API_KEY)
-
Register for ABHA
Dashmed.register(onSuccess)
onSuccess => function callback that returns data
-
Link record
Dashmed.linkrecord(abhaID="dashmed@sbx", careContextReason="Prescription for headache"), recordId="23423"
Yay! Record is now linked with given details.