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
0
votes
1 answer

How to get patient records from EPIC FHIR with just telecom as query string

I am trying to search FHIR data from EPIC system by connecting to FHIR sandbox. I just wanted to pull all patient records with just telecom (phone or email) like GET [base]/Patient?telecom=abc@email.com. But it looks like EPIC retrieves results only…
code tutorial
  • 554
  • 1
  • 5
  • 17
0
votes
1 answer

Retrieving main CarePlan + all sub CarePlans that are part-of the main plan

We are building a web-app for careplan creation and management. We decided to build our app in this fashion: Main plan (CarePlan) section 1 (CarePlan) section 2 (CarePlan) ... section n (CarePlan) Reasoning behind this approach is any of our…
sleizy
  • 3
  • 3
0
votes
1 answer

Maven compile - Cannot find symbol

how can I fix this "cannot find symbol" compilation error? [ERROR] ../hapi-fhirstarters-simple-server/src/main/../SimpleRestfulServer.java:[30,43] cannot find symbol [ERROR] symbol: class StaticCapabilityStatementInterceptor [ERROR] location:…
0
votes
2 answers

Hapi FHIR Bundle - Resource doesn't contain id element

I'm trying to generate a Bundle that contains a diagnosticReport and multiple associated medias. However, I can't manage to get the generated bundle to contain the id element for the media's resource (entry[i]/resource/id). I generated the…
ixM
  • 1,244
  • 14
  • 29
0
votes
2 answers

pg_dump from Azure Postgres Service which contains large data set

We are facing well-known pg_dumps effeciency problems in terms of velocity. We currently have a Azure hosted PostgreSQL, which holds our resources that are being created/updated by SmileCDR. Somehow after three months it is getting larger due to…
nurisezgin
  • 1,530
  • 12
  • 19
0
votes
2 answers

How to add elements from JSONArray to QuestionnaireItemOptionComponent List?

Can someone give an example of how to save String in QuestionnaireItemOptionComponent? I can't find the way to do that. Is there any other way to do this? I have options stored in JSONArray. This is what I'm trying to do: JSONArray options =…
SP.
  • 322
  • 5
  • 19
0
votes
1 answer

FHIR search in the reference resource

I have a Slot resource which has the reference to a Schedule resource. The schedule resource has a list of actors including Patient and Practitioner and all. If i want to retrieve a booked slot with the assigned Practitioner name, what will be the…
Dev
  • 1
  • 2
0
votes
1 answer

How to link batch-response entries with the request entries in FHIR (DSTU3)

I am currently building an application for which it is important to check the existence of resources with a certain profile. As we need to check this for 40+ profiles I'd like to put this all in 1 batch request and let our HAPI-FHIR server…
MrDooker
  • 1
  • 4
0
votes
1 answer

how to use NutritionIntake with python fhirclient libary?

Am using fhirclient libary "3.2.0" and I would need to make use of the FHIR NutritionIntake resource. My understanding is that it is not available as I could not find underl the "fhirclient.models.". Please, correct me if I am wrong. My attempt to…
Carlo Allocca
  • 591
  • 1
  • 7
  • 19
0
votes
2 answers

Change search URL in HAPI-FHIR

I am currently working on a Hapi-FHIR project. There I want to implement a collection of Questionnar Responses by Patient. The collection gives back all QuestionnaireResponses of a Patient with a given PatientId. This works without problems but I…
0
votes
0 answers

Trying to expunge a patient but it's not working

I am trying to delete a patient using delete and $expunge, I am able to do it at system level but at the instance level keep getting 405 method not allowed. System-Level http://localhost:8080/smart-pgd-fhir/v1/$expunge Post { "resourceType":…
0
votes
2 answers

What is difference between vhDir :Network and Organization in FHIR

How we need to query Network(vhdir Resource) from Organization endpoint How we differentiate Network & Organization Reference : http://build.fhir.org/ig/HL7/VhDir/StructureDefinition-vhdir-network.html
Syed Rafi
  • 825
  • 2
  • 12
  • 35
0
votes
1 answer

Add a "tag" to an IAnyResource

How do I add a "tag" to an IAnyResource? import org.hl7.fhir.instance.model.api.IAnyResource; import org.hl7.fhir.instance.model.api.IBaseCoding; import org.hl7.fhir.r4.model.Coding; import java.util.ArrayList; import java.util.List; public…
granadaCoder
  • 26,328
  • 10
  • 113
  • 146
0
votes
1 answer

How to include the full object instead of "contained" in HAPI FHIR

I am very new to hapi FHIR, I am trying to encode the request in following format. CoverageEligibilityRequest coverageEligibilityRequest = new CoverageEligibilityRequest(); Patient patient = new Patient().addIdentifier(new…
0
votes
1 answer

HAPI FHIR @Create Operation not returning MethodOutcome Response

I was basing my program off of the samples on hapishir's website and the operation works in that I receive the JSON body and I'm updating the database. The issue I have though is that there is no response being returned. I build the MethodOutcome…
Travis Frazier
  • 441
  • 3
  • 13