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

FHIR search for duplicate patients

We use FHIR, but we've had a few customer accidentally create a new Patient instead of finding and adding data to an existing patient creating duplicate entries for the same real-life patient. I'd like to search for patients with same DOB and…
Henrik Joreteg
  • 1,698
  • 16
  • 18
0
votes
1 answer

Using Python Requests to POST data to REST API

I have been working with the FHIR REST API for a while but haven't had any experience with Python. As my first python project I am attempting to create a simple python script that can read and write to an open API. I am able to read but I am stuck…
nsbdrum
  • 3
  • 1
  • 2
0
votes
1 answer

HAPI FHIR - Unknown resource type 'error' - Server knows how to handle: [MedicationKnowledge, OperationDefinition]

I am using hapi version 5.5.0 And I was working on @Create for MedicationKnowledge resource I am using spring boot with gradle Dependencies - implementation group: 'ca.uhn.hapi.fhir', name: 'hapi-fhir-server-openapi', version: '5.5.0' implementation…
0
votes
1 answer

How do i search Organizations by type in FHIR

How do i search Organizations by Organization types e.g prov,dep,gov on FHIR server. i want to display only prov Organizations from a list of orgnizations that contains prov,gov,dep. Tried this "GET [base]/Organization?type=prov" and did not return…
0
votes
1 answer

Error in dynamic class casting after the build

In my application, we are doing dynamic class casting where lot of implementations are there (Please refer pic). The application is working fine when it is running in eclipse but not after the build (mvn clean install). Loading data from…
Alexpandiyan Chokkan
  • 1,025
  • 1
  • 10
  • 30
0
votes
1 answer

Do Synthea names generally end with a number

I'm using data from synthea and it looks like most (all?) of the given and family names I'm getting back end with a three digit number (e.g. Gregg522). Is this part of the design of synthea or am I parsing the data incorrectly. A snippet of the…
John
  • 3,458
  • 4
  • 33
  • 54
0
votes
1 answer

HAPI FHIR read API _summary=text is throwing error - "Cannot invoke "java.lang.CharSequence.length()" because "csq" is null"

I have created a HAPI FHIR server in that I am calling read API using following endpoint http://localhost:9092/fhir/Practitioner/bda254bc-baa4-44c2-859e-3b4804a86ffc?_summary=text I am getting this response { "resourceType": "OperationOutcome", …
0
votes
2 answers

HAPI FHIR OpenAPI Authentication Configuration

Hi standing up a small FHIR v4 server with HAPI. I'm not great with Spring/Java having a hard time figuring out how to configure openapi with HAPI FHIR. Specifically I want to configure openapi to provide a button to authenticate users (with an…
cobolstinks
  • 6,801
  • 16
  • 68
  • 97
0
votes
1 answer

FHIR HAPI Validation for Combination of Elements

I have custom Structure Definition based on Observation resource. Using HAPI for the validation. Is there a way to validate the value combination? Ex: "code": { "coding": [ { "system": "http://loinc.org", …
Kevin Rave
  • 13,876
  • 35
  • 109
  • 173
0
votes
1 answer

HL7 FHIR - How to modify the FHIR Schema and Run in local server

I'm trying to extend and override the FHIR schema and run it on the local server. Could you please suggest me is there any way to customize the FHIR schema and run in local
0
votes
1 answer

Integrate FHIRBase with HAPI FHIR database

I have an HAPI FHIR database where I've stored my FHIR resources (as Patient, ServiceRequest and so on). Now I want to querying my database but, for example, if I want to write a query involved an extension I can't do it. So I've googled about using…
Joe Taras
  • 15,166
  • 7
  • 42
  • 55
0
votes
1 answer

Google Cloud Healthcare API not supporting PlanDefintion/$apply and Activity Definition/$apply

I am trying to create a carePlan as output by doing $apply operation on PlanDefinition and ActivityDefintion. For…
0
votes
3 answers

How to apply PlanDefinition inorder to generate a carePlan

I am newbie to FHIR. Trying to create careplan by applying PlanDefinition/$apply. Are there any examples available so that I can take them as reference and generate careplan out of planDefintion. I am able to post an planDefinition but I don't have…
code tutorial
  • 554
  • 1
  • 5
  • 17
0
votes
1 answer

Define a custom property for a FHIR resource instance

I'm trying to define a custom property for practitioner resources. But when I validate an instance against my structure definition it fails and have currently no idea what I'm doing wrong: { "resourceType": "StructureDefinition", "url":…
witrin
  • 3,701
  • 1
  • 24
  • 49
0
votes
1 answer

How to make a fake ValueSet resource (with e.g. currency symbols) for when terminology servers are not available?

Resolving codings like currency symbols (e.g. urn:iso:std:iso:4217) requires that HAPI have access to the Internet (in order to contact tx.fhir.org), which means that these codings cannot be validated when working completely offline, as is often…
DarthGizka
  • 4,347
  • 1
  • 24
  • 36