Class HealthcareService.AvailableTime
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IIdentifiableElement
,ca.uhn.fhir.model.api.IResourceBlock
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
- Enclosing class:
HealthcareService
Definition: A collection of times that the Service Site is available
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionca.uhn.fhir.model.primitive.BoundCodeDt
<DaysOfWeekEnum> Add a value for daysOfWeek ()ca.uhn.fhir.model.primitive.BoundCodeDt
<DaysOfWeekEnum> addDaysOfWeek
(DaysOfWeekEnum theValue) Add a value for daysOfWeek () using an enumerated type.Gets the value(s) for allDay ().ca.uhn.fhir.model.primitive.BooleanDt
Gets the value(s) for allDay ().<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for availableEndTime ().ca.uhn.fhir.model.primitive.TimeDt
Gets the value(s) for availableEndTime ().Gets the value(s) for availableStartTime ().ca.uhn.fhir.model.primitive.TimeDt
Gets the value(s) for availableStartTime ().List
<ca.uhn.fhir.model.primitive.BoundCodeDt<DaysOfWeekEnum>> Gets the value(s) for daysOfWeek ().ca.uhn.fhir.model.primitive.BoundCodeDt
<DaysOfWeekEnum> Gets the first repetition for daysOfWeek (), creating it if it does not already exist.boolean
isEmpty()
setAllDay
(boolean theBoolean) Sets the value for allDay ()setAllDay
(ca.uhn.fhir.model.primitive.BooleanDt theValue) Sets the value(s) for allDay ()setAvailableEndTime
(ca.uhn.fhir.model.primitive.TimeDt theValue) Sets the value(s) for availableEndTime ()setAvailableEndTime
(String theString) Sets the value for availableEndTime ()setAvailableStartTime
(ca.uhn.fhir.model.primitive.TimeDt theValue) Sets the value(s) for availableStartTime ()setAvailableStartTime
(String theString) Sets the value for availableStartTime ()setDaysOfWeek
(DaysOfWeekEnum theValue) Sets the value(s), and clears any existing value(s) for daysOfWeek ()setDaysOfWeek
(List<ca.uhn.fhir.model.primitive.BoundCodeDt<DaysOfWeekEnum>> theValue) Sets the value(s) for daysOfWeek ()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
Methods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Constructor Details
-
AvailableTime
public AvailableTime()
-
-
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
-
getDaysOfWeek
Gets the value(s) for daysOfWeek (). creating it if it does not exist. Will not returnnull
.Definition: Indicates which days of the week are available between the start and end Times
-
setDaysOfWeek
public HealthcareService.AvailableTime setDaysOfWeek(List<ca.uhn.fhir.model.primitive.BoundCodeDt<DaysOfWeekEnum>> theValue) Sets the value(s) for daysOfWeek ()Definition: Indicates which days of the week are available between the start and end Times
-
addDaysOfWeek
public ca.uhn.fhir.model.primitive.BoundCodeDt<DaysOfWeekEnum> addDaysOfWeek(DaysOfWeekEnum theValue) Add a value for daysOfWeek () using an enumerated type. This is intended as a convenience method for situations where the FHIR defined ValueSets are mandatory or contain the desirable codes. If you wish to use codes other than those which are built-in, you may also use theaddDaysOfWeek()
method.Definition: Indicates which days of the week are available between the start and end Times
-
getDaysOfWeekFirstRep
Gets the first repetition for daysOfWeek (), creating it if it does not already exist.Definition: Indicates which days of the week are available between the start and end Times
-
addDaysOfWeek
Add a value for daysOfWeek ()Definition: Indicates which days of the week are available between the start and end Times
-
setDaysOfWeek
Sets the value(s), and clears any existing value(s) for daysOfWeek ()Definition: Indicates which days of the week are available between the start and end Times
-
getAllDayElement
Gets the value(s) for allDay (). creating it if it does not exist. Will not returnnull
.Definition: Is this always available? (hence times are irrelevant) e.g. 24 hour service
-
getAllDay
Gets the value(s) for allDay (). creating it if it does not exist. This method may returnnull
.Definition: Is this always available? (hence times are irrelevant) e.g. 24 hour service
-
setAllDay
Sets the value(s) for allDay ()Definition: Is this always available? (hence times are irrelevant) e.g. 24 hour service
-
setAllDay
Sets the value for allDay ()Definition: Is this always available? (hence times are irrelevant) e.g. 24 hour service
-
getAvailableStartTimeElement
Gets the value(s) for availableStartTime (). creating it if it does not exist. Will not returnnull
.Definition: The opening time of day. Note: If the AllDay flag is set, then this time is ignored
-
getAvailableStartTime
Gets the value(s) for availableStartTime (). creating it if it does not exist. This method may returnnull
.Definition: The opening time of day. Note: If the AllDay flag is set, then this time is ignored
-
setAvailableStartTime
public HealthcareService.AvailableTime setAvailableStartTime(ca.uhn.fhir.model.primitive.TimeDt theValue) Sets the value(s) for availableStartTime ()Definition: The opening time of day. Note: If the AllDay flag is set, then this time is ignored
-
setAvailableStartTime
Sets the value for availableStartTime ()Definition: The opening time of day. Note: If the AllDay flag is set, then this time is ignored
-
getAvailableEndTimeElement
Gets the value(s) for availableEndTime (). creating it if it does not exist. Will not returnnull
.Definition: The closing time of day. Note: If the AllDay flag is set, then this time is ignored
-
getAvailableEndTime
Gets the value(s) for availableEndTime (). creating it if it does not exist. This method may returnnull
.Definition: The closing time of day. Note: If the AllDay flag is set, then this time is ignored
-
setAvailableEndTime
public HealthcareService.AvailableTime setAvailableEndTime(ca.uhn.fhir.model.primitive.TimeDt theValue) Sets the value(s) for availableEndTime ()Definition: The closing time of day. Note: If the AllDay flag is set, then this time is ignored
-
setAvailableEndTime
Sets the value for availableEndTime ()Definition: The closing time of day. Note: If the AllDay flag is set, then this time is ignored
-