public class Timing extends Type implements org.hl7.fhir.instance.model.api.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, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNprotected 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 org.hl7.fhir.exceptions.FHIRException
getProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty 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.