Stream: implementers
Topic: Terms and Facets of a concept
 katarya1 (Apr 18 2018 at 18:30):
 katarya1 (Apr 18 2018 at 18:30):
Good afternoon,
I am trying to see how to retrieve terms and facets of a concept.
As an example, SNOMED concept code 22298006, is MI. It has 1 FSN and 6 synonyms with one preferred and others as acceptable. If I run this query on  a test server http://hapi.fhir.org/baseDstu3/CodeSystem/$lookup?system=http://snomed.info/sct&code=22298006
I get the following result back:
{
  "resourceType": "Parameters",
  "parameter": [
    {
      "name": "name",
      "valueString": "Unknown"
    },
    {
      "name": "display",
      "valueString": "Myocardial infarct"
    },
    {
      "name": "abstract",
      "valueBoolean": false
    }
  ]
}
What modifications I need to make to have it return the terms, along with its usage type.
Thanks
 Lloyd McKenzie (Apr 18 2018 at 22:06):
 Lloyd McKenzie (Apr 18 2018 at 22:06):
@Grahame Grieve @Rob Hausam ?
 Grahame Grieve (Apr 18 2018 at 22:08):
 Grahame Grieve (Apr 18 2018 at 22:08):
you get more information from http://tx.fhir.org/r3/CodeSystem/$lookup?system=http://snomed.info/sct&code=22298006
 Grahame Grieve (Apr 18 2018 at 22:09):
 Grahame Grieve (Apr 18 2018 at 22:09):
@James Agnew will have to answer the hapi question
 Rob Hausam (Apr 18 2018 at 22:24):
 Rob Hausam (Apr 18 2018 at 22:24):
Yes, what's returned is server dependent, and HAPI has a fairly minimal implementation of this so far (my HAPI-based server responds essentially the same).
 Jim Steel (Apr 19 2018 at 00:04):
 Jim Steel (Apr 19 2018 at 00:04):
If you'd like to see an alternative response, from a different server, https://ontoserver.csiro.au/stu3-latest/CodeSystem/$lookup?system=http://snomed.info/sct&code=22298006
 Jim Steel (Apr 19 2018 at 00:05):
 Jim Steel (Apr 19 2018 at 00:05):
(not claiming that either response can be seen as authoritatively correct or incorrect)
 James Agnew (Apr 19 2018 at 00:34):
 James Agnew (Apr 19 2018 at 00:34):
Just to confirm, HAPI's terminology server doesn't currently load SCT facets. We certainly could, but we don't yet. There is dramatically improved LOINC support in the next version of HAPI though.
 Dwight Walker (Apr 19 2018 at 03:49):
 Dwight Walker (Apr 19 2018 at 03:49):
Just to confirm, HAPI's terminology server doesn't currently load SCT facets. We certainly could, but we don't yet. There is dramatically improved LOINC support in the next version of HAPI though.
Is this hapijs.com?
 Jim Steel (Apr 19 2018 at 03:51):
 Jim Steel (Apr 19 2018 at 03:51):
 Dwight Walker (Apr 19 2018 at 03:56):
 Dwight Walker (Apr 19 2018 at 03:56):
Where would you use it over Ontoserver?
Last updated: Apr 12 2022 at 19:14 UTC
 
                