<!--/* Font Definitions */@font-face    {font-family:"Cambria Math";    
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face        {font-family:Calibri;   
panose-1:2 15 5 2 2 2 4 3 2 4;}/* Style Definitions */p.MsoNormal, 
li.MsoNormal, div.MsoNormal  {margin:0cm;    margin-bottom:.0001pt;  
font-size:11.0pt;       font-family:"Calibri",sans-serif;       
mso-fareast-language:EN-US;}a:link, span.MsoHyperlink   {mso-style-priority:99; 
color:#0563C1;  text-decoration:underline;}a:visited, span.MsoHyperlinkFollowed 
{mso-style-priority:99; color:#954F72;  
text-decoration:underline;}span.EmailStyle17    
{mso-style-type:personal-compose;       font-family:"Calibri",sans-serif;       
color:windowtext;}..MsoChpDefault       {mso-style-type:export-only;    
font-family:"Calibri",sans-serif;       mso-fareast-language:EN-US;}@page 
WordSection1  {size:612.0pt 792.0pt;  margin:70.85pt 70.85pt 2.0cm 
70.85pt;}div.WordSection1  {page:WordSection1;}-->

    I think the primitive is string with ISO 8601 format, so ISO8601_DURATION 
might be correct.
Sent from my LG Mobile


------ Original message------From: Sebastian GardeDate: Tue, Mar 15, 2016 
09:36To: For openEHR technical discussions;Subject:rm_type_name for the 
DV_DURATIONs primitive object in XMLDear all, There are a differences in how 
the Template Designer and how CKM construct the XML for a DV_Duration: Take 
this snippet (from http://openehr.org/ckm/#showArchetype_1013.1.123_XML ) 
<children xsi:type="C_COMPLEX_OBJECT">                    
<rm_type_name>DV_DURATION</rm_type_name>                    <occurrences>       
               <lower_included>true</lower_included>                      
<upper_included>true</upper_included>                      
<lower_unbounded>false</lower_unbounded>                      
<upper_unbounded>false</upper_unbounded>                     <lower>1</lower>   
                   <upper>1</upper>                    </occurrences>           
         <node_id />                    <attributes 
xsi:type="C_SINGLE_ATTRIBUTE">                      
<rm_attribute_name>value</rm_attribute_name>                      <existence>   
                     <lower_included>true</lower_included>                      
  <upper_included>true</upper_included>                        
<lower_unbounded>false</lower_unbounded>                        
<upper_unbounded>false</upper_unbounded>                        
<lower>1</lower>                        <upper>1</upper>                      
</existence>                      <children xsi:type="C_PRIMITIVE_OBJECT">      
                  <rm_type_name>DV_DURATION</rm_type_name>                      
  <occurrences>                          <lower_included>true</lower_included>  
                        <upper_included>true</upper_included>                   
       <lower_unbounded>false</lower_unbounded>                          
<upper_unbounded>false</upper_unbounded>                          
<lower>1</lower>                          <upper>1</upper>                      
  </occurrences>                        <node_id />                        
<item xsi:type="C_DURATION">                          <pattern>PMWD</pattern>   
                       <range>                            
<lower_unbounded>true</lower_unbounded>                            
<upper_unbounded>true</upper_unbounded>                          </range>       
                 </item>                      </children>                    
</attributes>                  </children> What is the correct rm_type_name for 
C_PRIMITIVE_OBJECT here (in old red above)? Is it “DV_DURATION” as the Java Ref 
Impl uses or is it simply “DURATION” (both for reason I don’t really 
understand)or should it maybe be “String” or “ISO8901_DURATION” 
ashttp://openehr.org/releases/trunk/UML/#Architecture___18_1_83e026d_1433773264460_352968_7042
 
and/orhttp://openehr.org/releases/trunk/UML/#Architecture___18_1_83e026d_1422968609347_115062_25681
 describe. Frankly I am confused, but I hope that someone can enlighten me 
here? CheersSebastian  
_______________________________________________
openEHR-technical mailing list
[email protected]
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

Reply via email to