Class Slot

  • All Implemented Interfaces:
    ca.uhn.fhir.model.api.IElement, Serializable, org.hl7.fhir.instance.model.api.IAnyResource, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseHasExtensions, org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions, org.hl7.fhir.instance.model.api.IBaseResource, org.hl7.fhir.instance.model.api.IDomainResource

    public class Slot
    extends DomainResource
    A slot of time on a schedule that may be available for booking appointments.
    See Also:
    Serialized Form
    • Method Detail

      • getType

        public CodeableConcept getType()
        Returns:
        type (The type of appointments that can be booked into this slot (ideally this would be an identifiable service - which is at a location, rather than the location itself). If provided then this overrides the value provided on the availability resource.)
      • hasType

        public boolean hasType()
      • setType

        public Slot setType​(CodeableConcept value)
        Parameters:
        value - type (The type of appointments that can be booked into this slot (ideally this would be an identifiable service - which is at a location, rather than the location itself). If provided then this overrides the value provided on the availability resource.)
      • getSchedule

        public Reference getSchedule()
        Returns:
        schedule (The schedule resource that this slot defines an interval of status information.)
      • setSchedule

        public Slot setSchedule​(Reference value)
        Parameters:
        value - schedule (The schedule resource that this slot defines an interval of status information.)
      • getScheduleTarget

        public Schedule getScheduleTarget()
        Returns:
        schedule The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The schedule resource that this slot defines an interval of status information.)
      • setScheduleTarget

        public Slot setScheduleTarget​(Schedule value)
        Parameters:
        value - schedule The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The schedule resource that this slot defines an interval of status information.)
      • getStartElement

        public InstantType getStartElement()
        Returns:
        start (Date/Time that the slot is to begin.). This is the underlying object with id, value and extensions. The accessor "getStart" gives direct access to the value
      • setStartElement

        public Slot setStartElement​(InstantType value)
        Parameters:
        value - start (Date/Time that the slot is to begin.). This is the underlying object with id, value and extensions. The accessor "getStart" gives direct access to the value
      • getStart

        public Date getStart()
        Returns:
        Date/Time that the slot is to begin.
      • setStart

        public Slot setStart​(Date value)
        Parameters:
        value - Date/Time that the slot is to begin.
      • getEndElement

        public InstantType getEndElement()
        Returns:
        end (Date/Time that the slot is to conclude.). This is the underlying object with id, value and extensions. The accessor "getEnd" gives direct access to the value
      • hasEnd

        public boolean hasEnd()
      • setEndElement

        public Slot setEndElement​(InstantType value)
        Parameters:
        value - end (Date/Time that the slot is to conclude.). This is the underlying object with id, value and extensions. The accessor "getEnd" gives direct access to the value
      • getEnd

        public Date getEnd()
        Returns:
        Date/Time that the slot is to conclude.
      • setEnd

        public Slot setEnd​(Date value)
        Parameters:
        value - Date/Time that the slot is to conclude.
      • getOverbookedElement

        public BooleanType getOverbookedElement()
        Returns:
        overbooked (This slot has already been overbooked, appointments are unlikely to be accepted for this time.). This is the underlying object with id, value and extensions. The accessor "getOverbooked" gives direct access to the value
      • setOverbookedElement

        public Slot setOverbookedElement​(BooleanType value)
        Parameters:
        value - overbooked (This slot has already been overbooked, appointments are unlikely to be accepted for this time.). This is the underlying object with id, value and extensions. The accessor "getOverbooked" gives direct access to the value
      • getOverbooked

        public boolean getOverbooked()
        Returns:
        This slot has already been overbooked, appointments are unlikely to be accepted for this time.
      • setOverbooked

        public Slot setOverbooked​(boolean value)
        Parameters:
        value - This slot has already been overbooked, appointments are unlikely to be accepted for this time.
      • getCommentElement

        public StringType getCommentElement()
        Returns:
        comment (Comments on the slot to describe any extended information. Such as custom constraints on the slot.). This is the underlying object with id, value and extensions. The accessor "getComment" gives direct access to the value
      • setCommentElement

        public Slot setCommentElement​(StringType value)
        Parameters:
        value - comment (Comments on the slot to describe any extended information. Such as custom constraints on the slot.). This is the underlying object with id, value and extensions. The accessor "getComment" gives direct access to the value
      • getComment

        public String getComment()
        Returns:
        Comments on the slot to describe any extended information. Such as custom constraints on the slot.
      • setComment

        public Slot setComment​(String value)
        Parameters:
        value - Comments on the slot to describe any extended information. Such as custom constraints on the slot.
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface org.hl7.fhir.instance.model.api.IBase
        Overrides:
        isEmpty in class DomainResource