cda datatypes nblock voc common

Element : RTOQTYQTY (XML Type: RTO_QTY_QTY )


Package : datatypes

XML Type : RTO_QTY_QTY


Parent : QTY


Name Type cardinality Comment
numerator
Element : numerator
QTY 1...1 The quantity that is being divided in the ratio. The default is the integer number 1 (one).
denominator
Element : denominator
QTY 1...1 The quantity that devides the numerator in the ratio. The default is the integer number 1 (one). The denominator must not be zero.

constraint_datatypes_denominator

  • self.denominator.oclIsUndefined() or ( (self.denominator.oclIsKindOf(INT) implies self.denominator.oclAsType(INT).value <> 0) and (self.denominator.oclIsKindOf(REAL) implies self.denominator.oclAsType(REAL).value <> 0) )
  • The denominator must not be zero (from the documentation of the type RTO_QTY_QTY on the schema of datatypes-base.xsd)

<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="RTO_QTY_QTY">
      
<xs:annotation>
         
<xs:appinfo>
            
<diff>RTO_QTY_QTY</diff>
         
</xs:appinfo>
      
</xs:annotation>
      
<xs:complexContent>
         
<xs:extension base="QTY">
            
<xs:sequence>
               
<xs:element name="numerator" type="QTY">
                  
<xs:annotation>
                     
<xs:documentation>
                        The quantity that is being divided in the ratio.  The
                        default is the integer number 1 (one).
                     
</xs:documentation>
                  
</xs:annotation>
               
</xs:element>
               
<xs:element name="denominator" type="QTY">
                  
<xs:annotation>
                     
<xs:documentation>
                        The quantity that devides the numerator in the ratio.
                        The default is the integer number 1 (one).
                        The denominator must not be zero.
                     
</xs:documentation>
                  
</xs:annotation>
               
</xs:element>
            
</xs:sequence>
         
</xs:extension>
      
</xs:complexContent>
   
</xs:complexType>