public class FamilyMemberHistory extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for FamilyMemberHistory complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FamilyMemberHistory">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
<element name="patient" type="{http://hl7.org/fhir}Reference"/>
<element name="date" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
<element name="status" type="{http://hl7.org/fhir}FamilyHistoryStatus"/>
<element name="name" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="relationship" type="{http://hl7.org/fhir}CodeableConcept"/>
<element name="gender" type="{http://hl7.org/fhir}AdministrativeGender" minOccurs="0"/>
<choice minOccurs="0">
<element name="bornPeriod" type="{http://hl7.org/fhir}Period"/>
<element name="bornDate" type="{http://hl7.org/fhir}date"/>
<element name="bornString" type="{http://hl7.org/fhir}string"/>
</choice>
<choice minOccurs="0">
<element name="ageQuantity" type="{http://hl7.org/fhir}Age"/>
<element name="ageRange" type="{http://hl7.org/fhir}Range"/>
<element name="ageString" type="{http://hl7.org/fhir}string"/>
</choice>
<choice minOccurs="0">
<element name="deceasedBoolean" type="{http://hl7.org/fhir}boolean"/>
<element name="deceasedQuantity" type="{http://hl7.org/fhir}Age"/>
<element name="deceasedRange" type="{http://hl7.org/fhir}Range"/>
<element name="deceasedDate" type="{http://hl7.org/fhir}date"/>
<element name="deceasedString" type="{http://hl7.org/fhir}string"/>
</choice>
<element name="note" type="{http://hl7.org/fhir}Annotation" minOccurs="0"/>
<element name="condition" type="{http://hl7.org/fhir}FamilyMemberHistory.Condition" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Age |
ageQuantity |
protected Range |
ageRange |
protected String |
ageString |
protected Date |
bornDate |
protected Period |
bornPeriod |
protected String |
bornString |
protected java.util.List<FamilyMemberHistoryCondition> |
condition |
protected DateTime |
date |
protected Boolean |
deceasedBoolean |
protected Date |
deceasedDate |
protected Age |
deceasedQuantity |
protected Range |
deceasedRange |
protected String |
deceasedString |
protected AdministrativeGender |
gender |
protected java.util.List<Identifier> |
identifier |
protected String |
name |
protected Annotation |
note |
protected Reference |
patient |
protected CodeableConcept |
relationship |
protected FamilyHistoryStatus |
status |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
FamilyMemberHistory() |
| 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) |
Age |
getAgeQuantity()
Gets the value of the ageQuantity property.
|
Range |
getAgeRange()
Gets the value of the ageRange property.
|
String |
getAgeString()
Gets the value of the ageString property.
|
Date |
getBornDate()
Gets the value of the bornDate property.
|
Period |
getBornPeriod()
Gets the value of the bornPeriod property.
|
String |
getBornString()
Gets the value of the bornString property.
|
java.util.List<FamilyMemberHistoryCondition> |
getCondition()
Gets the value of the condition property.
|
DateTime |
getDate()
Gets the value of the date property.
|
Boolean |
getDeceasedBoolean()
Gets the value of the deceasedBoolean property.
|
Date |
getDeceasedDate()
Gets the value of the deceasedDate property.
|
Age |
getDeceasedQuantity()
Gets the value of the deceasedQuantity property.
|
Range |
getDeceasedRange()
Gets the value of the deceasedRange property.
|
String |
getDeceasedString()
Gets the value of the deceasedString property.
|
AdministrativeGender |
getGender()
Gets the value of the gender property.
|
java.util.List<Identifier> |
getIdentifier()
Gets the value of the identifier property.
|
String |
getName()
Gets the value of the name property.
|
Annotation |
getNote()
Gets the value of the note property.
|
Reference |
getPatient()
Gets the value of the patient property.
|
CodeableConcept |
getRelationship()
Gets the value of the relationship property.
|
FamilyHistoryStatus |
getStatus()
Gets the value of the status property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAgeQuantity(Age value)
Sets the value of the ageQuantity property.
|
void |
setAgeRange(Range value)
Sets the value of the ageRange property.
|
void |
setAgeString(String value)
Sets the value of the ageString property.
|
void |
setBornDate(Date value)
Sets the value of the bornDate property.
|
void |
setBornPeriod(Period value)
Sets the value of the bornPeriod property.
|
void |
setBornString(String value)
Sets the value of the bornString property.
|
void |
setDate(DateTime value)
Sets the value of the date property.
|
void |
setDeceasedBoolean(Boolean value)
Sets the value of the deceasedBoolean property.
|
void |
setDeceasedDate(Date value)
Sets the value of the deceasedDate property.
|
void |
setDeceasedQuantity(Age value)
Sets the value of the deceasedQuantity property.
|
void |
setDeceasedRange(Range value)
Sets the value of the deceasedRange property.
|
void |
setDeceasedString(String value)
Sets the value of the deceasedString property.
|
void |
setGender(AdministrativeGender value)
Sets the value of the gender property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setNote(Annotation value)
Sets the value of the note property.
|
void |
setPatient(Reference value)
Sets the value of the patient property.
|
void |
setRelationship(CodeableConcept value)
Sets the value of the relationship property.
|
void |
setStatus(FamilyHistoryStatus value)
Sets the value of the status property.
|
java.lang.String |
toString() |
FamilyMemberHistory |
withAgeQuantity(Age value) |
FamilyMemberHistory |
withAgeRange(Range value) |
FamilyMemberHistory |
withAgeString(String value) |
FamilyMemberHistory |
withBornDate(Date value) |
FamilyMemberHistory |
withBornPeriod(Period value) |
FamilyMemberHistory |
withBornString(String value) |
FamilyMemberHistory |
withCondition(java.util.Collection<FamilyMemberHistoryCondition> values) |
FamilyMemberHistory |
withCondition(FamilyMemberHistoryCondition... values) |
FamilyMemberHistory |
withContained(java.util.Collection<ResourceContainer> values) |
FamilyMemberHistory |
withContained(ResourceContainer... values) |
FamilyMemberHistory |
withDate(DateTime value) |
FamilyMemberHistory |
withDeceasedBoolean(Boolean value) |
FamilyMemberHistory |
withDeceasedDate(Date value) |
FamilyMemberHistory |
withDeceasedQuantity(Age value) |
FamilyMemberHistory |
withDeceasedRange(Range value) |
FamilyMemberHistory |
withDeceasedString(String value) |
FamilyMemberHistory |
withExtension(java.util.Collection<Extension> values) |
FamilyMemberHistory |
withExtension(Extension... values) |
FamilyMemberHistory |
withGender(AdministrativeGender value) |
FamilyMemberHistory |
withId(Id value) |
FamilyMemberHistory |
withIdentifier(java.util.Collection<Identifier> values) |
FamilyMemberHistory |
withIdentifier(Identifier... values) |
FamilyMemberHistory |
withImplicitRules(Uri value) |
FamilyMemberHistory |
withLanguage(Code value) |
FamilyMemberHistory |
withMeta(Meta value) |
FamilyMemberHistory |
withModifierExtension(java.util.Collection<Extension> values) |
FamilyMemberHistory |
withModifierExtension(Extension... values) |
FamilyMemberHistory |
withName(String value) |
FamilyMemberHistory |
withNote(Annotation value) |
FamilyMemberHistory |
withPatient(Reference value) |
FamilyMemberHistory |
withRelationship(CodeableConcept value) |
FamilyMemberHistory |
withStatus(FamilyHistoryStatus value) |
FamilyMemberHistory |
withText(Narrative value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected java.util.List<Identifier> identifier
protected Reference patient
protected DateTime date
protected FamilyHistoryStatus status
protected String name
protected CodeableConcept relationship
protected AdministrativeGender gender
protected Period bornPeriod
protected Date bornDate
protected String bornString
protected Age ageQuantity
protected Range ageRange
protected String ageString
protected Boolean deceasedBoolean
protected Age deceasedQuantity
protected Range deceasedRange
protected Date deceasedDate
protected String deceasedString
protected Annotation note
protected java.util.List<FamilyMemberHistoryCondition> condition
public java.util.List<Identifier> getIdentifier()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the identifier property.
For example, to add a new item, do as follows:
getIdentifier().add(newItem);
Objects of the following type(s) are allowed in the list
Identifier
public Reference getPatient()
Referencepublic void setPatient(Reference value)
value - allowed object is
Referencepublic DateTime getDate()
DateTimepublic void setDate(DateTime value)
value - allowed object is
DateTimepublic FamilyHistoryStatus getStatus()
FamilyHistoryStatuspublic void setStatus(FamilyHistoryStatus value)
value - allowed object is
FamilyHistoryStatuspublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic CodeableConcept getRelationship()
CodeableConceptpublic void setRelationship(CodeableConcept value)
value - allowed object is
CodeableConceptpublic AdministrativeGender getGender()
AdministrativeGenderpublic void setGender(AdministrativeGender value)
value - allowed object is
AdministrativeGenderpublic Period getBornPeriod()
Periodpublic void setBornPeriod(Period value)
value - allowed object is
Periodpublic Date getBornDate()
Datepublic void setBornDate(Date value)
value - allowed object is
Datepublic String getBornString()
Stringpublic void setBornString(String value)
value - allowed object is
Stringpublic Age getAgeQuantity()
Agepublic void setAgeQuantity(Age value)
value - allowed object is
Agepublic Range getAgeRange()
Rangepublic void setAgeRange(Range value)
value - allowed object is
Rangepublic String getAgeString()
Stringpublic void setAgeString(String value)
value - allowed object is
Stringpublic Boolean getDeceasedBoolean()
Booleanpublic void setDeceasedBoolean(Boolean value)
value - allowed object is
Booleanpublic Age getDeceasedQuantity()
Agepublic void setDeceasedQuantity(Age value)
value - allowed object is
Agepublic Range getDeceasedRange()
Rangepublic void setDeceasedRange(Range value)
value - allowed object is
Rangepublic Date getDeceasedDate()
Datepublic void setDeceasedDate(Date value)
value - allowed object is
Datepublic String getDeceasedString()
Stringpublic void setDeceasedString(String value)
value - allowed object is
Stringpublic Annotation getNote()
Annotationpublic void setNote(Annotation value)
value - allowed object is
Annotationpublic java.util.List<FamilyMemberHistoryCondition> getCondition()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the condition property.
For example, to add a new item, do as follows:
getCondition().add(newItem);
Objects of the following type(s) are allowed in the list
FamilyMemberHistoryCondition
public FamilyMemberHistory withIdentifier(Identifier... values)
public FamilyMemberHistory withIdentifier(java.util.Collection<Identifier> values)
public FamilyMemberHistory withPatient(Reference value)
public FamilyMemberHistory withDate(DateTime value)
public FamilyMemberHistory withStatus(FamilyHistoryStatus value)
public FamilyMemberHistory withName(String value)
public FamilyMemberHistory withRelationship(CodeableConcept value)
public FamilyMemberHistory withGender(AdministrativeGender value)
public FamilyMemberHistory withBornPeriod(Period value)
public FamilyMemberHistory withBornDate(Date value)
public FamilyMemberHistory withBornString(String value)
public FamilyMemberHistory withAgeQuantity(Age value)
public FamilyMemberHistory withAgeRange(Range value)
public FamilyMemberHistory withAgeString(String value)
public FamilyMemberHistory withDeceasedBoolean(Boolean value)
public FamilyMemberHistory withDeceasedQuantity(Age value)
public FamilyMemberHistory withDeceasedRange(Range value)
public FamilyMemberHistory withDeceasedDate(Date value)
public FamilyMemberHistory withDeceasedString(String value)
public FamilyMemberHistory withNote(Annotation value)
public FamilyMemberHistory withCondition(FamilyMemberHistoryCondition... values)
public FamilyMemberHistory withCondition(java.util.Collection<FamilyMemberHistoryCondition> values)
public FamilyMemberHistory withText(Narrative value)
withText in class DomainResourcepublic FamilyMemberHistory withContained(ResourceContainer... values)
withContained in class DomainResourcepublic FamilyMemberHistory withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic FamilyMemberHistory withExtension(Extension... values)
withExtension in class DomainResourcepublic FamilyMemberHistory withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic FamilyMemberHistory withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic FamilyMemberHistory withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic FamilyMemberHistory withId(Id value)
withId in class DomainResourcepublic FamilyMemberHistory withMeta(Meta value)
withMeta in class DomainResourcepublic FamilyMemberHistory withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic FamilyMemberHistory withLanguage(Code value)
withLanguage in class DomainResourcepublic 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 DomainResourcepublic boolean equals(java.lang.Object object)
equals in class DomainResourcepublic 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 DomainResourcepublic int hashCode()
hashCode in class DomainResourcepublic java.lang.String toString()
toString in class DomainResourcepublic 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 DomainResourcepublic 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 DomainResource