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 _______________________________________________ openEHR-technical mailing list [email protected] http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

