Stream: implementers
Topic: 2 resource types
Katarina (Jun 23 2021 at 17:03):
Hi,
i have defined a bundle profile where in entry the resource can have two different types
<element id="Bundle.entry.resource">
<path value="Bundle.entry.resource"/>
<type>
<code value="Resource"/>
<profile value="https://example.de/fhir/StructureDefinition/MyComposition"/>
<profile value="https://example.de/fhir/StructureDefinition/MySecondComposition"/>
</type>
</element>
When I validate an example against this bundle profile, I get the following warning:
BusinessRule : Element definition does not specify a 'min' value, which is required. Cardinality has not been validated
Bundle.entry[0].resource[0]
What does this mean? I can`t define specific cardinalities for each type ...
Lloyd McKenzie (Jun 25 2021 at 16:49):
What's in the snapshot of your profile. Are the cardinalities for the element defined there?
Last updated: Apr 12 2022 at 19:14 UTC