FHIR Chat · type with two possible profiles · implementers

Stream: implementers

Topic: type with two possible profiles


view this post on Zulip Katarina (Jul 05 2021 at 10:42):

Hi,

I specified a type (ElementDefinition.type) element as follows

<type>
<code value = "resource" />
<profile value = "https://example.de/fhir/StructureDefinition/Profile1" />
<profile value = "https://example.de/fhir/StructureDefinition/Profile2" />
</type>

I want that either Profile1 or Profile2 can be applied. Do I need a constraint for this?

When I don't add such a constraint, an instance with the following meta element is possible without getting an error:

<meta>
<profile value = "https://example.de/fhir/StructureDefinition/Profile1" />
<profile value = "https://example.de/fhir/StructureDefinition/Profile2" />
</meta>


Last updated: Apr 12 2022 at 19:14 UTC