Closed MrMustafa-2 closed 2 years ago
You could get the wordlist by adding includeKeywordResult=true in the search call. Please see the our open API (swagger) https://id.who.int/swagger/index.htmldocs for all endpoints and parameters,
In our API, the main identifiers are the URIs, codeinfo provides the URI of the entity in the stemId field. Once you receive the response from codeinfo, make another call to the URI that is returned in the stemId, this would give you all the information on the entity. This contains more information than the destinationentity which is used in the response to search request.
best,
can
On Mon, Feb 7, 2022 at 12:25 AM MrMustafa-2 @.***> wrote:
I have another issue, as when I search with "Blood" for example, It give me only the Destination Entities, but I also want the Word list to be get in the search result Also I want to search with code for example: code for specific Destination Entities like MA12.0 I use this URL but it not give me the details of specific Destination Entities https://id.who.int/icd/release/11/2021-05/mms/codeinfo/MA12.0 Can you help me please coz I am working on project now for using the web service
— Reply to this email directly, view it on GitHub https://github.com/ICD-API/csharp-samples/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABU6Z6H7YUMSIPDK7ND4KXLUZ37OBANCNFSM5NV62GBA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message ID: @.***>
Thanks Can, it is work, but it not give me the result I want, it get wordlist by adding includeKeywordResult=true But it give this result: vessels injury level other abnormal at effusion joint containing pressure finding laceration cells drug iliac multiple clotting renal fetal loss white
But I want for example when I search for "blood", it give me result like in that image, the required search result I mark it with red rectangle in this image: https://ibb.co/jbTd7Yg
Any body here ...
Hi,
You have to add the wildcard character % at the end of your search text (the "q" param).
Searching "blood" returns this word list: -vessels -injury -level -other -abnormal ...
Searching "blood%" returns this word list: -blood -blood-alcohol -blood-brain -blood-clot -blood-drug ...
For any doubt, please refer to our swagger page: https://id.who.int/swagger/index.html
Best, Marc
Thanks Can, last question please, If I want to get only words without destination Entities, How can I get only Words ?
I have another issue, as when I search with "Blood" for example, It give me only the Destination Entities, but I also want the Word list to be get in the search result Also I want to search with code for example: code for specific Destination Entities like MA12.0 I use this URL but it not give me the details of specific Destination Entities https://id.who.int/icd/release/11/2021-05/mms/codeinfo/MA12.0 Can you help me please coz I am working on project now for using the web service