Skip to content

Commit

Permalink
Merge pull request #233 from FHIR/schemas
Browse files Browse the repository at this point in the history
Add statement that runners SHOULD create system-specific schemas.
  • Loading branch information
rbrush authored Apr 22, 2024
2 parents b62f8f7 + 06ab432 commit d924849
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions input/pagecontent/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,18 @@ Example view runners may include:
* A runner that queries FHIR JSON directly and creates a table in a web application
* A runner that loads data directly into a notebook or other data analysis tool

#### Generating Schemas
The output of many runners will have technology-specific schemas, such as database table
definitions or schema for structured files like Parquet. This will be runner- and technology-
specific, but runner implementaitons SHOULD offer a way to compute that schema from a ViewDefinition
when applicable.

For example, a runner that produces a table in a database system could return a "CREATE TABLE" or
"CREATE VIEW" statement based on the ViewDefinition, allowing the system to define tables prior to
populating them by evaluating the views over data.

This would not apply to outputs that do not have common a schema specification, like CSV files.

### The Analytics Layer

Finally, users must be able to easily leverage the above views with the analytic
Expand Down

0 comments on commit d924849

Please sign in to comment.