Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,14 @@
<documentation value="Specifies the language to be used for description when validating the display property"/>
<type value="code"/>
</parameter>
<parameter>
<name value="useSupplement"/>
<use value="in"/>
<min value="0"/>
<max value="*"/>
<documentation value="When using this input parameter, all provided supplements must be used when validating the display or properties of the concept code. Use of this parameter should result in $validate-code behaving the same way as if the supplements were included in an &quot;all codes&quot; value set definition using the [ValueSet Supplement](http://hl7.org/fhir/StructureDefinition/valueset-supplement) extension"/>
<type value="canonical"/>
</parameter>
<parameter>
<name value="result"/>
<use value="out"/>
Expand Down
2 changes: 1 addition & 1 deletion source/namingsystem/structuredefinition-NamingSystem.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
<key value="nsd-3"/>
<severity value="error"/>
<human value="Can't have more than one authoritative identifier for a type/period combination (only one authoritative identifier allowed at any given point of time)"/>
<expression value="uniqueId.where(authoritative = true).select(type.toString() &amp; period.start.toString() &amp; period.end.toString()).isDistinct()"/>
<expression value="uniqueId.where(authoritative and value = 'base').select(defineVariable('uId').select(%context..where($this != %uId and authoritative and type = %uId.type).where((period.start.empty() or %uId.period.end.empty() or period.start &lt;= %uId.period.end) and (%uId.period.start.empty() or period.end.empty() or %uId.period.start &lt;= period.end)).select(trace('error', %uId.value &amp; ' overlaps ' &amp; value)))).empty()"/>
<source value="http://hl7.org/fhir/StructureDefinition/NamingSystem"/>
</constraint>
<constraint>
Expand Down
Loading