public class Timing extends Type implements ICompositeType
| Modifier and Type | Class and Description |
|---|---|
static class |
Timing.DayOfWeek |
static class |
Timing.DayOfWeekEnumFactory |
static class |
Timing.EventTiming |
static class |
Timing.EventTimingEnumFactory |
static class |
Timing.TimingRepeatComponent |
static class |
Timing.UnitsOfTime |
static class |
Timing.UnitsOfTimeEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
protected CodeableConcept |
code
A code for the timing schedule.
|
protected List<DateTimeType> |
event
Identifies specific times when the event occurs.
|
protected Timing.TimingRepeatComponent |
repeat
A set of rules that describe when the event is scheduled.
|
| Constructor and Description |
|---|
Timing()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Base |
addChild(String name) |
Timing |
addEvent(Date value) |
DateTimeType |
addEventElement() |
Timing |
copy() |
boolean |
equalsDeep(Base other) |
boolean |
equalsShallow(Base other) |
String |
fhirType() |
CodeableConcept |
getCode() |
List<DateTimeType> |
getEvent() |
Base[] |
getProperty(int hash,
String name,
boolean checkValid) |
Timing.TimingRepeatComponent |
getRepeat() |
String[] |
getTypesForProperty(int hash,
String name) |
boolean |
hasCode() |
boolean |
hasEvent() |
boolean |
hasEvent(Date value) |
boolean |
hasRepeat() |
boolean |
isEmpty() |
protected void |
listChildren(List<Property> childrenList) |
Base |
makeProperty(int hash,
String name) |
Timing |
setCode(CodeableConcept value) |
Timing |
setEvent(List<DateTimeType> theEvent) |
Base |
setProperty(int hash,
String name,
Base value) |
Base |
setProperty(String name,
Base value) |
Timing |
setRepeat(Timing.TimingRepeatComponent value) |
protected Timing |
typedCopy() |
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected List<DateTimeType> event
protected Timing.TimingRepeatComponent repeat
protected CodeableConcept code
public Timing()
public List<DateTimeType> getEvent()
event (Identifies specific times when the event occurs.)public Timing setEvent(List<DateTimeType> theEvent)
this for easy method chainingpublic boolean hasEvent()
public DateTimeType addEventElement()
event (Identifies specific times when the event occurs.)public Timing addEvent(Date value)
value - event (Identifies specific times when the event occurs.)public boolean hasEvent(Date value)
value - event (Identifies specific times when the event occurs.)public Timing.TimingRepeatComponent getRepeat()
repeat (A set of rules that describe when the event is scheduled.)public boolean hasRepeat()
public Timing setRepeat(Timing.TimingRepeatComponent value)
value - repeat (A set of rules that describe when the event is scheduled.)public CodeableConcept getCode()
code (A code for the timing schedule. Some codes such as BID are ubiquitous, but many institutions define their own additional codes. If a code is provided, the code is understood to be a complete statement of whatever is specified in the structured timing data, and either the code or the data may be used to interpret the Timing, with the exception that .repeat.bounds still applies over the code (and is not contained in the code).)public boolean hasCode()
public Timing setCode(CodeableConcept value)
value - code (A code for the timing schedule. Some codes such as BID are ubiquitous, but many institutions define their own additional codes. If a code is provided, the code is understood to be a complete statement of whatever is specified in the structured timing data, and either the code or the data may be used to interpret the Timing, with the exception that .repeat.bounds still applies over the code (and is not contained in the code).)protected void listChildren(List<Property> childrenList)
listChildren in class Elementpublic Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException
getProperty in class ElementFHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class ElementFHIRExceptionpublic Base setProperty(String name, Base value) throws FHIRException
setProperty in class ElementFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class ElementFHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class ElementFHIRExceptionpublic Base addChild(String name) throws FHIRException
addChild in class ElementFHIRExceptionpublic boolean equalsDeep(Base other)
equalsDeep in class Elementpublic boolean equalsShallow(Base other)
equalsShallow in class ElementCopyright © 2014–2017 University Health Network. All rights reserved.