From 6be3916fc06c9f043b56a5218b49948ae77723ef Mon Sep 17 00:00:00 2001 From: Sean Fong Date: Thu, 22 Aug 2024 10:08:00 +1000 Subject: [PATCH] Fix quantity docs --- Conformance.md | 2 +- documentation/docs/components/quantity.mdx | 11 ++++--- documentation/docs/sdc/terminology.mdx | 34 +++++++++++++++++----- 3 files changed, 35 insertions(+), 12 deletions(-) diff --git a/Conformance.md b/Conformance.md index 509e9a2dd..04bda8865 100644 --- a/Conformance.md +++ b/Conformance.md @@ -142,7 +142,7 @@ View the source here: http://hl7.org/fhir/uv/sdc/behavior.html - [ ] minOccurs - [ ] maxOccurs - [ ] optionExclusive -- [ ] unitOption +- [x] unitOption - [ ] unitValueSet - [ ] unitOpen - [ ] unitSupplementalSystem diff --git a/documentation/docs/components/quantity.mdx b/documentation/docs/components/quantity.mdx index 63921a1b4..aa4240565 100644 --- a/documentation/docs/components/quantity.mdx +++ b/documentation/docs/components/quantity.mdx @@ -10,6 +10,8 @@ import IframeContainer from '../../src/react/IframeContainer'; There is an extension "http://hl7.org/fhir/StructureDefinition/questionnaire-unit" that can be used to define what unit should be captured (or the unit that has a ucum conversion from the provided unit). +You can use the [UnitOption](/docs/sdc/terminology#unitoption) extension to specify a list of options for the unit of a quantity item. + :::warning This component is not thoroughly tested yet. Please use it with caution. @@ -24,7 +26,7 @@ This component is not thoroughly tested yet. Please use it with caution.