Class TimingDt
- 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: 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
Requirements: Need to able to track proposed timing schedules. There are several different ways to do this: one or more specified times, a simple rules like three times a day, or before/after meals
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Block class for child element: Timing.repeat () -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionca.uhn.fhir.model.primitive.DateTimeDt
addEvent()
Adds and returns a new value for event ()addEvent
(ca.uhn.fhir.model.primitive.DateTimeDt theValue) Adds a given new value for event ()Adds a new value for event ()Adds a new value for event ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) getCode()
Gets the value(s) for code ().List
<ca.uhn.fhir.model.primitive.DateTimeDt> getEvent()
Gets the value(s) for event ().ca.uhn.fhir.model.primitive.DateTimeDt
Gets the first repetition for event (), creating it if it does not already exist.Gets the value(s) for repeat ().boolean
isEmpty()
setCode
(BoundCodeableConceptDt<TimingAbbreviationEnum> theValue) Sets the value(s) for code ()setCode
(TimingAbbreviationEnum theValue) Sets the value(s) for code ()Sets the value(s) for event ()setRepeat
(TimingDt.Repeat theValue) Sets the value(s) for repeat ()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
-
TimingDt
public TimingDt()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
-
getEvent
Gets the value(s) for event (). creating it if it does not exist. Will not returnnull
.Definition: Identifies specific times when the event occurs
-
setEvent
Sets the value(s) for event ()Definition: Identifies specific times when the event occurs
-
addEvent
Adds and returns a new value for event ()Definition: Identifies specific times when the event occurs
-
addEvent
Adds a given new value for event ()Definition: Identifies specific times when the event occurs
- Parameters:
theValue
- The event to add (must not benull
)
-
getEventFirstRep
Gets the first repetition for event (), creating it if it does not already exist.Definition: Identifies specific times when the event occurs
-
addEvent
Adds a new value for event ()Definition: Identifies specific times when the event occurs
- Returns:
- Returns a reference to this object, to allow for simple chaining.
-
addEvent
Adds a new value for event ()Definition: Identifies specific times when the event occurs
- Returns:
- Returns a reference to this object, to allow for simple chaining.
-
getRepeat
Gets the value(s) for repeat (). creating it if it does not exist. Will not returnnull
.Definition: A set of rules that describe when the event should occur
-
setRepeat
Sets the value(s) for repeat ()Definition: A set of rules that describe when the event should occur
-
getCode
Gets the value(s) for code (). creating it if it does not exist. Will not returnnull
.Definition: A code for the timing pattern. Some codes such as BID are ubiquitous, but many institutions define their own additional codes
-
setCode
Sets the value(s) for code ()Definition: A code for the timing pattern. Some codes such as BID are ubiquitous, but many institutions define their own additional codes
-
setCode
Sets the value(s) for code ()Definition: A code for the timing pattern. Some codes such as BID are ubiquitous, but many institutions define their own additional codes
-