-
Notifications
You must be signed in to change notification settings - Fork 53
FHIR Conversions
ReportStream has a CLI that can be used to convert between different types such as FHIR, CSV, and HL7.
To run the CLI, you will need to build ReportStream locally and have a local database running. Their documentation how to get started is robust and easy to follow.
Once the project is set up, in order to convert from FHIR to HL7 ./gradlew primeCLI --args='fhirdata --input-file "YourFhirBundle.json" --schema "metadata/hl7_mapping/ORU_R01/ORU_R01-base.yml" --output-format "HL7"'
CSV to HL7 - ./prime data --input-schema primedatainput/pdi-covid-19 --input ./ReportStream.csv --output-schema hl7/test-covid-19 --output-format HL7
HL7 to FHIR - ./gradlew primeCLI --args='fhirdata --input-file "ReportStream.hl7" --output-format FHIR --output-file "ReportStream.fhir"'
If you want to save the output into a file, then add --output-dir ./ --output ./OutputFileName.HL7
- Getting Started
- [Setup] Docker and docker compose development
- [Setup] IntelliJ run configurations
- [Setup] Running DB outside of Docker (optional)
- [Setup] Running nginx locally (optional)
- [Setup] Running outside of docker
- Accessing and testing weird parts of the app on local dev
- Accessing patient experience in local dev
- API Testing with Insomnia
- Cypress
- How to run e2e locally for development
- E2E tests
- Database maintenance
- MailHog
- Running tests
- SendGrid
- Setting up okta
- Sonar
- Storybook and Chromatic
- Twilio
- User roles
- Wiremock
- CSV Uploader
- Log local DB queries
- Code review and PR conventions
- SimpleReport Style Guide
- How to Review and Test Pull Requests for Dependabot
- How to Review and Test Pull Requests with Terraform Changes
- SimpleReport Deployment Process
- Adding a Developer
- Removing a developer
- Non-deterministic test tracker
- Alert Response - When You Know What is Wrong
- What to Do When You Have No Idea What is Wrong
- Main Branch Status
- Maintenance Mode
- Swapping Slots
- Monitoring
- Container Debugging
- Debugging the ReportStream Uploader
- Renew Azure Service Principal Credentials
- Releasing Changelog Locks
- Muting Alerts
- Architectural Decision Records
- Backend Stack Overview
- Frontend Overview
- Cloud Architecture
- Cloud Environments
- Database ERD
- External IDs
- GraphQL Flow
- Hibernate Lazy fetching and nested models
- Identity Verification (Experian)
- Spring Profile Management
- SR Result bulk uploader device validation logic
- Test Metadata and how we store it
- TestOrder vs TestEvent
- ReportStream Integration
- Feature Flag Setup
- FHIR Resources
- FHIR Conversions
- Okta E2E Integration
- Deploy Application Action
- Slack notifications for support escalations
- Creating a New Environment Within a Resource Group
- How to Add and Use Environment Variables in Azure
- Web Application Firewall (WAF) Troubleshooting and Maintenance
- How to Review and Test Pull Requests with Terraform Changes