Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Trying to get Questions/Answer list of LOINC code #618

Open
babysarojini opened this issue Aug 17, 2024 · 3 comments
Open

Question: Trying to get Questions/Answer list of LOINC code #618

babysarojini opened this issue Aug 17, 2024 · 3 comments
Labels

Comments

@babysarojini
Copy link

babysarojini commented Aug 17, 2024

Hi,

After uploading the LOINC Terminology i am able to get details of particular code with below API

Eg: 57698-3 is for Lipid panel with direct LDL - Serum or Plasma

http://144.76.65.203:8080/fhir/CodeSystem/$lookup?system=http://loinc.org&code=57698-3 (i am getting details of code)

  1. Next i want to get hierarchy/questions for the code 57698-3 using an API..how i can get ?
  2. i also want to search with term on LOINC terminology url like "filter=lipids" same like in snomed url [http://localhost:8080/fhir/ValueSet/$expand?url=http://snomed.info/sct?fhir_vs=ecl/<<763158003&filter=Aspirin]

Please help..

@babysarojini
Copy link
Author

any reply to above pls...

@pgwilliams
Copy link
Member

https://loinc.org/57698-3

When we talk about about hierarchy in SNOMED CT, we're always talking about a parent-child/subtype relationship. The relationship between a panel and its questions is more like a "contains" relationship. I'm just looking up how LOINC themselves approach this. Did you look at their FHIR server? They've a test instance available if you apply for a free username/password. See https://loinc.org/news/loincs-new-fhir-server-provides-programmatic-access-to-loinc-content/

It looks like LOINC are providing their answer lists as ValueSets based on a URI containing the owing code: https://terminology.hl7.org/LOINC.html#loinc-answer-lists I don't see anything about Panels on that page.

Sorry @babysarojini, this is way deeper into how LOINC works with FHIR, than it is a SNOMED question. I'll tag @kaicode in case he'd like to add anything.

@kaicode
Copy link
Member

kaicode commented Aug 23, 2024

That first example LOINC code lookup returns many properties. Some of those may be relevant.
There is a guide for LOINC FHIR here: https://loinc.org/fhir/
Much of that functionality is supported by Snowstorm, but not all.

Snowstorm supports searching over any CodeSystem type using an implicit ValueSet using {code-system-url}?fhir_vs.
For example: ValueSet/$expand?url=http://loinc.org?fhir_vs&filter=lipids.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants