Questions tagged [hapi-fhir]

HAPI-FHIR is an open source Java API for creating HL7 FHIR clients and servers.

HAPI-FHIR is an open source Java API for creating HL7 FHIR clients and servers.

It is created and maintained by James Agnew and the University Health Network and licensed under the Apache Software License 2.0.

Inspired by HAPI, a similar Java library for the HL7v2 standard; HAPI-FHIR is for use with the next-generation protocol from HL7 called Fast Healthcare Interoperable Resources (FHIR™).

Documentation can be found at https://jamesagnew.github.io/hapi-fhir/ and the source code is available on Github at https://github.com/jamesagnew/hapi-fhir

247 questions
3
votes
0 answers

HAPI FHIR java @create interaction does not return any response

I have implemented Appointment booking where @Create interaction is used to create an appointment. Now I want to return MethodOutcome for booked appointment as the reponse of @create method. MethodOutcome oMethodOutcome = new…
3
votes
1 answer

Set a default encoding in HAPI-FHIR's RESTful client?

I'm using the HAPI-FHIR library's generic RESTful client to communicate with a FHIR server which is occasionally delivering some unclean XML, but the errors can be avoided if I use JSON. This is easy to override in client.search() by adding…
ewall
  • 27,179
  • 15
  • 70
  • 84
2
votes
0 answers

OpenAPI Generator: How to ignore missing properties in openapi yaml file

I am trying to generate an API client for Nestjs using this openapi definition. However openapi-generator-cli report lots of missing content fields, here are a few examples: [[nestjs-generator] ./hapi-fhir-openapi.yaml] -attribute…
2
votes
0 answers

ERROR while working with Bunsen for FHIR data transformation to spark: py4j.protocol.Py4JJavaError: An error occurred while calling o37.extractEntry

I am learning Bunsen https://engineering.cerner.com/bunsen/0.5.10-SNAPSHOT/index.html for handling FHIR data with Pyspark the folder bundles contain a fhir bundle which is a collection of resources as json objects I downloaded all the…
moe_
  • 219
  • 2
  • 3
  • 15
2
votes
0 answers

Hapi FHIR RestfulServer not parsing id of R4 Consent resource

In my tomcat application, I have a FHIRServlet that extends RestfulServer. It registers an interceptor to be able to retrieve the original JSON that is received by the servlet (I need to sign it and return it) and a Consent resource provider that…
ixM
  • 1,244
  • 14
  • 29
2
votes
1 answer

Clinical Notes (SOAP) representation FHIR

My question is more about modeling simple clinical notes in SOAP (Subjective, Objective, Assessment, Plan) into the FHIR specification. I have been trying to look into the documentation but it doesn't provide a clear way of doing it or a clear way…
2
votes
2 answers

How to keep running java aplication on aws?

I am new to Java. I have hapi fhir server running on AWS by cloning this repository (https://github.com/hapifhir/hapi-fhir-jpaserver-starter) I run my server with follwing command: "sudo mvn -e jetty:run" -- My Problem: As soon as I log out of AWS,…
vikrant chauhan
  • 121
  • 1
  • 1
  • 10
2
votes
0 answers

hapi fhir elastic search how to configure

I am using hapi fhir v5.1.0 with jpa server(hapi-fhir-jpa-server-starter). As per the description, this version contains elastic search library for text search. How can I configure elastic server here? I see some entries in the properties file and…
covidcoder
  • 21
  • 1
2
votes
1 answer

Resolving "Multiple Jar files" aka "scanned from multiple locations"

I am working on a jetty service, and when starting it, I get a lot of: SomeClass scanned from multiple locations: jar: jar1!Someclass.class, jar2!Someclass.class So a single class is provided by two jars, and which I get on runtime is undefined,…
2
votes
1 answer

_include in hapi fhir

Currently I am developing a FHIR Search API using HAPI FHIR (Java). In the FHIR resource MedicationRequest in HAPI FHIR (Java), I want to include the Medication resource inline under MedicationRequest.medication[x], instead of as a Reference. I have…
Shriya
  • 21
  • 2
2
votes
1 answer

Posting Bundle of Resources using HAPI FHIR

I'm looking for help on how to post a bundle containing multiple resources to a HAPI Server. I'm running the [test server][1], and I've tried using both the Jetty server and running it as a docker container. I'm able to successfully start the…
Grey
  • 331
  • 3
  • 11
2
votes
1 answer

FHIR interoperability platform choice

I want to create an interoperability platform FHIR compliance with a complex business logic. Our clients can send FHIR resources to platform. The best architecture by best practise documentation is an ibrid system FHIR + SOA, as this link says. Now…
Joe Taras
  • 15,166
  • 7
  • 42
  • 55
2
votes
1 answer

Validate if a resource matches a search criteria?

I am building a minimalistic subscription service. Is there any way to check if a resource matches predefined search criteria? eg, if I have: String criteria = "Observation?code=http://loinc.org|1975-2"; Observation observation = new…
MAKZ
  • 165
  • 14
2
votes
1 answer

HAPI FHIR Retrieve Patients

I am very new to the HAPI FHIR client, and have been endlessly browsing tutorials and documentation to try and assist me with my program that I am trying to develop, but I am now stuck when it comes to querying a server to search for a list of…
James Foster
  • 71
  • 1
  • 7
2
votes
1 answer

How to generate Java Model classes from FHIR resources?

I was trying to understand how the model classes are getting generated for given FHIR Resource in the below link http://build.fhir.org/ig/HL7/VhDir/StructureDefinition-vhdir-organization.html can see XML schema, Json-schema & Schematron, Is there…
Syed Rafi
  • 825
  • 2
  • 12
  • 35
1
2
3
16 17