Skip to content

Commit 623a97e

Browse files
committed
restricted valueQuantity to metric ucum codes only
1 parent 9158c3c commit 623a97e

2 files changed

Lines changed: 43 additions & 0 deletions

File tree

structuredefinitions/UKCore-Observation-VitalSigns-BodyWeight.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,16 @@
5858
<path value="Observation.value[x].code" />
5959
<fixedCode value="kg" />
6060
</element>
61+
<element id="Observation.value[x]:valueQuantity">
62+
<path value="Observation.value[x]" />
63+
<sliceName value="valueQuantity" />
64+
</element>
65+
<element id="Observation.value[x]:valueQuantity.code">
66+
<path value="Observation.value[x].code" />
67+
<binding>
68+
<strength value="required" />
69+
<valueSet value="https://fhir.hl7.org.uk/ValueSet/UKCore-BodyWeightUCUM" />
70+
</binding>
71+
</element>
6172
</differential>
6273
</StructureDefinition>
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<ValueSet xmlns="http://hl7.org/fhir">
2+
<id value="UKCore-BodyWeightMeasurements" />
3+
<url value="https://fhir.hl7.org.uk/ValueSet/UKCore-BodyWeightUCUM" />
4+
<version value="0.1.0" />
5+
<name value="UKCoreBodyWeightUCUM" />
6+
<title value="UK Core UCUM" />
7+
<status value="draft" />
8+
<date value="2026-04-07" />
9+
<publisher value="HL7 UK" />
10+
<contact>
11+
<name value="HL7 UK" />
12+
<telecom>
13+
<system value="email" />
14+
<value value="ukcore@hl7.org.uk" />
15+
<use value="work" />
16+
<rank value="1" />
17+
</telecom>
18+
</contact>
19+
<description value="UCUM metric units for recording Body Weight. This is based on https://hl7.org/fhir/R4/valueset-ucum-bodyweight.html" />
20+
<copyright value="Copyright &#169; 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7&#174; FHIR&#174; standard Copyright &#169; 2011+ HL7 The HL7&#174; FHIR&#174; standard is used under the FHIR license. You may obtain a copy of the FHIR license at https://www.hl7.org/fhir/license.html." />
21+
<compose>
22+
<include>
23+
<system value="http://unitsofmeasure.org"/>
24+
<concept>
25+
<code value="kg"/>
26+
</concept>
27+
<concept>
28+
<code value="g"/>
29+
</concept>
30+
</include>
31+
</compose>
32+
</ValueSet>

0 commit comments

Comments
 (0)