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
0 answers

Errors when running $reindex on HAPI FHIR server

I've added a couple of custom search parameters to a HAPI Fhir server (SMILES CDR 2021.02.R05) which doesn't have the automatic indexing turned on. According to the docs: To reindex all resources, simply call the $reindex operation with no…
user632657
  • 473
  • 3
  • 10
0
votes
2 answers

IBM Watson Assistant Custom Extension Variable Assignments

I am creating a proof-of-concept chatbot that will take patient queries (e.g. "What is the name of my doctor?"), retrieve the information requested through a FHIR API, and return the information requested (e.g. "Your doctor is Dr. Smith."). I was…
C Chen
  • 25
  • 4
0
votes
1 answer

Tomcat won't access hapi-fhir-jpaserver-starter using intellij

I am trying to understand how the fhir works so i read the documentation and in the documentation they recommended me to deploy fhir server from https://github.com/hapifhir/hapi-fhir-jpaserver-starter. So first I imported the project in intellij and…
HIZAM
  • 7
  • 4
0
votes
0 answers

Updating urls in FHIR bundle to new Domain

I am building an interface between multiple existing FHIR Rest APIs and a new FHIR repository that will expose a consolidated API on a new domain. What is the best way to update all(most) of the urls in the bundle(s)/resources to represent the new…
David
  • 139
  • 1
  • 13
0
votes
1 answer

Can I restore deleted FHIR resource from _history and maintain its ID?

Most FHIR servers won't completely remove a FHIR resource from the database when you do a DELETE. What I'm wondering is this: if I retreive the latest version of a deleted resource using it _history for example: GET Patient/1/_history/2 and want to…
Henrik Joreteg
  • 1,698
  • 16
  • 18
0
votes
2 answers

Hapi FHIR - Appointment with patientId and list of service category name

I am new to HAPI FHIR api, But I am trying to get Appointment resources for a patientID with service category and service type code. I can find appointments for patient with withIDAndCompartment but not sure how to add the search criteria. Bundle…
Ksyar2001
  • 5
  • 2
0
votes
2 answers

Hapi FHIR - iterating over pages of a response / missing display field

I'm itarating over all enteties of a ressource type like so. while (query.getLink(IBaseBundle.LINK_NEXT) != null) { query.getLink("next").setUrl(FhirUtils.replaceBaseUrl(query.getLink("next").getUrl, fhirClient.getServerBase)) query…
0
votes
1 answer

Appropriate usage of FHIR MedicationRequest paired with MedicationStatement basedOn

I've seen the relationship between a MedicationRequest and MedicationStatement used in different ways at different healthcare entities - specifically linking the two with MedicationStatement.basedOn - and I'm curious if there is a best practice or…
dajaffe
  • 855
  • 13
  • 34
0
votes
1 answer

Which FHIR resource do I need to use?

I am developing a dialysis app and need to store a diagnosis to display into a table as shown in the attached image. Can anyone provide guidance on which R4 FHIR resources to use for this? Thank you. I've looked into the FHIR docs and I am still…
0
votes
1 answer

Validation of FHIR resource with custom schema and custom code system extension

I am new to the FHIR world and I am trying to solve healthcare problems in my local region. In my use case, I have following two requirements For Resource I have to use most of the resources as it is from FHIR R4. ex - Encounter,…
0
votes
1 answer

How can I create SerachParameter based on resource’s resource on FHIR

I have Basic object with the subject that referenced to ImagingStudy. ImagingStudy with the subject that referenced to Patient object. I want to create SearchParameter on Basic object that filtering and sorting by Patient attributes ( name, gender…
Furkan
  • 451
  • 1
  • 5
  • 14
0
votes
0 answers

Cannot run "mvn jetty:run" in my fhir project

Im new at fhir server. My code mainly from repo https://github.com/hapifhir/hapi-fhir-jpaserver-starter I tried to install fhir server on my ubuntu 20.04(lts) and stuck with this problem. my mvn version Apache Maven 3.6.3 Maven home:…
Dejavu79
  • 13
  • 2
0
votes
0 answers

HAPI FHIR: how to read extension from custom datatype of standard resource?

I would like to add custom extension to Patient->telecom class by extending HAPI's ContactPoint class and adding new extension . So this is standard boilerplate code I took from…
avs099
  • 10,937
  • 6
  • 60
  • 110
0
votes
1 answer

Understanding FHIR composite code-value-quantity queries

Having trouble understanding why my composite query for patient (synthetic data) with identifier 37b847a5-7e5b-439e-9adf-c325f0c837c8 on the HAPI FHIR server is yielding different results. Using code-value-quantity…
Haotian H.
  • 23
  • 2
  • 7
0
votes
0 answers

Spring Cloud Contract with FHIR HAPI

I need to introduce Spring Cloud Contract to mock an FHIR HAPI. Unfortunately I didn't found any documentation about such a particular integration case. Can someone tell me: Spring Cloud Contract is able to manage FHIR HAPI where I can find some…