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 Details

  • Method Details

    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.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 interface ca.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 return null.

      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 the addDaysOfWeek() 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

      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 return null.

      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 return null.

      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 return null.

      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 return null.

      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

      public ca.uhn.fhir.model.primitive.TimeDt getAvailableEndTimeElement()
      Gets the value(s) for availableEndTime (). creating it if it does not exist. Will not return null.

      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 return null.

      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