Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancements to Fhir Schema Converter #1

Open
wants to merge 3 commits into
base: poc
Choose a base branch
from
Open

Conversation

colla
Copy link

@colla colla commented Sep 30, 2019

Added ability to configure a tenant schema on the database connection string, plus the ability to fetch the FHIR resource JSON schema from the StructureDefinition table.

Note: this latter not as useful as I thought it was going to be because the schema definition in the FHIR database is at a more summary level than the CareConnect schema file, so less fields than you would expect get exposed in the views.

1. Now allows a tenant schema to be specified in application.conf.
2. The schema allows views to be generated are for that tenant schema
   (as opposed to the way it was before, where it expected the tables to exist in the public schema).
3. The view SQL also prefixes the view name and table name with the optional schema name.
4. It still applies the views to the database as it did before, but it now also writes each view to a views folder.
5. On this commit no columns are excluded from the views (but we may well re-instate the capability to do column filtering based on actual data in the tables)
…e in FHIR database (as an alternative to using a file).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant