Skip to content

OneLastTry/sda-generator

Repository files navigation

SDA Generator

This is a small tool that leverages InterSystems IRIS for Health to generate SDA based on Synthea CCDA.

Install

Clone the repo git clone https://github.com/OneLastTry/sda-generator.git and then execute from the main directory docker-compose build.

Execution

Once the build is complete, from the main directory, start your iris container:

  • start container: docker-compose up -d

After the container, from the main directory, start the generation process by executing the command below. Note that p is the number of patient, hence the example below generates 5 patients -p 5. Do not run for more than 10K patients, if you need a large sample see the last section of this file.

docker run --rm -v $PWD/output:/output intersystems/demo/synthea/app:latest /synthea/bin/synthea --exporter.ccda.export=true --exporter.fhir.export=false --exporter.hospital.fhir.export=false -p 5

All your generated CCDA files will be saved inside ./ouput/sda3

Once you are done simply discard the container running docker-compose down

Helpul links

Directory Structure

├── Dockerfile
├── Dockerfile.Synthea
├── LICENSE
├── README.md
├── code
│   └── src
│       ├── XF
│       │   ├── CCDA
│       │   │   └── FileInbound.cls
│       │   ├── Installer.cls
│       │   └── SDA3
│       │       └── FileOutbound.cls
│       └── XFPKG
│           └── FoundationProduction.cls
├── create-a-lot.sh
├── docker-compose.yml
├── output
│   └── sda3
├── scripts
│   └── build.sh
└── sda-generator.code-workspace

9 directories, 12 files

Bonus

You can run below script on a unix environment to generate very large set of patients (10K+)

./create-a-lot.sh

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published