Stream: snomed
Topic: Retrieving SNOMED Codesystems with Firely .NET SDK
Bjørn Erik Nordal (Dec 09 2020 at 11:21):
Hi all. I am on Firely .NET sdk (lib) latest version. The lib sends POSTs to a Snowstorm server (trying to read SNOMED CT data) that speaks FHIR. I have GET samples that work in the browser, but cant get the parameters right for the POSTs in the lib. I keep getting "Compose element(s) or 'url' parameter is expected to be present for an expansion, containing eg http://snomed.info/sct?fhir_vs=ecl/ or http://snomed.info/sct/45991000052106?fhir_vs=ecl/)" whatever i do. I have tried using all three overloads of Expand method in the lib, but getting none to work. @Ward Weistra do you know if there are known issues with the lib regarding code systems or Snowstorm? Pls forgive me for crossposting...
Richard Kavanagh (Dec 09 2020 at 16:16):
Have you tried with the url set to the implicate valueset plus the ECL statement - e.g. "url=http://snomed.info/sct?fhir_vs=ecl/<<48176007 " ?
Bjørn Erik Nordal (Dec 10 2020 at 10:55):
Yes I have tried that. Same error...funny thing is I can list the value sets with Search<> but nor $expand them with var result = client.ExpandValueSet(). I have tried all three overloads of the function
Michael Lawley (Dec 11 2020 at 13:00):
How are you supplying the parameters? For a POST they need to be in the body as a Parameters resource.
Michael Lawley (Dec 11 2020 at 13:01):
It may be that Snowstorm does not support POST, and POST is not recommended for $expand unless you're actually sending the ValueSet itself since POST cannot be cached, while GET can
Last updated: Apr 12 2022 at 19:14 UTC