Class ElementDefinition.ElementDefinitionExampleComponent

java.lang.Object
org.hl7.fhir.r5.model.Base
org.hl7.fhir.r5.model.Element
org.hl7.fhir.r5.model.ElementDefinition.ElementDefinitionExampleComponent
All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement, Serializable, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseDatatypeElement, org.hl7.fhir.instance.model.api.IBaseElement, org.hl7.fhir.instance.model.api.IBaseHasExtensions
Enclosing class:
ElementDefinition

public static class ElementDefinition.ElementDefinitionExampleComponent extends Element implements org.hl7.fhir.instance.model.api.IBaseDatatypeElement
See Also:
  • Field Details

    • label

      protected StringType label
      Describes the purpose of this example among the set of examples.
    • value

      protected DataType value
      The actual value for the element, which must be one of the types allowed for this element.
  • Constructor Details

  • Method Details

    • getLabelElement

      Returns:
      label (Describes the purpose of this example among the set of examples.). This is the underlying object with id, value and extensions. The accessor "getLabel" gives direct access to the value
    • hasLabelElement

      public boolean hasLabelElement()
    • hasLabel

      public boolean hasLabel()
    • setLabelElement

      Parameters:
      value - label (Describes the purpose of this example among the set of examples.). This is the underlying object with id, value and extensions. The accessor "getLabel" gives direct access to the value
    • getLabel

      public String getLabel()
      Returns:
      Describes the purpose of this example among the set of examples.
    • setLabel

      Parameters:
      value - Describes the purpose of this example among the set of examples.
    • getValue

      public DataType getValue()
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
    • getValueBase64BinaryType

      public Base64BinaryType getValueBase64BinaryType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueBase64BinaryType

      public boolean hasValueBase64BinaryType()
    • getValueBooleanType

      public BooleanType getValueBooleanType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueBooleanType

      public boolean hasValueBooleanType()
    • getValueCanonicalType

      public CanonicalType getValueCanonicalType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueCanonicalType

      public boolean hasValueCanonicalType()
    • getValueCodeType

      public CodeType getValueCodeType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueCodeType

      public boolean hasValueCodeType()
    • getValueDateType

      public DateType getValueDateType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueDateType

      public boolean hasValueDateType()
    • getValueDateTimeType

      public DateTimeType getValueDateTimeType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueDateTimeType

      public boolean hasValueDateTimeType()
    • getValueDecimalType

      public DecimalType getValueDecimalType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueDecimalType

      public boolean hasValueDecimalType()
    • getValueIdType

      public IdType getValueIdType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueIdType

      public boolean hasValueIdType()
    • getValueInstantType

      public InstantType getValueInstantType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueInstantType

      public boolean hasValueInstantType()
    • getValueIntegerType

      public IntegerType getValueIntegerType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueIntegerType

      public boolean hasValueIntegerType()
    • getValueInteger64Type

      public Integer64Type getValueInteger64Type() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueInteger64Type

      public boolean hasValueInteger64Type()
    • getValueMarkdownType

      public MarkdownType getValueMarkdownType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueMarkdownType

      public boolean hasValueMarkdownType()
    • getValueOidType

      public OidType getValueOidType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueOidType

      public boolean hasValueOidType()
    • getValuePositiveIntType

      public PositiveIntType getValuePositiveIntType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValuePositiveIntType

      public boolean hasValuePositiveIntType()
    • getValueStringType

      public StringType getValueStringType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueStringType

      public boolean hasValueStringType()
    • getValueTimeType

      public TimeType getValueTimeType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueTimeType

      public boolean hasValueTimeType()
    • getValueUnsignedIntType

      public UnsignedIntType getValueUnsignedIntType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueUnsignedIntType

      public boolean hasValueUnsignedIntType()
    • getValueUriType

      public UriType getValueUriType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueUriType

      public boolean hasValueUriType()
    • getValueUrlType

      public UrlType getValueUrlType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueUrlType

      public boolean hasValueUrlType()
    • getValueUuidType

      public UuidType getValueUuidType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueUuidType

      public boolean hasValueUuidType()
    • getValueAddress

      public Address getValueAddress() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueAddress

      public boolean hasValueAddress()
    • getValueAge

      public Age getValueAge() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueAge

      public boolean hasValueAge()
    • getValueAnnotation

      public Annotation getValueAnnotation() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueAnnotation

      public boolean hasValueAnnotation()
    • getValueAttachment

      public Attachment getValueAttachment() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueAttachment

      public boolean hasValueAttachment()
    • getValueCodeableConcept

      public CodeableConcept getValueCodeableConcept() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueCodeableConcept

      public boolean hasValueCodeableConcept()
    • getValueCodeableReference

      public CodeableReference getValueCodeableReference() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueCodeableReference

      public boolean hasValueCodeableReference()
    • getValueCoding

      public Coding getValueCoding() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueCoding

      public boolean hasValueCoding()
    • getValueContactPoint

      public ContactPoint getValueContactPoint() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueContactPoint

      public boolean hasValueContactPoint()
    • getValueCount

      public Count getValueCount() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueCount

      public boolean hasValueCount()
    • getValueDistance

      public Distance getValueDistance() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueDistance

      public boolean hasValueDistance()
    • getValueDuration

      public Duration getValueDuration() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueDuration

      public boolean hasValueDuration()
    • getValueHumanName

      public HumanName getValueHumanName() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueHumanName

      public boolean hasValueHumanName()
    • getValueIdentifier

      public Identifier getValueIdentifier() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueIdentifier

      public boolean hasValueIdentifier()
    • getValueMoney

      public Money getValueMoney() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueMoney

      public boolean hasValueMoney()
    • getValuePeriod

      public Period getValuePeriod() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValuePeriod

      public boolean hasValuePeriod()
    • getValueQuantity

      public Quantity getValueQuantity() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueQuantity

      public boolean hasValueQuantity()
    • getValueRange

      public Range getValueRange() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueRange

      public boolean hasValueRange()
    • getValueRatio

      public Ratio getValueRatio() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueRatio

      public boolean hasValueRatio()
    • getValueRatioRange

      public RatioRange getValueRatioRange() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueRatioRange

      public boolean hasValueRatioRange()
    • getValueReference

      public Reference getValueReference() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueReference

      public boolean hasValueReference()
    • getValueSampledData

      public SampledData getValueSampledData() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueSampledData

      public boolean hasValueSampledData()
    • getValueSignature

      public Signature getValueSignature() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueSignature

      public boolean hasValueSignature()
    • getValueTiming

      public Timing getValueTiming() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueTiming

      public boolean hasValueTiming()
    • getValueContactDetail

      public ContactDetail getValueContactDetail() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueContactDetail

      public boolean hasValueContactDetail()
    • getValueDataRequirement

      public DataRequirement getValueDataRequirement() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueDataRequirement

      public boolean hasValueDataRequirement()
    • getValueExpression

      public Expression getValueExpression() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueExpression

      public boolean hasValueExpression()
    • getValueParameterDefinition

      public ParameterDefinition getValueParameterDefinition() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueParameterDefinition

      public boolean hasValueParameterDefinition()
    • getValueRelatedArtifact

      public RelatedArtifact getValueRelatedArtifact() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueRelatedArtifact

      public boolean hasValueRelatedArtifact()
    • getValueTriggerDefinition

      public TriggerDefinition getValueTriggerDefinition() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueTriggerDefinition

      public boolean hasValueTriggerDefinition()
    • getValueUsageContext

      public UsageContext getValueUsageContext() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueUsageContext

      public boolean hasValueUsageContext()
    • getValueAvailability

      public Availability getValueAvailability() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueAvailability

      public boolean hasValueAvailability()
    • getValueExtendedContactDetail

      public ExtendedContactDetail getValueExtendedContactDetail() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueExtendedContactDetail

    • getValueDosage

      public Dosage getValueDosage() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueDosage

      public boolean hasValueDosage()
    • getValueMeta

      public Meta getValueMeta() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (The actual value for the element, which must be one of the types allowed for this element.)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueMeta

      public boolean hasValueMeta()
    • hasValue

      public boolean hasValue()
    • setValue

      Parameters:
      value - value (The actual value for the element, which must be one of the types allowed for this element.)
    • listChildren

      protected void listChildren(List<Property> children)
      Overrides:
      listChildren in class Element
    • getNamedProperty

      public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      getNamedProperty in class Element
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • getProperty

      public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      getProperty in class Element
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • setProperty

      public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      setProperty in class Element
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • setProperty

      public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      setProperty in class Element
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • removeChild

      public void removeChild(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      removeChild in class Element
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • makeProperty

      public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      makeProperty in class Element
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • getTypesForProperty

      public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      getTypesForProperty in class Element
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • addChild

      public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      addChild in class Element
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • copy

      Specified by:
      copy in class Element
    • copyValues

    • equalsDeep

      public boolean equalsDeep(Base other_)
      Overrides:
      equalsDeep in class Element
    • equalsShallow

      public boolean equalsShallow(Base other_)
      Overrides:
      equalsShallow in class Element
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.hl7.fhir.instance.model.api.IBase
      Overrides:
      isEmpty in class Element
    • fhirType

      public String fhirType()
      Specified by:
      fhirType in interface org.hl7.fhir.instance.model.api.IBase
      Overrides:
      fhirType in class Element
      Returns:
      the FHIR type name of the instance (not the java class name)