Questions tagged [hapi]

HAPI (HL7 application programming interface; pronounced "happy") is an open-source, object-oriented HL7 2.x parser for Java.

HAPI (HL7 application programming interface; pronounced "happy") is an open-source, object-oriented HL7 2.x parser for Java.

HL7 is a widely-used standard for electronic data exchange in the clinical and healthcare domain.

Useful links

406 questions
0
votes
1 answer

Can docusign-passport strategy be utilised in Hapi Js backend?

Since, Hapi Utilises its own separate JWT package. like - Bell || HapiAuthJWT2 . And I failed to find any plugin which is being mantained for passport being able to handle Hapi Request APIs. The alternative solution is probably to use the DocuSign…
zion
  • 391
  • 5
  • 22
0
votes
2 answers

Change search URL in HAPI-FHIR

I am currently working on a Hapi-FHIR project. There I want to implement a collection of Questionnar Responses by Patient. The collection gives back all QuestionnaireResponses of a Patient with a given PatientId. This works without problems but I…
0
votes
1 answer

Restore between tests with Hapi Lab

Context: I am using Hapi Lab to run a bunch of tests. I also have an additional set of files that export mock JSON data. What's the issue: Each of the tests manipulate the JSON files as part of their routine. The first test always passes, because…
Tim
  • 797
  • 2
  • 10
  • 22
0
votes
1 answer

CORS issue in Antd request not passing CORS but fetch() does PASS

I am stucked with weired issue while using Antd for my backend UI. I am trying to includes Antd Upload for uploading images to my API server. But due to some reason the normal fetch() seems to work fine while Antd internal fetch request shows error…
0
votes
1 answer

Inversify instance is not injected properly

I'm using inversify in a hapijs v20 and typescript. When I try to bind a dependency in a class that will handle requests like this: import * as Hapi from '@hapi/hapi' import { injectable, inject } from "inversify"; import { types } from…
RicardoE
  • 1,665
  • 6
  • 24
  • 42
0
votes
1 answer

How to include the full object instead of "contained" in HAPI FHIR

I am very new to hapi FHIR, I am trying to encode the request in following format. CoverageEligibilityRequest coverageEligibilityRequest = new CoverageEligibilityRequest(); Patient patient = new Patient().addIdentifier(new…
0
votes
1 answer

how to upload image or any file using hapijs

How to save any type of file or image using Hapi.js { method: "POST", path: apiUrl + "/company", config: { description: "Create Company api", auth: false, payload: { maxBytes: 20715200, …
0
votes
0 answers

Correct boom error not being returned in hapijs v17

API controller: export const addPaymentCard = async (request: ICustomerAddPaymentCardRequest, h: ResponseToolkit) => { try { const { _id: customerId } = request.auth.credentials const { cardToken } = request.payload const…
0
votes
1 answer

HAPI FHIR @Create Operation not returning MethodOutcome Response

I was basing my program off of the samples on hapishir's website and the operation works in that I receive the JSON body and I'm updating the database. The issue I have though is that there is no response being returned. I build the MethodOutcome…
Travis Frazier
  • 441
  • 3
  • 13
0
votes
0 answers

Can't get any response from hapi-swagger on windows server

I have a code that use hapi-swagger for my API Documentation, and i put that code into windows server, but i can't get any response when i hit my endpoint. I don't know why, cause when i pull my code and try on localhost everything is fine. This is…
0
votes
1 answer

No classDeffoundError Apache Karaf

I am using the hapi-osgi-base v2.2 bundle in my project and installing the same in the karaf container for my code to use it in the runtime. The karaf container already has a hapi-osgi-base v 1.2 bundle pre-installed my code was trying to use v 1.2…
0
votes
1 answer

Failed to execute goal org.apache.maven.plugins:maven-war-plugin:3.2.3:war (default-war) on project hapi-fhir-jpaserver-starter

So I'm getting this error when trying to Clean Install with Maven on a VPS Ubuntu Server. I've installed the necessary items to make it but still to no avail. root@iHRS:~/hapi-fhir-jpaserver-starter# mvn clean install WARNING: An illegal reflective…
0
votes
2 answers

Invalid route options ( ) "value" must be an object - Hapi.js/Node.js

I'm creating a REST-API with Hapi and Node. I'm trying to put my routes in separate files following this guys (How to store routes in separate files when using Hapi?) approach. But with the Code bellow I get this error: Invalid route options ( )…
KastenBrot
  • 87
  • 2
  • 13
0
votes
0 answers

Hapi FHIR Strange behaviour of _sort

The parameter _sort in hapi fhir 4.2 shows a strange behaviour. While a query without any conditions like /Procedure returns all existing procedures, a sorted query like /Procedure?_sort=date returns only procedures having a date != null. From a…
Christian
  • 21
  • 2
0
votes
1 answer

Build API with redis and hapi

I am trying to send the results of a get from redis via hapi, but i just keep getting a 500. How can I send the result from the redis get to the client. Code and error below. Error Debug: internal, implementation, error Error: handler method did not…
virus.cmd
  • 335
  • 5
  • 13