
Package ca.uhn.fhir.model.dstu2.resource
Class CarePlan.RelatedPlan
java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.dstu2.resource.CarePlan.RelatedPlan
- 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:
- CarePlan
public static class CarePlan.RelatedPlan extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: CarePlan.relatedPlan ()
Definition: Identifies CarePlans with some sort of formal relationship to the current plan.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description RelatedPlan()
-
Method Summary
Modifier and Type Method Description <T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)
String
getCode()
Gets the value(s) for code ().ca.uhn.fhir.model.primitive.BoundCodeDt<CarePlanRelationshipEnum>
getCodeElement()
Gets the value(s) for code ().ResourceReferenceDt
getPlan()
Gets the value(s) for plan ().boolean
isEmpty()
CarePlan.RelatedPlan
setCode(CarePlanRelationshipEnum theValue)
Sets the value(s) for code ()CarePlan.RelatedPlan
setCode(ca.uhn.fhir.model.primitive.BoundCodeDt<CarePlanRelationshipEnum> theValue)
Sets the value(s) for code ()CarePlan.RelatedPlan
setPlan(ResourceReferenceDt theValue)
Sets the value(s) for plan ()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
-
RelatedPlan
public RelatedPlan()
-
-
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
-
getCodeElement
Gets the value(s) for code (). creating it if it does not exist. Will not returnnull
.Definition: Identifies the type of relationship this plan has to the target plan.
-
getCode
Gets the value(s) for code (). creating it if it does not exist. This method may returnnull
.Definition: Identifies the type of relationship this plan has to the target plan.
-
setCode
public CarePlan.RelatedPlan setCode(ca.uhn.fhir.model.primitive.BoundCodeDt<CarePlanRelationshipEnum> theValue)Sets the value(s) for code ()Definition: Identifies the type of relationship this plan has to the target plan.
-
setCode
Sets the value(s) for code ()Definition: Identifies the type of relationship this plan has to the target plan.
-
getPlan
Gets the value(s) for plan (). creating it if it does not exist. Will not returnnull
.Definition: A reference to the plan to which a relationship is asserted.
-
setPlan
Sets the value(s) for plan ()Definition: A reference to the plan to which a relationship is asserted.
-