What's the correct XML in an OPT for multiple terminology references?

Hi,

I’m having trouble generating OPTs (1.4) from archetypes that reference multiple terminologies from a DV_CODED_TEXT.

For instance, I have a coded node that will be coded by LOINC or SNOMED-CT, that can be set in the archetype. But when exporting the OPT from the Template Designer, only LOINC appears in this way:

CODE_PHRASE true true false false 1 1 **terminology:LOINC**

Now, looking at the OPT schema (I think I got it from the TD), it says the C_CODE_PHRASE only can have one referenceSetUri element, so it is not possible to add more elements with other terminologies.

So, how can we put many terminologies on the OPT?

Should that be multiple values in that element? like this:

terminology:LOINC terminology:SNOMED-CT

(that looks ugly and I don’t think is valid)

I’m surprised to find this simple case can’t be supported by tools or the OPT format itself. Any tips are welcome.

Best,
Pablo.

Just remembered children of attribute can handle multiple alternatives, while this is syntactically correct I’m not sure if the alternatives can be of the same object type:

defining_code .... CODE_PHRASE .... **terminology:LOINC** CODE_PHRASE .... **terminology:SNOMED-CT**