public class FamilyMemberHistoryCondition extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for FamilyMemberHistory.Condition complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FamilyMemberHistory.Condition">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="code" type="{http://hl7.org/fhir}CodeableConcept"/>
<element name="outcome" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<choice minOccurs="0">
<element name="onsetQuantity" type="{http://hl7.org/fhir}Age"/>
<element name="onsetRange" type="{http://hl7.org/fhir}Range"/>
<element name="onsetPeriod" type="{http://hl7.org/fhir}Period"/>
<element name="onsetString" type="{http://hl7.org/fhir}string"/>
</choice>
<element name="note" type="{http://hl7.org/fhir}Annotation" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected CodeableConcept |
code |
protected Annotation |
note |
protected Period |
onsetPeriod |
protected Age |
onsetQuantity |
protected Range |
onsetRange |
protected String |
onsetString |
protected CodeableConcept |
outcome |
modifierExtension| Constructor and Description |
|---|
FamilyMemberHistoryCondition() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
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.EqualsStrategy strategy) |
CodeableConcept |
getCode()
Gets the value of the code property.
|
Annotation |
getNote()
Gets the value of the note property.
|
Period |
getOnsetPeriod()
Gets the value of the onsetPeriod property.
|
Age |
getOnsetQuantity()
Gets the value of the onsetQuantity property.
|
Range |
getOnsetRange()
Gets the value of the onsetRange property.
|
String |
getOnsetString()
Gets the value of the onsetString property.
|
CodeableConcept |
getOutcome()
Gets the value of the outcome property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setCode(CodeableConcept value)
Sets the value of the code property.
|
void |
setNote(Annotation value)
Sets the value of the note property.
|
void |
setOnsetPeriod(Period value)
Sets the value of the onsetPeriod property.
|
void |
setOnsetQuantity(Age value)
Sets the value of the onsetQuantity property.
|
void |
setOnsetRange(Range value)
Sets the value of the onsetRange property.
|
void |
setOnsetString(String value)
Sets the value of the onsetString property.
|
void |
setOutcome(CodeableConcept value)
Sets the value of the outcome property.
|
java.lang.String |
toString() |
FamilyMemberHistoryCondition |
withCode(CodeableConcept value) |
FamilyMemberHistoryCondition |
withExtension(java.util.Collection<Extension> values) |
FamilyMemberHistoryCondition |
withExtension(Extension... values) |
FamilyMemberHistoryCondition |
withId(java.lang.String value) |
FamilyMemberHistoryCondition |
withModifierExtension(java.util.Collection<Extension> values) |
FamilyMemberHistoryCondition |
withModifierExtension(Extension... values) |
FamilyMemberHistoryCondition |
withNote(Annotation value) |
FamilyMemberHistoryCondition |
withOnsetPeriod(Period value) |
FamilyMemberHistoryCondition |
withOnsetQuantity(Age value) |
FamilyMemberHistoryCondition |
withOnsetRange(Range value) |
FamilyMemberHistoryCondition |
withOnsetString(String value) |
FamilyMemberHistoryCondition |
withOutcome(CodeableConcept value) |
getModifierExtensiongetExtension, getId, setIdprotected CodeableConcept code
protected CodeableConcept outcome
protected Age onsetQuantity
protected Range onsetRange
protected Period onsetPeriod
protected String onsetString
protected Annotation note
public CodeableConcept getCode()
CodeableConceptpublic void setCode(CodeableConcept value)
value - allowed object is
CodeableConceptpublic CodeableConcept getOutcome()
CodeableConceptpublic void setOutcome(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Age getOnsetQuantity()
Agepublic void setOnsetQuantity(Age value)
value - allowed object is
Agepublic Range getOnsetRange()
Rangepublic void setOnsetRange(Range value)
value - allowed object is
Rangepublic Period getOnsetPeriod()
Periodpublic void setOnsetPeriod(Period value)
value - allowed object is
Periodpublic String getOnsetString()
Stringpublic void setOnsetString(String value)
value - allowed object is
Stringpublic Annotation getNote()
Annotationpublic void setNote(Annotation value)
value - allowed object is
Annotationpublic FamilyMemberHistoryCondition withCode(CodeableConcept value)
public FamilyMemberHistoryCondition withOutcome(CodeableConcept value)
public FamilyMemberHistoryCondition withOnsetQuantity(Age value)
public FamilyMemberHistoryCondition withOnsetRange(Range value)
public FamilyMemberHistoryCondition withOnsetPeriod(Period value)
public FamilyMemberHistoryCondition withOnsetString(String value)
public FamilyMemberHistoryCondition withNote(Annotation value)
public FamilyMemberHistoryCondition withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic FamilyMemberHistoryCondition withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic FamilyMemberHistoryCondition withExtension(Extension... values)
withExtension in class BackboneElementpublic FamilyMemberHistoryCondition withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic FamilyMemberHistoryCondition withId(java.lang.String value)
withId in class BackboneElementpublic 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.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class BackboneElementpublic boolean equals(java.lang.Object object)
equals in class BackboneElementpublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class BackboneElementpublic int hashCode()
hashCode in class BackboneElementpublic java.lang.String toString()
toString in class BackboneElementpublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class BackboneElementpublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class BackboneElement