Stream: shorthand
Topic: Setting a binding description?
Jean Duteau (Oct 16 2020 at 01:35):
Is there a way to set the description on the binding using FSH? I see nothing in the documentation and I’m striking out at my tries.
Jean Duteau (Oct 16 2020 at 01:47):
AHA! I found it in example #2 of section 3.4.8: communication.language ^binding.description
Chris Moesel (Oct 16 2020 at 12:31):
Yeah -- when it comes to Profiles and Extensions, whenever you ask "Is there a way to..." the answer is almost certainly yes, and often involves using a ^
rule. As far as I'm aware, the only things you can't do in FSH for profiles and extensions are the things that you also can't do in StructureDefinition
or any other profile editing tool (in other words, things not supported by FHIR at all).
Chris Moesel (Oct 16 2020 at 12:34):
Unfortunately, I can't say exactly the same thing for CodeSystem
and ValueSet
. In theory, FSH does allow you to author any CS or VS and use their advanced features -- but in order to do that, in some cases you need to abandon the FSH CodeSystem
/ValueSet
syntax entirely and author it as an InstanceOf: CodeSystem
or InstanceOf:ValueSet
(which is much more tedious).
Last updated: Apr 12 2022 at 19:14 UTC