JSFiddle - React, Tailwind, and code Playground

by lforms

HTML

<html>
  <head><link rel=stylesheet href="https://clin-table-search.lhc.nlm.nih.gov/autocomplete-lhc-versions/15.1.1/autocomplete-lhc.min.css"></head>
  <body>
    <p><input type="text" id="npi_idv" placeholder="Provider name or NPI"></p>
    
    <script src="https://clin-table-search.lhc.nlm.nih.gov/autocomplete-lhc-versions/15.1.1/autocomplete-lhc_jQuery.min.js"></script>
  </body>
</html>

JavaScript

var autocomp = new Def.Autocompleter.Search(
  'npi_idv',
  'https://clin-table-search.lhc.nlm.nih.gov/api/npi_idv/v3/search?df=name.full,NPI',
  {tableFormat: true, colHeaders: ['Name', 'NPI']
  });