Package org.hl7.fhir.r4b.model
Class ElementDefinition.ElementDefinitionExampleComponent
- java.lang.Object
-
- org.hl7.fhir.r4b.model.Base
-
- org.hl7.fhir.r4b.model.Element
-
- org.hl7.fhir.r4b.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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringTypelabelDescribes the purpose of this example amoung the set of examples.protected DataTypevalueThe actual value for the element, which must be one of the types allowed for this element.
-
Constructor Summary
Constructors Constructor Description ElementDefinitionExampleComponent()ConstructorElementDefinitionExampleComponent(String label, DataType value)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r4b.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement
-
Methods inherited from class org.hl7.fhir.r4b.model.Base
children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyUserData, copyValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getXhtml, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Field Detail
-
label
protected StringType label
Describes the purpose of this example amoung the set of examples.
-
-
Constructor Detail
-
ElementDefinitionExampleComponent
public ElementDefinitionExampleComponent()
Constructor
-
ElementDefinitionExampleComponent
public ElementDefinitionExampleComponent(String label, DataType value)
Constructor
-
-
Method Detail
-
getLabelElement
public StringType getLabelElement()
- Returns:
label(Describes the purpose of this example amoung 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
public ElementDefinition.ElementDefinitionExampleComponent setLabelElement(StringType value)
- Parameters:
value-label(Describes the purpose of this example amoung 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 amoung the set of examples.
-
setLabel
public ElementDefinition.ElementDefinitionExampleComponent setLabel(String value)
- Parameters:
value- Describes the purpose of this example amoung 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()
-
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()
-
getValueContributor
public Contributor getValueContributor() 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
-
hasValueContributor
public boolean hasValueContributor()
-
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()
-
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
public ElementDefinition.ElementDefinitionExampleComponent setValue(DataType value)
- 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:
listChildrenin classElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public ElementDefinition.ElementDefinitionExampleComponent copy()
-
copyValues
public void copyValues(ElementDefinition.ElementDefinitionExampleComponent dst)
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeepin classElement
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallowin classElement
-
isEmpty
public boolean isEmpty()
-
-