The Utah Newborn Screening Program collects a variety of demographic data from the screening specimen that is sent in for a newborn. Often the data collected is missing or inaccurate. In order to complete the data and/or ensure accuracy, the Utah Newborn Screening Program compares this data against the Utah Office of Vital Records and Statistics data from birth and death certificates. The current process is antiquated and would benefit from the usage of a newer technology like FHIR. The full specification can be retrieved here.
This application provides an FHIR interface to compare the data between the Utah Newborn Screening Program and the Utah Office of Vital Records and Statistics.
- Ensure the correct versions of Docker and Docker Compose are installed per the dependencies.
- Run
docker-compose up
. - The application is at http://localhost:3000
- The associated FHIR instance is available at http://localhost:8080
The main Rails application can be deployed as a containerized application. The application can be configured with the following environment variables:
Variable | Description |
---|---|
DATABASE_URL |
URL to PostgreSQL database. See: database.yml |
FHIR_URL |
URL to FHIR server. |
RAILS_ENV |
Environment. Recommended: production |
RAILS_RELATIVE_URL_ROOT |
Deploy to a relative root. Example: /app |
- Ensure all the dependencies are installed.
- Run
bin/setup
. - Run
bin/rails server
.
- Ensure all the dependencies are installed.
- Run
bin/test
.
- For JavaScript packages, run
yarn add [email protected]
. - For Ruby gems, run
bundle update some_package
. - Ensure that the respective
.lock
files are updated and added to source control.
This is a Rails v5.1.4 application that requires: