承接 kyleweishaupt/php-icd10 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

kyleweishaupt/php-icd10

最新稳定版本:0.0.1

Composer 安装命令:

composer require kyleweishaupt/php-icd10

包简介

PHP ICD-10 Parser

README 文档

README

PHP library for parsing CMS Medicare ICD-10 Codes.

Install

Using Composer to install:

composer require kyleweishaupt/php-icd10

Usage

use ICD10Parser\ICD10Parser;

// From ordered .txt file
$filePath = __DIR __ . "/data/icd10cm_order_2023.txt";
$orderedCodes = ICD10Parser::fromFile($filePath)->toArray();

// Get the first code in the file
$firstCode = $orderedCodes[0];
var_dump($firstCode);

// object(ICD10Parser\ICD10CodeOrdered) {
//   ["order"]=> int(1)
//   ["code"] =>string(3) "A00"
//   ["valid"] => bool(false)
//   ["shortDescription"] => string(7) "Cholera"
//   ["longDescription"] => string(7) "Cholera"
// }

// Get code with decimal as string
$code = $firstCode->codeFormatted(); // A001 -> A00.1

// Or get from string contents (in case file loaded or ephemeral, etc.)
$orderedCodes = ICD10Parser::fromString($stringContents)->toArray();

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

This package is NOT affiliated with CMS and/or the U.S. government in any way, shape or form. There is no warranty whatsoever and using this package is entirely at your own risk. Any nefarious or malicious use is strictly forbidden.

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

统计信息

  • 总下载量: 6
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-03-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固