Class PeriodDt
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeDatatype
,ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IDatatype
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IIdentifiableElement
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseDatatype
,org.hl7.fhir.instance.model.api.ICompositeType
Definition: A time period defined by a start and end date and optionally time.
Requirements:
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) getEnd()
Gets the value(s) for end ().ca.uhn.fhir.model.primitive.DateTimeDt
Gets the value(s) for end ().getStart()
Gets the value(s) for start ().ca.uhn.fhir.model.primitive.DateTimeDt
Gets the value(s) for start ().boolean
isEmpty()
setEnd
(ca.uhn.fhir.model.primitive.DateTimeDt theValue) Sets the value(s) for end ()Sets the value for end ()setEndWithSecondsPrecision
(Date theDate) Sets the value for end ()setStart
(ca.uhn.fhir.model.primitive.DateTimeDt theValue) Sets the value(s) for start ()Sets the value for start ()setStartWithSecondsPrecision
(Date theDate) Sets the value for start ()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
-
Constructor Details
-
PeriodDt
public PeriodDt()Constructor
-
-
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
-
getStartElement
Gets the value(s) for start (). creating it if it does not exist. Will not returnnull
.Definition: The start of the period. The boundary is inclusive.
-
getStart
Gets the value(s) for start (). creating it if it does not exist. This method may returnnull
.Definition: The start of the period. The boundary is inclusive.
-
setStart
Sets the value(s) for start ()Definition: The start of the period. The boundary is inclusive.
-
setStartWithSecondsPrecision
Sets the value for start ()Definition: The start of the period. The boundary is inclusive.
-
setStart
Sets the value for start ()Definition: The start of the period. The boundary is inclusive.
-
getEndElement
Gets the value(s) for end (). creating it if it does not exist. Will not returnnull
.Definition: The end of the period. If the end of the period is missing, it means that the period is ongoing. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time
-
getEnd
Gets the value(s) for end (). creating it if it does not exist. This method may returnnull
.Definition: The end of the period. If the end of the period is missing, it means that the period is ongoing. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time
-
setEnd
Sets the value(s) for end ()Definition: The end of the period. If the end of the period is missing, it means that the period is ongoing. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time
-
setEndWithSecondsPrecision
Sets the value for end ()Definition: The end of the period. If the end of the period is missing, it means that the period is ongoing. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time
-
setEnd
Sets the value for end ()Definition: The end of the period. If the end of the period is missing, it means that the period is ongoing. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time
-