Open voldedore opened 5 years ago
hapi-fhir/hapi-fhir-cli/hapi-fhir-cli-api/src/main/java/ca/uhn/fhir/cli/ExampleDataUploader.java
line 628:
CHANGE specUrl = "http://build.fhir.org/examples-json.zip"; TO specUrl = "http://hl7.org/fhir/R4/examples-json.zip";
Thanks for replying @ggojang, I'll test it as soon as I've got some spare time and I'd be happy to make a PR if things are alright.
The solution proposed by @ggojang works like a charm for the CLI app in version 5.4.0. It should be patched as soon as possible.
Describe the bug The latest hapi-fhir-cli (3.7.0 Gale) (upload examples) fails to parse example.json (downloaded from http://build.fhir.org/examples-json.zip).
Full error code:
To Reproduce Steps to reproduce the behavior:
./hapi-fhir-cli upload-examples -t http://localhost:10009/api -c -v r4 -l 10
Expected behavior The cli should have successfully imported example data to the fhir server target.
Environment (please complete the following information):
Additional context Structure: R4