Class Observation.Related
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IIdentifiableElement
,ca.uhn.fhir.model.api.IResourceBlock
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
- Enclosing class:
Observation
Definition: A reference to another resource (usually another Observation but could also be a QuestionnaireAnswer) whose relationship is defined by the relationship type code.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for target ().getType()
Gets the value(s) for type ().ca.uhn.fhir.model.primitive.BoundCodeDt
<ObservationRelationshipTypeEnum> Gets the value(s) for type ().boolean
isEmpty()
setTarget
(ResourceReferenceDt theValue) Sets the value(s) for target ()setType
(ObservationRelationshipTypeEnum theValue) Sets the value(s) for type ()setType
(ca.uhn.fhir.model.primitive.BoundCodeDt<ObservationRelationshipTypeEnum> theValue) Sets the value(s) for type ()Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Constructor Details
-
Related
public Related()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) - Specified by:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getTypeElement
Gets the value(s) for type (). creating it if it does not exist. Will not returnnull
.Definition: A code specifying the kind of relationship that exists with the target resource
-
getType
Gets the value(s) for type (). creating it if it does not exist. This method may returnnull
.Definition: A code specifying the kind of relationship that exists with the target resource
-
setType
public Observation.Related setType(ca.uhn.fhir.model.primitive.BoundCodeDt<ObservationRelationshipTypeEnum> theValue) Sets the value(s) for type ()Definition: A code specifying the kind of relationship that exists with the target resource
-
setType
Sets the value(s) for type ()Definition: A code specifying the kind of relationship that exists with the target resource
-
getTarget
Gets the value(s) for target (). creating it if it does not exist. Will not returnnull
.Definition: A reference to the observation or [[[QuestionnaireResponse]]] resource that is related to this observation
-
setTarget
Sets the value(s) for target ()Definition: A reference to the observation or [[[QuestionnaireResponse]]] resource that is related to this observation
-