-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'refs/remotes/origin/master' into expect…
…-columns-test
- Loading branch information
Showing
31 changed files
with
1,221 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,41 @@ | ||
Invariant: no-collections | ||
Description: """ | ||
Tabular view columns must not be collections. | ||
""" | ||
Severity: #error | ||
Expression: "collection.empty() or collection = false" | ||
|
||
Invariant: primitives-only | ||
Description: """ | ||
Tabular view columns only contain primitive values. | ||
""" | ||
Severity: #error | ||
Expression: "type in ('base64Binary' | 'boolean' | 'canonical' | 'code' | 'dateTime' | 'decimal' | 'id' | 'instant' | 'integer' | 'integer64' | 'markdown' | 'oid' | 'string' | 'positiveInt' | 'time' | 'unsignedInt' | 'url' | 'uuid')" | ||
|
||
Profile: ShareableViewDefinition | ||
Title: "Shareable View Definition" | ||
Parent: ViewDefinition | ||
Description: "A Shareable View Definition" | ||
Description: """ | ||
A profile for View Definitions intended to be shared between multiple systems. This requires there | ||
be a defined URL, name, and version. Also, each column must have specified type so consuming | ||
systems | ||
|
||
Shareable View Definitions often also use the TabularViewDefinition profile, requiring | ||
that the view be shareable and contain only tabular values, as is common in many databases | ||
and analytic tools. | ||
""" | ||
* url 1..1 | ||
* name 1..1 | ||
* fhirVersion 1..* | ||
* select.column.type 1..1 | ||
|
||
Profile: TabularViewDefinition | ||
Title: "Tabular View Definition" | ||
Parent: ViewDefinition | ||
Description: """ | ||
A profile for View Definitions where each resulting field must contain only a simple scalar value. | ||
This is sometimes referred to as 'CSV Mode', but applies to any system that explicitly constrains its | ||
views or tables to tabluar data. | ||
""" | ||
* select.column obeys no-collections | ||
* select.column obeys primitives-only |
3 changes: 0 additions & 3 deletions
3
input/pagecontent/StructureDefinition-ShareableViewDefinition-intro.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.