Class Schedule
- java.lang.Object
-
- org.linuxforhealth.fhir.model.visitor.AbstractVisitable
-
- org.linuxforhealth.fhir.model.resource.Resource
-
- org.linuxforhealth.fhir.model.resource.DomainResource
-
- org.linuxforhealth.fhir.model.resource.Schedule
-
- All Implemented Interfaces:
Visitable
@Generated("org.linuxforhealth.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 org.linuxforhealth.fhir.model.resource.DomainResource
contained, extension, modifierExtension, text
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(java.lang.String elementName, int elementIndex, Visitor visitor)
Accept a Visitor and invoke the appropriate visit methods.static Schedule.Builder
builder()
boolean
equals(java.lang.Object obj)
Boolean
getActive()
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).String
getComment()
Comments on the availability to describe any extended information.java.util.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).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.boolean
hasChildren()
int
hashCode()
Schedule.Builder
toBuilder()
Create a new Builder from the contents of this Resource-
Methods inherited from class org.linuxforhealth.fhir.model.resource.DomainResource
getContained, getExtension, getModifierExtension, getText
-
Methods inherited from class org.linuxforhealth.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
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 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
CodeableConcept
that 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
CodeableConcept
that 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
CodeableConcept
that 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
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(java.lang.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
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
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()
-
-