public class FamilyHistory extends BaseResource implements IResource
Definition: Significant health events and conditions for people related to the subject relevant in the context of care for the subject
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/FamilyHistory
| Modifier and Type | Class and Description |
|---|---|
static class |
FamilyHistory.Relation
Block class for child element: FamilyHistory.relation (Relative described by history)
|
static class |
FamilyHistory.RelationCondition
Block class for child element: FamilyHistory.relation.condition (Condition that the related person had)
|
| Modifier and Type | Field and Description |
|---|---|
static Include |
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements.
|
static String |
SP_SUBJECT
Search parameter constant for subject
|
static ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
SP_RES_ID, SP_RES_LANGUAGE| Constructor and Description |
|---|
FamilyHistory() |
| Modifier and Type | Method and Description |
|---|---|
IdentifierDt |
addIdentifier()
Adds and returns a new value for identifier (External Id(s) for this record)
|
FamilyHistory |
addIdentifier(IdentifierUseEnum theUse,
String theSystem,
String theValue,
String theLabel)
Adds a new value for identifier (External Id(s) for this record)
|
FamilyHistory |
addIdentifier(String theSystem,
String theValue)
Adds a new value for identifier (External Id(s) for this record)
|
FamilyHistory.Relation |
addRelation()
Adds and returns a new value for relation (Relative described by history)
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
List<IdentifierDt> |
getIdentifier()
Gets the value(s) for identifier (External Id(s) for this record).
|
IdentifierDt |
getIdentifierFirstRep()
Gets the first repetition for identifier (External Id(s) for this record),
creating it if it does not already exist.
|
StringDt |
getNote()
Gets the value(s) for note (Additional details not covered elsewhere).
|
List<FamilyHistory.Relation> |
getRelation()
Gets the value(s) for relation (Relative described by history).
|
FamilyHistory.Relation |
getRelationFirstRep()
Gets the first repetition for relation (Relative described by history),
creating it if it does not already exist.
|
ResourceReferenceDt |
getSubject()
Gets the value(s) for subject (Patient history is about).
|
boolean |
isEmpty() |
FamilyHistory |
setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier (External Id(s) for this record)
|
FamilyHistory |
setNote(String theString)
Sets the value for note (Additional details not covered elsewhere)
|
FamilyHistory |
setNote(StringDt theValue)
Sets the value(s) for note (Additional details not covered elsewhere)
|
FamilyHistory |
setRelation(List<FamilyHistory.Relation> theValue)
Sets the value(s) for relation (Relative described by history)
|
FamilyHistory |
setSubject(ResourceReferenceDt theValue)
Sets the value(s) for subject (Patient history is about)
|
getContained, getId, getLanguage, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setLanguage, setResourceMetadata, setText, toStringaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContained, getId, getLanguage, getResourceMetadata, getText, setId, setLanguage, setResourceMetadatapublic static final String SP_SUBJECT
Description: The identity of a subject to list family history items for
Type: reference
Path: FamilyHistory.subject
public static final ReferenceClientParam SUBJECT
Description: The identity of a subject to list family history items for
Type: reference
Path: FamilyHistory.subject
public static final Include INCLUDE_SUBJECT
public <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 List<IdentifierDt> getIdentifier()
null.
Definition: This records identifiers associated with this family history record that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation)
public FamilyHistory setIdentifier(List<IdentifierDt> theValue)
Definition: This records identifiers associated with this family history record that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation)
public IdentifierDt addIdentifier()
Definition: This records identifiers associated with this family history record that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation)
public IdentifierDt getIdentifierFirstRep()
Definition: This records identifiers associated with this family history record that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation)
public FamilyHistory addIdentifier(IdentifierUseEnum theUse, String theSystem, String theValue, String theLabel)
Definition: This records identifiers associated with this family history record that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation)
public FamilyHistory addIdentifier(String theSystem, String theValue)
Definition: This records identifiers associated with this family history record that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation)
public ResourceReferenceDt getSubject()
null.
Definition: The person who this history concerns
public FamilyHistory setSubject(ResourceReferenceDt theValue)
Definition: The person who this history concerns
public StringDt getNote()
null.
Definition: Conveys information about family history not specific to individual relations.
public FamilyHistory setNote(StringDt theValue)
Definition: Conveys information about family history not specific to individual relations.
public FamilyHistory setNote(String theString)
Definition: Conveys information about family history not specific to individual relations.
public List<FamilyHistory.Relation> getRelation()
null.
Definition: The related person. Each FamilyHistory resource contains the entire family history for a single person.
public FamilyHistory setRelation(List<FamilyHistory.Relation> theValue)
Definition: The related person. Each FamilyHistory resource contains the entire family history for a single person.
public FamilyHistory.Relation addRelation()
Definition: The related person. Each FamilyHistory resource contains the entire family history for a single person.
public FamilyHistory.Relation getRelationFirstRep()
Definition: The related person. Each FamilyHistory resource contains the entire family history for a single person.
Copyright © 2014 University Health Network. All rights reserved.