在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):Asymmetrik/graphql-fhir开源软件地址(OpenSource Url):https://github.com/Asymmetrik/graphql-fhir开源编程语言(OpenSource Language):JavaScript 100.0%开源软件介绍(OpenSource Introduction):GraphQL-FHIR
PrerequisitesYou should have a basic understanding of working in Node.js and at least a basic understanding of what GraphQL is and how it works. Getting Started
git clone https://github.com/Asymmetrik/graphql-fhir.git
cd graphql-fhir
yarn install
# For development
yarn nodemon
What's nextSee our Frequently Asked Questions for explanations on how to configure the server, connect to an actual database, setup authentication, and more. You can also read up on the project structure under the Architecture section if you are curious about that kind of thing. If you are want to know about our future plans, see our Roadmap. If you have any other questions, please ask them on StackOverflow with the tag Frequently Asked Questions
ArchitectureWe designed this project in the way that we did so we can support multiple versions simultaneously and add new versions very quickly. Everything in If you decide to use this server, you will rarely need to modify code in The folder structure for the project looks like this: src
| - config.js
| # Contains server and version configuration
| - index.js
| # Entry to the application
| - src/lib
| # Contains custom libs we use, server, logger's, etc
| - src/middleware
| # Custom express middleware
| - src/scripts
| # Scripts for local development and testing.
| - src/utils
| # Various utilities used throughout the application
| - src/resources
| # All the code in here is auto generated for each version
| | - 3_0_1
| | # This directory contains all the 3_0_1 logic
| | | - inputs
| | | # Contains all input schemas for mutations
| | | - parameters
| | | # Defines what arguments can be provided to search operations.
| | | - scalars
| | | # Contains some custom FHIR types.
| | | - schemas
| | | # Defines all the output schemas.
| | | - profiles
| | | # Contains all the configurable profiles for GraphQL.
| | | | - patient # or any other resource for that matter
| | | | | - index.js
| | | | | # File used to register capabilities with the server
| | | | | - mutation.js
| | | | | # Mutations configuration. Auto-Generated and should not modify
| | | | | - query.js
| | | | | # Query configuration. Auto-Generated and should not modify
| | | | | - resolver.js
| | | | | # Contains placeholders, your logic to query your backend goes here. Roadmap
ContributingPlease see CONTRIBUTING.md for more details regarding contributing issues or code. License
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论