Class Schedule

  • 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 Schedule
    extends DomainResource
    A container for slot(s) of time that may be available for booking appointments.
    See Also:
    Serialized Form
    • Field Detail

      • type

        protected List<CodeableConcept> type
        The schedule type can be used for the categorization of healthcare services or other appointment types.
      • actor

        protected Reference actor
        The resource this Schedule resource is providing availability information for. These are expected to usually be one of HealthcareService, Location, Practitioner, Device, Patient or RelatedPerson.
      • actorTarget

        protected Resource actorTarget
        The actual object that is the target of the reference (The resource this Schedule resource is providing availability information for. These are expected to usually be one of HealthcareService, Location, Practitioner, Device, Patient or RelatedPerson.)
      • planningHorizon

        protected Period planningHorizon
        The period of time that the slots that are attached to this Schedule resource cover (even if none exist). These cover the amount of time that an organization's planning horizon; the interval for which they are currently accepting appointments. This does not define a "template" for planning outside these dates.
      • comment

        protected StringType comment
        Comments on the availability to describe any extended information. Such as custom constraints on the slot(s) that may be associated.
    • Method Detail

      • getType

        public List<CodeableConceptgetType()
        Returns:
        type (The schedule type can be used for the categorization of healthcare services or other appointment types.)
      • hasType

        public boolean hasType()
      • addType

        public CodeableConcept addType()
        Returns:
        type (The schedule type can be used for the categorization of healthcare services or other appointment types.)
      • getActor

        public Reference getActor()
        Returns:
        actor (The resource this Schedule resource is providing availability information for. These are expected to usually be one of HealthcareService, Location, Practitioner, Device, Patient or RelatedPerson.)
      • setActor

        public Schedule setActor​(Reference value)
        Parameters:
        value - actor (The resource this Schedule resource is providing availability information for. These are expected to usually be one of HealthcareService, Location, Practitioner, Device, Patient or RelatedPerson.)
      • getActorTarget

        public Resource getActorTarget()
        Returns:
        actor 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 resource this Schedule resource is providing availability information for. These are expected to usually be one of HealthcareService, Location, Practitioner, Device, Patient or RelatedPerson.)
      • setActorTarget

        public Schedule setActorTarget​(Resource value)
        Parameters:
        value - actor 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 resource this Schedule resource is providing availability information for. These are expected to usually be one of HealthcareService, Location, Practitioner, Device, Patient or RelatedPerson.)
      • getPlanningHorizon

        public Period getPlanningHorizon()
        Returns:
        planningHorizon (The period of time that the slots that are attached to this Schedule resource cover (even if none exist). These cover the amount of time that an organization's planning horizon; the interval for which they are currently accepting appointments. This does not define a "template" for planning outside these dates.)
      • setPlanningHorizon

        public Schedule setPlanningHorizon​(Period value)
        Parameters:
        value - planningHorizon (The period of time that the slots that are attached to this Schedule resource cover (even if none exist). These cover the amount of time that an organization's planning horizon; the interval for which they are currently accepting appointments. This does not define a "template" for planning outside these dates.)
      • getCommentElement

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

        public Schedule setCommentElement​(StringType value)
        Parameters:
        value - comment (Comments on the availability to describe any extended information. Such as custom constraints on the slot(s) that may be associated.). 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 availability to describe any extended information. Such as custom constraints on the slot(s) that may be associated.
      • setComment

        public Schedule setComment​(String value)
        Parameters:
        value - Comments on the availability to describe any extended information. Such as custom constraints on the slot(s) that may be associated.
      • isEmpty

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