Code Monkey home page Code Monkey logo

cakephp-npi-registry's Introduction

NPI Registry Plugin

CakePHP plugin for interacting with the NPPES NPI Registry API.

Intro

This is intended to be a few simple tools to make it easier to query and validate individual providers and organizations on the registry.

The package is mainly a wrapper for converting requests and responses from the API into PHP classes.

The API client is based on version 2.1 as it is the only supported/recommended version at the time of creation.

Disclaimer

This package is NOT affiliated with CMS and/or the U.S. government in any way, shape or form. This is simply a PHP abstraction to a public and free API provided by CMS.

There is no warranty whatsoever and using this package is entirely at your own risk. Any nefarious or malicious use is strictly forbidden.

Install

Using Composer to install:

composer require kyleweishaupt/cakephp-npi-registry

Then update src/Application.php:

public function bootstrap()
{
    $this->addPlugin('NPIRegistry');
}

Usage

To Do: Improve this.

use NPIRegistry\NPIRegistryService;

NPIRegistryService::individuals()->searchByName(string $name);
NPIRegistryService::organizations()->searchByName(string $name);

Contributing

This may or may not be maintained in the future.

If you need this functionality for a production environment, I highly recommend forking the repository.

License

Copyright (c) 2023-present, Licensed under The MIT License.

cakephp-npi-registry's People

Contributors

kyleweishaupt avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.