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 |
|---|---|
static String |
SP_FBTYPE |
static String |
SP_IDENTIFIER |
static String |
SP_SCHEDULE |
static String |
SP_SLOTTYPE |
static String |
SP_START |
| Constructor and Description |
|---|
Slot() |
Slot(Reference schedule,
Enumeration<Slot.SlotStatus> freeBusyType,
InstantType start,
InstantType end) |
addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetasetIdchildren, compareDeep, compareDeep, compareDeep, compareValues, compareValues, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasUserData, listChildrenByName, setUserData, setUserDataINNequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getMeta, setIdsetIdpublic static final String SP_SCHEDULE
public static final String SP_IDENTIFIER
public static final String SP_START
public static final String SP_SLOTTYPE
public static final String SP_FBTYPE
public Slot()
public Slot(Reference schedule, Enumeration<Slot.SlotStatus> freeBusyType, InstantType start, InstantType end)
public List<Identifier> getIdentifier()
identifier (External Ids for this item.)public boolean hasIdentifier()
public Identifier addIdentifier()
identifier (External Ids for this item.)public Slot addIdentifier(Identifier t)
public CodeableConcept getType()
type (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 boolean hasType()
public Slot setType(CodeableConcept value)
value - type (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 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> getFreeBusyTypeElement()
freeBusyType (busy | free | busy-unavailable | busy-tentative.). This is the underlying object with id, value and extensions. The accessor "getFreeBusyType" gives direct access to the valuepublic boolean hasFreeBusyTypeElement()
public boolean hasFreeBusyType()
public Slot setFreeBusyTypeElement(Enumeration<Slot.SlotStatus> value)
value - freeBusyType (busy | free | busy-unavailable | busy-tentative.). This is the underlying object with id, value and extensions. The accessor "getFreeBusyType" gives direct access to the valuepublic Slot.SlotStatus getFreeBusyType()
public Slot setFreeBusyType(Slot.SlotStatus value)
value - busy | free | busy-unavailable | busy-tentative.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 Date getStart()
public 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 Date getEnd()
public 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.public 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–2015 University Health Network. All rights reserved.