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:
  • Field Details

    • identifier

      External Ids for this item.
    • 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

      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.
    • SP_ACTOR

      public static final String SP_ACTOR
      See Also:
    • SP_DATE

      public static final String SP_DATE
      See Also:
    • SP_IDENTIFIER

      public static final String SP_IDENTIFIER
      See Also:
    • SP_TYPE

      public static final String SP_TYPE
      See Also:
  • Constructor Details

  • Method Details

    • getIdentifier

      Returns:
      identifier (External Ids for this item.)
    • hasIdentifier

      public boolean hasIdentifier()
    • addIdentifier

      Returns:
      identifier (External Ids for this item.)
    • addIdentifier

    • getType

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

      public boolean hasType()
    • addType

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

    • 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.)
    • hasActor

      public boolean hasActor()
    • 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

      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

      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

      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.)
    • hasPlanningHorizon

      public boolean hasPlanningHorizon()
    • setPlanningHorizon

      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

      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
    • hasCommentElement

      public boolean hasCommentElement()
    • hasComment

      public boolean hasComment()
    • setCommentElement

      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.
    • listChildren

      protected void listChildren(List<Property> childrenList)
      Overrides:
      listChildren in class DomainResource
    • setProperty

      public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      setProperty in class DomainResource
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • addChild

      public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      addChild in class DomainResource
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • fhirType

      public String fhirType()
      Specified by:
      fhirType in interface org.hl7.fhir.instance.model.api.IBase
      Overrides:
      fhirType in class DomainResource
    • copy

      public Schedule copy()
      Specified by:
      copy in class DomainResource
    • typedCopy

      protected Schedule typedCopy()
    • equalsDeep

      public boolean equalsDeep(Base other)
      Overrides:
      equalsDeep in class DomainResource
    • equalsShallow

      public boolean equalsShallow(Base other)
      Overrides:
      equalsShallow in class DomainResource
    • isEmpty

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

      Specified by:
      getResourceType in class Resource