Stream: hapi
Topic: terminologies(snomed+loinc) upload
Jayashree (Aug 09 2018 at 07:06):
hello all,
i'm trying to upload definitions, examples and terminologies to hapi-fhir using hapi-fhir-cli. definitions and examples were uploaded successfully but facing issues while uploading the terminologies. can any one suggest how to solve.
error:
C:\Git\jay\test\Hapi-fhir-cli\hapi-fhir-3.4.0-cli>hapi-fhir-cli upload-terminology -d LOINC_2.58_MULTI-AXIAL_HIERARCHY.zip -d LOINC_2.58_Text.zip -v dstu3 -t http://localhost:9090/hapi-fhir-jpaserver-example/baseDstu3 -u http://loinc.org
Picked up _JAVA_OPTIONS: -Xms512m -Xmx1024m
? HAPI FHIR 3.4.0 - Command Line Tool
Process ID : 9816@MININT-83BIG3V
Max configured JVM memory (Xmx) : 989.9MB
Detected Java version : 1.8.0_144
2018-08-09 12:30:32 [main] INFO c.u.f.c.UploadTerminologyCommand Beginning upload - This may take a while...
2018-08-09 12:30:34 [main] ERROR ca.uhn.fhir.cli.App Error during execution:
ca.uhn.fhir.rest.server.exceptions.InvalidRequestException: HTTP 400 : Invalid request: The FHIR endpoint on this server does not know how to handle POST operation[$upload-external-code-system] with parameters [[]]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException.newInstance(BaseServerResponseException.java:301)
at ca.uhn.fhir.rest.client.impl.BaseClient.invokeClient(BaseClient.java:323)
at ca.uhn.fhir.rest.client.impl.GenericClient$BaseClientExecutable.invoke(GenericClient.java:446)
at ca.uhn.fhir.rest.client.impl.GenericClient$OperationInternal.execute(GenericClient.java:1155)
at ca.uhn.fhir.cli.UploadTerminologyCommand.run(UploadTerminologyCommand.java:105)
at ca.uhn.fhir.cli.BaseApp.run(BaseApp.java:224)
at ca.uhn.fhir.cli.App.main(App.java:43)
2018-08-09 12:30:34 [Thread-0] INFO ca.uhn.fhir.cli.App HAPI FHIR is shutting down...
Last updated: Apr 12 2022 at 19:14 UTC