Class Slot
- java.lang.Object
-
- org.hl7.fhir.Resource
-
- org.hl7.fhir.DomainResource
-
- org.hl7.fhir.Slot
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class Slot extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
If the element is present, it must have either a @value, an @id, or extensionsJava class for Slot complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Slot"> <complexContent> <extension base="{http://hl7.org/fhir}DomainResource"> <sequence> <element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/> <element name="serviceCategory" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/> <element name="serviceType" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/> <element name="specialty" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/> <element name="appointmentType" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/> <element name="schedule" type="{http://hl7.org/fhir}Reference"/> <element name="status" type="{http://hl7.org/fhir}SlotStatus"/> <element name="start" type="{http://hl7.org/fhir}instant"/> <element name="end" type="{http://hl7.org/fhir}instant"/> <element name="overbooked" type="{http://hl7.org/fhir}boolean" minOccurs="0"/> <element name="comment" type="{http://hl7.org/fhir}string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected CodeableConceptappointmentTypeprotected Stringcommentprotected Instantendprotected java.util.List<Identifier>identifierprotected Booleanoverbookedprotected Referencescheduleprotected CodeableConceptserviceCategoryprotected java.util.List<CodeableConcept>serviceTypeprotected java.util.List<CodeableConcept>specialtyprotected Instantstartprotected SlotStatusstatus-
Fields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description Slot()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)CodeableConceptgetAppointmentType()Gets the value of the appointmentType property.StringgetComment()Gets the value of the comment property.InstantgetEnd()Gets the value of the end property.java.util.List<Identifier>getIdentifier()Gets the value of the identifier property.BooleangetOverbooked()Gets the value of the overbooked property.ReferencegetSchedule()Gets the value of the schedule property.CodeableConceptgetServiceCategory()Gets the value of the serviceCategory property.java.util.List<CodeableConcept>getServiceType()Gets the value of the serviceType property.java.util.List<CodeableConcept>getSpecialty()Gets the value of the specialty property.InstantgetStart()Gets the value of the start property.SlotStatusgetStatus()Gets the value of the status property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetAppointmentType(CodeableConcept value)Sets the value of the appointmentType property.voidsetComment(String value)Sets the value of the comment property.voidsetEnd(Instant value)Sets the value of the end property.voidsetOverbooked(Boolean value)Sets the value of the overbooked property.voidsetSchedule(Reference value)Sets the value of the schedule property.voidsetServiceCategory(CodeableConcept value)Sets the value of the serviceCategory property.voidsetStart(Instant value)Sets the value of the start property.voidsetStatus(SlotStatus value)Sets the value of the status property.java.lang.StringtoString()SlotwithAppointmentType(CodeableConcept value)SlotwithComment(String value)SlotwithContained(java.util.Collection<ResourceContainer> values)SlotwithContained(ResourceContainer... values)SlotwithEnd(Instant value)SlotwithExtension(java.util.Collection<Extension> values)SlotwithExtension(Extension... values)SlotwithId(Id value)SlotwithIdentifier(java.util.Collection<Identifier> values)SlotwithIdentifier(Identifier... values)SlotwithImplicitRules(Uri value)SlotwithLanguage(Code value)SlotwithMeta(Meta value)SlotwithModifierExtension(java.util.Collection<Extension> values)SlotwithModifierExtension(Extension... values)SlotwithOverbooked(Boolean value)SlotwithSchedule(Reference value)SlotwithServiceCategory(CodeableConcept value)SlotwithServiceType(java.util.Collection<CodeableConcept> values)SlotwithServiceType(CodeableConcept... values)SlotwithSpecialty(java.util.Collection<CodeableConcept> values)SlotwithSpecialty(CodeableConcept... values)SlotwithStart(Instant value)SlotwithStatus(SlotStatus value)SlotwithText(Narrative value)-
Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setText
-
Methods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
-
-
-
Field Detail
-
identifier
protected java.util.List<Identifier> identifier
-
serviceCategory
protected CodeableConcept serviceCategory
-
serviceType
protected java.util.List<CodeableConcept> serviceType
-
specialty
protected java.util.List<CodeableConcept> specialty
-
appointmentType
protected CodeableConcept appointmentType
-
schedule
protected Reference schedule
-
status
protected SlotStatus status
-
start
protected Instant start
-
end
protected Instant end
-
overbooked
protected Boolean overbooked
-
comment
protected String comment
-
-
Method Detail
-
getIdentifier
public java.util.List<Identifier> getIdentifier()
Gets the value of the identifier property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the identifier property.For example, to add a new item, do as follows:
getIdentifier().add(newItem);Objects of the following type(s) are allowed in the list
Identifier
-
getServiceCategory
public CodeableConcept getServiceCategory()
Gets the value of the serviceCategory property.- Returns:
- possible object is
CodeableConcept
-
setServiceCategory
public void setServiceCategory(CodeableConcept value)
Sets the value of the serviceCategory property.- Parameters:
value- allowed object isCodeableConcept
-
getServiceType
public java.util.List<CodeableConcept> getServiceType()
Gets the value of the serviceType property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the serviceType property.For example, to add a new item, do as follows:
getServiceType().add(newItem);Objects of the following type(s) are allowed in the list
CodeableConcept
-
getSpecialty
public java.util.List<CodeableConcept> getSpecialty()
Gets the value of the specialty property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the specialty property.For example, to add a new item, do as follows:
getSpecialty().add(newItem);Objects of the following type(s) are allowed in the list
CodeableConcept
-
getAppointmentType
public CodeableConcept getAppointmentType()
Gets the value of the appointmentType property.- Returns:
- possible object is
CodeableConcept
-
setAppointmentType
public void setAppointmentType(CodeableConcept value)
Sets the value of the appointmentType property.- Parameters:
value- allowed object isCodeableConcept
-
getSchedule
public Reference getSchedule()
Gets the value of the schedule property.- Returns:
- possible object is
Reference
-
setSchedule
public void setSchedule(Reference value)
Sets the value of the schedule property.- Parameters:
value- allowed object isReference
-
getStatus
public SlotStatus getStatus()
Gets the value of the status property.- Returns:
- possible object is
SlotStatus
-
setStatus
public void setStatus(SlotStatus value)
Sets the value of the status property.- Parameters:
value- allowed object isSlotStatus
-
getStart
public Instant getStart()
Gets the value of the start property.- Returns:
- possible object is
Instant
-
setStart
public void setStart(Instant value)
Sets the value of the start property.- Parameters:
value- allowed object isInstant
-
getEnd
public Instant getEnd()
Gets the value of the end property.- Returns:
- possible object is
Instant
-
setEnd
public void setEnd(Instant value)
Sets the value of the end property.- Parameters:
value- allowed object isInstant
-
getOverbooked
public Boolean getOverbooked()
Gets the value of the overbooked property.- Returns:
- possible object is
Boolean
-
setOverbooked
public void setOverbooked(Boolean value)
Sets the value of the overbooked property.- Parameters:
value- allowed object isBoolean
-
getComment
public String getComment()
Gets the value of the comment property.- Returns:
- possible object is
String
-
setComment
public void setComment(String value)
Sets the value of the comment property.- Parameters:
value- allowed object isString
-
withIdentifier
public Slot withIdentifier(Identifier... values)
-
withIdentifier
public Slot withIdentifier(java.util.Collection<Identifier> values)
-
withServiceCategory
public Slot withServiceCategory(CodeableConcept value)
-
withServiceType
public Slot withServiceType(CodeableConcept... values)
-
withServiceType
public Slot withServiceType(java.util.Collection<CodeableConcept> values)
-
withSpecialty
public Slot withSpecialty(CodeableConcept... values)
-
withSpecialty
public Slot withSpecialty(java.util.Collection<CodeableConcept> values)
-
withAppointmentType
public Slot withAppointmentType(CodeableConcept value)
-
withStatus
public Slot withStatus(SlotStatus value)
-
withText
public Slot withText(Narrative value)
- Overrides:
withTextin classDomainResource
-
withContained
public Slot withContained(ResourceContainer... values)
- Overrides:
withContainedin classDomainResource
-
withContained
public Slot withContained(java.util.Collection<ResourceContainer> values)
- Overrides:
withContainedin classDomainResource
-
withExtension
public Slot withExtension(Extension... values)
- Overrides:
withExtensionin classDomainResource
-
withExtension
public Slot withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
public Slot withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
public Slot withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classDomainResource
-
withId
public Slot withId(Id value)
- Overrides:
withIdin classDomainResource
-
withMeta
public Slot withMeta(Meta value)
- Overrides:
withMetain classDomainResource
-
withImplicitRules
public Slot withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
public Slot withLanguage(Code value)
- Overrides:
withLanguagein classDomainResource
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classDomainResource
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classDomainResource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDomainResource
-
toString
public java.lang.String toString()
- Overrides:
toStringin classDomainResource
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
-