Skip to content

benbpyle/serverless-fhir-patient-converter

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Serverless FHIR Patient Converter

Purpose: Working example of using DynamoDB Streams, EventBridge Pipes and an Enrichment Lambda to convert a make-believe patient into a FHIR Patient.

Getting Started

Deploying

First off, install Node.js

# install AWS CDK
npm install -g aws-cdk
# clone the repository
cd serverless-fhir-patient-converter
npm install

Once dependencies have been installed, you are ready to run CDK

cdk deploy

Destroying

Simply run:

cdk destroy

Implementation

You'll want to create a base patient record to work with. This one is a good sample.

{
    "address": {
        "state": "FL",
        "city": "Tampa",
        "address1": "453 Ralph Road",
        "postalCode": "33612"
    },
    "id": "abc",
    "birthDate": "07-13-1991",
    "firstName": "John",
    "lastName": "Smith"
}

For a further and in-depth review of how to use this repository and what it supports, head on over the Blog Article

About

Sample showing how to convert a DynamoDB stream into a FHIR Patient resource

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published