Package com.ibm.fhir.model.resource
Class Schedule
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.resource.Resource
-
- com.ibm.fhir.model.resource.DomainResource
-
- com.ibm.fhir.model.resource.Schedule
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class Schedule extends DomainResourceA container for slots of time that may be available for booking appointments.Maturity level: FMM3 (Trial Use)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSchedule.Builder
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.resource.DomainResource
contained, extension, modifierExtension, text
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(java.lang.String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static Schedule.Builderbuilder()booleanequals(java.lang.Object obj)BooleangetActive()Whether this schedule record is in active use or should not be used (such as was entered in error).java.util.List<Reference>getActor()Slots that reference this schedule resource provide the availability details to these referenced resource(s).StringgetComment()Comments on the availability to describe any extended information.java.util.List<Identifier>getIdentifier()External Ids for this item.PeriodgetPlanningHorizon()The period of time that the slots that reference this Schedule resource cover (even if none exist).java.util.List<CodeableConcept>getServiceCategory()A broad categorization of the service that is to be performed during this appointment.java.util.List<CodeableConcept>getServiceType()The specific service that is to be performed during this appointment.java.util.List<CodeableConcept>getSpecialty()The specialty of a practitioner that would be required to perform the service requested in this appointment.booleanhasChildren()inthashCode()Schedule.BuildertoBuilder()Create a new Builder from the contents of this Resource-
Methods inherited from class com.ibm.fhir.model.resource.DomainResource
getContained, getExtension, getModifierExtension, getText
-
Methods inherited from class com.ibm.fhir.model.resource.Resource
as, getId, getImplicitRules, getLanguage, getMeta, is
-
-
-
-
Method Detail
-
getIdentifier
public java.util.List<Identifier> getIdentifier()
External Ids for this item.- Returns:
- An unmodifiable list containing immutable objects of type
Identifierthat may be empty.
-
getActive
public Boolean getActive()
Whether this schedule record is in active use or should not be used (such as was entered in error).- Returns:
- An immutable object of type
Booleanthat may be null.
-
getServiceCategory
public java.util.List<CodeableConcept> getServiceCategory()
A broad categorization of the service that is to be performed during this appointment.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConceptthat may be empty.
-
getServiceType
public java.util.List<CodeableConcept> getServiceType()
The specific service that is to be performed during this appointment.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConceptthat may be empty.
-
getSpecialty
public java.util.List<CodeableConcept> getSpecialty()
The specialty of a practitioner that would be required to perform the service requested in this appointment.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConceptthat may be empty.
-
getActor
public java.util.List<Reference> getActor()
Slots that reference this schedule resource provide the availability details to these referenced resource(s).- Returns:
- An unmodifiable list containing immutable objects of type
Referencethat is non-empty.
-
getPlanningHorizon
public Period getPlanningHorizon()
The period of time that the slots that reference 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.- Returns:
- An immutable object of type
Periodthat may be null.
-
getComment
public String getComment()
Comments on the availability to describe any extended information. Such as custom constraints on the slots that may be associated.- Returns:
- An immutable object of type
Stringthat may be null.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildrenin classDomainResource
-
accept
public void accept(java.lang.String elementName, int elementIndex, Visitor visitor)Description copied from interface:VisitableAccept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:if (visitor.preVisit(this)) { visitor.visitStart(elementName, elementIndex, this); if (visitor.visit(elementName, elementIndex, this)) { // visit children } visitor.visitEnd(elementName, elementIndex, this); visitor.postVisit(this); }- Specified by:
acceptin interfaceVisitable- Specified by:
acceptin classAbstractVisitable- Parameters:
elementName- the name of the element in the context of this visitelementIndex- the index of the element in a list or -1 if it is not contained within a Listvisitor- the visitor to use
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toBuilder
public Schedule.Builder toBuilder()
Description copied from class:ResourceCreate a new Builder from the contents of this Resource- Specified by:
toBuilderin classDomainResource
-
builder
public static Schedule.Builder builder()
-
-