hello mdht developers
I created a template PresciptionSection which is based on ihe::Medications, which itself is based on ccd:MedicationSection.
code:CE
With the subclass editor I redefined code (CE) to assign default values (other loinc code), however when I serialize my template, value of code is from ccd:Medication (10160-0) and not from the one I defined in the modeler (60590-7).
title:ST 
When I specify a default value for the title, the title element with the default value is not generated. 
Both subclassed elements are defined in the modeler properties as Unique/composite/Redefines ccd::MedicationsSections::code (or title) with 1::1 multiplicity.
I get:
<section xmlns="urn:hl7-org:v3">
  <templateId root="1.3.6.1.4.1.19376.1.9.1.2.3"/>
  <templateId root="2.16.840.1.113883.10.20.1.8"/>
  <templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.19"/>
  <code code="10160-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="History of medication use"/>
</section>
instead of:
     <section>
          <templateId root="1.3.6.1.4.1.19376.1.9.1.2.3"/>
          <templateId root="2.16.840.1.113883.10.20.1.8"/>
          <templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.19"/>
          <code code="60590-7" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="MEDICATION DISPENSED.BRIEF"/>
          <title>Pharmacy Dispense</title>
        </section>
 The latter i'm doing with the mdht model setting the code/title from code.
Am I doing something wrong? Is that functionality supported in MDHT? 
Thanks a lot for any info, if you need further information do not hesitate to contact me.
Oliver
-- 
oliver egger
mobile: +41765795005
ahdis gmbh
agile health data information systems
bertastrasse 4
8003 zürich
switzerland