FHIR Chat · Element type cannot have both string and CodeableConcept · committers

Stream: committers

Topic: Element type cannot have both string and CodeableConcept


view this post on Zulip Jose Costa Teixeira (Apr 22 2021 at 08:03):

How do I override this error?
Element type cannot have both string and CodeableConcept unless the difference between their usage is explained in the comments
I'm trying to apply https://jira.hl7.org/browse/FHIR-26424
and I believe this is the rationale
"The string is used for properties that are intrinsically text, such as warning text, or assembly instructions. CodeableConcept.text also supports unencoded text but should be used where the characteristic is a concept that might be coded but there is no assigned code for the present value. For example, a security class can be a code like 'Class 1' but in some cases may contain a string like 'Depending on the settings' - in this case the property is normally coded but this is an exception."

view this post on Zulip Lloyd McKenzie (Apr 22 2021 at 19:05):

Do you have comments for the element that provide that explanation?

view this post on Zulip Jose Costa Teixeira (Apr 22 2021 at 19:37):

thanks. I had created an element and left it almost empty and put all the explanation in the definition. Now I moved it to the comment and it works


Last updated: Apr 12 2022 at 19:14 UTC