Class HealthcareService.AvailableTime
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.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
public static class HealthcareService.AvailableTime extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: HealthcareService.availableTime ()Definition: A collection of times that the Service Site is available
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AvailableTime()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ca.uhn.fhir.model.primitive.BoundCodeDt<DaysOfWeekEnum>addDaysOfWeek()Add a value for daysOfWeek ()ca.uhn.fhir.model.primitive.BoundCodeDt<DaysOfWeekEnum>addDaysOfWeek(DaysOfWeekEnum theValue)Add a value for daysOfWeek () using an enumerated type.BooleangetAllDay()Gets the value(s) for allDay ().ca.uhn.fhir.model.primitive.BooleanDtgetAllDayElement()Gets the value(s) for allDay ().<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)StringgetAvailableEndTime()Gets the value(s) for availableEndTime ().ca.uhn.fhir.model.primitive.TimeDtgetAvailableEndTimeElement()Gets the value(s) for availableEndTime ().StringgetAvailableStartTime()Gets the value(s) for availableStartTime ().ca.uhn.fhir.model.primitive.TimeDtgetAvailableStartTimeElement()Gets the value(s) for availableStartTime ().List<ca.uhn.fhir.model.primitive.BoundCodeDt<DaysOfWeekEnum>>getDaysOfWeek()Gets the value(s) for daysOfWeek ().ca.uhn.fhir.model.primitive.BoundCodeDt<DaysOfWeekEnum>getDaysOfWeekFirstRep()Gets the first repetition for daysOfWeek (), creating it if it does not already exist.booleanisEmpty()HealthcareService.AvailableTimesetAllDay(boolean theBoolean)Sets the value for allDay ()HealthcareService.AvailableTimesetAllDay(ca.uhn.fhir.model.primitive.BooleanDt theValue)Sets the value(s) for allDay ()HealthcareService.AvailableTimesetAvailableEndTime(ca.uhn.fhir.model.primitive.TimeDt theValue)Sets the value(s) for availableEndTime ()HealthcareService.AvailableTimesetAvailableEndTime(String theString)Sets the value for availableEndTime ()HealthcareService.AvailableTimesetAvailableStartTime(ca.uhn.fhir.model.primitive.TimeDt theValue)Sets the value(s) for availableStartTime ()HealthcareService.AvailableTimesetAvailableStartTime(String theString)Sets the value for availableStartTime ()HealthcareService.AvailableTimesetDaysOfWeek(DaysOfWeekEnum theValue)Sets the value(s), and clears any existing value(s) for daysOfWeek ()HealthcareService.AvailableTimesetDaysOfWeek(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
-
-
-
-
Constructor Detail
-
AvailableTime
public AvailableTime()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin 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:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getDaysOfWeek
public List<ca.uhn.fhir.model.primitive.BoundCodeDt<DaysOfWeekEnum>> 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
public ca.uhn.fhir.model.primitive.BoundCodeDt<DaysOfWeekEnum> 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
public ca.uhn.fhir.model.primitive.BoundCodeDt<DaysOfWeekEnum> addDaysOfWeek()
Add a value for daysOfWeek ()Definition: Indicates which days of the week are available between the start and end Times
-
setDaysOfWeek
public HealthcareService.AvailableTime setDaysOfWeek(DaysOfWeekEnum theValue)
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
public ca.uhn.fhir.model.primitive.BooleanDt 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
public Boolean 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
public HealthcareService.AvailableTime setAllDay(ca.uhn.fhir.model.primitive.BooleanDt theValue)
Sets the value(s) for allDay ()Definition: Is this always available? (hence times are irrelevant) e.g. 24 hour service
-
setAllDay
public HealthcareService.AvailableTime setAllDay(boolean theBoolean)
Sets the value for allDay ()Definition: Is this always available? (hence times are irrelevant) e.g. 24 hour service
-
getAvailableStartTimeElement
public ca.uhn.fhir.model.primitive.TimeDt 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
public String 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
public HealthcareService.AvailableTime setAvailableStartTime(String theString)
Sets the value for availableStartTime ()Definition: The opening time of day. Note: If the AllDay flag is set, then this time is ignored
-
getAvailableEndTimeElement
public ca.uhn.fhir.model.primitive.TimeDt 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
public String 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
public HealthcareService.AvailableTime setAvailableEndTime(String theString)
Sets the value for availableEndTime ()Definition: The closing time of day. Note: If the AllDay flag is set, then this time is ignored
-
-