Skip to content

bloomapi/clinician-autocomplete

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.