Stream: hapi
Topic: Support for 5.0.0-snapshot1
Jens Villadsen (Dec 23 2021 at 15:59):
@James Agnew will http://hl7.org/fhir/5.0.0-snapshot1/ models be supported by HAPI for the upcomming connecthathon?
Grahame Grieve (Dec 23 2021 at 20:16):
I have updated the core code for that version of R5, so I think that all @James Agnew has to do is a full release of HAPI. (or someone in James' team)
James Agnew (Dec 24 2021 at 17:12):
Should have a new HAPI FHIR PREx-SNAPSHOT build in the next few days with
the latest models imported.
James Agnew (Dec 24 2021 at 17:22):
@Grahame Grieve one thing i notice as I try to bump this - All of the search parameter constants seem to be missing from the latest R5 model classes. I'm gonna work around this to get HAPI compiling, so no rush.. but it'd be nice to get these back
Grahame Grieve (Dec 26 2021 at 20:56):
hmm. I didn't deliberately remove them - are they not in the generator?
Grahame Grieve (Dec 26 2021 at 21:25):
oh no. that's an error in R5 itself
Joe Flack (Dec 27 2021 at 02:41):
Mery xmas all!
Joe Flack (Dec 27 2021 at 02:42):
I am looking for help with uploading value sets to HAPI.
Joe Flack (Dec 27 2021 at 02:42):
I'm using: https://github.com/hapifhir/hapi-fhir-jpaserver-starter
Joe Flack (Dec 27 2021 at 02:43):
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 (Dec 27 2021 at 02:43):
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 (Dec 27 2021 at 02:44):
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 (Dec 27 2021 at 02:45):
I got this success message:
<Parameters xmlns="http://hl7.org/fhir">
<parameter>
<name value="success"/>
<valueBoolean value="true"/>
</parameter>
<parameter>
<name value="conceptCount"/>
<valueInteger value="45011"/>
</parameter>
<parameter>
<name value="target"/>
<valueReference>
<reference value="CodeSystem/1"/>
</valueReference>
</parameter>
</Parameters>
Joe Flack (Dec 27 2021 at 02:48):
Here's some info from http://localhost:8080/fhir/CodeSystem
"name": "ICD-10-CM",
"status": "active",
"content": "not-present"
Joe Flack (Dec 27 2021 at 02:48):
When I check ConceptMap or ValueSet resources, I get 0 results. Where are these supposed 45011
concepts that were uploaded?
Joe Flack (Dec 27 2021 at 02:51):
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:
ca.uhn.fhir.rest.server.exceptions.InvalidRequestException: HTTP 400 : Unknown file: hapi-fhir-cli875599301215840345.zip
Grahame Grieve (Dec 27 2021 at 05:59):
it may be some time before someone knowledgeable answers - xmas time, and the HAPI team has a couple of weeks off
Grahame Grieve (Dec 27 2021 at 19:44):
@James Agnew this PR restores the search parameters: https://github.com/hapifhir/org.hl7.fhir.core/pull/700
Last updated: Apr 12 2022 at 19:14 UTC