fhir-kit-client
fhir-kit-client copied to clipboard
Node.js FHIR client library
## Expected Behavior Pagination being enabled ## Actual Behavior In Postman, if I do a request like: `{{fhir}}/Observation?subject=61a80847-0f61-4aaa-91d3-6ae5c08bc3b7&code=8867-4&date=lt2022-03-23T17:15:29.345+00:00&date=gt2020-03-23T17:15:29.345+00:00` I get back an option that has an array with two objects...
In `Client#search`: ``` if (compartment && resourceType) { return this.compartmentSearch({ resourceType, compartment, searchParams, headers }); ``` A compartment search should not require `resourceType` based on [the FHIR spec](https://www.hl7.org/fhir/search.html#Introduction): ``` GET...
Bumps [axios](https://github.com/axios/axios) from 0.21.2 to 1.6.0. Release notes Sourced from axios's releases. Release v1.6.0 Release notes: Bug Fixes CSRF: fixed CSRF vulnerability CVE-2023-45857 (#6028) (96ee232) dns: fixed lookup function decorator...
Allow developers to conditionally import the optional polyfill with the cross-fetch package to address issue 197 https://github.com/Vermonster/fhir-kit-client/issues/197 It is unclear if the entire package cross-fetch with ponyfill caused the issue...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.20.0 to 7.23.2. Release notes Sourced from @babel/traverse's releases. v7.23.2 (2023-10-11) NOTE: This release also re-publishes @babel/core, even if it does not appear in the linked release...
Bumps [get-func-name](https://github.com/chaijs/get-func-name) from 2.0.0 to 2.0.2. Release notes Sourced from get-func-name's releases. v2.0.2 What's Changed Revert previous changes that shipped this as an ES module. Full Changelog: https://github.com/chaijs/get-func-name/commits/v2.0.2 v2.0.1 What's...
## Expected Behavior `await client.search({resourceType, searchParams})` throws and should be able to call `const { response, request } = Client.httpFor(err)` to get the response. ## Actual Behavior response is undefined...
I am almost certain that the [use](https://github.com/Vermonster/fhir-kit-client/blob/master/lib/http-client.js#L3) of cross-fetch/polyfill will **_not_** replace the new experimental global fetch introduced in Node18. This can result in unintended consequences in some edge cases:...
## Expected Behavior Caller able to access response headers returned by a FHIR Server (e.g. Location Header returned from a Create Call which received a 201 success response). Verified response...
## Expected Behavior Allows setting 'params.options.postSearch' in angular apps. ## Actual Behavior Somehow when you use this library in angular, the type for options param is changed to RequestInit. This...