FHIR Chat · (no topic) · hapi

Stream: hapi

Topic: (no topic)


view this post on Zulip Binu DGIT (Dec 04 2016 at 09:04):

Please note the operation outcome here from my local server

<OperationOutcome xmlns="http://hl7.org/fhir">
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<h1>Operation Outcome</h1>
<table border="0">
<tr>
<td style="font-weight: bold;">error</td>
<td>[]</td>
<td>
<pre>Resource ValueSet/administrative-gender not found, specified in path: StructureDefinition.snapshot.element.binding.valueSet[x]</pre>
</td>
</tr>
</table>
</div>
</text>
<issue>
<severity value="error"/>
<code value="processing"/>
<diagnostics value="Resource ValueSet/administrative-gender not found, specified in path: StructureDefinition.snapshot.element.binding.valueSet[x]"/>
</issue>
</OperationOutcome>

view this post on Zulip Grahame Grieve (Dec 05 2016 at 08:24):

@James Agnew : http://stackoverflow.com/questions/40929691/deleting-a-medicationorder-by-identifier-in-fhir-dstu2-hl7?noredirect=1#comment69143492_40929691

view this post on Zulip Yunwei Wang (Aug 27 2018 at 21:34):

(deleted)

view this post on Zulip Aditya (May 02 2019 at 15:25):

@Jason Walonoski Thanks for your input.

Now I am using following :

compile group: 'ca.uhn.hapi.fhir', name: 'hapi-fhir-base', version: '3.7.0'
compile group: 'ca.uhn.hapi.fhir', name: 'hapi-fhir-structures-dstu3', version: '3.7.0'
compile group:'ca.uhn.hapi.fhir', name:'hapi-fhir-validation', version:'3.7.0'
compile group:'ca.uhn.hapi.fhir', name:'hapi-fhir-validation-resources-dstu3', version:'3.7.0'

But now getting error :

java.lang.ClassNotFoundException: org.hl7.fhir.r4.utils.FHIRPathEngine$IEvaluationContext
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

The error is when I execute following line :

FhirInstanceValidator instanceValidator = new FhirInstanceValidator();

view this post on Zulip HardikB (Dec 26 2019 at 16:57):

How do I change hapi fhir server to use RDS server (postgres)? Is there an envinronment variable or a configuration file?

view this post on Zulip James Agnew (Dec 27 2019 at 21:21):

@HardikB Have a look at the following project. There are instructions in the readme file for setting it up with postgres: https://github.com/hapifhir/hapi-fhir-jpaserver-starter


Last updated: Apr 12 2022 at 19:14 UTC