FHIR Chat · HAPI CLI - Upload Terminology · hapi

Stream: hapi

Topic: HAPI CLI - Upload Terminology


view this post on Zulip Shreshta Balachandar (Dec 14 2020 at 16:19):

Hey everyone,

I'm looking to use the HAPI CLI to upload terminologies to my server. I noticed the following commands to do so in the documentation for SNOMED and LOINC:
./hapi-fhir-cli upload-terminology -d Downloads/SnomedCT_RF2Release_INT_20160131.zip -f dstu3 -t http://localhost:8080/baseDstu3 -u http://snomed.info/sct

./hapi-fhir-cli upload-terminology -d Downloads/LOINC_2.54_MULTI-AXIAL_HIERARCHY.zip -d Downloads/LOINC_2.54_Text.zip -f dstu3 -t http://localhost:8080/baseDstu3 -u http://loinc.org

Questions:

  1. If I want to use a Zip file for a separate codesystem, what format does this Zip file need to be in?
  2. Will the CLI tool work for the latest versions of SNOMED and LOINC codes?

Thanks,
Shreshta

view this post on Zulip Lin Zhang (Dec 14 2020 at 23:37):

  1. The command can also used to upload a custom terminology (see the resources in the github source codes).

view this post on Zulip Lin Zhang (Dec 14 2020 at 23:37):

  1. At least LOINC v2.68.

view this post on Zulip Shreshta Balachandar (Dec 15 2020 at 18:13):

Hi Lin,

Thanks for your response! For the custom terminology upload, could you please link me to the documentation resources in GitHub? I'm having some difficulty locating it.

Thanks,
Shreshta

view this post on Zulip Lin Zhang (Dec 15 2020 at 23:34):

https://github.com/hapifhir/hapi-fhir/tree/master/hapi-fhir-jpaserver-base/src/test/resources/custom_term


Last updated: Apr 12 2022 at 19:14 UTC