Stream: shorthand
Topic: Extensions on VS concepts
Patrick Werner (May 18 2021 at 07:05):
I tried to create a ValueSet with extensions on the concepts, but failed to do so.
Patrick Werner (May 18 2021 at 07:06):
We are using the ordinalValue Extension on concepts:
"compose": {
"include": [
{
"system": "http://molit.eu/fhir/vitu/CodeSystem/vitu-workinglist",
"concept": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/ordinalValue",
"valueDecimal": 0
}
],
"code": "0-new",
"display": "Neu"
},
Patrick Werner (May 18 2021 at 07:06):
I couldn't figure out how to add an extension on a concept in FSH
Chris Moesel (May 18 2021 at 09:20):
This is one of the limitations in FSH STU1. The CodeSystem syntax doesn't allow you to set extensions (or some of the properties, like designation
) on individual concepts. In FSH STU1 (and current SUSHI), you need to use Instance
with Usage: #definition
to define CodeSystems w/ those features.
Chris Moesel (May 18 2021 at 09:21):
The good news is that we're proposing an approach for FSH STU2 that can handle this. It will basically be the ^
syntax you're already familiar with, but with concepts. We hope to release a new version of SUSHI with those features in the coming weeks.
Patrick Werner (May 18 2021 at 09:46):
Thanks for your work and the update
Last updated: Apr 12 2022 at 19:14 UTC