Package org.hl7.fhir.dstu2.model
Class Timing
java.lang.Object
org.hl7.fhir.dstu2.model.Base
org.hl7.fhir.dstu2.model.Element
org.hl7.fhir.dstu2.model.Type
org.hl7.fhir.dstu2.model.Timing
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseDatatype
,org.hl7.fhir.instance.model.api.IBaseElement
,org.hl7.fhir.instance.model.api.IBaseHasExtensions
,org.hl7.fhir.instance.model.api.ICompositeType
Specifies an event that may occur multiple times. Timing schedules are used
to record when things are expected or requested to occur. The most common
usage is in dosage instructions for medications. They are also used when
planning care of various kinds.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
static class
static enum
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected CodeableConcept
A code for the timing pattern.protected List
<DateTimeType> Identifies specific times when the event occurs.protected Timing.TimingRepeatComponent
A set of rules that describe when the event should occur. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
equalsDeep
(Base other) boolean
equalsShallow
(Base other) fhirType()
getCode()
getEvent()
boolean
hasCode()
boolean
hasEvent()
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> childrenList) setCode
(CodeableConcept value) void
setProperty
(String name, Base value) protected Timing
Methods inherited from class org.hl7.fhir.dstu2.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElement
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, 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, setUserDataINN
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
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
-
Field Details
-
event
Identifies specific times when the event occurs. -
repeat
A set of rules that describe when the event should occur. -
code
A code for the timing pattern. Some codes such as BID are ubiquitous, but many institutions define their own additional codes.
-
-
Constructor Details
-
Timing
public Timing()
-
-
Method Details
-
getEvent
- Returns:
event
(Identifies specific times when the event occurs.)
-
hasEvent
-
addEventElement
- Returns:
event
(Identifies specific times when the event occurs.)
-
addEvent
- Parameters:
value
-event
(Identifies specific times when the event occurs.)
-
hasEvent
- Parameters:
value
-event
(Identifies specific times when the event occurs.)
-
getRepeat
- Returns:
repeat
(A set of rules that describe when the event should occur.)
-
hasRepeat
-
setRepeat
- Parameters:
value
-repeat
(A set of rules that describe when the event should occur.)
-
getCode
- Returns:
code
(A code for the timing pattern. Some codes such as BID are ubiquitous, but many institutions define their own additional codes.)
-
hasCode
-
setCode
- Parameters:
value
-code
(A code for the timing pattern. Some codes such as BID are ubiquitous, but many institutions define their own additional codes.)
-
listChildren
- Overrides:
listChildren
in classElement
-
setProperty
- Overrides:
setProperty
in classElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
-
fhirType
-
copy
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classElement
-
equalsShallow
- Overrides:
equalsShallow
in classElement
-
isEmpty
-