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 DomainResource
A 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 class
Schedule.Builder
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.resource.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class com.ibm.fhir.model.resource.Resource
id, implicitRules, language, meta
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(String elementName, int elementIndex, Visitor visitor)
Accept a Visitor and invoke the appropriate visit methods.static Schedule.Builder
builder()
boolean
equals(Object obj)
Boolean
getActive()
Whether this schedule record is in active use or should not be used (such as was entered in error).List<Reference>
getActor()
Slots that reference this schedule resource provide the availability details to these referenced resource(s).String
getComment()
Comments on the availability to describe any extended information.List<Identifier>
getIdentifier()
External Ids for this item.Period
getPlanningHorizon()
The period of time that the slots that reference this Schedule resource cover (even if none exist).List<CodeableConcept>
getServiceCategory()
A broad categorization of the service that is to be performed during this appointment.List<CodeableConcept>
getServiceType()
The specific service that is to be performed during this appointment.List<CodeableConcept>
getSpecialty()
The specialty of a practitioner that would be required to perform the service requested in this appointment.boolean
hasChildren()
int
hashCode()
Schedule.Builder
toBuilder()
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 List<Identifier> getIdentifier()
External Ids for this item.- Returns:
- An unmodifiable list containing immutable objects of type
Identifier
that 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
Boolean
that may be null.
-
getServiceCategory
public 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
CodeableConcept
that may be empty.
-
getServiceType
public List<CodeableConcept> getServiceType()
The specific service that is to be performed during this appointment.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConcept
that may be empty.
-
getSpecialty
public 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
CodeableConcept
that may be empty.
-
getActor
public 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
Reference
that 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
Period
that 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
String
that may be null.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildren
in classDomainResource
-
accept
public void accept(String elementName, int elementIndex, Visitor visitor)
Description copied from interface:Visitable
Accept 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:
accept
in interfaceVisitable
- Specified by:
accept
in 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
-
toBuilder
public Schedule.Builder toBuilder()
Description copied from class:Resource
Create a new Builder from the contents of this Resource- Specified by:
toBuilder
in classDomainResource
-
builder
public static Schedule.Builder builder()
-
-