Skip to content

Commit a8827f6

Browse files
author
Grahame Grieve
committed
custom resource changes
1 parent 1edbeaa commit a8827f6

File tree

2 files changed

+2
-17
lines changed

2 files changed

+2
-17
lines changed

input/fsh/models.fsh

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,28 +20,12 @@ Expression: "(forEach | forEachOrNull).count() <= 1"
2020
// NOTE: Using RuleSet with LogicalModels where you pass parameters seems to be broken
2121
Logical: ViewDefinition
2222
Title: "View Definition"
23+
Parent: CanonicalResource
2324
Description: """
2425
A ViewDefinition represents a tabular projection of a FHIR resource, where the columns and inclusion
2526
criteria are defined by FHIRPath expressions.
2627
"""
27-
* url 0..1 uri "Canonical identifier for this view definition, represented as a URI (globally unique)"
28-
* identifier 0..1 Identifier "Additional identifier for the view definition"
29-
* name 0..1 string "Name of view definition (computer and database friendly)" """
30-
Name of the view definition, must be in a database-friendly format.
31-
"""
3228
* name obeys sql-name
33-
* title 0..1 string "Name for this view definition (human friendly)" """
34-
A optional human-readable description of the view.
35-
"""
36-
* meta 0..1 Meta "Metadata about the view definition"
37-
* status 1..1 code "draft | active | retired | unknown"
38-
* status from http://hl7.org/fhir/ValueSet/publication-status
39-
* experimental 0..1 boolean "For testing purposes, not real usage"
40-
* publisher 0..1 string "Name of the publisher/steward (organization or individual)"
41-
* contact 0..* ContactDetail "Contact details for the publisher"
42-
* description 0..1 markdown "Natural language description of the view definition"
43-
* useContext 0..* UsageContext "The context that the content is intended to support"
44-
* copyright 0..1 markdown "Use and/or publishing restrictions"
4529
* resource 1..1 code "FHIR resource for the ViewDefinition" """
4630
The FHIR resource that the view is based upon, e.g. 'Patient' or 'Observation'.
4731
"""

sushi-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ publisher:
5757
parameters:
5858
excludettl: true
5959
path-test: tests
60+
custom-resource: fsh-generated/resources/StructureDefinition-ViewDefinition.json
6061

6162
# validation: [allow-any-extensions, no-broken-links]
6263
#

0 commit comments

Comments
 (0)