Class Schedule
- java.lang.Object
-
- org.hl7.fhir.r5.model.Base
-
- org.hl7.fhir.r5.model.BaseResource
-
- org.hl7.fhir.r5.model.Resource
-
- org.hl7.fhir.r5.model.DomainResource
-
- org.hl7.fhir.r5.model.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 slots of time that may be available for booking appointments.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected BooleanType
active
Whether this schedule record is in active use or should not be used (such as was entered in error).static ca.uhn.fhir.rest.gclient.TokenClientParam
ACTIVE
Fluent Client search parameter constant for activeprotected List<Reference>
actor
Slots that reference this schedule resource provide the availability details to these referenced resource(s).static ca.uhn.fhir.rest.gclient.ReferenceClientParam
ACTOR
Fluent Client search parameter constant for actorprotected StringType
comment
Comments on the availability to describe any extended information.static ca.uhn.fhir.rest.gclient.DateClientParam
DATE
Fluent Client search parameter constant for dateprotected List<Identifier>
identifier
External Ids for this item.static ca.uhn.fhir.rest.gclient.TokenClientParam
IDENTIFIER
Fluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.Include
INCLUDE_ACTOR
Constant for fluent queries to be used to add include statements.protected Period
planningHorizon
The period of time that the slots that reference this Schedule resource cover (even if none exist).static ca.uhn.fhir.rest.gclient.TokenClientParam
SERVICE_CATEGORY
Fluent Client search parameter constant for service-categorystatic ca.uhn.fhir.rest.gclient.TokenClientParam
SERVICE_TYPE
Fluent Client search parameter constant for service-typeprotected List<CodeableConcept>
serviceCategory
A broad categorization of the service that is to be performed during this appointment.protected List<CodeableConcept>
serviceType
The specific service that is to be performed during this appointment.static String
SP_ACTIVE
Search parameter: activestatic String
SP_ACTOR
Search parameter: actorstatic String
SP_DATE
Search parameter: datestatic String
SP_IDENTIFIER
Search parameter: identifierstatic String
SP_SERVICE_CATEGORY
Search parameter: service-categorystatic String
SP_SERVICE_TYPE
Search parameter: service-typestatic String
SP_SPECIALTY
Search parameter: specialtyprotected List<CodeableConcept>
specialty
The specialty of a practitioner that would be required to perform the service requested in this appointment.static ca.uhn.fhir.rest.gclient.TokenClientParam
SPECIALTY
Fluent Client search parameter constant for specialty-
Fields inherited from class org.hl7.fhir.r5.model.DomainResource
contained, extension, modifierExtension, SP_TEXT, text, TEXT
-
Fields inherited from class org.hl7.fhir.r5.model.Resource
id, implicitRules, language, meta
-
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r5.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
-
Methods inherited from class org.hl7.fhir.r5.model.Resource
copyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.r5.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
-
Methods inherited from class org.hl7.fhir.r5.model.Base
children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
-
-
-
-
Field Detail
-
identifier
protected List<Identifier> identifier
External Ids for this item.
-
active
protected BooleanType active
Whether this schedule record is in active use or should not be used (such as was entered in error).
-
serviceCategory
protected List<CodeableConcept> serviceCategory
A broad categorization of the service that is to be performed during this appointment.
-
serviceType
protected List<CodeableConcept> serviceType
The specific service that is to be performed during this appointment.
-
specialty
protected List<CodeableConcept> specialty
The specialty of a practitioner that would be required to perform the service requested in this appointment.
-
actor
protected List<Reference> actor
Slots that reference this schedule resource provide the availability details to these referenced resource(s).
-
planningHorizon
protected Period planningHorizon
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.
-
comment
protected StringType comment
Comments on the availability to describe any extended information. Such as custom constraints on the slots that may be associated.
-
SP_ACTIVE
public static final String SP_ACTIVE
Search parameter: activeDescription: Is the schedule in active use
Type: token
Path: Schedule.active
- See Also:
- Constant Field Values
-
ACTIVE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam ACTIVE
Fluent Client search parameter constant for activeDescription: Is the schedule in active use
Type: token
Path: Schedule.active
-
SP_ACTOR
public static final String SP_ACTOR
Search parameter: actorDescription: The individual(HealthcareService, Practitioner, Location, ...) to find a Schedule for
Type: reference
Path: Schedule.actor
- See Also:
- Constant Field Values
-
ACTOR
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ACTOR
Fluent Client search parameter constant for actorDescription: The individual(HealthcareService, Practitioner, Location, ...) to find a Schedule for
Type: reference
Path: Schedule.actor
-
INCLUDE_ACTOR
public static final ca.uhn.fhir.model.api.Include INCLUDE_ACTOR
Constant for fluent queries to be used to add include statements. Specifies the path value of "Schedule:actor".
-
SP_DATE
public static final String SP_DATE
Search parameter: dateDescription: Search for Schedule resources that have a period that contains this date specified
Type: date
Path: Schedule.planningHorizon
- See Also:
- Constant Field Values
-
DATE
public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE
Fluent Client search parameter constant for dateDescription: Search for Schedule resources that have a period that contains this date specified
Type: date
Path: Schedule.planningHorizon
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter: identifierDescription: A Schedule Identifier
Type: token
Path: Schedule.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription: A Schedule Identifier
Type: token
Path: Schedule.identifier
-
SP_SERVICE_CATEGORY
public static final String SP_SERVICE_CATEGORY
Search parameter: service-categoryDescription: High-level category
Type: token
Path: Schedule.serviceCategory
- See Also:
- Constant Field Values
-
SERVICE_CATEGORY
public static final ca.uhn.fhir.rest.gclient.TokenClientParam SERVICE_CATEGORY
Fluent Client search parameter constant for service-categoryDescription: High-level category
Type: token
Path: Schedule.serviceCategory
-
SP_SERVICE_TYPE
public static final String SP_SERVICE_TYPE
Search parameter: service-typeDescription: The type of appointments that can be booked into associated slot(s)
Type: token
Path: Schedule.serviceType
- See Also:
- Constant Field Values
-
SERVICE_TYPE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam SERVICE_TYPE
Fluent Client search parameter constant for service-typeDescription: The type of appointments that can be booked into associated slot(s)
Type: token
Path: Schedule.serviceType
-
SP_SPECIALTY
public static final String SP_SPECIALTY
Search parameter: specialtyDescription: Type of specialty needed
Type: token
Path: Schedule.specialty
- See Also:
- Constant Field Values
-
SPECIALTY
public static final ca.uhn.fhir.rest.gclient.TokenClientParam SPECIALTY
Fluent Client search parameter constant for specialtyDescription: Type of specialty needed
Type: token
Path: Schedule.specialty
-
-
Method Detail
-
getIdentifier
public List<Identifier> getIdentifier()
- Returns:
identifier
(External Ids for this item.)
-
setIdentifier
public Schedule setIdentifier(List<Identifier> theIdentifier)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasIdentifier
public boolean hasIdentifier()
-
addIdentifier
public Identifier addIdentifier()
-
addIdentifier
public Schedule addIdentifier(Identifier t)
-
getIdentifierFirstRep
public Identifier getIdentifierFirstRep()
- Returns:
- The first repetition of repeating field
identifier
, creating it if it does not already exist {3}
-
getActiveElement
public BooleanType getActiveElement()
- Returns:
active
(Whether this schedule record is in active use or should not be used (such as was entered in error).). This is the underlying object with id, value and extensions. The accessor "getActive" gives direct access to the value
-
hasActiveElement
public boolean hasActiveElement()
-
hasActive
public boolean hasActive()
-
setActiveElement
public Schedule setActiveElement(BooleanType value)
- Parameters:
value
-active
(Whether this schedule record is in active use or should not be used (such as was entered in error).). This is the underlying object with id, value and extensions. The accessor "getActive" gives direct access to the value
-
getActive
public boolean getActive()
- Returns:
- Whether this schedule record is in active use or should not be used (such as was entered in error).
-
setActive
public Schedule setActive(boolean value)
- Parameters:
value
- Whether this schedule record is in active use or should not be used (such as was entered in error).
-
getServiceCategory
public List<CodeableConcept> getServiceCategory()
- Returns:
serviceCategory
(A broad categorization of the service that is to be performed during this appointment.)
-
setServiceCategory
public Schedule setServiceCategory(List<CodeableConcept> theServiceCategory)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasServiceCategory
public boolean hasServiceCategory()
-
addServiceCategory
public CodeableConcept addServiceCategory()
-
addServiceCategory
public Schedule addServiceCategory(CodeableConcept t)
-
getServiceCategoryFirstRep
public CodeableConcept getServiceCategoryFirstRep()
- Returns:
- The first repetition of repeating field
serviceCategory
, creating it if it does not already exist {3}
-
getServiceType
public List<CodeableConcept> getServiceType()
- Returns:
serviceType
(The specific service that is to be performed during this appointment.)
-
setServiceType
public Schedule setServiceType(List<CodeableConcept> theServiceType)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasServiceType
public boolean hasServiceType()
-
addServiceType
public CodeableConcept addServiceType()
-
addServiceType
public Schedule addServiceType(CodeableConcept t)
-
getServiceTypeFirstRep
public CodeableConcept getServiceTypeFirstRep()
- Returns:
- The first repetition of repeating field
serviceType
, creating it if it does not already exist {3}
-
getSpecialty
public List<CodeableConcept> getSpecialty()
- Returns:
specialty
(The specialty of a practitioner that would be required to perform the service requested in this appointment.)
-
setSpecialty
public Schedule setSpecialty(List<CodeableConcept> theSpecialty)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasSpecialty
public boolean hasSpecialty()
-
addSpecialty
public CodeableConcept addSpecialty()
-
addSpecialty
public Schedule addSpecialty(CodeableConcept t)
-
getSpecialtyFirstRep
public CodeableConcept getSpecialtyFirstRep()
- Returns:
- The first repetition of repeating field
specialty
, creating it if it does not already exist {3}
-
getActor
public List<Reference> getActor()
- Returns:
actor
(Slots that reference this schedule resource provide the availability details to these referenced resource(s).)
-
setActor
public Schedule setActor(List<Reference> theActor)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasActor
public boolean hasActor()
-
getActorFirstRep
public Reference getActorFirstRep()
- Returns:
- The first repetition of repeating field
actor
, creating it if it does not already exist {3}
-
getPlanningHorizon
public Period getPlanningHorizon()
- Returns:
planningHorizon
(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.)
-
hasPlanningHorizon
public boolean hasPlanningHorizon()
-
setPlanningHorizon
public Schedule setPlanningHorizon(Period value)
- Parameters:
value
-planningHorizon
(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.)
-
getCommentElement
public StringType getCommentElement()
- Returns:
comment
(Comments on the availability to describe any extended information. Such as custom constraints on the slots 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
public Schedule setCommentElement(StringType value)
- Parameters:
value
-comment
(Comments on the availability to describe any extended information. Such as custom constraints on the slots 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 slots 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 slots that may be associated.
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildren
in classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makeProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
public Schedule copy()
- Specified by:
copy
in classDomainResource
-
copyValues
public void copyValues(Schedule dst)
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceType
in classResource
-
-