Package org.hl7.fhir
Class FamilyMemberHistoryCondition
- java.lang.Object
-
- org.hl7.fhir.Element
-
- org.hl7.fhir.BackboneElement
-
- org.hl7.fhir.FamilyMemberHistoryCondition
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class FamilyMemberHistoryCondition extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
Significant health events and conditions for a person related to the patient relevant in the context of care for the patient.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>
-
-
Field Summary
Fields Modifier and Type Field Description protected CodeableConceptcodeprotected Annotationnoteprotected PeriodonsetPeriodprotected AgeonsetQuantityprotected RangeonsetRangeprotected StringonsetStringprotected CodeableConceptoutcome-
Fields inherited from class org.hl7.fhir.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description FamilyMemberHistoryCondition()
-
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.AnnotationgetNote()Gets the value of the note property.PeriodgetOnsetPeriod()Gets the value of the onsetPeriod property.AgegetOnsetQuantity()Gets the value of the onsetQuantity property.RangegetOnsetRange()Gets the value of the onsetRange property.StringgetOnsetString()Gets the value of the onsetString property.CodeableConceptgetOutcome()Gets the value of the outcome 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.voidsetNote(Annotation value)Sets the value of the note property.voidsetOnsetPeriod(Period value)Sets the value of the onsetPeriod property.voidsetOnsetQuantity(Age value)Sets the value of the onsetQuantity property.voidsetOnsetRange(Range value)Sets the value of the onsetRange property.voidsetOnsetString(String value)Sets the value of the onsetString property.voidsetOutcome(CodeableConcept value)Sets the value of the outcome property.java.lang.StringtoString()FamilyMemberHistoryConditionwithCode(CodeableConcept value)FamilyMemberHistoryConditionwithExtension(java.util.Collection<Extension> values)FamilyMemberHistoryConditionwithExtension(Extension... values)FamilyMemberHistoryConditionwithId(java.lang.String value)FamilyMemberHistoryConditionwithModifierExtension(java.util.Collection<Extension> values)FamilyMemberHistoryConditionwithModifierExtension(Extension... values)FamilyMemberHistoryConditionwithNote(Annotation value)FamilyMemberHistoryConditionwithOnsetPeriod(Period value)FamilyMemberHistoryConditionwithOnsetQuantity(Age value)FamilyMemberHistoryConditionwithOnsetRange(Range value)FamilyMemberHistoryConditionwithOnsetString(String value)FamilyMemberHistoryConditionwithOutcome(CodeableConcept 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
-
outcome
protected CodeableConcept outcome
-
onsetQuantity
protected Age onsetQuantity
-
onsetRange
protected Range onsetRange
-
onsetPeriod
protected Period onsetPeriod
-
onsetString
protected String onsetString
-
note
protected Annotation note
-
-
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
-
getOutcome
public CodeableConcept getOutcome()
Gets the value of the outcome property.- Returns:
- possible object is
CodeableConcept
-
setOutcome
public void setOutcome(CodeableConcept value)
Sets the value of the outcome property.- Parameters:
value- allowed object isCodeableConcept
-
getOnsetQuantity
public Age getOnsetQuantity()
Gets the value of the onsetQuantity property.- Returns:
- possible object is
Age
-
setOnsetQuantity
public void setOnsetQuantity(Age value)
Sets the value of the onsetQuantity property.- Parameters:
value- allowed object isAge
-
getOnsetRange
public Range getOnsetRange()
Gets the value of the onsetRange property.- Returns:
- possible object is
Range
-
setOnsetRange
public void setOnsetRange(Range value)
Sets the value of the onsetRange property.- Parameters:
value- allowed object isRange
-
getOnsetPeriod
public Period getOnsetPeriod()
Gets the value of the onsetPeriod property.- Returns:
- possible object is
Period
-
setOnsetPeriod
public void setOnsetPeriod(Period value)
Sets the value of the onsetPeriod property.- Parameters:
value- allowed object isPeriod
-
getOnsetString
public String getOnsetString()
Gets the value of the onsetString property.- Returns:
- possible object is
String
-
setOnsetString
public void setOnsetString(String value)
Sets the value of the onsetString property.- Parameters:
value- allowed object isString
-
getNote
public Annotation getNote()
Gets the value of the note property.- Returns:
- possible object is
Annotation
-
setNote
public void setNote(Annotation value)
Sets the value of the note property.- Parameters:
value- allowed object isAnnotation
-
withCode
public FamilyMemberHistoryCondition withCode(CodeableConcept value)
-
withOutcome
public FamilyMemberHistoryCondition withOutcome(CodeableConcept value)
-
withOnsetQuantity
public FamilyMemberHistoryCondition withOnsetQuantity(Age value)
-
withOnsetRange
public FamilyMemberHistoryCondition withOnsetRange(Range value)
-
withOnsetPeriod
public FamilyMemberHistoryCondition withOnsetPeriod(Period value)
-
withOnsetString
public FamilyMemberHistoryCondition withOnsetString(String value)
-
withNote
public FamilyMemberHistoryCondition withNote(Annotation value)
-
withModifierExtension
public FamilyMemberHistoryCondition withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
public FamilyMemberHistoryCondition withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
public FamilyMemberHistoryCondition withExtension(Extension... values)
- Overrides:
withExtensionin classBackboneElement
-
withExtension
public FamilyMemberHistoryCondition withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classBackboneElement
-
withId
public FamilyMemberHistoryCondition 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
-
-