Hello there! After a lot of time that I have seen ...
# general
t
Hello there! After a lot of time that I have seen medplum finally I found the time to dig into it. Awesome work! I loved the monorepo approach. I have one question regarding the coding (ICD, Snomed) I m not sure if you store somewhere all the codes and their mapping in the db (something like OMOP CDM) or you just use the json files from fhir?
r
Hi @Thanos Vidakis , this is a great question. This typically called a "Terminology Service" in FHIR parlance, and we have an active github discussion about it (https://github.com/medplum/medplum/discussions/1411) The TL;DR is that these codes can be represented by two FHIR resources:
CodeSystems
and
ValueSets
. While we don't ship these out of the box today, we are thinking about how to implement them.
We'd love for you to join the discussion and share your use case with us. Knowing how our users would use such a service would help us inform our implementation
t
I am a bit lost if and how you search for diagnosis code. For example if I want to search for "cough" in order to find related ICD codes. I this something that medplum supports today? Do you search through the json in the code?
r
So we do load a subset of ICD codes from those files, but it really is just a sample set. We don't load them directly as JSON. Rather we load them as FHIR Valueset resources (https://hl7.org/fhir/valueset.html). This does allow you to search them in the Medplum App as autocomplete fields. But again, these don't contain the full code sets. You can see how we load these json files here: https://github.com/medplum/medplum/blob/main/packages/server/src/seeds/valuesets.ts
183 Views