dashmed
v1.2.2
Published
100x faster ABDM Integration. Interoperable healthcare in minutes not months
Downloads
22
Maintainers
Readme
Dashmed SDK
How to get started
Install
dashmed
into you appnpm install dashmed
Import Dashmed into your app.
import Dashmed from 'dashmed'
Initiate sdk using your API_KEY
Dashmed.init(API_KEY)
Sign in with ABHA
Dashmed.login(onSuccess)
onSuccess => function callback that returns user abha details
Create new ABHA
Dashmed.register(onSuccess)
onSuccess => function callback that returns data
Link record
Dashmed.linkrecord(abhaID="dashmed@abdm", careContextReason="Prescription for headache"), recordId="23423"
Yay! Record is now linked with given details.