Class Slot
- 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
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected CodeableConcept
The style of appointment or patient that may be booked in the slot (not service type).protected StringType
Comments on the slot to describe any extended information.protected InstantType
Date/Time that the slot is to conclude.protected List
<Identifier> External Ids for this item.static 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.protected BooleanType
This slot has already been overbooked, appointments are unlikely to be accepted for this time.protected Reference
The schedule resource that this slot defines an interval of status information.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for scheduleprotected Schedule
The actual object that is the target of the reference (The schedule resource that this slot defines an interval of status information.)protected CodeableConcept
A broad categorisation of the service that is to be performed during this appointment.protected List
<CodeableConcept> The type of appointments that can be booked into this slot (ideally this would be an identifiable service - which is at a location, rather than the location itself).static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for slot-typestatic final String
Search parameter: identifierstatic final String
Search parameter: schedulestatic final String
Search parameter: slot-typestatic final String
Search parameter: startstatic final String
Search parameter: statusprotected List
<CodeableConcept> The specialty of a practitioner that would be required to perform the service requested in this appointment.protected InstantType
Date/Time that the slot is to begin.static final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for startprotected Enumeration
<Slot.SlotStatus> busy | free | busy-unavailable | busy-tentative | entered-in-error.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for statusFields inherited from class org.hl7.fhir.dstu3.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.dstu3.model.Resource
id, implicitRules, language, meta
Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAG
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
ConstructorDescriptionSlot()
ConstructorSlot
(Reference schedule, Enumeration<Slot.SlotStatus> status, InstantType start, InstantType end) Constructor -
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
getEnd()
getNamedProperty
(int _hash, String _name, boolean _checkValid) boolean
Base[]
getProperty
(int hash, String name, boolean checkValid) getStart()
String[]
getTypesForProperty
(int hash, String name) boolean
boolean
boolean
boolean
hasEnd()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasStart()
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) setComment
(String value) setCommentElement
(StringType value) setEndElement
(InstantType value) setIdentifier
(List<Identifier> theIdentifier) setOverbooked
(boolean value) setOverbookedElement
(BooleanType value) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setSchedule
(Reference value) setScheduleTarget
(Schedule value) setServiceType
(List<CodeableConcept> theServiceType) setSpecialty
(List<CodeableConcept> theSpecialty) setStartElement
(InstantType value) setStatus
(Slot.SlotStatus value) protected Slot
Methods inherited from class org.hl7.fhir.dstu3.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
Methods inherited from class org.hl7.fhir.dstu3.model.Resource
copyValues, getId, getIdBase, getIdElement, getIdPart, getImplicitRules, getImplicitRulesElement, 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.dstu3.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
Methods inherited from class org.hl7.fhir.dstu3.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, 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
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatComment
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
identifier
External Ids for this item. -
serviceCategory
A broad categorisation of the service that is to be performed during this appointment. -
serviceType
The type of appointments that can be booked into this slot (ideally this would be an identifiable service - which is at a location, rather than the location itself). If provided then this overrides the value provided on the availability resource. -
specialty
The specialty of a practitioner that would be required to perform the service requested in this appointment. -
appointmentType
The style of appointment or patient that may be booked in the slot (not service type). -
schedule
The schedule resource that this slot defines an interval of status information. -
scheduleTarget
The actual object that is the target of the reference (The schedule resource that this slot defines an interval of status information.) -
status
busy | free | busy-unavailable | busy-tentative | entered-in-error. -
start
Date/Time that the slot is to begin. -
end
Date/Time that the slot is to conclude. -
overbooked
This slot has already been overbooked, appointments are unlikely to be accepted for this time. -
comment
Comments on the slot to describe any extended information. Such as custom constraints on the slot. -
SP_SCHEDULE
Search parameter: 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
-
INCLUDE_SCHEDULE
Constant for fluent queries to be used to add include statements. Specifies the path value of "Slot:schedule". -
SP_IDENTIFIER
Search parameter: 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
-
SP_START
Search parameter: 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_SLOT_TYPE
Search parameter: slot-typeDescription: The type of appointments that can be booked into the slot
Type: token
Path: Slot.serviceType
- 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.serviceType
-
SP_STATUS
Search parameter: statusDescription: The free/busy status of the appointment
Type: token
Path: Slot.status
- See Also:
-
STATUS
Fluent Client search parameter constant for statusDescription: The free/busy status of the appointment
Type: token
Path: Slot.status
-
-
Constructor Details
-
Slot
public Slot()Constructor -
Slot
public Slot(Reference schedule, Enumeration<Slot.SlotStatus> status, InstantType start, InstantType end) Constructor
-
-
Method Details
-
getIdentifier
- Returns:
identifier
(External Ids for this item.)
-
setIdentifier
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasIdentifier
-
addIdentifier
-
addIdentifier
-
getIdentifierFirstRep
- Returns:
- The first repetition of repeating field
identifier
, creating it if it does not already exist
-
getServiceCategory
- Returns:
serviceCategory
(A broad categorisation of the service that is to be performed during this appointment.)
-
hasServiceCategory
-
setServiceCategory
- Parameters:
value
-serviceCategory
(A broad categorisation of the service that is to be performed during this appointment.)
-
getServiceType
- Returns:
serviceType
(The type of appointments that can be booked into this slot (ideally this would be an identifiable service - which is at a location, rather than the location itself). If provided then this overrides the value provided on the availability resource.)
-
setServiceType
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasServiceType
-
addServiceType
-
addServiceType
-
getServiceTypeFirstRep
- Returns:
- The first repetition of repeating field
serviceType
, creating it if it does not already exist
-
getSpecialty
- Returns:
specialty
(The specialty of a practitioner that would be required to perform the service requested in this appointment.)
-
setSpecialty
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasSpecialty
-
addSpecialty
-
addSpecialty
-
getSpecialtyFirstRep
- Returns:
- The first repetition of repeating field
specialty
, creating it if it does not already exist
-
getAppointmentType
- Returns:
appointmentType
(The style of appointment or patient that may be booked in the slot (not service type).)
-
hasAppointmentType
-
setAppointmentType
- Parameters:
value
-appointmentType
(The style of appointment or patient that may be booked in the slot (not service type).)
-
getSchedule
- Returns:
schedule
(The schedule resource that this slot defines an interval of status information.)
-
hasSchedule
-
setSchedule
- Parameters:
value
-schedule
(The schedule resource that this slot defines an interval of status information.)
-
getScheduleTarget
- Returns:
schedule
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The schedule resource that this slot defines an interval of status information.)
-
setScheduleTarget
- Parameters:
value
-schedule
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The schedule resource that this slot defines an interval of status information.)
-
getStatusElement
- Returns:
status
(busy | free | busy-unavailable | busy-tentative | entered-in-error.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
-
hasStatus
-
setStatusElement
- Parameters:
value
-status
(busy | free | busy-unavailable | busy-tentative | entered-in-error.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
- Returns:
- busy | free | busy-unavailable | busy-tentative | entered-in-error.
-
setStatus
- Parameters:
value
- busy | free | busy-unavailable | busy-tentative | entered-in-error.
-
getStartElement
- Returns:
start
(Date/Time that the slot is to begin.). This is the underlying object with id, value and extensions. The accessor "getStart" gives direct access to the value
-
hasStartElement
-
hasStart
-
setStartElement
- Parameters:
value
-start
(Date/Time that the slot is to begin.). This is the underlying object with id, value and extensions. The accessor "getStart" gives direct access to the value
-
getStart
- Returns:
- Date/Time that the slot is to begin.
-
setStart
- Parameters:
value
- Date/Time that the slot is to begin.
-
getEndElement
- Returns:
end
(Date/Time that the slot is to conclude.). This is the underlying object with id, value and extensions. The accessor "getEnd" gives direct access to the value
-
hasEndElement
-
hasEnd
-
setEndElement
- Parameters:
value
-end
(Date/Time that the slot is to conclude.). This is the underlying object with id, value and extensions. The accessor "getEnd" gives direct access to the value
-
getEnd
- Returns:
- Date/Time that the slot is to conclude.
-
setEnd
- Parameters:
value
- Date/Time that the slot is to conclude.
-
getOverbookedElement
- Returns:
overbooked
(This slot has already been overbooked, appointments are unlikely to be accepted for this time.). This is the underlying object with id, value and extensions. The accessor "getOverbooked" gives direct access to the value
-
hasOverbookedElement
-
hasOverbooked
-
setOverbookedElement
- Parameters:
value
-overbooked
(This slot has already been overbooked, appointments are unlikely to be accepted for this time.). This is the underlying object with id, value and extensions. The accessor "getOverbooked" gives direct access to the value
-
getOverbooked
- Returns:
- This slot has already been overbooked, appointments are unlikely to be accepted for this time.
-
setOverbooked
- Parameters:
value
- This slot has already been overbooked, appointments are unlikely to be accepted for this time.
-
getCommentElement
- Returns:
comment
(Comments on the slot to describe any extended information. Such as custom constraints on the slot.). This is the underlying object with id, value and extensions. The accessor "getComment" gives direct access to the value
-
hasCommentElement
-
hasComment
-
setCommentElement
- Parameters:
value
-comment
(Comments on the slot to describe any extended information. Such as custom constraints on the slot.). This is the underlying object with id, value and extensions. The accessor "getComment" gives direct access to the value
-
getComment
- Returns:
- Comments on the slot to describe any extended information. Such as custom constraints on the slot.
-
setComment
- Parameters:
value
- Comments on the slot to describe any extended information. Such as custom constraints on the slot.
-
listChildren
- 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
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- 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
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
- Specified by:
copy
in classDomainResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
- Specified by:
getResourceType
in classResource
-