Source | hl7.fhir.uv.sql-on-fhir#current:SQL on FHIR (v5.0.0) |
resourceType | StructureDefinition |
id | ViewDefinition |
canonical | http://hl7.org/fhir/uv/sql-on-fhir/StructureDefinition/ViewDefinition |
version | 0.0.1-pre |
status | draft |
publisher | HL7 |
name | ViewDefinition |
title | View Definition |
date | 2023-09-06T00:41:51+00:00 |
description | View definitions are a tabular projection of a FHIR resource, where the columns and inclusion criteria are defined by FHIRPath expressions. |
jurisdictions | uv |
fhirVersion | 5.0.0 |
kind | logical |
abstract | false |
sdTtype | http://hl7.org/fhir/uv/sql-on-fhir/StructureDefinition/ViewDefinition |
derivation | specialization |
base | http://hl7.org/fhir/StructureDefinition/Base |
Usages | (none) |
Name | Flags | Card. | Type |
Description & Constraints
![]() |
---|---|---|---|---|
![]() ![]() |
Base |
View Definition This logical model cannot be the target of a reference |
||
![]() ![]() ![]() |
0..1 | uri | Canonical identifier for this view definition, represented as a URI (globally unique) | |
![]() ![]() ![]() |
0..1 | Identifier | Additional identifier for the view definition | |
![]() ![]() ![]() |
C | 1..1 | string |
Name of view definition (computer and database friendly) sql-name: Name is limited to letters, numbers, or underscores and cannot start with an underscore -- i.e. with a regular expression of: ^[^_][A-Za-z][A-Za-z0-9_]+$ This makes it usable as table names in a wide variety of databases. |
![]() ![]() ![]() |
0..1 | string | Business version of the view definition | |
![]() ![]() ![]() |
0..1 | string | Name for this view definition (human friendly) | |
![]() ![]() ![]() |
1..1 | code |
draft | active | retired | unknown Binding: PublicationStatus ( required ) |
|
![]() ![]() ![]() |
0..1 | boolean | For testing purposes, not real usage | |
![]() ![]() ![]() |
0..1 | dateTime | Date last changed | |
![]() ![]() ![]() |
0..1 | string | Name of the publisher/steward (organization or individual) | |
![]() ![]() ![]() |
0..* | ContactDetail |
Contact details for the publisher |
|
![]() ![]() ![]() |
0..1 | markdown | Natural language description of the view definition | |
![]() ![]() ![]() |
0..* | UsageContext |
The context that the content is intended to support |
|
![]() ![]() ![]() |
0..1 | markdown | Use and/or publishing restrictions | |
![]() ![]() ![]() |
1..1 | code |
FHIR resource for the ViewDefinition Binding: Resource Types ( required ) |
|
![]() ![]() ![]() |
0..* | code |
FHIR version(s) of the resource for the ViewDefinition Binding: FHIRVersion ( required ) |
|
![]() ![]() ![]() |
0..* | BackboneElement |
Constant that can be used in FHIRPath expressions |
|
![]() ![]() ![]() ![]() |
C | 1..1 | string |
Name of constant (referred to in FHIRPath as %[name]) sql-name: Name is limited to letters, numbers, or underscores and cannot start with an underscore -- i.e. with a regular expression of: ^[^_][A-Za-z][A-Za-z0-9_]+$ This makes it usable as table names in a wide variety of databases. |
![]() ![]() ![]() ![]() |
1..1 | string | Value of constant | |
![]() ![]() ![]() |
C | 0..* | BackboneElement |
Defines the content of a column within the view sql-expressions: Can only have only one of `path`, `from`, `forEach`, `forEachOrNull`, and `union` |
![]() ![]() ![]() ![]() |
C | 0..1 | string |
Name of column produced in the output sql-name: Name is limited to letters, numbers, or underscores and cannot start with an underscore -- i.e. with a regular expression of: ^[^_][A-Za-z][A-Za-z0-9_]+$ This makes it usable as table names in a wide variety of databases. |
![]() ![]() ![]() ![]() |
1..1 | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | FHIRPath expression that creates a column and defines its content | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Creates a scope for selection relative to a parent FHIRPath expression | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Same as from, but unnests a new row for each item in the collection | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Same as forEach, but produces a single row with a null value if the collection is empty | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Same as from, but creates a union of the results of the selection | |
![]() ![]() ![]() ![]() |
0..1 | markdown | Description of the column | |
![]() ![]() ![]() ![]() |
0..* | BackboneElement |
Additional metadata describing the column |
|
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Name of tag | |
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Value of tag | |
![]() ![]() ![]() ![]() |
0..* | See select |
Nested select relative to a parent from, forEach, or forEachOrNull expression |
|
![]() ![]() ![]() |
0..1 | string | FHIRPath expression defining a filter condition | |
![]() |
Produced 08 Sep 2023