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

RESTful API requests using Qt

I'm trying to get example found from this link to work. GET and DELETE methods are working but I have some issue with PUT and POST. I get server replied: Bad Request. With qDebug() I get this…
Lauri
  • 137
  • 1
  • 2
  • 8
6
votes
2 answers

FHIR Subscription not working in hapi-fhir

I'm using this hapi-fhir v4.2.0 server with jpa and it's working just fine. I have added a few patients and I'm able to GET/POST requests to my hapi-fhir localhost environment. I'm also able to create a subscription using this URL:…
ncesar
  • 1,592
  • 2
  • 15
  • 34
6
votes
1 answer

Setting the timeout of a HAPI FHIR IGenericClient

I'm trying to run a fhir search using the following code; FhirContext ctx = FhirContext.forDstu2(); ctx.getRestfulClientFactory().setConnectTimeout(2000000); IGenericClient client =…
Andy
  • 3,228
  • 8
  • 40
  • 65
5
votes
1 answer

Purpose of Smart On FHIR and FHIR-NET-API

Can anyone describe the purpose of the following tools and difference between them? fhir-net-api smart-on-fhir
Abubakar Ikram
  • 433
  • 9
  • 23
5
votes
2 answers

HAPI failing to return Basic resource after successful upload

I'm trying to upload a resource to HAPI. It's based on the resource type basic, and I have created a custom profile(and extensions) for the concept I'm trying to capture. I have uploaded those StructureDefinitions to the server I'm using (hosted…
Andy
  • 3,228
  • 8
  • 40
  • 65
5
votes
1 answer

Can someone explain FHIR extensions?

I've been trying to wrap my head around authoring profiles in FHIR. The trouble I'm having is around the use of using extensions. The documentation talks about extensions as if they are simply just there to extend existing elements of the resource…
Andy
  • 3,228
  • 8
  • 40
  • 65
5
votes
1 answer

How to add profiles via the FHIR REST api (HAPI)

I've looked at the documentation for creating profiles for FHIR, and I've used Forge to create some xml that I believe is valid to describe a profile. I can't find in the documentation where it actually states what request I need to make to the…
Andy
  • 3,228
  • 8
  • 40
  • 65
4
votes
1 answer

FHIR : adding a custom extension

I would like to add to add a custom extension to my Schedule resource. In my app, Schedule have visit motives (reasons). I know there's a list of classified appointments / encounter reasons but I would like to use mine. I have something like this…
user2462805
  • 1,049
  • 3
  • 11
  • 26
4
votes
1 answer

How for I search fhir resources based on extension values?

I have a set of fhir resources in the following form:
Andy
  • 3,228
  • 8
  • 40
  • 65
3
votes
0 answers

open epic fhir sandbox is throwing { "error": "invalid_client", "error_description": null }

I'm trying to use the sandbox from https://fhir.epic.com/ for Backend Services. I am following this tutorial : https://fhir.epic.com/Documentation?docId=oauth2§ion=BackendOAuth2Guide : I already register a new app, created a JWT (using SSL…
code tutorial
  • 554
  • 1
  • 5
  • 17
3
votes
0 answers

hapi fhir jpa: resources not found

I'm trying to deploy an spring-boot service using hapi-fhir-jpa. Currently, I'm getting: Caused by: java.lang.NullPointerException: The validated object is null at java.base/java.util.Objects.requireNonNull(Objects.java:347) ~[na:na] at…
Jordi
  • 20,868
  • 39
  • 149
  • 333
3
votes
1 answer

HAPI FHIR R4 : Modifiers on ReferenceParam

I'm currently building a FHIR (R4) Server, and i try to implement the following request: [base]/PractitionerRole?practitioner.active:not=true I know that active is a Token Param, and thanks to HAPI, i can use the following command : TokenParam…
TheTisiboth
  • 1,431
  • 1
  • 6
  • 13
3
votes
2 answers

How to fix 'FHIRValidationError' from fhirclient-4.0.0 prepare() method in python?

I'm testing out fhirclient 4.0.0 (Python 3.7) with hapi R4 server settings = { 'app_id': 'fhir', # 'api_base': 'http://test.fhir.org/r4' 'api_base': 'http://hapi.fhir.org/baseR4' } smart = client.FHIRClient(settings=settings) #…
dnnavn
  • 35
  • 4
3
votes
2 answers

Epic App Orchard How to Get Practitioner Id or Information

I've an Epic App Orchard account, and trying to build a provider facing app and test it using Hyperspace Simulator using SMART on FHIR (OAuth 2.0). I can launch my SMART on FHIR application within the simulator, and pass patient related information…
Azaz ul Haq
  • 1,635
  • 2
  • 18
  • 46
3
votes
1 answer

Hapi Fhir DomainResource, What URL do you use?

http://hapifhir.io/doc_custom_structures.html this article discusses a DomainResource. There are situations however when you might want to create an entirely custom resource type. This feature should be used only if there is no other option,…
granadaCoder
  • 26,328
  • 10
  • 113
  • 146
1
2 3
16 17