A flutter package that allows programmatic access to the International Classification of Diseases (ICD) API.
This package allows you to search through the ICD database.
First, visit the ICD API website, create or login into your acccount to get your "ClientID" and "ClientSecret" keys.
- 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');
- 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.
To improve on this ReadMe doc.