XS:CHOICE Issue 33

NOTE: This schema fragment is copyright HL7 Inc.  
  <xs:complexType name="IVL_PQ">
      <xs:complexContent>
         <xs:extension base="SXCM_PQ">
            <xs:choice minOccurs="0">
               <xs:sequence>
                  <xs:element name="low" minOccurs="1" maxOccurs="1"
                        type="IVXB_PQ">
                     <xs:annotation>
                        <xs:documentation>
                           The low limit of the interval.
                        </xs:documentation>
                     </xs:annotation>
                  </xs:element>
                  <xs:choice minOccurs="0">
                     <xs:element name="width" minOccurs="0" maxOccurs="1"
                           type="PQ">
                        <xs:annotation>
                           <xs:documentation>
                           The difference between high and low boundary. The
                           purpose of distinguishing a width property is to
                           handle all cases of incomplete information
                           symmetrically. In any interval representation only
                           two of the three properties high, low, and width
                           need to be stated and the third can be derived.
                        </xs:documentation>
                        </xs:annotation>
                     </xs:element>
                     <xs:element name="high" minOccurs="0" maxOccurs="1"
                           type="IVXB_PQ">
                        <xs:annotation>
                           <xs:documentation>
                           The high limit of the interval.
                        </xs:documentation>
                        </xs:annotation>
                     </xs:element>
                  </xs:choice>
               </xs:sequence>
               <xs:element name="high" minOccurs="1" maxOccurs="1"
                     type="IVXB_PQ">
                  <xs:annotation>
                     <xs:documentation/>
                  </xs:annotation>
               </xs:element>
               <xs:sequence>
                  <xs:element name="width" minOccurs="1" maxOccurs="1"
                        type="PQ">
                     <xs:annotation>
                        <xs:documentation>
                           The difference between high and low boundary. The
                           purpose of distinguishing a width property is to
                           handle all cases of incomplete information
                           symmetrically. In any interval representation only
                           two of the three properties high, low, and width
                           need to be stated and the third can be derived.
                        </xs:documentation>
                     </xs:annotation>
                  </xs:element>
                  <xs:element name="high" minOccurs="0" maxOccurs="1"
                        type="IVXB_PQ">
                     <xs:annotation>
                        <xs:documentation>
                           The high limit of the interval.
                        </xs:documentation>
                     </xs:annotation>
                  </xs:element>
               </xs:sequence>
               <xs:sequence>
                  <xs:element name="center" minOccurs="1" maxOccurs="1"
                        type="PQ">
                     <xs:annotation>
                        <xs:documentation>
                           The arithmetic mean of the interval (low plus high
                           divided by 2). The purpose of distinguishing the
                           center as a semantic property is for conversions
                           of intervals from and to point values.
                        </xs:documentation>
                     </xs:annotation>
                  </xs:element>
                  <xs:element name="width" minOccurs="0" maxOccurs="1"
                        type="PQ">
                     <xs:annotation>
                        <xs:documentation>
                           The difference between high and low boundary. The
                           purpose of distinguishing a width property is to
                           handle all cases of incomplete information
                           symmetrically. In any interval representation only
                           two of the three properties high, low, and width
                           need to be stated and the third can be derived.
                        </xs:documentation>
                     </xs:annotation>
                  </xs:element>
               </xs:sequence>
            </xs:choice>
         </xs:extension>
      </xs:complexContent>
   </xs:complexType>

 

Anthony (Tony) Julian
HL7 Infrastructure and Messaging Committee Co-Chair(Formerly Control/Query)

Day-Job:
Mayo Clinic - Information Services
e-mail ajulian@mayo.edu <mailto:ajulian@mayo.edu>  
Phone 507-266-0958
Page 127-10700 


********** Notice Regarding Privacy and Confidentiality ************ 
Privileged, confidential or patient identifiable information may be contained in this message. This information is meant only for the use of the intended recipients. If you are not the intended recipient, or if the message has been addressed to you in error, do not read, disclose, reproduce, distribute, disseminate or otherwise use this transmission. Instead, please notify the sender by reply email, and then destroy all copies of the message and any attachments. Thank you

 

Received on Tuesday, 18 April 2006 14:50:15 UTC