<xs:element name="vocabulary">
<xs:annotation>
<xs:documentation xml:lang="en-US">Used for attributes of "coded" types. Allows assertion of one or more codes, code systems or value sets.</xs:documentation>
</xs:annotation>
<xs:complexType>
<!-- value set assertions -->
<xs:attribute name="valueSet" type="BasicIdOrOid" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en-US">Reference to a valueSet/@id or @name. References to @name are discouraged because they become ambiguous quickly.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="flexibility" type="StaticOrDynamicFlexibility" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en-US">Reference to a valueSet/@effectiveDate. Default is unspecified which means 'latest available version'.</xs:documentation>
</xs:annotation>
</xs:attribute>
<!-- code constraints -->
<xs:attribute name="code" type="EnumerationString" use="optional"/>
<xs:attribute name="codeSystem" type="Oid" use="optional"/>
<!-- other constraints -->
<xs:attribute ref="displayName" use="optional"/>
<xs:attribute name="codeSystemName" type="NonEmptyString" use="optional"/>
<!-- concept domain (a simple string as an "abstract" indication only) -->
<xs:attribute name="domain" type="NonEmptyString" use="optional"/>
</xs:complexType>
</xs:element>
|