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:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for reason ()addReason
(CodeableConceptDt theValue) Adds a given new value for reason ()Adds and returns a new value for reasonNotGiven ()addReasonNotGiven
(CodeableConceptDt theValue) Adds a given new value for reasonNotGiven ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for reason ().Gets the first repetition for reason (), creating it if it does not already exist.Gets the value(s) for reasonNotGiven ().Gets the first repetition for reasonNotGiven (), creating it if it does not already exist.boolean
isEmpty()
setReason
(List<CodeableConceptDt> theValue) Sets the value(s) for reason ()setReasonNotGiven
(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
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
-
Explanation
public Explanation()
-
-
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
-
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
Sets the value(s) for reason ()Definition: Reasons why a vaccine was administered
-
addReason
Adds and returns a new value for reason ()Definition: Reasons why a vaccine was administered
-
addReason
Adds a given new value for reason ()Definition: Reasons why a vaccine was administered
- Parameters:
theValue
- The reason to add (must not benull
)
-
getReasonFirstRep
Gets the first repetition for reason (), creating it if it does not already exist.Definition: Reasons why a vaccine was administered
-
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
Sets the value(s) for reasonNotGiven ()Definition: Reason why a vaccine was not administered
-
addReasonNotGiven
Adds and returns a new value for reasonNotGiven ()Definition: Reason why a vaccine was not administered
-
addReasonNotGiven
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
Gets the first repetition for reasonNotGiven (), creating it if it does not already exist.Definition: Reason why a vaccine was not administered
-