public class Slot extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
Slot.SlotStatus |
static class |
Slot.SlotStatusEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
protected CodeableConcept |
appointmentType
The style of appointment or patient that may be booked in the slot (not service type).
|
protected StringType |
comment
Comments on the slot to describe any extended information.
|
protected InstantType |
end
Date/Time that the slot is to conclude.
|
protected List<Identifier> |
identifier
External Ids for this item.
|
static TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static Include |
INCLUDE_SCHEDULE
Constant for fluent queries to be used to add include statements.
|
protected BooleanType |
overbooked
This slot has already been overbooked, appointments are unlikely to be accepted for this time.
|
protected Reference |
schedule
The schedule resource that this slot defines an interval of status information.
|
static ReferenceClientParam |
SCHEDULE
Fluent Client search parameter constant for schedule
|
protected Schedule |
scheduleTarget
The actual object that is the target of the reference (The schedule resource that this slot defines an interval of status information.)
|
protected CodeableConcept |
serviceCategory
A broad categorisation of the service that is to be performed during this appointment.
|
protected List<CodeableConcept> |
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).
|
static TokenClientParam |
SLOT_TYPE
Fluent Client search parameter constant for slot-type
|
static String |
SP_IDENTIFIER
Search parameter: identifier
|
static String |
SP_SCHEDULE
Search parameter: schedule
|
static String |
SP_SLOT_TYPE
Search parameter: slot-type
|
static String |
SP_START
Search parameter: start
|
static String |
SP_STATUS
Search parameter: status
|
protected List<CodeableConcept> |
specialty
The specialty of a practitioner that would be required to perform the service requested in this appointment.
|
protected InstantType |
start
Date/Time that the slot is to begin.
|
static DateClientParam |
START
Fluent Client search parameter constant for start
|
protected Enumeration<Slot.SlotStatus> |
status
busy | free | busy-unavailable | busy-tentative | entered-in-error.
|
static TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
contained, extension, modifierExtension, textid, implicitRules, language, metaRES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| Constructor and Description |
|---|
Slot()
Constructor
|
Slot(Reference schedule,
Enumeration<Slot.SlotStatus> status,
InstantType start,
InstantType end)
Constructor
|
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setTextcopyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, isResource, setIdcastToAddress, 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, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDatagetMeta, getStructureFhirVersionEnum, setIdgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected List<Identifier> identifier
protected CodeableConcept serviceCategory
protected List<CodeableConcept> serviceType
protected List<CodeableConcept> specialty
protected CodeableConcept appointmentType
protected Reference schedule
protected Schedule scheduleTarget
protected Enumeration<Slot.SlotStatus> status
protected InstantType start
protected InstantType end
protected BooleanType overbooked
protected StringType comment
public static final String SP_SCHEDULE
Description: The Schedule Resource that we are seeking a slot within
Type: reference
Path: Slot.schedule
public static final ReferenceClientParam SCHEDULE
Description: The Schedule Resource that we are seeking a slot within
Type: reference
Path: Slot.schedule
public static final Include INCLUDE_SCHEDULE
public static final String SP_IDENTIFIER
Description: A Slot Identifier
Type: token
Path: Slot.identifier
public static final TokenClientParam IDENTIFIER
Description: A Slot Identifier
Type: token
Path: Slot.identifier
public static final String SP_START
Description: Appointment date/time.
Type: date
Path: Slot.start
public static final DateClientParam START
Description: Appointment date/time.
Type: date
Path: Slot.start
public static final String SP_SLOT_TYPE
Description: The type of appointments that can be booked into the slot
Type: token
Path: Slot.serviceType
public static final TokenClientParam SLOT_TYPE
Description: The type of appointments that can be booked into the slot
Type: token
Path: Slot.serviceType
public static final String SP_STATUS
Description: The free/busy status of the appointment
Type: token
Path: Slot.status
public static final TokenClientParam STATUS
Description: The free/busy status of the appointment
Type: token
Path: Slot.status
public Slot()
public Slot(Reference schedule, Enumeration<Slot.SlotStatus> status, InstantType start, InstantType end)
public List<Identifier> getIdentifier()
identifier (External Ids for this item.)public Slot setIdentifier(List<Identifier> theIdentifier)
this for easy method chainingpublic boolean hasIdentifier()
public Identifier addIdentifier()
public Slot addIdentifier(Identifier t)
public Identifier getIdentifierFirstRep()
identifier, creating it if it does not already existpublic CodeableConcept getServiceCategory()
serviceCategory (A broad categorisation of the service that is to be performed during this appointment.)public boolean hasServiceCategory()
public Slot setServiceCategory(CodeableConcept value)
value - serviceCategory (A broad categorisation of the service that is to be performed during this appointment.)public List<CodeableConcept> getServiceType()
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.)public Slot setServiceType(List<CodeableConcept> theServiceType)
this for easy method chainingpublic boolean hasServiceType()
public CodeableConcept addServiceType()
public Slot addServiceType(CodeableConcept t)
public CodeableConcept getServiceTypeFirstRep()
serviceType, creating it if it does not already existpublic List<CodeableConcept> getSpecialty()
specialty (The specialty of a practitioner that would be required to perform the service requested in this appointment.)public Slot setSpecialty(List<CodeableConcept> theSpecialty)
this for easy method chainingpublic boolean hasSpecialty()
public CodeableConcept addSpecialty()
public Slot addSpecialty(CodeableConcept t)
public CodeableConcept getSpecialtyFirstRep()
specialty, creating it if it does not already existpublic CodeableConcept getAppointmentType()
appointmentType (The style of appointment or patient that may be booked in the slot (not service type).)public boolean hasAppointmentType()
public Slot setAppointmentType(CodeableConcept value)
value - appointmentType (The style of appointment or patient that may be booked in the slot (not service type).)public Reference getSchedule()
schedule (The schedule resource that this slot defines an interval of status information.)public boolean hasSchedule()
public Slot setSchedule(Reference value)
value - schedule (The schedule resource that this slot defines an interval of status information.)public Schedule getScheduleTarget()
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.)public Slot setScheduleTarget(Schedule value)
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.)public Enumeration<Slot.SlotStatus> getStatusElement()
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 valuepublic boolean hasStatusElement()
public boolean hasStatus()
public Slot setStatusElement(Enumeration<Slot.SlotStatus> value)
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 valuepublic Slot.SlotStatus getStatus()
public Slot setStatus(Slot.SlotStatus value)
value - busy | free | busy-unavailable | busy-tentative | entered-in-error.public InstantType getStartElement()
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 valuepublic boolean hasStartElement()
public boolean hasStart()
public Slot setStartElement(InstantType value)
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 valuepublic InstantType getEndElement()
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 valuepublic boolean hasEndElement()
public boolean hasEnd()
public Slot setEndElement(InstantType value)
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 valuepublic BooleanType getOverbookedElement()
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 valuepublic boolean hasOverbookedElement()
public boolean hasOverbooked()
public Slot setOverbookedElement(BooleanType value)
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 valuepublic boolean getOverbooked()
public Slot setOverbooked(boolean value)
value - This slot has already been overbooked, appointments are unlikely to be accepted for this time.public StringType getCommentElement()
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 valuepublic boolean hasCommentElement()
public boolean hasComment()
public Slot setCommentElement(StringType value)
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 valuepublic String getComment()
public Slot setComment(String value)
value - Comments on the slot to describe any extended information. Such as custom constraints on the slot.protected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException
getProperty in class DomainResourceFHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class DomainResourceFHIRExceptionpublic Base setProperty(String name, Base value) throws FHIRException
setProperty in class DomainResourceFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class DomainResourceFHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class DomainResourceFHIRExceptionpublic Base addChild(String name) throws FHIRException
addChild in class DomainResourceFHIRExceptionpublic String fhirType()
fhirType in class DomainResourcepublic Slot copy()
copy in class DomainResourcepublic boolean equalsDeep(Base other)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2017 University Health Network. All rights reserved.