public class Slot extends BaseResource implements ca.uhn.fhir.model.api.IResource
Definition: A slot of time on a schedule that may be available for booking appointments.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/Slot
| Modifier and Type | Field and Description |
|---|---|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
FB_TYPE
Fluent Client search parameter constant for fb-type
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_SCHEDULE
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
SCHEDULE
Fluent Client search parameter constant for schedule
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
SLOT_TYPE
Fluent Client search parameter constant for slot-type
|
static String |
SP_FB_TYPE
Search parameter constant for fb-type
|
static String |
SP_IDENTIFIER
Search parameter constant for identifier
|
static String |
SP_SCHEDULE
Search parameter constant for schedule
|
static String |
SP_SLOT_TYPE
Search parameter constant for slot-type
|
static String |
SP_START
Search parameter constant for start
|
static ca.uhn.fhir.rest.gclient.DateClientParam |
START
Fluent Client search parameter constant for start
|
RES_ID, SP_RES_ID, SP_RES_LANGUAGE| Constructor and Description |
|---|
Slot() |
| Modifier and Type | Method and Description |
|---|---|
IdentifierDt |
addIdentifier()
Adds and returns a new value for identifier (id)
|
Slot |
addIdentifier(IdentifierDt theValue)
Adds a given new value for identifier (id)
|
<T extends ca.uhn.fhir.model.api.IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
String |
getComment()
Gets the value(s) for comment ().
|
ca.uhn.fhir.model.primitive.StringDt |
getCommentElement()
Gets the value(s) for comment ().
|
Date |
getEnd()
Gets the value(s) for end (when.planned).
|
ca.uhn.fhir.model.primitive.InstantDt |
getEndElement()
Gets the value(s) for end (when.planned).
|
String |
getFreeBusyType()
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).
|
IdentifierDt |
getIdentifierFirstRep()
Gets the first repetition for identifier (id),
creating it if it does not already exist.
|
Boolean |
getOverbooked()
Gets the value(s) for overbooked ().
|
ca.uhn.fhir.model.primitive.BooleanDt |
getOverbookedElement()
Gets the value(s) for overbooked ().
|
String |
getResourceName() |
ResourceReferenceDt |
getSchedule()
Gets the value(s) for schedule ().
|
Date |
getStart()
Gets the value(s) for start (when.planned).
|
ca.uhn.fhir.model.primitive.InstantDt |
getStartElement()
Gets the value(s) for start (when.planned).
|
ca.uhn.fhir.context.FhirVersionEnum |
getStructureFhirVersionEnum() |
CodeableConceptDt |
getType()
Gets the value(s) for type (class).
|
boolean |
isEmpty() |
Slot |
setComment(String theString)
Sets the value for comment ()
|
Slot |
setComment(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for comment ()
|
Slot |
setEnd(Date theDate,
ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Sets the value for end (when.planned)
|
Slot |
setEnd(ca.uhn.fhir.model.primitive.InstantDt theValue)
Sets the value(s) for end (when.planned)
|
Slot |
setEndWithMillisPrecision(Date theDate)
Sets the value for end (when.planned)
|
Slot |
setFreeBusyType(ca.uhn.fhir.model.primitive.BoundCodeDt<SlotStatusEnum> theValue)
Sets the value(s) for freeBusyType ()
|
Slot |
setFreeBusyType(SlotStatusEnum theValue)
Sets the value(s) for freeBusyType ()
|
Slot |
setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier (id)
|
Slot |
setOverbooked(boolean theBoolean)
Sets the value for overbooked ()
|
Slot |
setOverbooked(ca.uhn.fhir.model.primitive.BooleanDt theValue)
Sets the value(s) for overbooked ()
|
Slot |
setSchedule(ResourceReferenceDt theValue)
Sets the value(s) for schedule ()
|
Slot |
setStart(Date theDate,
ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Sets the value for start (when.planned)
|
Slot |
setStart(ca.uhn.fhir.model.primitive.InstantDt theValue)
Sets the value(s) for start (when.planned)
|
Slot |
setStartWithMillisPrecision(Date theDate)
Sets the value for start (when.planned)
|
Slot |
setType(CodeableConceptDt theValue)
Sets the value(s) for type (class)
|
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toStringaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, hasFormatCommentclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final String SP_SLOT_TYPE
Description: The type of appointments that can be booked into the slot
Type: token
Path: Slot.type
public static final ca.uhn.fhir.rest.gclient.TokenClientParam SLOT_TYPE
Description: The type of appointments that can be booked into the slot
Type: token
Path: Slot.type
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 ca.uhn.fhir.rest.gclient.ReferenceClientParam SCHEDULE
Description: The Schedule Resource that we are seeking a slot within
Type: reference
Path: Slot.schedule
public static final String SP_START
Description: Appointment date/time.
Type: date
Path: Slot.start
public static final ca.uhn.fhir.rest.gclient.DateClientParam START
Description: Appointment date/time.
Type: date
Path: Slot.start
public static final String SP_FB_TYPE
Description: The free/busy status of the appointment
Type: token
Path: Slot.freeBusyType
public static final ca.uhn.fhir.rest.gclient.TokenClientParam FB_TYPE
Description: The free/busy status of the appointment
Type: token
Path: Slot.freeBusyType
public static final String SP_IDENTIFIER
Description: A Slot Identifier
Type: token
Path: Slot.identifier
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Description: A Slot Identifier
Type: token
Path: Slot.identifier
public static final ca.uhn.fhir.model.api.Include INCLUDE_SCHEDULE
public Slot()
public boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBasepublic <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.ICompositeElementpublic List<IdentifierDt> getIdentifier()
null.
Definition:
public Slot setIdentifier(List<IdentifierDt> theValue)
Definition:
public IdentifierDt addIdentifier()
Definition:
public Slot addIdentifier(IdentifierDt theValue)
Definition:
theValue - The identifier to add (must not be null)public IdentifierDt getIdentifierFirstRep()
Definition:
public CodeableConceptDt getType()
null.
Definition:
public Slot setType(CodeableConceptDt theValue)
Definition:
public ResourceReferenceDt getSchedule()
null.
Definition:
public Slot setSchedule(ResourceReferenceDt theValue)
Definition:
public ca.uhn.fhir.model.primitive.BoundCodeDt<SlotStatusEnum> getFreeBusyTypeElement()
null.
Definition:
public String getFreeBusyType()
null.
Definition:
public Slot setFreeBusyType(ca.uhn.fhir.model.primitive.BoundCodeDt<SlotStatusEnum> theValue)
Definition:
public Slot setFreeBusyType(SlotStatusEnum theValue)
Definition:
public ca.uhn.fhir.model.primitive.InstantDt getStartElement()
null.
Definition:
public Date getStart()
null.
Definition:
public Slot setStart(ca.uhn.fhir.model.primitive.InstantDt theValue)
Definition:
public Slot setStartWithMillisPrecision(Date theDate)
Definition:
public Slot setStart(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Definition:
public ca.uhn.fhir.model.primitive.InstantDt getEndElement()
null.
Definition:
public Date getEnd()
null.
Definition:
public Slot setEnd(ca.uhn.fhir.model.primitive.InstantDt theValue)
Definition:
public Slot setEndWithMillisPrecision(Date theDate)
Definition:
public Slot setEnd(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Definition:
public ca.uhn.fhir.model.primitive.BooleanDt getOverbookedElement()
null.
Definition:
public Boolean getOverbooked()
null.
Definition:
public Slot setOverbooked(ca.uhn.fhir.model.primitive.BooleanDt theValue)
Definition:
public Slot setOverbooked(boolean theBoolean)
Definition:
public ca.uhn.fhir.model.primitive.StringDt getCommentElement()
null.
Definition:
public String getComment()
null.
Definition:
public Slot setComment(ca.uhn.fhir.model.primitive.StringDt theValue)
Definition:
public Slot setComment(String theString)
Definition:
public String getResourceName()
getResourceName in interface ca.uhn.fhir.model.api.IResourcepublic ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
getStructureFhirVersionEnum in interface ca.uhn.fhir.model.api.IResourcegetStructureFhirVersionEnum in interface org.hl7.fhir.instance.model.api.IBaseResourceCopyright © 2014–2018 University Health Network. All rights reserved.