Class Slot
- 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
Definition: A slot of time on a schedule that may be available for booking appointments.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/Slot
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for fb-typestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for identifierstatic final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for schedulestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for slot-typestatic final String
Search parameter constant for fb-typestatic final String
Search parameter constant for identifierstatic final String
Search parameter constant for schedulestatic final String
Search parameter constant for slot-typestatic final String
Search parameter constant for startstatic final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for startFields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for identifier (id)addIdentifier
(IdentifierDt theValue) Adds a given new value for identifier (id)<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for comment ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for comment ().getEnd()
Gets the value(s) for end (when.planned).ca.uhn.fhir.model.primitive.InstantDt
Gets the value(s) for end (when.planned).Gets the value(s) for freeBusyType ().ca.uhn.fhir.model.primitive.BoundCodeDt
<SlotStatusEnum> Gets the value(s) for freeBusyType ().Gets the value(s) for identifier (id).Gets the first repetition for identifier (id), creating it if it does not already exist.Gets the value(s) for overbooked ().ca.uhn.fhir.model.primitive.BooleanDt
Gets the value(s) for overbooked ().Gets the value(s) for schedule ().getStart()
Gets the value(s) for start (when.planned).ca.uhn.fhir.model.primitive.InstantDt
Gets the value(s) for start (when.planned).ca.uhn.fhir.context.FhirVersionEnum
getType()
Gets the value(s) for type (class).boolean
isEmpty()
setComment
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for comment ()setComment
(String theString) Sets the value for comment ()setEnd
(ca.uhn.fhir.model.primitive.InstantDt theValue) Sets the value(s) for end (when.planned)Sets the value for end (when.planned)setEndWithMillisPrecision
(Date theDate) Sets the value for end (when.planned)setFreeBusyType
(SlotStatusEnum theValue) Sets the value(s) for freeBusyType ()setFreeBusyType
(ca.uhn.fhir.model.primitive.BoundCodeDt<SlotStatusEnum> theValue) Sets the value(s) for freeBusyType ()setIdentifier
(List<IdentifierDt> theValue) Sets the value(s) for identifier (id)setOverbooked
(boolean theBoolean) Sets the value for overbooked ()setOverbooked
(ca.uhn.fhir.model.primitive.BooleanDt theValue) Sets the value(s) for overbooked ()setSchedule
(ResourceReferenceDt theValue) Sets the value(s) for schedule ()setStart
(ca.uhn.fhir.model.primitive.InstantDt theValue) Sets the value(s) for start (when.planned)Sets the value for start (when.planned)setStartWithMillisPrecision
(Date theDate) Sets the value for start (when.planned)setType
(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, isDeleted, setId, setId
Methods inherited from interface ca.uhn.fhir.model.api.IResource
getContained, getId, getLanguage, getMeta, getResourceMetadata, getText, setId, setLanguage, setResourceMetadata
-
Field Details
-
SP_SLOT_TYPE
Search parameter constant for slot-typeDescription: The type of appointments that can be booked into the slot
Type: token
Path: Slot.type
- See Also:
-
SLOT_TYPE
Fluent Client search parameter constant for slot-typeDescription: The type of appointments that can be booked into the slot
Type: token
Path: Slot.type
-
SP_SCHEDULE
Search parameter constant for scheduleDescription: The Schedule Resource that we are seeking a slot within
Type: reference
Path: Slot.schedule
- See Also:
-
SCHEDULE
Fluent Client search parameter constant for scheduleDescription: The Schedule Resource that we are seeking a slot within
Type: reference
Path: Slot.schedule
-
SP_START
Search parameter constant for startDescription: Appointment date/time.
Type: date
Path: Slot.start
- See Also:
-
START
Fluent Client search parameter constant for startDescription: Appointment date/time.
Type: date
Path: Slot.start
-
SP_FB_TYPE
Search parameter constant for fb-typeDescription: The free/busy status of the appointment
Type: token
Path: Slot.freeBusyType
- See Also:
-
FB_TYPE
Fluent Client search parameter constant for fb-typeDescription: The free/busy status of the appointment
Type: token
Path: Slot.freeBusyType
-
SP_IDENTIFIER
Search parameter constant for identifierDescription: A Slot Identifier
Type: token
Path: Slot.identifier
- See Also:
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription: A Slot Identifier
Type: token
Path: Slot.identifier
-
INCLUDE_SCHEDULE
Constant for fluent queries to be used to add include statements. Specifies the path value of "Slot:schedule".
-
-
Constructor Details
-
Slot
public Slot()
-
-
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:
-
getSchedule
Gets the value(s) for schedule (). creating it if it does not exist. Will not returnnull
.Definition:
-
setSchedule
Sets the value(s) for schedule ()Definition:
-
getFreeBusyTypeElement
Gets the value(s) for freeBusyType (). creating it if it does not exist. Will not returnnull
.Definition:
-
getFreeBusyType
Gets the value(s) for freeBusyType (). creating it if it does not exist. This method may returnnull
.Definition:
-
setFreeBusyType
Sets the value(s) for freeBusyType ()Definition:
-
setFreeBusyType
Sets the value(s) for freeBusyType ()Definition:
-
getStartElement
Gets the value(s) for start (when.planned). creating it if it does not exist. Will not returnnull
.Definition:
-
getStart
Gets the value(s) for start (when.planned). creating it if it does not exist. This method may returnnull
.Definition:
-
setStart
Sets the value(s) for start (when.planned)Definition:
-
setStartWithMillisPrecision
Sets the value for start (when.planned)Definition:
-
setStart
Sets the value for start (when.planned)Definition:
-
getEndElement
Gets the value(s) for end (when.planned). creating it if it does not exist. Will not returnnull
.Definition:
-
getEnd
Gets the value(s) for end (when.planned). creating it if it does not exist. This method may returnnull
.Definition:
-
setEnd
Sets the value(s) for end (when.planned)Definition:
-
setEndWithMillisPrecision
Sets the value for end (when.planned)Definition:
-
setEnd
Sets the value for end (when.planned)Definition:
-
getOverbookedElement
Gets the value(s) for overbooked (). creating it if it does not exist. Will not returnnull
.Definition:
-
getOverbooked
Gets the value(s) for overbooked (). creating it if it does not exist. This method may returnnull
.Definition:
-
setOverbooked
Sets the value(s) for overbooked ()Definition:
-
setOverbooked
Sets the value for overbooked ()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
-