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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)StringgetCode()Gets the value(s) for code ().ca.uhn.fhir.model.primitive.BoundCodeDt<CarePlanRelationshipEnum>getCodeElement()Gets the value(s) for code ().ResourceReferenceDtgetPlan()Gets the value(s) for plan ().booleanisEmpty()CarePlan.RelatedPlansetCode(CarePlanRelationshipEnum theValue)Sets the value(s) for code ()CarePlan.RelatedPlansetCode(ca.uhn.fhir.model.primitive.BoundCodeDt<CarePlanRelationshipEnum> theValue)Sets the value(s) for code ()CarePlan.RelatedPlansetPlan(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
-
-
-
-
Constructor Detail
-
RelatedPlan
public RelatedPlan()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin 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:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getCodeElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<CarePlanRelationshipEnum> 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
public String 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
public CarePlan.RelatedPlan setCode(CarePlanRelationshipEnum theValue)
Sets the value(s) for code ()Definition: Identifies the type of relationship this plan has to the target plan.
-
getPlan
public ResourceReferenceDt 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
public CarePlan.RelatedPlan setPlan(ResourceReferenceDt theValue)
Sets the value(s) for plan ()Definition: A reference to the plan to which a relationship is asserted.
-
-