Package org.hl7.fhir

Class ElementDefinitionConstraint

java.lang.Object
org.hl7.fhir.Element
org.hl7.fhir.ElementDefinitionConstraint
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

public class ElementDefinitionConstraint
extends Element
implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions

Java class for ElementDefinition.Constraint complex type.

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

 <complexType name="ElementDefinition.Constraint">
   <complexContent>
     <extension base="{http://hl7.org/fhir}Element">
       <sequence>
         <element name="key" type="{http://hl7.org/fhir}id"/>
         <element name="requirements" type="{http://hl7.org/fhir}string" minOccurs="0"/>
         <element name="severity" type="{http://hl7.org/fhir}ConstraintSeverity"/>
         <element name="human" type="{http://hl7.org/fhir}string"/>
         <element name="expression" type="{http://hl7.org/fhir}string" minOccurs="0"/>
         <element name="xpath" type="{http://hl7.org/fhir}string"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>