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

validator_cli.jar hangs or aborts w/o message when using certain cached packages with parameter -ig

I'm having trouble getting the standalone command-line HAPI validator (validator_cli.jar) to validate resources with certain packages downloaded from simplifier.net. The required packages and their dependencies have been installed in the FHIR…
DarthGizka
  • 4,347
  • 1
  • 24
  • 36
1
vote
0 answers

Feed HAPI FHIR Package Cache manually? (for completeness and/or off-line use)

Because of data protection regulations we need to run the HAPI validator (validator_cli.jar) off-line, and we also need to complement the FHIR Package Cache by adding conformance resources that are not available online at all (they tend to get…
DarthGizka
  • 4,347
  • 1
  • 24
  • 36
1
vote
1 answer

StructureDefinition post request return 404 error

I have just done the local setup of hapi fhir in my machine. And I can able to reach the fhir metadata http://localhost:8888/fhir/metadata but when I try to post any structure Definition using this url(http://localhost:8888/StructureDefinition) its…
Rohinibabu
  • 660
  • 10
  • 16
1
vote
1 answer

Fhir R4 - Track resources created user

I'm using FHIR R4 with Hapi FHIR API. I want to know how marked the ServiceRequest resources with information about created user. I've read the FHIR documentation and I've found the relevantHistory tag where I can put there a Provenance…
Joe Taras
  • 15,166
  • 7
  • 42
  • 55
1
vote
0 answers

Automate HAPI FHIR partition creation

I have a requirement to automate the partition creation (http://example.com/DEFAULT/$partition-management-create-partition) endpoint either via fhirClientProvider or other api that would allow to programmatically create partition. Is there a way to…
Rasoul
  • 167
  • 1
  • 2
  • 9
1
vote
0 answers

FHIR Resource Schema/Spec

How to get one single FHIR Schema for a Resource with all the parent and child attributes in the schema. When I looked into the FHIR Schema, it has lot of child Schemas inside each resource Schema, The Schema is defined at a entity level and not at…
govin
  • 11
  • 1
1
vote
2 answers

Add extension to R4 Patient

How do I add the below to an R4 Patient? "search": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/match-grade", "valueCode": "certain" } …
granadaCoder
  • 26,328
  • 10
  • 113
  • 146
1
vote
1 answer

how to identify a patient in FHIR IPS?

In International Patient Summary (IPS), how is it expected to uniquely identify a cross-border Patient? To elaborate, IATA has a way to track all passengers across the globe. How can the healthcare systems do that? I'm unable to figure this from hl7…
pMan
  • 8,808
  • 11
  • 32
  • 35
1
vote
1 answer

Returning Hapi FHIR element in restful server

I have a basic springboot application set up that'll return string values on get calls, but when I try to return a mock Patient object I get a weird error My code: @RequestMapping("/test2") Patient test2(){ Patient patient = new Patient(); …
Travis Frazier
  • 441
  • 3
  • 13
1
vote
1 answer

hapi-fhir-cli upload examples command giving an error

I'm trying to upload test data to the local JPA fhir server using hapi-fhir-cli. But while uploading the resources, I'm getting the following error. 2020-09-03 17:33:26.486 [main] INFO c.u.f.c.ExampleDataUploader 1 good references 2020-09-03…
Kamlesh
  • 11
  • 4
1
vote
1 answer

What are the dependencies that will allow Cerner Bunsen to load FHIR R4 (ukcore)?

Does anyone know if the Cerner Bunsen library (https://github.com/cerner/bunsen) will load FHIR R4 bundles and persist the data to spark sql databases? If anyone can offer any guidance or point me to any, that would be great. At the moment I'm just…
user481a
  • 123
  • 6
1
vote
0 answers

Unable to find matching profile against choices error on hapi version 5.x for custom profiles

I am using custom profiles for validating bundle resource of type document. While using reference to other resources within bundle , I am getting the below error : "Bundle.entry[0].resource.ofType(Composition).subject Unable to find matching profile…
Amol Datar
  • 11
  • 3
1
vote
0 answers

Hapi Fhir query with AND / OR with map

Using Hapi Fhir, I try to write a query to use a map to pass in where condition, as follow: Map> hmParameter = criteria.getMapForWhere(); Bundle bundle =…
Joe Taras
  • 15,166
  • 7
  • 42
  • 55
1
vote
1 answer

How can proto files be generated from a specification(as in google-fhir protos are generated from FHIR Spec)?

I've been looking at the Google fhir repo(https://github.com/google/fhir). The proto files within this repo are generated from the FHIR spec(something like this: http://hl7.org/fhir/account.html). I want to understand how proto files can be…
nymphadora
  • 839
  • 11
  • 18
1
vote
2 answers

HAPI FHIR - Data Model - Entity Relationship, does anyone have a link to an ERD model that is based on FHIR

I'm looking for an ERD based on the fundamental concepts of HAPI FHIR. I have access to a number of Data Architect tools (Erwin / PowerDesigner) and wanted to know if anyone has a model they can perhaps share or point to. Thanks