Package ca.uhn.fhir.model.dstu2.resource
Class Immunization.Explanation
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.Immunization.Explanation
-
- 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:
- Immunization
public static class Immunization.Explanation extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: Immunization.explanation ()Definition: Reasons why a vaccine was or was not administered
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Explanation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CodeableConceptDtaddReason()Adds and returns a new value for reason ()Immunization.ExplanationaddReason(CodeableConceptDt theValue)Adds a given new value for reason ()CodeableConceptDtaddReasonNotGiven()Adds and returns a new value for reasonNotGiven ()Immunization.ExplanationaddReasonNotGiven(CodeableConceptDt theValue)Adds a given new value for reasonNotGiven ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)List<CodeableConceptDt>getReason()Gets the value(s) for reason ().CodeableConceptDtgetReasonFirstRep()Gets the first repetition for reason (), creating it if it does not already exist.List<CodeableConceptDt>getReasonNotGiven()Gets the value(s) for reasonNotGiven ().CodeableConceptDtgetReasonNotGivenFirstRep()Gets the first repetition for reasonNotGiven (), creating it if it does not already exist.booleanisEmpty()Immunization.ExplanationsetReason(List<CodeableConceptDt> theValue)Sets the value(s) for reason ()Immunization.ExplanationsetReasonNotGiven(List<CodeableConceptDt> theValue)Sets the value(s) for reasonNotGiven ()-
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
-
Explanation
public Explanation()
-
-
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
-
getReason
public List<CodeableConceptDt> getReason()
Gets the value(s) for reason (). creating it if it does not exist. Will not returnnull.Definition: Reasons why a vaccine was administered
-
setReason
public Immunization.Explanation setReason(List<CodeableConceptDt> theValue)
Sets the value(s) for reason ()Definition: Reasons why a vaccine was administered
-
addReason
public CodeableConceptDt addReason()
Adds and returns a new value for reason ()Definition: Reasons why a vaccine was administered
-
addReason
public Immunization.Explanation addReason(CodeableConceptDt theValue)
Adds a given new value for reason ()Definition: Reasons why a vaccine was administered
- Parameters:
theValue- The reason to add (must not benull)
-
getReasonFirstRep
public CodeableConceptDt getReasonFirstRep()
Gets the first repetition for reason (), creating it if it does not already exist.Definition: Reasons why a vaccine was administered
-
getReasonNotGiven
public List<CodeableConceptDt> getReasonNotGiven()
Gets the value(s) for reasonNotGiven (). creating it if it does not exist. Will not returnnull.Definition: Reason why a vaccine was not administered
-
setReasonNotGiven
public Immunization.Explanation setReasonNotGiven(List<CodeableConceptDt> theValue)
Sets the value(s) for reasonNotGiven ()Definition: Reason why a vaccine was not administered
-
addReasonNotGiven
public CodeableConceptDt addReasonNotGiven()
Adds and returns a new value for reasonNotGiven ()Definition: Reason why a vaccine was not administered
-
addReasonNotGiven
public Immunization.Explanation addReasonNotGiven(CodeableConceptDt theValue)
Adds a given new value for reasonNotGiven ()Definition: Reason why a vaccine was not administered
- Parameters:
theValue- The reasonNotGiven to add (must not benull)
-
getReasonNotGivenFirstRep
public CodeableConceptDt getReasonNotGivenFirstRep()
Gets the first repetition for reasonNotGiven (), creating it if it does not already exist.Definition: Reason why a vaccine was not administered
-
-