
Class Schedule
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IResource
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseResource
public class Schedule extends BaseResource implements ca.uhn.fhir.model.api.IResource
Definition: A container for slot(s) of time that may be available for booking appointments.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/Schedule
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.rest.gclient.ReferenceClientParam
ACTOR
Fluent Client search parameter constant for actorstatic ca.uhn.fhir.rest.gclient.DateClientParam
DATE
Fluent Client search parameter constant for datestatic 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.static String
SP_ACTOR
Search parameter constant for actorstatic String
SP_DATE
Search parameter constant for datestatic String
SP_IDENTIFIER
Search parameter constant for identifierstatic String
SP_TYPE
Search parameter constant for typestatic ca.uhn.fhir.rest.gclient.TokenClientParam
TYPE
Fluent Client search parameter constant for typeFields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID, SP_RES_LANGUAGE
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
Constructors Constructor Description Schedule()
-
Method Summary
Modifier and Type Method Description IdentifierDt
addIdentifier()
Adds and returns a new value for identifier (id)Schedule
addIdentifier(IdentifierDt theValue)
Adds a given new value for identifier (id)CodeableConceptDt
addType()
Adds and returns a new value for type (class)Schedule
addType(CodeableConceptDt theValue)
Adds a given new value for type (class)ResourceReferenceDt
getActor()
Gets the value(s) for actor (who.focus).<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)
String
getComment()
Gets the value(s) for comment ().ca.uhn.fhir.model.primitive.StringDt
getCommentElement()
Gets the value(s) for comment ().List<IdentifierDt>
getIdentifier()
Gets the value(s) for identifier (id).IdentifierDt
getIdentifierFirstRep()
Gets the first repetition for identifier (id), creating it if it does not already exist.PeriodDt
getPlanningHorizon()
Gets the value(s) for planningHorizon (when.planned).String
getResourceName()
ca.uhn.fhir.context.FhirVersionEnum
getStructureFhirVersionEnum()
List<CodeableConceptDt>
getType()
Gets the value(s) for type (class).CodeableConceptDt
getTypeFirstRep()
Gets the first repetition for type (class), creating it if it does not already exist.boolean
isEmpty()
Schedule
setActor(ResourceReferenceDt theValue)
Sets the value(s) for actor (who.focus)Schedule
setComment(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for comment ()Schedule
setComment(String theString)
Sets the value for comment ()Schedule
setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier (id)Schedule
setPlanningHorizon(PeriodDt theValue)
Sets the value(s) for planningHorizon (when.planned)Schedule
setType(List<CodeableConceptDt> theValue)
Sets the value(s) for type (class)Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toString
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getIdElement, setId, setId
Methods inherited from interface ca.uhn.fhir.model.api.IResource
getContained, getId, getLanguage, getMeta, getResourceMetadata, getText, setId, setLanguage, setResourceMetadata
-
Field Details
-
SP_ACTOR
Search parameter constant for actorDescription: The individual(HealthcareService, Practitioner, Location, ...) to find a Schedule for
Type: reference
Path: Schedule.actor
- See Also:
- Constant Field Values
-
ACTOR
Fluent Client search parameter constant for actorDescription: The individual(HealthcareService, Practitioner, Location, ...) to find a Schedule for
Type: reference
Path: Schedule.actor
-
SP_TYPE
Search parameter constant for typeDescription: The type of appointments that can be booked into associated slot(s)
Type: token
Path: Schedule.type
- See Also:
- Constant Field Values
-
TYPE
Fluent Client search parameter constant for typeDescription: The type of appointments that can be booked into associated slot(s)
Type: token
Path: Schedule.type
-
SP_DATE
Search parameter constant for 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
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
Search parameter constant for identifierDescription: A Schedule Identifier
Type: token
Path: Schedule.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription: A Schedule Identifier
Type: token
Path: Schedule.identifier
-
INCLUDE_ACTOR
Constant for fluent queries to be used to add include statements. Specifies the path value of "Schedule:actor".
-
-
Constructor Details
-
Schedule
public Schedule()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)- Specified by:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getIdentifier
Gets the value(s) for identifier (id). creating it if it does not exist. Will not returnnull
.Definition:
-
setIdentifier
Sets the value(s) for identifier (id)Definition:
-
addIdentifier
Adds and returns a new value for identifier (id)Definition:
-
addIdentifier
Adds a given new value for identifier (id)Definition:
- Parameters:
theValue
- The identifier to add (must not benull
)
-
getIdentifierFirstRep
Gets the first repetition for identifier (id), creating it if it does not already exist.Definition:
-
getType
Gets the value(s) for type (class). creating it if it does not exist. Will not returnnull
.Definition:
-
setType
Sets the value(s) for type (class)Definition:
-
addType
Adds and returns a new value for type (class)Definition:
-
addType
Adds a given new value for type (class)Definition:
- Parameters:
theValue
- The type to add (must not benull
)
-
getTypeFirstRep
Gets the first repetition for type (class), creating it if it does not already exist.Definition:
-
getActor
Gets the value(s) for actor (who.focus). creating it if it does not exist. Will not returnnull
.Definition:
-
setActor
Sets the value(s) for actor (who.focus)Definition:
-
getPlanningHorizon
Gets the value(s) for planningHorizon (when.planned). creating it if it does not exist. Will not returnnull
.Definition:
-
setPlanningHorizon
Sets the value(s) for planningHorizon (when.planned)Definition:
-
getCommentElement
Gets the value(s) for comment (). creating it if it does not exist. Will not returnnull
.Definition:
-
getComment
Gets the value(s) for comment (). creating it if it does not exist. This method may returnnull
.Definition:
-
setComment
Sets the value(s) for comment ()Definition:
-
setComment
Sets the value for comment ()Definition:
-
getResourceName
- Specified by:
getResourceName
in interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
- Specified by:
getStructureFhirVersionEnum
in interfaceorg.hl7.fhir.instance.model.api.IBaseResource
- Specified by:
getStructureFhirVersionEnum
in interfaceca.uhn.fhir.model.api.IResource
-