Package org.hl7.fhir
Class GroupCharacteristic
- java.lang.Object
-
- org.hl7.fhir.Element
-
- org.hl7.fhir.BackboneElement
-
- org.hl7.fhir.GroupCharacteristic
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class GroupCharacteristic extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
Represents a defined collection of entities that may be discussed or acted upon collectively but which are not expected to act collectively and are not formally or legally recognized; i.e. a collection of entities that isn't an Organization.Java class for Group.Characteristic complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Group.Characteristic"> <complexContent> <extension base="{http://hl7.org/fhir}BackboneElement"> <sequence> <element name="code" type="{http://hl7.org/fhir}CodeableConcept"/> <choice> <element name="valueCodeableConcept" type="{http://hl7.org/fhir}CodeableConcept"/> <element name="valueBoolean" type="{http://hl7.org/fhir}boolean"/> <element name="valueQuantity" type="{http://hl7.org/fhir}Quantity"/> <element name="valueRange" type="{http://hl7.org/fhir}Range"/> </choice> <element name="exclude" type="{http://hl7.org/fhir}boolean"/> <element name="period" type="{http://hl7.org/fhir}Period" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected CodeableConceptcodeprotected Booleanexcludeprotected Periodperiodprotected BooleanvalueBooleanprotected CodeableConceptvalueCodeableConceptprotected QuantityvalueQuantityprotected RangevalueRange-
Fields inherited from class org.hl7.fhir.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description GroupCharacteristic()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)CodeableConceptgetCode()Gets the value of the code property.BooleangetExclude()Gets the value of the exclude property.PeriodgetPeriod()Gets the value of the period property.BooleangetValueBoolean()Gets the value of the valueBoolean property.CodeableConceptgetValueCodeableConcept()Gets the value of the valueCodeableConcept property.QuantitygetValueQuantity()Gets the value of the valueQuantity property.RangegetValueRange()Gets the value of the valueRange property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetCode(CodeableConcept value)Sets the value of the code property.voidsetExclude(Boolean value)Sets the value of the exclude property.voidsetPeriod(Period value)Sets the value of the period property.voidsetValueBoolean(Boolean value)Sets the value of the valueBoolean property.voidsetValueCodeableConcept(CodeableConcept value)Sets the value of the valueCodeableConcept property.voidsetValueQuantity(Quantity value)Sets the value of the valueQuantity property.voidsetValueRange(Range value)Sets the value of the valueRange property.java.lang.StringtoString()GroupCharacteristicwithCode(CodeableConcept value)GroupCharacteristicwithExclude(Boolean value)GroupCharacteristicwithExtension(java.util.Collection<Extension> values)GroupCharacteristicwithExtension(Extension... values)GroupCharacteristicwithId(java.lang.String value)GroupCharacteristicwithModifierExtension(java.util.Collection<Extension> values)GroupCharacteristicwithModifierExtension(Extension... values)GroupCharacteristicwithPeriod(Period value)GroupCharacteristicwithValueBoolean(Boolean value)GroupCharacteristicwithValueCodeableConcept(CodeableConcept value)GroupCharacteristicwithValueQuantity(Quantity value)GroupCharacteristicwithValueRange(Range value)-
Methods inherited from class org.hl7.fhir.BackboneElement
getModifierExtension
-
Methods inherited from class org.hl7.fhir.Element
getExtension, getId, setId
-
-
-
-
Field Detail
-
code
protected CodeableConcept code
-
valueCodeableConcept
protected CodeableConcept valueCodeableConcept
-
valueBoolean
protected Boolean valueBoolean
-
valueQuantity
protected Quantity valueQuantity
-
valueRange
protected Range valueRange
-
exclude
protected Boolean exclude
-
period
protected Period period
-
-
Method Detail
-
getCode
public CodeableConcept getCode()
Gets the value of the code property.- Returns:
- possible object is
CodeableConcept
-
setCode
public void setCode(CodeableConcept value)
Sets the value of the code property.- Parameters:
value- allowed object isCodeableConcept
-
getValueCodeableConcept
public CodeableConcept getValueCodeableConcept()
Gets the value of the valueCodeableConcept property.- Returns:
- possible object is
CodeableConcept
-
setValueCodeableConcept
public void setValueCodeableConcept(CodeableConcept value)
Sets the value of the valueCodeableConcept property.- Parameters:
value- allowed object isCodeableConcept
-
getValueBoolean
public Boolean getValueBoolean()
Gets the value of the valueBoolean property.- Returns:
- possible object is
Boolean
-
setValueBoolean
public void setValueBoolean(Boolean value)
Sets the value of the valueBoolean property.- Parameters:
value- allowed object isBoolean
-
getValueQuantity
public Quantity getValueQuantity()
Gets the value of the valueQuantity property.- Returns:
- possible object is
Quantity
-
setValueQuantity
public void setValueQuantity(Quantity value)
Sets the value of the valueQuantity property.- Parameters:
value- allowed object isQuantity
-
getValueRange
public Range getValueRange()
Gets the value of the valueRange property.- Returns:
- possible object is
Range
-
setValueRange
public void setValueRange(Range value)
Sets the value of the valueRange property.- Parameters:
value- allowed object isRange
-
getExclude
public Boolean getExclude()
Gets the value of the exclude property.- Returns:
- possible object is
Boolean
-
setExclude
public void setExclude(Boolean value)
Sets the value of the exclude property.- Parameters:
value- allowed object isBoolean
-
getPeriod
public Period getPeriod()
Gets the value of the period property.- Returns:
- possible object is
Period
-
setPeriod
public void setPeriod(Period value)
Sets the value of the period property.- Parameters:
value- allowed object isPeriod
-
withCode
public GroupCharacteristic withCode(CodeableConcept value)
-
withValueCodeableConcept
public GroupCharacteristic withValueCodeableConcept(CodeableConcept value)
-
withValueBoolean
public GroupCharacteristic withValueBoolean(Boolean value)
-
withValueQuantity
public GroupCharacteristic withValueQuantity(Quantity value)
-
withValueRange
public GroupCharacteristic withValueRange(Range value)
-
withExclude
public GroupCharacteristic withExclude(Boolean value)
-
withPeriod
public GroupCharacteristic withPeriod(Period value)
-
withModifierExtension
public GroupCharacteristic withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
public GroupCharacteristic withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
public GroupCharacteristic withExtension(Extension... values)
- Overrides:
withExtensionin classBackboneElement
-
withExtension
public GroupCharacteristic withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classBackboneElement
-
withId
public GroupCharacteristic withId(java.lang.String value)
- Overrides:
withIdin classBackboneElement
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classBackboneElement
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classBackboneElement
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classBackboneElement
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBackboneElement
-
toString
public java.lang.String toString()
- Overrides:
toStringin classBackboneElement
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classBackboneElement
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classBackboneElement
-
-