Skip to content

Commit

Permalink
Document IG.definition extensions on configuration page (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
jafeltra authored Apr 15, 2024
1 parent 9103565 commit e6f71a6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions content/docs/SUSHI/configuration/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ The table below lists all configuration properties that can be used in SUSHI's *
| copyrightLabel| copyrightLabel | As specified in the IG resource - **Note:** this is an R5 IG element |
| copyrightYear or copyrightyear | N/A | Used to add a `copyrightyear` parameter to `IG.definition.parameter` |
| date | date | As specified in the IG resource |
| definition <br> └ extension | definition.extension | <span class="tag">SUSHI 3.0</span>A list of extensions that apply to `IG.definition`. **Note:** the only property supported on the `definition` property is `extension`. |
| description | description | As specified in the IG resource |
| dependencies | dependsOn | A `key: value` pair, where key is the package id and value is the version (or `dev`/`current`). For advanced use cases, the value can be an object with keys for `id`, `uri` and `version`. For R5 IG resources, the key `reason` can also be provided. |
| experimental | experimental | As specified in the IG resource |
Expand Down
9 changes: 9 additions & 0 deletions content/docs/SUSHI/configuration/exhaustive-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,15 @@ global:
Patient: http://example.org/fhir/StructureDefinition/my-patient-profile
Encounter: http://example.org/fhir/StructureDefinition/my-encounter-profile

# NOTE: All of the properties of IG.definition are abstracted to
# individual top-level configuration properties (below). This
# definition property should only be used to provide extensions
# that have a context of IG.definition.
definition:
extension:
- url: http://example.org/example/ig-definition-ext
valueBoolean: true

# The resources property corresponds to IG.definition.resource.
# SUSHI can auto-generate all of the resource entries based on
# the FSH definitions and/or information in any user-provided
Expand Down

0 comments on commit e6f71a6

Please sign in to comment.