icd 0.0.6
icd: ^0.0.6 copied to clipboard
A flutter package that allows programmatic access to the International Classification of Diseases (ICD) API.
A flutter package that allows programmatic access to the International Classification of Diseases (ICD) API.
Features #
This package allows you to search through the ICD database.
Getting started #
First, visit the ICD API website, create or login into your acccount to get your "ClientID" and "ClientSecret" keys.
Usage #
- Add this package to your pubspec.yaml
- Import the package where neccessary
- VERY IMPORTANT: Initialize the plugin preferably in the initState of your widget by passing your "ClientID" and "ClientSecret" keys.
ICD().initializeICDAPI(
clientID:'your clientID',
clientScretKey:'your clientSecret',
);
- Then you use the "searchICD" callback to search through the ICD Database.
final List<ICDResult> results = ICD().searchICD(keyWord:'your search keyword');
Additional information #
- Visit the ICD API website for more info.
- Feel free to lay your complaints, bugs or suggestions.
- If you want any feature, do let me know.
TODO: #
To improve on this ReadMe doc.