Class FamilyMemberHistory
- java.lang.Object
-
- org.hl7.fhir.Resource
-
- org.hl7.fhir.DomainResource
-
- org.hl7.fhir.FamilyMemberHistory
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class FamilyMemberHistory extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
If the element is present, it must have either a @value, an @id, or extensionsJava 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>
-
-
Field Summary
Fields Modifier and Type Field Description protected AgeageQuantityprotected RangeageRangeprotected StringageStringprotected DatebornDateprotected PeriodbornPeriodprotected StringbornStringprotected java.util.List<FamilyMemberHistoryCondition>conditionprotected DateTimedateprotected BooleandeceasedBooleanprotected DatedeceasedDateprotected AgedeceasedQuantityprotected RangedeceasedRangeprotected StringdeceasedStringprotected AdministrativeGendergenderprotected java.util.List<Identifier>identifierprotected Stringnameprotected Annotationnoteprotected Referencepatientprotected CodeableConceptrelationshipprotected FamilyHistoryStatusstatus-
Fields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description FamilyMemberHistory()
-
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)AgegetAgeQuantity()Gets the value of the ageQuantity property.RangegetAgeRange()Gets the value of the ageRange property.StringgetAgeString()Gets the value of the ageString property.DategetBornDate()Gets the value of the bornDate property.PeriodgetBornPeriod()Gets the value of the bornPeriod property.StringgetBornString()Gets the value of the bornString property.java.util.List<FamilyMemberHistoryCondition>getCondition()Gets the value of the condition property.DateTimegetDate()Gets the value of the date property.BooleangetDeceasedBoolean()Gets the value of the deceasedBoolean property.DategetDeceasedDate()Gets the value of the deceasedDate property.AgegetDeceasedQuantity()Gets the value of the deceasedQuantity property.RangegetDeceasedRange()Gets the value of the deceasedRange property.StringgetDeceasedString()Gets the value of the deceasedString property.AdministrativeGendergetGender()Gets the value of the gender property.java.util.List<Identifier>getIdentifier()Gets the value of the identifier property.StringgetName()Gets the value of the name property.AnnotationgetNote()Gets the value of the note property.ReferencegetPatient()Gets the value of the patient property.CodeableConceptgetRelationship()Gets the value of the relationship property.FamilyHistoryStatusgetStatus()Gets the value of the status property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetAgeQuantity(Age value)Sets the value of the ageQuantity property.voidsetAgeRange(Range value)Sets the value of the ageRange property.voidsetAgeString(String value)Sets the value of the ageString property.voidsetBornDate(Date value)Sets the value of the bornDate property.voidsetBornPeriod(Period value)Sets the value of the bornPeriod property.voidsetBornString(String value)Sets the value of the bornString property.voidsetDate(DateTime value)Sets the value of the date property.voidsetDeceasedBoolean(Boolean value)Sets the value of the deceasedBoolean property.voidsetDeceasedDate(Date value)Sets the value of the deceasedDate property.voidsetDeceasedQuantity(Age value)Sets the value of the deceasedQuantity property.voidsetDeceasedRange(Range value)Sets the value of the deceasedRange property.voidsetDeceasedString(String value)Sets the value of the deceasedString property.voidsetGender(AdministrativeGender value)Sets the value of the gender property.voidsetName(String value)Sets the value of the name property.voidsetNote(Annotation value)Sets the value of the note property.voidsetPatient(Reference value)Sets the value of the patient property.voidsetRelationship(CodeableConcept value)Sets the value of the relationship property.voidsetStatus(FamilyHistoryStatus value)Sets the value of the status property.java.lang.StringtoString()FamilyMemberHistorywithAgeQuantity(Age value)FamilyMemberHistorywithAgeRange(Range value)FamilyMemberHistorywithAgeString(String value)FamilyMemberHistorywithBornDate(Date value)FamilyMemberHistorywithBornPeriod(Period value)FamilyMemberHistorywithBornString(String value)FamilyMemberHistorywithCondition(java.util.Collection<FamilyMemberHistoryCondition> values)FamilyMemberHistorywithCondition(FamilyMemberHistoryCondition... values)FamilyMemberHistorywithContained(java.util.Collection<ResourceContainer> values)FamilyMemberHistorywithContained(ResourceContainer... values)FamilyMemberHistorywithDate(DateTime value)FamilyMemberHistorywithDeceasedBoolean(Boolean value)FamilyMemberHistorywithDeceasedDate(Date value)FamilyMemberHistorywithDeceasedQuantity(Age value)FamilyMemberHistorywithDeceasedRange(Range value)FamilyMemberHistorywithDeceasedString(String value)FamilyMemberHistorywithExtension(java.util.Collection<Extension> values)FamilyMemberHistorywithExtension(Extension... values)FamilyMemberHistorywithGender(AdministrativeGender value)FamilyMemberHistorywithId(Id value)FamilyMemberHistorywithIdentifier(java.util.Collection<Identifier> values)FamilyMemberHistorywithIdentifier(Identifier... values)FamilyMemberHistorywithImplicitRules(Uri value)FamilyMemberHistorywithLanguage(Code value)FamilyMemberHistorywithMeta(Meta value)FamilyMemberHistorywithModifierExtension(java.util.Collection<Extension> values)FamilyMemberHistorywithModifierExtension(Extension... values)FamilyMemberHistorywithName(String value)FamilyMemberHistorywithNote(Annotation value)FamilyMemberHistorywithPatient(Reference value)FamilyMemberHistorywithRelationship(CodeableConcept value)FamilyMemberHistorywithStatus(FamilyHistoryStatus value)FamilyMemberHistorywithText(Narrative value)-
Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setText
-
Methods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
-
-
-
Field Detail
-
identifier
protected java.util.List<Identifier> identifier
-
patient
protected Reference patient
-
date
protected DateTime date
-
status
protected FamilyHistoryStatus status
-
name
protected String name
-
relationship
protected CodeableConcept relationship
-
gender
protected AdministrativeGender gender
-
bornPeriod
protected Period bornPeriod
-
bornDate
protected Date bornDate
-
bornString
protected String bornString
-
ageQuantity
protected Age ageQuantity
-
ageRange
protected Range ageRange
-
ageString
protected String ageString
-
deceasedBoolean
protected Boolean deceasedBoolean
-
deceasedQuantity
protected Age deceasedQuantity
-
deceasedRange
protected Range deceasedRange
-
deceasedDate
protected Date deceasedDate
-
deceasedString
protected String deceasedString
-
note
protected Annotation note
-
condition
protected java.util.List<FamilyMemberHistoryCondition> condition
-
-
Method Detail
-
getIdentifier
public java.util.List<Identifier> getIdentifier()
Gets the value of the identifier property.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
setmethod 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
-
getPatient
public Reference getPatient()
Gets the value of the patient property.- Returns:
- possible object is
Reference
-
setPatient
public void setPatient(Reference value)
Sets the value of the patient property.- Parameters:
value- allowed object isReference
-
getDate
public DateTime getDate()
Gets the value of the date property.- Returns:
- possible object is
DateTime
-
setDate
public void setDate(DateTime value)
Sets the value of the date property.- Parameters:
value- allowed object isDateTime
-
getStatus
public FamilyHistoryStatus getStatus()
Gets the value of the status property.- Returns:
- possible object is
FamilyHistoryStatus
-
setStatus
public void setStatus(FamilyHistoryStatus value)
Sets the value of the status property.- Parameters:
value- allowed object isFamilyHistoryStatus
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getRelationship
public CodeableConcept getRelationship()
Gets the value of the relationship property.- Returns:
- possible object is
CodeableConcept
-
setRelationship
public void setRelationship(CodeableConcept value)
Sets the value of the relationship property.- Parameters:
value- allowed object isCodeableConcept
-
getGender
public AdministrativeGender getGender()
Gets the value of the gender property.- Returns:
- possible object is
AdministrativeGender
-
setGender
public void setGender(AdministrativeGender value)
Sets the value of the gender property.- Parameters:
value- allowed object isAdministrativeGender
-
getBornPeriod
public Period getBornPeriod()
Gets the value of the bornPeriod property.- Returns:
- possible object is
Period
-
setBornPeriod
public void setBornPeriod(Period value)
Sets the value of the bornPeriod property.- Parameters:
value- allowed object isPeriod
-
getBornDate
public Date getBornDate()
Gets the value of the bornDate property.- Returns:
- possible object is
Date
-
setBornDate
public void setBornDate(Date value)
Sets the value of the bornDate property.- Parameters:
value- allowed object isDate
-
getBornString
public String getBornString()
Gets the value of the bornString property.- Returns:
- possible object is
String
-
setBornString
public void setBornString(String value)
Sets the value of the bornString property.- Parameters:
value- allowed object isString
-
getAgeQuantity
public Age getAgeQuantity()
Gets the value of the ageQuantity property.- Returns:
- possible object is
Age
-
setAgeQuantity
public void setAgeQuantity(Age value)
Sets the value of the ageQuantity property.- Parameters:
value- allowed object isAge
-
getAgeRange
public Range getAgeRange()
Gets the value of the ageRange property.- Returns:
- possible object is
Range
-
setAgeRange
public void setAgeRange(Range value)
Sets the value of the ageRange property.- Parameters:
value- allowed object isRange
-
getAgeString
public String getAgeString()
Gets the value of the ageString property.- Returns:
- possible object is
String
-
setAgeString
public void setAgeString(String value)
Sets the value of the ageString property.- Parameters:
value- allowed object isString
-
getDeceasedBoolean
public Boolean getDeceasedBoolean()
Gets the value of the deceasedBoolean property.- Returns:
- possible object is
Boolean
-
setDeceasedBoolean
public void setDeceasedBoolean(Boolean value)
Sets the value of the deceasedBoolean property.- Parameters:
value- allowed object isBoolean
-
getDeceasedQuantity
public Age getDeceasedQuantity()
Gets the value of the deceasedQuantity property.- Returns:
- possible object is
Age
-
setDeceasedQuantity
public void setDeceasedQuantity(Age value)
Sets the value of the deceasedQuantity property.- Parameters:
value- allowed object isAge
-
getDeceasedRange
public Range getDeceasedRange()
Gets the value of the deceasedRange property.- Returns:
- possible object is
Range
-
setDeceasedRange
public void setDeceasedRange(Range value)
Sets the value of the deceasedRange property.- Parameters:
value- allowed object isRange
-
getDeceasedDate
public Date getDeceasedDate()
Gets the value of the deceasedDate property.- Returns:
- possible object is
Date
-
setDeceasedDate
public void setDeceasedDate(Date value)
Sets the value of the deceasedDate property.- Parameters:
value- allowed object isDate
-
getDeceasedString
public String getDeceasedString()
Gets the value of the deceasedString property.- Returns:
- possible object is
String
-
setDeceasedString
public void setDeceasedString(String value)
Sets the value of the deceasedString 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
-
getCondition
public java.util.List<FamilyMemberHistoryCondition> getCondition()
Gets the value of the condition property.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
setmethod 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
-
withIdentifier
public FamilyMemberHistory withIdentifier(Identifier... values)
-
withIdentifier
public FamilyMemberHistory withIdentifier(java.util.Collection<Identifier> values)
-
withPatient
public FamilyMemberHistory withPatient(Reference value)
-
withDate
public FamilyMemberHistory withDate(DateTime value)
-
withStatus
public FamilyMemberHistory withStatus(FamilyHistoryStatus value)
-
withName
public FamilyMemberHistory withName(String value)
-
withRelationship
public FamilyMemberHistory withRelationship(CodeableConcept value)
-
withGender
public FamilyMemberHistory withGender(AdministrativeGender value)
-
withBornPeriod
public FamilyMemberHistory withBornPeriod(Period value)
-
withBornDate
public FamilyMemberHistory withBornDate(Date value)
-
withBornString
public FamilyMemberHistory withBornString(String value)
-
withAgeQuantity
public FamilyMemberHistory withAgeQuantity(Age value)
-
withAgeRange
public FamilyMemberHistory withAgeRange(Range value)
-
withAgeString
public FamilyMemberHistory withAgeString(String value)
-
withDeceasedBoolean
public FamilyMemberHistory withDeceasedBoolean(Boolean value)
-
withDeceasedQuantity
public FamilyMemberHistory withDeceasedQuantity(Age value)
-
withDeceasedRange
public FamilyMemberHistory withDeceasedRange(Range value)
-
withDeceasedDate
public FamilyMemberHistory withDeceasedDate(Date value)
-
withDeceasedString
public FamilyMemberHistory withDeceasedString(String value)
-
withNote
public FamilyMemberHistory withNote(Annotation value)
-
withCondition
public FamilyMemberHistory withCondition(FamilyMemberHistoryCondition... values)
-
withCondition
public FamilyMemberHistory withCondition(java.util.Collection<FamilyMemberHistoryCondition> values)
-
withText
public FamilyMemberHistory withText(Narrative value)
- Overrides:
withTextin classDomainResource
-
withContained
public FamilyMemberHistory withContained(ResourceContainer... values)
- Overrides:
withContainedin classDomainResource
-
withContained
public FamilyMemberHistory withContained(java.util.Collection<ResourceContainer> values)
- Overrides:
withContainedin classDomainResource
-
withExtension
public FamilyMemberHistory withExtension(Extension... values)
- Overrides:
withExtensionin classDomainResource
-
withExtension
public FamilyMemberHistory withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
public FamilyMemberHistory withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
public FamilyMemberHistory withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classDomainResource
-
withId
public FamilyMemberHistory withId(Id value)
- Overrides:
withIdin classDomainResource
-
withMeta
public FamilyMemberHistory withMeta(Meta value)
- Overrides:
withMetain classDomainResource
-
withImplicitRules
public FamilyMemberHistory withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
public FamilyMemberHistory withLanguage(Code value)
- Overrides:
withLanguagein classDomainResource
-
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 classDomainResource
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classDomainResource
-
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 classDomainResource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDomainResource
-
toString
public java.lang.String toString()
- Overrides:
toStringin classDomainResource
-
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 classDomainResource
-
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 classDomainResource
-
-