public class Period extends Type implements org.hl7.fhir.instance.model.api.ICompositeType
| Modifier and Type | Field and Description |
|---|---|
protected DateTimeType |
end
The end of the period.
|
protected DateTimeType |
start
The start of the period.
|
| Constructor and Description |
|---|
Period() |
| Modifier and Type | Method and Description |
|---|---|
Base |
addChild(String name) |
Period |
copy() |
boolean |
equalsDeep(Base other) |
boolean |
equalsShallow(Base other) |
String |
fhirType() |
Date |
getEnd() |
DateTimeType |
getEndElement() |
Date |
getStart() |
DateTimeType |
getStartElement() |
boolean |
hasEnd() |
boolean |
hasEndElement() |
boolean |
hasStart() |
boolean |
hasStartElement() |
boolean |
isEmpty() |
protected void |
listChildren(List<Property> childrenList) |
Period |
setEnd(Date value) |
Period |
setEndElement(DateTimeType value) |
void |
setProperty(String name,
Base value) |
Period |
setStart(Date value) |
Period |
setStartElement(DateTimeType value) |
protected Period |
typedCopy() |
addExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINNprotected DateTimeType start
protected DateTimeType end
public Period()
public DateTimeType getStartElement()
start (The start of the period. The boundary is inclusive.). This is the underlying object with id, value and extensions. The accessor "getStart" gives direct access to the valuepublic boolean hasStartElement()
public boolean hasStart()
public Period setStartElement(DateTimeType value)
value - start (The start of the period. The boundary is inclusive.). This is the underlying object with id, value and extensions. The accessor "getStart" gives direct access to the valuepublic Period setStart(Date value)
value - The start of the period. The boundary is inclusive.public DateTimeType getEndElement()
end (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.). This is the underlying object with id, value and extensions. The accessor "getEnd" gives direct access to the valuepublic boolean hasEndElement()
public boolean hasEnd()
public Period setEndElement(DateTimeType value)
value - end (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.). This is the underlying object with id, value and extensions. The accessor "getEnd" gives direct access to the valuepublic Date getEnd()
public Period setEnd(Date value)
value - 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.protected void listChildren(List<Property> childrenList)
listChildren in class Elementpublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic boolean equalsDeep(Base other)
equalsDeep in class Elementpublic boolean equalsShallow(Base other)
equalsShallow in class ElementCopyright © 2014–2018 University Health Network. All rights reserved.