Download the PHP package medcore-ua/nk-025-2021-parser without Composer
On this page you can find all versions of the php package medcore-ua/nk-025-2021-parser. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download medcore-ua/nk-025-2021-parser
More information about medcore-ua/nk-025-2021-parser
Files in medcore-ua/nk-025-2021-parser
Package nk-025-2021-parser
Short Description A PHP library to parse the NK-025-2021 medical classifications from meddata.pp.ua.
License LicenseRef-CSSM-Unlimited-2.0
Informations about the package nk-025-2021-parser
NK-025-2021 Parser
A PHP library to parse the NK-025-2021 medical classifications from meddata.pp.ua.
Installation
You can install the package via Composer:
Usage
The parse() method returns a ClassificationCollection object which you can iterate over, or use the finder methods to search for specific classifications.
Basic Usage
Finding a Classification
You can find a classification by its code or specific code.
Searching for Classifications
You can search for classifications by name (in either Ukrainian or English).
Data Structure
Each Classification object contains:
class— class (e.g., "I")chapter— chapter (e.g., "I. Certain infectious and parasitic diseases")code_range— code range (e.g., "A00-A09")sub_category— sub category (e.g., "Intestinal infectious diseases")code— code (e.g., "A00")name_en— English name (e.g., "Cholera")name_ua— Ukrainian name (e.g., "Холера")specific_code— specific code (e.g., "A00.0")specific_name_en— specific English name (e.g., "Cholera due to vibrio cholerae 01, biovar cholera")specific_name_ua— specific Ukrainian name (e.g., "Холера, спричинена холерним вібріоном 01, biovar cholera")
Contributing
Contributions are welcome and appreciated! Here's how you can contribute:
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Please make sure to update tests as appropriate and adhere to the existing coding style.
License
This library is licensed under the CSSM Unlimited License v2.0 (CSSM-ULv2). See the LICENSE file for details.