Given one of the following potential use cases / contexts:
- I am a committee and want to define a proposal to be added as part of FHIR standard. For some use in diverse FHIR-Resource types I want to define a new reusable complex FHIR structure type (as of http://hl7.org/fhir/structure-definition-kind complex-type)
- I am some specific vendor of a Software and want to use mechanisms/language/tools from FHIR to model/define our internal inter sw-compoont communication data structures. In order to use the full feature set of FHIR modelling, I'd like to define our own private FHIR complex-types as of http://hl7.org/fhir/structure-definition-kind complex-type)
Background:
I already read documentation/tutorials for FHIR, FHIR Shorthand and SUSHI and was experimenting with these. I found that FHIR Shorthand allows to declare FHIR StructureDefinition artefacts of kind "logical" and "resource" (using FSH Item Declarations like Resource: MyResouce and Logical: MyLogical). However I did not find a way to declare a new complex-type using FHIR Shorthand
Question 1: Is there a way in FHIR Shorthand to define a new complex type so I can re-use the definition in diverse FHIR resource definitions? If not, what alternatives do I have to achieve the same (maybe outside FHIR Shorthand)?
EDIT/ADDITON:
Generalized Question(s)
FSH (FHIR Shorthand) is a specially-designed language for defining the content of HL7 FHIR Implementation Guides (IGs)
(quote from https://fshschool.org/docs/)
Question 2: Now, does that mean that FSH is not meant to edit artefacts for (potential future) FHIR Specification, but only for FHIR Implementation Guides?
Question 3: Is it allowed in FHIR Implementation Guides (IGs) to define StructureDefinition of kind "complex-types" and this way make the definition it available in the same of other IG(s)?