The Assessment Scale Supporting Observation (2.16.840.1.113883.10.20.22.4.86) value is throwing an error if the xsi:type is not equal to "CD". I think this is a bug with the validator.
In the spec (
https://www.hl7.org/ccdasearch/templates/2.16.840.1.113883.10.20.22.4.86.html), it says that we must have a value, but it does not require a specific value type. However, it has a note in there that says If xsi:type="CD", MAY have a translation code to further specify the source if the instrument has an applicable code system and value set for the integer (CONF:14639) (CONF:4515-16755).
It appears the tool has made this note into a MUST that the data type must be the coded (CD) value. I believe it needs to be relaxed to allow different value types.
<entryRelationship typeCode = "COMP">
<observation classCode = "OBS" moodCode = "EVN">
<templateId root = "2.16.840.1.113883.10.20.22.4.86" extension = "2022-06-01"/>
<id root = "ad804f53-b761-5b1a-8f9d-7d1958c55e16"/>
<code nullFlavor = "UNK">
<originalText>
<reference value = "#social_hist_obs-3.1"/>
</originalText>
</code>
<statusCode code = "completed"/>
<value xsi:type = "ED">
<reference value = "#social_hist_obs_rsp-3.1"/>
</value>
</observation>
</entryRelationship>