public static class FamilyHistory.Relation extends BaseIdentifiableElement implements IResourceBlock
Definition: The related person. Each FamilyHistory resource contains the entire family history for a single person.
| Constructor and Description |
|---|
FamilyHistory.Relation() |
| Modifier and Type | Method and Description |
|---|---|
FamilyHistory.RelationCondition |
addCondition()
Adds and returns a new value for condition (Condition that the related person had)
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
IDatatype |
getBorn()
Gets the value(s) for born[x] ((approximate) date of birth).
|
List<FamilyHistory.RelationCondition> |
getCondition()
Gets the value(s) for condition (Condition that the related person had).
|
FamilyHistory.RelationCondition |
getConditionFirstRep()
Gets the first repetition for condition (Condition that the related person had),
creating it if it does not already exist.
|
IDatatype |
getDeceased()
Gets the value(s) for deceased[x] (Dead? How old/when?).
|
StringDt |
getName()
Gets the value(s) for name (The family member described).
|
StringDt |
getNote()
Gets the value(s) for note (General note about related person).
|
CodeableConceptDt |
getRelationship()
Gets the value(s) for relationship (Relationship to the subject).
|
boolean |
isEmpty() |
FamilyHistory.Relation |
setBorn(IDatatype theValue)
Sets the value(s) for born[x] ((approximate) date of birth)
|
FamilyHistory.Relation |
setCondition(List<FamilyHistory.RelationCondition> theValue)
Sets the value(s) for condition (Condition that the related person had)
|
FamilyHistory.Relation |
setDeceased(IDatatype theValue)
Sets the value(s) for deceased[x] (Dead? How old/when?)
|
FamilyHistory.Relation |
setName(String theString)
Sets the value for name (The family member described)
|
FamilyHistory.Relation |
setName(StringDt theValue)
Sets the value(s) for name (The family member described)
|
FamilyHistory.Relation |
setNote(String theString)
Sets the value for note (General note about related person)
|
FamilyHistory.Relation |
setNote(StringDt theValue)
Sets the value(s) for note (General note about related person)
|
FamilyHistory.Relation |
setRelationship(CodeableConceptDt theValue)
Sets the value(s) for relationship (Relationship to the subject)
|
getElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, isBaseEmptyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetElementSpecificId, getId, setElementSpecificId, setId, setIdpublic <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
ICompositeElementgetAllPopulatedChildElementsOfType in interface ICompositeElementtheType - The type to match. If set to null, all child elements will be returnedpublic StringDt getName()
null.
Definition: This will either be a name or a description. E.g. \"Aunt Susan\", \"my cousin with the red hair\"
public FamilyHistory.Relation setName(StringDt theValue)
Definition: This will either be a name or a description. E.g. \"Aunt Susan\", \"my cousin with the red hair\"
public FamilyHistory.Relation setName(String theString)
Definition: This will either be a name or a description. E.g. \"Aunt Susan\", \"my cousin with the red hair\"
public CodeableConceptDt getRelationship()
null.
Definition: The type of relationship this person has to the patient (father, mother, brother etc.)
public FamilyHistory.Relation setRelationship(CodeableConceptDt theValue)
Definition: The type of relationship this person has to the patient (father, mother, brother etc.)
public IDatatype getBorn()
null.
Definition: The actual or approximate date of birth of the relative
public FamilyHistory.Relation setBorn(IDatatype theValue)
Definition: The actual or approximate date of birth of the relative
public IDatatype getDeceased()
null.
Definition: If this resource is indicating that the related person is deceased, then an indicator of whether the person is deceased (yes) or not (no) or the age or age range or description of age at death - can be indicated here. If the reason for death is known, then it can be indicated in the outcome code of the condition - in this case the deceased property should still be set.
public FamilyHistory.Relation setDeceased(IDatatype theValue)
Definition: If this resource is indicating that the related person is deceased, then an indicator of whether the person is deceased (yes) or not (no) or the age or age range or description of age at death - can be indicated here. If the reason for death is known, then it can be indicated in the outcome code of the condition - in this case the deceased property should still be set.
public StringDt getNote()
null.
Definition: This property allows a non condition-specific note to the made about the related person. Ideally, the note would be in the condition property, but this is not always possible.
public FamilyHistory.Relation setNote(StringDt theValue)
Definition: This property allows a non condition-specific note to the made about the related person. Ideally, the note would be in the condition property, but this is not always possible.
public FamilyHistory.Relation setNote(String theString)
Definition: This property allows a non condition-specific note to the made about the related person. Ideally, the note would be in the condition property, but this is not always possible.
public List<FamilyHistory.RelationCondition> getCondition()
null.
Definition: The significant Conditions (or condition) that the family member had. This is a repeating section to allow a system to represent more than one condition per resource, though there is nothing stopping multiple resources - one per condition.
public FamilyHistory.Relation setCondition(List<FamilyHistory.RelationCondition> theValue)
Definition: The significant Conditions (or condition) that the family member had. This is a repeating section to allow a system to represent more than one condition per resource, though there is nothing stopping multiple resources - one per condition.
public FamilyHistory.RelationCondition addCondition()
Definition: The significant Conditions (or condition) that the family member had. This is a repeating section to allow a system to represent more than one condition per resource, though there is nothing stopping multiple resources - one per condition.
public FamilyHistory.RelationCondition getConditionFirstRep()
Definition: The significant Conditions (or condition) that the family member had. This is a repeating section to allow a system to represent more than one condition per resource, though there is nothing stopping multiple resources - one per condition.
Copyright © 2014 University Health Network. All rights reserved.