Has anyone tried to use the FHIR API to search concepts by FSN or description? The lookup or find-matches works for concept ID but when I change it to display and provide a string its giving an error. Here is my payload (JSON) - any help will be appreciated.
payload = {
"resourceType": "Parameters",
“parameter”: [
{
“name”: “system”,
“valueUri”: “http://snomed.info/sct”
},
{
“name”: “exact”,
“valueBoolean”: str(exact).lower()
},
{
“name”: “property”,
“part”: [{“name”: “code”,“valueCode”: “parent”},{“name”: “display”,“valueString”: ‘renal failure’}],
“part”: [{“name”: “code”,“valueCode”: “child”}, {“name”: “value”,“valueCode”: “703164000”}],
}
\]
}
Hello @Joydeep_Sarkar
Further information on the NHS England Terminology Server is available here: The NHS England Terminology Server - NHS England Digital.
In particular have a look at the quick start for developers here: The NHS England Terminology Server - NHS England Digital.
You will find in this section that there are some example queries in Github here: GitHub - NHSDigital/TerminologyServer: Exemplars, code snippets, guidance for the NHS Digital Terminology Server. I would recommend going to the following Github folder: TerminologyServer/codesnippets/Content specific/SNOMED.
It is difficult to advise what your issue is with your query as I don’t know what your HTTP request URL was. It would also be useful to know what error message you had returned so I can help further with resolving your issue.