@asymmetrik/node-fhir-server-core

中文文档
2.2.5发布于 2023/02/06MITCommonJS近 30 天下载 2461

Node FHIR Rest API Server

原始使用文档
文档目录9 节
  1. [email protected]
  2. Prerequisites
  3. Getting Started
  4. Frequently Asked Questions
  5. Philosophy
  6. Contributing
  7. Questions
  8. Attention
  9. License

Asymmetrik FHIR API Server

A Secure Rest implementation for the HL7 FHIR Specification. For API documentation, please see our documents.

Build Status Known Vulnerabilities

The Asymmetrik Extensible Server Framework for Healthcare allows organizations to build secure, interoperable solutions that can aggregate and expose healthcare resources via a common HL7® FHIR®-compatible REST API. This server framework currently supports DSTU2 (1.0.2), STU3 (3.0.1), and R4 (4.0.0) simultaneously. You can decide to support all three or just one by editing the configuration.

The framework defines a core server, node-fhir-server-core, a simple, secure Node.js module built according to the FHIR specification and compliant with the US Core implementation.

For an example implementation using MongoDB, please refer to our Github repository that we used for the ONC FHIR Secure API Server Showdown Challenge: https://github.com/Asymmetrik/node-fhir-server-mongo.

[email protected]

Please view the Migration Guide for version 2.0.0. We will absolutely continue supporting previous versions but will prioritize new features going to 2.0.0 unless we receive requests to retrofit them to older versions.

Prerequisites

Node.js version later than >7.6 is required, but you should NOT use 8.5 (see Attention). A basic understanding of promises and a familiarity of the FHIR specification is not required, but will be very helpful.

Getting Started

Please see our Getting Started guide for a walkthrough of how to set up our FHIR server.

Frequently Asked Questions

Philosophy

Our project vision is to build an easy to use FHIR server that supports all resource profiles defined in the US Core implementation guide and is built with security in mind from the ground up. We decided to use a plugin style architecture so implementors could focus on writing queries and not worry about all the other technical difficulties of securing the server. As this project matures, we plan to support more resources, custom extensions, versions, write capabilities, etc.

We believe in establishing a robust security, especially when it comes to health information. Part of the ONC Secure API Server Challenge was to stand up a server and let penetration testers have a go at it (you can see their results here). We are committed to continuing this practice and we will continue fixing any vulnerabilities discovered so we can do our best to make this server as secure as possible. For authentication, we are actively working on methods for simplifying integration with SMART on FHIR.

Contributing

Please see CONTRIBUTING.md for more details regarding contributing issues or code.

Questions

If you are experiencing a bug, please feel free to file an issue. For general questions, please post them to StackOverflow with the tag node-fhir-server-core or javascript-fhir.

Attention

This library makes use of node's path module. This is potentially exploitable in node version 8.5, see here. When deploying this, you need to deploy with a node version later than >7.6 but NOT 8.5.

License

@asymmetrik/node-fhir-server-core is MIT licensed.

版本与发布记录

@asymmetrik/node-fhir-server-core 共发布 28 个版本,首次发布于 2018/12/21;过去 12 个月发布了 0 个版本。

版本发布日期距今
2.2.5latest2023/02/063 年前
2.2.42021/11/164 年前
2.2.32020/12/295 年前
2.2.22020/10/146 年前
2.2.12020/10/146 年前
2.2.02020/09/296 年前

关于 @asymmetrik/node-fhir-server-core 的常见问题

@asymmetrik/node-fhir-server-core 是什么?

Node FHIR Rest API Server

如何安装 @asymmetrik/node-fhir-server-core?

在项目目录运行 npm install @asymmetrik/node-fhir-server-core,或使用 pnpm add / yarn add / bun add。

@asymmetrik/node-fhir-server-core 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/asymmetrik__node-fhir-server-core 是否存在。

@asymmetrik/node-fhir-server-core 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@asymmetrik/node-fhir-server-core 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js ^8.10.0 || ^10.13.0 || >=11.10.1。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@asymmetrik/node-fhir-server-core 可以商用吗?

@asymmetrik/node-fhir-server-core 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@asymmetrik/node-fhir-server-core 的下载量有多少?

根据 npm 官方下载统计,@asymmetrik/node-fhir-server-core 在 2026/10/07 – 2026/11/05 这 30 天内被下载 2,461 次,日均约 82 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@asymmetrik/node-fhir-server-core 还在维护吗?

最新版本 2.2.5 发布于 2023/02/06(3 年前);至今共发布 28 个版本,其中过去 12 个月发布了 0 个;首次发布于 2018/12/21。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。