clinician-autocomplete

0.0.5 • Public • Published

Clinician Autocomplete

Our widget provides rich text searching and geolocation. So you can pre-fill long signup forms and reduce user drop off.

alt text

Demo

See a demo here

Quickstart

####1. Signup Get a free developer api key at BloomAPI

####2. Embed Widget Add the autocomplete.js from our CDN (or serve it locally)

<script type="text/javascript" src="https://cdn.bloomapi.com/assets/js/autocomplete-0.0.3.min.js"></script>

Add the text input to your application:

<input id="autocomplete" type="text" placeholder="Search Clinicians ...">

Setup the autocomplete javascript:

  var autocomplete = new Autocomplete((document.getElementById("autocomplete")), {
    apiKey: "[API Key]", //replace this with your BloomAPI key.
    distance: 25
  }).on("select", function(ev, selected){
  // Replace next line with code to communicated selected person to your application
  console.log(selected.npi);
  });

Documentation

Widget documentation and Direct API documentation available here.

Package Sidebar

Install

npm i clinician-autocomplete

Weekly Downloads

1

Version

0.0.5

License

MIT

Last publish

Collaborators

  • untoldone