Class Slot
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.dstu2.resource.BaseResource
-
- ca.uhn.fhir.model.dstu2.resource.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
public class Slot extends BaseResource implements ca.uhn.fhir.model.api.IResource
HAPI/FHIR Slot Resource (workflow.scheduling)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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.rest.gclient.TokenClientParamFB_TYPEFluent Client search parameter constant for fb-typestatic ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.IncludeINCLUDE_SCHEDULEConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.rest.gclient.ReferenceClientParamSCHEDULEFluent Client search parameter constant for schedulestatic ca.uhn.fhir.rest.gclient.TokenClientParamSLOT_TYPEFluent Client search parameter constant for slot-typestatic StringSP_FB_TYPESearch parameter constant for fb-typestatic StringSP_IDENTIFIERSearch parameter constant for identifierstatic StringSP_SCHEDULESearch parameter constant for schedulestatic StringSP_SLOT_TYPESearch parameter constant for slot-typestatic StringSP_STARTSearch parameter constant for startstatic ca.uhn.fhir.rest.gclient.DateClientParamSTARTFluent Client search parameter constant for start-
Fields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID, SP_RES_LANGUAGE
-
-
Constructor Summary
Constructors Constructor Description Slot()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdentifierDtaddIdentifier()Adds and returns a new value for identifier (id)SlotaddIdentifier(IdentifierDt theValue)Adds a given new value for identifier (id)<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)StringgetComment()Gets the value(s) for comment ().ca.uhn.fhir.model.primitive.StringDtgetCommentElement()Gets the value(s) for comment ().DategetEnd()Gets the value(s) for end (when.planned).ca.uhn.fhir.model.primitive.InstantDtgetEndElement()Gets the value(s) for end (when.planned).StringgetFreeBusyType()Gets the value(s) for freeBusyType ().ca.uhn.fhir.model.primitive.BoundCodeDt<SlotStatusEnum>getFreeBusyTypeElement()Gets the value(s) for freeBusyType ().List<IdentifierDt>getIdentifier()Gets the value(s) for identifier (id).IdentifierDtgetIdentifierFirstRep()Gets the first repetition for identifier (id), creating it if it does not already exist.BooleangetOverbooked()Gets the value(s) for overbooked ().ca.uhn.fhir.model.primitive.BooleanDtgetOverbookedElement()Gets the value(s) for overbooked ().StringgetResourceName()ResourceReferenceDtgetSchedule()Gets the value(s) for schedule ().DategetStart()Gets the value(s) for start (when.planned).ca.uhn.fhir.model.primitive.InstantDtgetStartElement()Gets the value(s) for start (when.planned).ca.uhn.fhir.context.FhirVersionEnumgetStructureFhirVersionEnum()CodeableConceptDtgetType()Gets the value(s) for type (class).booleanisEmpty()SlotsetComment(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for comment ()SlotsetComment(String theString)Sets the value for comment ()SlotsetEnd(ca.uhn.fhir.model.primitive.InstantDt theValue)Sets the value(s) for end (when.planned)SlotsetEnd(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)Sets the value for end (when.planned)SlotsetEndWithMillisPrecision(Date theDate)Sets the value for end (when.planned)SlotsetFreeBusyType(SlotStatusEnum theValue)Sets the value(s) for freeBusyType ()SlotsetFreeBusyType(ca.uhn.fhir.model.primitive.BoundCodeDt<SlotStatusEnum> theValue)Sets the value(s) for freeBusyType ()SlotsetIdentifier(List<IdentifierDt> theValue)Sets the value(s) for identifier (id)SlotsetOverbooked(boolean theBoolean)Sets the value for overbooked ()SlotsetOverbooked(ca.uhn.fhir.model.primitive.BooleanDt theValue)Sets the value(s) for overbooked ()SlotsetSchedule(ResourceReferenceDt theValue)Sets the value(s) for schedule ()SlotsetStart(ca.uhn.fhir.model.primitive.InstantDt theValue)Sets the value(s) for start (when.planned)SlotsetStart(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)Sets the value for start (when.planned)SlotsetStartWithMillisPrecision(Date theDate)Sets the value for start (when.planned)SlotsetType(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
-
-
-
-
Field Detail
-
SP_SLOT_TYPE
public static final String 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:
- Constant Field Values
-
SLOT_TYPE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam 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
public static final String SP_SCHEDULE
Search parameter constant for scheduleDescription: The Schedule Resource that we are seeking a slot within
Type: reference
Path: Slot.schedule
- See Also:
- Constant Field Values
-
SCHEDULE
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam 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
public static final String SP_START
Search parameter constant for startDescription: Appointment date/time.
Type: date
Path: Slot.start
- See Also:
- Constant Field Values
-
START
public static final ca.uhn.fhir.rest.gclient.DateClientParam START
Fluent Client search parameter constant for startDescription: Appointment date/time.
Type: date
Path: Slot.start
-
SP_FB_TYPE
public static final String SP_FB_TYPE
Search parameter constant for fb-typeDescription: The free/busy status of the appointment
Type: token
Path: Slot.freeBusyType
- See Also:
- Constant Field Values
-
FB_TYPE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam FB_TYPE
Fluent Client search parameter constant for fb-typeDescription: The free/busy status of the appointment
Type: token
Path: Slot.freeBusyType
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter constant for identifierDescription: A Slot Identifier
Type: token
Path: Slot.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 Slot Identifier
Type: token
Path: Slot.identifier
-
INCLUDE_SCHEDULE
public static final ca.uhn.fhir.model.api.Include INCLUDE_SCHEDULE
Constant for fluent queries to be used to add include statements. Specifies the path value of "Slot:schedule".
-
-
Constructor Detail
-
Slot
public Slot()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin 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:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getIdentifier
public List<IdentifierDt> getIdentifier()
Gets the value(s) for identifier (id). creating it if it does not exist. Will not returnnull.Definition:
-
setIdentifier
public Slot setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier (id)Definition:
-
addIdentifier
public IdentifierDt addIdentifier()
Adds and returns a new value for identifier (id)Definition:
-
addIdentifier
public Slot addIdentifier(IdentifierDt theValue)
Adds a given new value for identifier (id)Definition:
- Parameters:
theValue- The identifier to add (must not benull)
-
getIdentifierFirstRep
public IdentifierDt getIdentifierFirstRep()
Gets the first repetition for identifier (id), creating it if it does not already exist.Definition:
-
getType
public CodeableConceptDt getType()
Gets the value(s) for type (class). creating it if it does not exist. Will not returnnull.Definition:
-
setType
public Slot setType(CodeableConceptDt theValue)
Sets the value(s) for type (class)Definition:
-
getSchedule
public ResourceReferenceDt getSchedule()
Gets the value(s) for schedule (). creating it if it does not exist. Will not returnnull.Definition:
-
setSchedule
public Slot setSchedule(ResourceReferenceDt theValue)
Sets the value(s) for schedule ()Definition:
-
getFreeBusyTypeElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<SlotStatusEnum> getFreeBusyTypeElement()
Gets the value(s) for freeBusyType (). creating it if it does not exist. Will not returnnull.Definition:
-
getFreeBusyType
public String getFreeBusyType()
Gets the value(s) for freeBusyType (). creating it if it does not exist. This method may returnnull.Definition:
-
setFreeBusyType
public Slot setFreeBusyType(ca.uhn.fhir.model.primitive.BoundCodeDt<SlotStatusEnum> theValue)
Sets the value(s) for freeBusyType ()Definition:
-
setFreeBusyType
public Slot setFreeBusyType(SlotStatusEnum theValue)
Sets the value(s) for freeBusyType ()Definition:
-
getStartElement
public ca.uhn.fhir.model.primitive.InstantDt getStartElement()
Gets the value(s) for start (when.planned). creating it if it does not exist. Will not returnnull.Definition:
-
getStart
public Date getStart()
Gets the value(s) for start (when.planned). creating it if it does not exist. This method may returnnull.Definition:
-
setStart
public Slot setStart(ca.uhn.fhir.model.primitive.InstantDt theValue)
Sets the value(s) for start (when.planned)Definition:
-
setStartWithMillisPrecision
public Slot setStartWithMillisPrecision(Date theDate)
Sets the value for start (when.planned)Definition:
-
setStart
public Slot setStart(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Sets the value for start (when.planned)Definition:
-
getEndElement
public ca.uhn.fhir.model.primitive.InstantDt getEndElement()
Gets the value(s) for end (when.planned). creating it if it does not exist. Will not returnnull.Definition:
-
getEnd
public Date getEnd()
Gets the value(s) for end (when.planned). creating it if it does not exist. This method may returnnull.Definition:
-
setEnd
public Slot setEnd(ca.uhn.fhir.model.primitive.InstantDt theValue)
Sets the value(s) for end (when.planned)Definition:
-
setEndWithMillisPrecision
public Slot setEndWithMillisPrecision(Date theDate)
Sets the value for end (when.planned)Definition:
-
setEnd
public Slot setEnd(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Sets the value for end (when.planned)Definition:
-
getOverbookedElement
public ca.uhn.fhir.model.primitive.BooleanDt getOverbookedElement()
Gets the value(s) for overbooked (). creating it if it does not exist. Will not returnnull.Definition:
-
getOverbooked
public Boolean getOverbooked()
Gets the value(s) for overbooked (). creating it if it does not exist. This method may returnnull.Definition:
-
setOverbooked
public Slot setOverbooked(ca.uhn.fhir.model.primitive.BooleanDt theValue)
Sets the value(s) for overbooked ()Definition:
-
setOverbooked
public Slot setOverbooked(boolean theBoolean)
Sets the value for overbooked ()Definition:
-
getCommentElement
public ca.uhn.fhir.model.primitive.StringDt getCommentElement()
Gets the value(s) for comment (). creating it if it does not exist. Will not returnnull.Definition:
-
getComment
public String getComment()
Gets the value(s) for comment (). creating it if it does not exist. This method may returnnull.Definition:
-
setComment
public Slot setComment(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for comment ()Definition:
-
setComment
public Slot setComment(String theString)
Sets the value for comment ()Definition:
-
getResourceName
public String getResourceName()
- Specified by:
getResourceNamein interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
- Specified by:
getStructureFhirVersionEnumin interfaceorg.hl7.fhir.instance.model.api.IBaseResource- Specified by:
getStructureFhirVersionEnumin interfaceca.uhn.fhir.model.api.IResource
-
-