Package org.hl7.fhir

Class Duration

All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

public class Duration extends Quantity implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

Java class for Duration complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Duration">
   <complexContent>
     <restriction base="{http://hl7.org/fhir}Quantity">
       <sequence>
         <element name="extension" type="{http://hl7.org/fhir}Extension" maxOccurs="unbounded" minOccurs="0"/>
         <element name="value" type="{http://hl7.org/fhir}decimal" minOccurs="0"/>
         <element name="comparator" type="{http://hl7.org/fhir}QuantityComparator" minOccurs="0"/>
         <element name="unit" type="{http://hl7.org/fhir}string" minOccurs="0"/>
         <element name="system" type="{http://hl7.org/fhir}uri" minOccurs="0"/>
         <element name="code" type="{http://hl7.org/fhir}code" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://hl7.org/fhir}id-primitive" />
     </restriction>
   </complexContent>
 </complexType>