Closed joeflack4 closed 1 year ago
another angle to this issue would be how do you verify that all of what you need from a vocabulary is available. If you focus just on the terms/concepts, what gets loaded and how can we verify they are all there? Hard core would be to read either the code that builds the json that gets loaded (assuming), or the resulting json and use ConceptSystem$validate to verify they're in there. I'm sort of suggesting this could be red-herring metadata.
Just a quick response for now. The server doesn't know more about LOINC. It's just returning the resource you searched for. For LOINC, the HAPI LOINC loading module generates a CodeSystem resource that has a lot more info. See here for the hard-coded loaders and what they might do when using the CLI to load a native release file: https://github.com/hapifhir/hapi-fhir/tree/master/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/term https://github.com/hapifhir/hapi-fhir/tree/master/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/term/loinc
Thanks, Shahim. I was thinking that might be the case, but didn't yet know for sure.
I wonder if we will be requested to provide something more detailed for SNOMED but my guess is that it would not be a very high priority.
Gonna close this as not planned but perhaps this will come up again at some point.
Overview
I noticed a difference in the response I got. @ShahimEssaid I'm assuming you probably have a good idea why?
SNOMED
Request: http://20.119.216.32:8000/r4/CodeSystem?name=SNOMED%20CT
Response:
LOINC
Request: http://20.119.216.32:8000/r4/CodeSystem?system=http%3A%2F%2Floinc.org
Response: