
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
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic classstatic classstatic enumstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CodeableConceptA code for the timing pattern.protected List<DateTimeType> Identifies specific times when the event occurs.protected Timing.TimingRepeatComponentA set of rules that describe when the event should occur. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleanequalsDeep(Base other) booleanequalsShallow(Base other) fhirType()getCode()getEvent()booleanhasCode()booleanhasEvent()booleanbooleanbooleanisEmpty()protected voidlistChildren(List<Property> childrenList) setCode(CodeableConcept value) voidsetProperty(String name, Base value) protected TimingMethods inherited from class org.hl7.fhir.dstu2.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElementMethods 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, setUserDataINNMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataMethods 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:
listChildrenin classElement
-
setProperty
- Overrides:
setPropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
-
fhirType
-
copy
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classElement
-
equalsShallow
- Overrides:
equalsShallowin classElement
-
isEmpty
-