dashmed

1.2.2 • Public • Published

Dashmed SDK

How to get started

  1. Install dashmed into you app

    npm install dashmed
    
  2. Import Dashmed into your app.

    import Dashmed from 'dashmed'
    
  3. Initiate sdk using your API_KEY

    Dashmed.init(API_KEY)
    
  4. Sign in with ABHA

    Dashmed.login(onSuccess)
    

    onSuccess => function callback that returns user abha details

  5. Create new ABHA

    Dashmed.register(onSuccess)
    

    onSuccess => function callback that returns data

  6. Link record

    Dashmed.linkrecord(abhaID="dashmed@abdm", careContextReason="Prescription for headache"), recordId="23423"
    

    Yay! Record is now linked with given details.

Package Sidebar

Install

npm i dashmed

Weekly Downloads

4

Version

1.2.2

License

ISC

Unpacked Size

1.38 MB

Total Files

32

Last publish

Collaborators

  • romit