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 schedule questionnaires with hapi-fhir Java API?

My question seems similar to Access and scheduling of FHIR Questionnaire resource but I have something different to get understanding As per my understanding with fhir supports many complex data types to support scheduling events. I came across many…
Vishal Zanzrukia
  • 4,902
  • 4
  • 38
  • 82
0
votes
1 answer

Testing FHIR API on a public test server

I managed to develop a FHIR API using HAPI-FHIR, now I wanted it to test to a public server, how do I upload it to the server? I want to test its interoperability between to terminals. I want to see if the other terminal can retrieve the data…
0
votes
1 answer

Why Does My FAMILY Query Fail?

Please have a look at the following code wherein I have a method that searches by family name and another that searches by system. Following the code I have provided the results that were produced by invoking each of these two methods. You can see…
Verticon
  • 2,419
  • 16
  • 34
0
votes
1 answer

Using isSummary on extension element in HAPI-FHIR

I've created a slice on Patient.identifier where one of the identifiers is for a health card number and the other is for a case record number. The one for the health card number contains a custom extension that is used to identify the reason why the…
0
votes
1 answer

Java: FHIR condition resource, how do you get abatementDateTime?

In FHIR 3.x... I have a condition resource and I need to determine how to get to the resolved date. I read that the field is abatement.abatementDateTime. I dont see a function to allow to do that. Any ideas on this?
reza
  • 5,972
  • 15
  • 84
  • 126
0
votes
1 answer

how to GET 2 observations of 2 different codes of one patient in one request from FHIR server?

i tried this https://fhirtest.uhn.ca/baseDstu3/Observation?code=3141-9&code=20570-8&_count=1&patient=653528&_format=json&_pretty=true but it returned { "resourceType": "Bundle", "id": "dcd5cd91-de96-4a3e-a0c9-0cbfccf584e1", "meta": { …
DisplayName
  • 87
  • 1
  • 9
0
votes
1 answer

Modelling services provided at location of an organization

Using FHIR resources (dstu2), how can I send in the response, the healthcare services provided at a particular location when search location request is made? Following is the location resource that I use which has no provision to send services in…
0
votes
0 answers

Error: must have either extensions or value no both

he created a Consent resource profile through forge, with a test extension that only contains a String value. When I try to validate the Consent resource, it gives me this error, but I do not know what it means. Profile:
0
votes
1 answer

Search of Procedure Request does not return all key=value pairs updated

This is a json file :"ValidProcedureRequest.json" { "resourceType": "ProcedureRequest", "text": { "status": "generated", "div": "" }, "occurrenceTming" : { "resourceType" : "Timing", "event" : ["31-01-2017"], "repeat" :…
Badal
  • 1
  • 1
0
votes
1 answer

Generate structure classes from StructureDefintion with HAPI

Is it possible to generate structure classes from a custom StructureDefintion in a similar fashion as HAPI generates official DSTU2/3 structure classes? I want to implement some local StructureDefinition from simplifier.net (For example:…
Kwastie
  • 102
  • 2
  • 8
0
votes
1 answer

FHIR STU3 ListResource.ListEntryComponent.getItemTarget() function not recognizing referenced Resource

I'm converting my code to FHIR STU3 and I'm trying to get the Organization Resource referenced by a List.entry[x].item.reference by calling getItemTarget() on the ListEntryComponent, but it always returns NULL although the resource is there (see if…
Ayanami
  • 85
  • 9
0
votes
1 answer

How to parse a DiagnosticReport from a JSON and print the same JSON again?

I'm parsing a DiagnosticReport from a JSON file and It works fine, but when I try to print the same JSON file throught IParser encode function, the JSON is different to the original. I need to print the same JSON. Original JSON (String json) { …
Raul
  • 465
  • 5
  • 16
0
votes
1 answer

How to convert a maven plugin to a leiningen one

Hi I am trying to add the hapi-fhir library to a clojure project. Does anyone now how to add the tender plugin entry : http://hapifhir.io/doc_tinder.html in the project.clj
Heefoo
  • 125
  • 1
  • 8
0
votes
2 answers

FHIR : Appointment reasons as a resource?

I'm implementing FHIR at the moment and I'm having trouble dealing with appointment reasons. I know I can use the value set available here : https://www.hl7.org/fhir/valueset-encounter-reason.html or implement my own value set for it but it's still…
user2462805
  • 1,049
  • 3
  • 11
  • 26
0
votes
1 answer

Where can I find a straightforward example of a FHIR Basic profile and a resource validated by it?

So I've been tearing my hair out the past couple of days trying to create a fhir profile based on the Basic resource, and create an instance of that resource compliant with the profile. I cannot for the life of me find a simple straight forward…
Andy
  • 3,228
  • 8
  • 40
  • 65