FHIR Chat · CLI does not work for r5 · hapi

Stream: hapi

Topic: CLI does not work for r5


view this post on Zulip Nils Strelow (Feb 16 2021 at 15:52):

If I start the CLI with -v r5 it just closes immediately without a meaningful error. It works when specifying r4.

Running the server with java -jar hapi-fhir-cli.jar run-server -v r5 says: "FHIR version not supported by this command: R5".

So I guess R5 is not supported by the cli yet?

java -jar hapi-fhir-cli.jar upload-definitions -t http://localhost:8080/fhir/baseR5 -v r5 --debug
------------------------------------------------------------
?  HAPI FHIR 5.3.0-SNAPSHOT - Command Line Tool
------------------------------------------------------------
Process ID                      : 13992@XPS
Max configured JVM memory (Xmx) : 3.5GB
Detected Java version           : 1.8.0_281
------------------------------------------------------------
2021-02-16 16:47:25.785 [main] [BaseApp.java:384] INFO  ca.uhn.fhir.cli.App Debug logging is enabled
2021-02-16 16:47:25.797 [main] [FhirContext.java:200] INFO  c.u.f.c.FhirContext Creating new FHIR context for FHIR version [R5]
2021-02-16 16:47:25.799 [main] [BaseApp.java:344] INFO  ca.uhn.fhir.cli.App HAPI FHIR is shutting down...

Last updated: Apr 12 2022 at 19:14 UTC