<xs:element name="rules"><xs:complexType><xs:choice maxOccurs="unbounded"><xs:element name="templateAssociation" type="TemplateAssociationDefinition" minOccurs="0" maxOccurs="unbounded"/><xs:element name="template" type="TemplateDefinition" minOccurs="0" maxOccurs="unbounded"><xs:unique name="templateversion-node-id-unique"><xs:selector xpath=".//element | .//attribute"/><xs:field xpath="@id"/></xs:unique></xs:element><xs:element name="structuredefinition" type="StructureDefinitionType" minOccurs="0" maxOccurs="unbounded"/><xs:element name="structuredefinitionAssociation" type="StructureDefinitionAssociationType" minOccurs="0" maxOccurs="unbounded"/></xs:choice></xs:complexType><!-- Cannot have two templates carrying the same id and effectiveDate --><xs:unique name="template-idversion-unique"><xs:selector xpath="template"/><xs:field xpath="@id"/><xs:field xpath="@effectiveDate"/></xs:unique><xs:unique name="template-ref-unique"><xs:selector xpath="template"/><xs:field xpath="@ref"/></xs:unique><!-- Cannot have two templateAssociations for the same template (based on id and effectiveDate) --><xs:unique name="templateAssociation-idversion-unique"><xs:selector xpath="templateAssociation"/><xs:field xpath="@templateId"/><xs:field xpath="@effectiveDate"/></xs:unique><!-- Cannot have two structuredefinitions carrying the same id and effectiveDate --><xs:unique name="structuredefinition-idversion-unique"><xs:selector xpath="structuredefinition"/><xs:field xpath="@id"/><xs:field xpath="@effectiveDate"/></xs:unique><!-- Cannot have two structuredefinitions carrying the same canonicalUri and version --><xs:unique name="structuredefinition-uri-version-unique"><xs:selector xpath="structuredefinition"/><xs:field xpath="@canonicalUri"/><xs:field xpath="@version"/></xs:unique></xs:element>
Reference to the template/@effectiveDate where this template association is referring to (should actually be named templateEffectiveDate according to the other attribute @templateId
Added in compilation process for releases. DO NOT ADD/EDIT yourself. Contains the project @prefix of the project that defines the dataset, template, or value set
Added in compilation process for releases. DO NOT ADD/EDIT yourself. Contains the project @prefix of the project that referenced the dataset, template, or value set (normally current project)
Added in compilation process for releases. DO NOT ADD/EDIT yourself. Contains the services URL useful in retrieving the dataset, template, or value set