/fhir-works-on-aws-persistence-ddb

A DynamoDB implementation of the FHIR Works on AWS framework, enabling users to complete CRUD operations on FHIR resources

Primary LanguageTypeScriptApache License 2.0Apache-2.0

fhir-works-on-aws-persistence-ddb

This GitHub repository has been migrated. You can now find FHIR Works on AWS at https://github.com/aws-solutions/fhir-works-on-aws.

Purpose

Please visit fhir-works-on-aws-deployment for overall vision of the project and for more context.

This package is an implementation of the persistence & bundle components of the FHIR Works interface. It is responsible for executing CRUD based requests from the router. To use and deploy this component (with the other 'out of the box' components) please follow the overall README

Infrastructure

This package assumes certain infrastructure:

  • DynamoDB - The table name defined by the environment variable RESOURCE_TABLE
    • Partition key is 'id' and sort key is 'vid'
  • Elasticsearch - The Elasticsearch domain is defined by the environment variable ELASTICSEARCH_DOMAIN_ENDPOINT
    • Indexes are defined by the resource type
  • S3 Bucket - The bucket name is defined by the environment variable FHIR_BINARY_BUCKET

Usage

For usage please add this package to your package.json file and install as a dependency. For usage examples please see the deployment component's package.json

Dependency tree

This package is dependent on:

Package that depends on fhir-works-on-aws-persistence-ddb package:

  • deployment component
    • This package deploys fhir-works-on-aws-persistence-ddb and all the other default components

Known issues

For known issues please track the issues on the GitHub repository

Security

See CONTRIBUTING for more information.

License

This project is licensed under the Apache-2.0 License.