public class TimingDt extends BaseIdentifiableElement implements ICompositeDatatype
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
| Modifier and Type | Class and Description |
|---|---|
static class |
TimingDt.Repeat
Block class for child element: Timing.repeat ()
|
| Constructor and Description |
|---|
TimingDt()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
DateTimeDt |
addEvent()
Adds and returns a new value for event ()
|
TimingDt |
addEvent(Date theDate)
Adds a new value for event ()
|
TimingDt |
addEvent(Date theDate,
TemporalPrecisionEnum thePrecision)
Adds a new value for event ()
|
TimingDt |
addEvent(DateTimeDt theValue)
Adds a given new value for event ()
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
BoundCodeableConceptDt<TimingAbbreviationEnum> |
getCode()
Gets the value(s) for code ().
|
List<DateTimeDt> |
getEvent()
Gets the value(s) for event ().
|
DateTimeDt |
getEventFirstRep()
Gets the first repetition for event (),
creating it if it does not already exist.
|
TimingDt.Repeat |
getRepeat()
Gets the value(s) for repeat ().
|
boolean |
isEmpty() |
TimingDt |
setCode(BoundCodeableConceptDt<TimingAbbreviationEnum> theValue)
Sets the value(s) for code ()
|
TimingDt |
setCode(TimingAbbreviationEnum theValue)
Sets the value(s) for code ()
|
TimingDt |
setEvent(List<DateTimeDt> theValue)
Sets the value(s) for event ()
|
TimingDt |
setRepeat(TimingDt.Repeat theValue)
Sets the value(s) for repeat ()
|
getElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, isBaseEmptypublic TimingDt()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic List<DateTimeDt> getEvent()
null.
Definition: Identifies specific times when the event occurs
public TimingDt setEvent(List<DateTimeDt> theValue)
Definition: Identifies specific times when the event occurs
public DateTimeDt addEvent()
Definition: Identifies specific times when the event occurs
public TimingDt addEvent(DateTimeDt theValue)
Definition: Identifies specific times when the event occurs
theValue - The event to add (must not be null)public DateTimeDt getEventFirstRep()
Definition: Identifies specific times when the event occurs
public TimingDt addEvent(Date theDate, TemporalPrecisionEnum thePrecision)
Definition: Identifies specific times when the event occurs
public TimingDt addEvent(Date theDate)
Definition: Identifies specific times when the event occurs
public TimingDt.Repeat getRepeat()
null.
Definition: A set of rules that describe when the event should occur
public TimingDt setRepeat(TimingDt.Repeat theValue)
Definition: A set of rules that describe when the event should occur
public BoundCodeableConceptDt<TimingAbbreviationEnum> getCode()
null.
Definition: A code for the timing pattern. Some codes such as BID are ubiquitous, but many institutions define their own additional codes
public TimingDt setCode(BoundCodeableConceptDt<TimingAbbreviationEnum> theValue)
Definition: A code for the timing pattern. Some codes such as BID are ubiquitous, but many institutions define their own additional codes
public TimingDt setCode(TimingAbbreviationEnum theValue)
Definition: A code for the timing pattern. Some codes such as BID are ubiquitous, but many institutions define their own additional codes
Copyright © 2014–2016 University Health Network. All rights reserved.