cda datatypes nblock voc common

Element : RTOPQPQ (XML Type: RTO_PQ_PQ )


Package : datatypes

XML Type : RTO_PQ_PQ


Parent : QTY


Name Type cardinality Comment
numerator
Element : numerator
PQ 1...1 The quantity that is being divided in the ratio. The default is the integer number 1 (one).
denominator
Element : denominator
PQ 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.value.oclIsUndefined() or self.denominator.value <> 0
  • denominator value must be zero (from the documentation of the type RTO_PQ_PQ on the schema of datatypes.xsd)

<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="RTO_PQ_PQ">
      
<xs:annotation>
         
<xs:appinfo>
            
<diff>RTO_PQ_PQ</diff>
         
</xs:appinfo>
      
</xs:annotation>
      
<xs:complexContent>
         
<xs:extension base="QTY">
            
<xs:sequence>
               
<xs:element name="numerator" type="PQ">
                  
<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="PQ">
                  
<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>