Hi Sean,
"The underlying runtime built ontop of ecore does not consider setting it to "1" as setting it"
I think this was the problem which is why I ended up just overriding it.
This was for the "Specific gravity of urine by test strip" lab result as outlined in 170.315_b1_toc_amb_svap_uscdiv3_sample1_v1.pdf.
I saw some other posts where people got around similar issues with dimensionless units where they just used string (ST) types instead, but I'm trying to make this part of my code generic where "Quantity" models are just converted to PQ.
Here's the observation that passes validation after my changes:
<observation classCode="OBS" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.22.4.2" extension="2023-05-01"/>
<templateId root="2.16.840.1.113883.10.20.22.4.2" extension="2015-08-01"/>
<templateId root="2.16.840.1.113883.10.20.22.4.2"/>
<id root="2.16.840.1.12441" extension="result-organizer-1-observation-3"/>
<code code="5811-5" codeSystem="2.16.840.1.113883.6.1" displayName="Specific gravity of urine by test strip">
<originalText><reference value="#result-organizer-1-result-3-code"/></originalText>
</code>
<text><reference value="#result-organizer-1-result-3"/></text>
<statusCode code="completed"/>
<effectiveTime value="20150622"/>
<value xsi:type="PQ" value="1.015" unit="1"/>
<referenceRange>
<observationRange>
<value xsi:type="ST">1.005 – 1.030</value>
</observationRange>
</referenceRange>
</observation>