Joe Flack: I am looking for help with uploading value sets to HAPI.
Joe Flack: I'm using: https://github.com/hapifhir/hapi-fhir-jpaserver-starter
Joe Flack: And using this documentation to use the CLI to upload terminology: https://hapifhir.io/hapi-fhir/docs/tools/hapi_fhir_cli.html#upload-terminology
Joe Flack: The CLI's help text said that it was flexible as to whether I would pass a zip file, or CSV/text, or whatever file of my choice. But I have not had such luck.
Joe Flack: Issue #1: ICD-10-CM
It uploaded, but I can't find any data in the server.
I used this command: hapi-fhir-cli upload-terminology -d ./data/value_sets/LOINC/Loinc_2.71_MultiAxialHierarchy_3.5.zip -d ./data/value_sets/ICD-10-CM/icd10cm_tabular_2021.xml -v r4 -t http://localhost:8080/fhir -u http://hl7.org/fhir/sid/icd-10-cm
Joe Flack: I got this success message:
Joe Flack: Here's some info from http://localhost:8080/fhir/CodeSystem
Joe Flack: When I check ConceptMap or ValueSet resources, I get 0 results. Where are these supposed 45011 concepts that were uploaded?
Joe Flack: Issue #2: LOINC
I tried uploading some flat files, but got error. I tried some lighter-weight zip files, but it said it was missing all sorts of files. I then tried the 1.5GB zip file.
I ran this command: hapi-fhir-cli upload-terminology -d ./data/value_sets/LOINC/Loinc_2.71_MultiAxialHierarchy_3.5.zip -d /Users/joeflack4/projects/hapi-fhir-jpaserver-starter/data/value_sets/LOINC/_archive/_Full/Loinc_2.71.zip -v r4 -t http://localhost:8080/fhir -u http://loinc.org
and this is the abridged version of the error I got: