2 constraint bindings in ADL - 1 referenceSetUri in OPT

pablo pazos pazospablo at hotmail.com
Sat Aug 8 15:20:41 EDT 2015


Hi,
I have created a testing archetype with two constraint bindings:
...	ELEMENT[at0004] occurrences matches {0..1} matches {	-- Terminology ref										value matches {											DV_CODED_TEXT matches {												defining_code matches {[ac0001]}		-- ref											}										}...
constraint_definitions = <		["es"] = <			items = <				["ac0001"] = <					text = <"ref">					description = <"ref">				>			>		>	>	constraint_bindings = <		["SNOMED-CT"] = <			items = <				["ac0001"] = <terminology:SNOMED-CT?subset=motivo_de_consulta>			>		>		["AOD2000"] = <			items = <				["ac0001"] = <terminology:AOD2000?subset=sdfgsd>			>		>	>

If I use this archetype in the Template Designer and export the OPT, I get just one URI:
<children xsi:type="C_COMPLEX_OBJECT">                            <rm_type_name>DV_CODED_TEXT</rm_type_name>                            <occurrences>                              ...                            </occurrences>                            <node_id />                            <attributes xsi:type="C_SINGLE_ATTRIBUTE">                              <rm_attribute_name>defining_code</rm_attribute_name>                              <existence>                                ...                              </existence>                              <children xsi:type="C_CODE_REFERENCE">                                <rm_type_name>CODE_PHRASE</rm_type_name>                                <occurrences>                                  ...                                </occurrences>                                <node_id />                                <referenceSetUri>terminology:SNOMED-CT?subset=motivo_de_consulta</referenceSetUri>                              </children>                            </attributes>                          </children>

Is this a TD bug? I'm using TD 2.6.1214Beta.
-- 
Kind regards,
Eng. Pablo Pazos Gutiérrez
http://cabolabs.com 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20150808/19031554/attachment-0002.html>


More information about the openEHR-technical mailing list