Class Schedule
- java.lang.Object
-
- org.hl7.fhir.r4.model.Base
-
- org.hl7.fhir.r4.model.BaseResource
-
- org.hl7.fhir.r4.model.Resource
-
- org.hl7.fhir.r4.model.DomainResource
-
- org.hl7.fhir.r4.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 BooleanTypeactiveWhether this schedule record is in active use or should not be used (such as was entered in error).static ca.uhn.fhir.rest.gclient.TokenClientParamACTIVEFluent Client search parameter constant for activeprotected List<Reference>actorSlots that reference this schedule resource provide the availability details to these referenced resource(s).static ca.uhn.fhir.rest.gclient.ReferenceClientParamACTORFluent Client search parameter constant for actorprotected List<Resource>actorTargetThe actual objects that are the target of the reference (Slots that reference this schedule resource provide the availability details to these referenced resource(s).)protected StringTypecommentComments on the availability to describe any extended information.static ca.uhn.fhir.rest.gclient.DateClientParamDATEFluent Client search parameter constant for dateprotected List<Identifier>identifierExternal Ids for this item.static ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.IncludeINCLUDE_ACTORConstant for fluent queries to be used to add include statements.protected PeriodplanningHorizonThe period of time that the slots that reference this Schedule resource cover (even if none exist).static ca.uhn.fhir.rest.gclient.TokenClientParamSERVICE_CATEGORYFluent Client search parameter constant for service-categorystatic ca.uhn.fhir.rest.gclient.TokenClientParamSERVICE_TYPEFluent Client search parameter constant for service-typeprotected List<CodeableConcept>serviceCategoryA broad categorization of the service that is to be performed during this appointment.protected List<CodeableConcept>serviceTypeThe specific service that is to be performed during this appointment.static StringSP_ACTIVESearch parameter: activestatic StringSP_ACTORSearch parameter: actorstatic StringSP_DATESearch parameter: datestatic StringSP_IDENTIFIERSearch parameter: identifierstatic StringSP_SERVICE_CATEGORYSearch parameter: service-categorystatic StringSP_SERVICE_TYPESearch parameter: service-typestatic StringSP_SPECIALTYSearch parameter: specialtyprotected List<CodeableConcept>specialtyThe specialty of a practitioner that would be required to perform the service requested in this appointment.static ca.uhn.fhir.rest.gclient.TokenClientParamSPECIALTYFluent Client search parameter constant for specialty-
Fields inherited from class org.hl7.fhir.r4.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.r4.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description Schedule()Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r4.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
-
Methods inherited from class org.hl7.fhir.r4.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.r4.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
-
Methods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, 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).
-
actorTarget
protected List<Resource> actorTarget
The actual objects that are the target of the reference (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_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_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
-
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_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
-
-
Constructor Detail
-
Schedule
public Schedule()
Constructor
-
-
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
thisfor 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
-
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
thisfor 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
-
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
thisfor 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
-
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
thisfor 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
-
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
thisfor 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
-
getActorTarget
@Deprecated public List<Resource> getActorTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
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:
listChildrenin classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
public Schedule copy()
- Specified by:
copyin classDomainResource
-
copyValues
public void copyValues(Schedule dst)
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceTypein classResource
-
-