public class Appointment extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Appointment complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Appointment">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
<element name="status" type="{http://hl7.org/fhir}AppointmentStatus"/>
<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="reason" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="priority" type="{http://hl7.org/fhir}unsignedInt" minOccurs="0"/>
<element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="start" type="{http://hl7.org/fhir}instant" minOccurs="0"/>
<element name="end" type="{http://hl7.org/fhir}instant" minOccurs="0"/>
<element name="minutesDuration" type="{http://hl7.org/fhir}positiveInt" minOccurs="0"/>
<element name="slot" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<element name="created" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
<element name="comment" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="participant" type="{http://hl7.org/fhir}Appointment.Participant" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected CodeableConcept |
appointmentType |
protected String |
comment |
protected DateTime |
created |
protected String |
description |
protected Instant |
end |
protected java.util.List<Identifier> |
identifier |
protected PositiveInt |
minutesDuration |
protected java.util.List<AppointmentParticipant> |
participant |
protected UnsignedInt |
priority |
protected CodeableConcept |
reason |
protected CodeableConcept |
serviceCategory |
protected java.util.List<CodeableConcept> |
serviceType |
protected java.util.List<Reference> |
slot |
protected java.util.List<CodeableConcept> |
specialty |
protected Instant |
start |
protected AppointmentStatus |
status |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Appointment() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
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.EqualsStrategy strategy) |
CodeableConcept |
getAppointmentType()
Gets the value of the appointmentType property.
|
String |
getComment()
Gets the value of the comment property.
|
DateTime |
getCreated()
Gets the value of the created property.
|
String |
getDescription()
Gets the value of the description property.
|
Instant |
getEnd()
Gets the value of the end property.
|
java.util.List<Identifier> |
getIdentifier()
Gets the value of the identifier property.
|
PositiveInt |
getMinutesDuration()
Gets the value of the minutesDuration property.
|
java.util.List<AppointmentParticipant> |
getParticipant()
Gets the value of the participant property.
|
UnsignedInt |
getPriority()
Gets the value of the priority property.
|
CodeableConcept |
getReason()
Gets the value of the reason property.
|
CodeableConcept |
getServiceCategory()
Gets the value of the serviceCategory property.
|
java.util.List<CodeableConcept> |
getServiceType()
Gets the value of the serviceType property.
|
java.util.List<Reference> |
getSlot()
Gets the value of the slot property.
|
java.util.List<CodeableConcept> |
getSpecialty()
Gets the value of the specialty property.
|
Instant |
getStart()
Gets the value of the start property.
|
AppointmentStatus |
getStatus()
Gets the value of the status property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAppointmentType(CodeableConcept value)
Sets the value of the appointmentType property.
|
void |
setComment(String value)
Sets the value of the comment property.
|
void |
setCreated(DateTime value)
Sets the value of the created property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setEnd(Instant value)
Sets the value of the end property.
|
void |
setMinutesDuration(PositiveInt value)
Sets the value of the minutesDuration property.
|
void |
setPriority(UnsignedInt value)
Sets the value of the priority property.
|
void |
setReason(CodeableConcept value)
Sets the value of the reason property.
|
void |
setServiceCategory(CodeableConcept value)
Sets the value of the serviceCategory property.
|
void |
setStart(Instant value)
Sets the value of the start property.
|
void |
setStatus(AppointmentStatus value)
Sets the value of the status property.
|
java.lang.String |
toString() |
Appointment |
withAppointmentType(CodeableConcept value) |
Appointment |
withComment(String value) |
Appointment |
withContained(java.util.Collection<ResourceContainer> values) |
Appointment |
withContained(ResourceContainer... values) |
Appointment |
withCreated(DateTime value) |
Appointment |
withDescription(String value) |
Appointment |
withEnd(Instant value) |
Appointment |
withExtension(java.util.Collection<Extension> values) |
Appointment |
withExtension(Extension... values) |
Appointment |
withId(Id value) |
Appointment |
withIdentifier(java.util.Collection<Identifier> values) |
Appointment |
withIdentifier(Identifier... values) |
Appointment |
withImplicitRules(Uri value) |
Appointment |
withLanguage(Code value) |
Appointment |
withMeta(Meta value) |
Appointment |
withMinutesDuration(PositiveInt value) |
Appointment |
withModifierExtension(java.util.Collection<Extension> values) |
Appointment |
withModifierExtension(Extension... values) |
Appointment |
withParticipant(AppointmentParticipant... values) |
Appointment |
withParticipant(java.util.Collection<AppointmentParticipant> values) |
Appointment |
withPriority(UnsignedInt value) |
Appointment |
withReason(CodeableConcept value) |
Appointment |
withServiceCategory(CodeableConcept value) |
Appointment |
withServiceType(CodeableConcept... values) |
Appointment |
withServiceType(java.util.Collection<CodeableConcept> values) |
Appointment |
withSlot(java.util.Collection<Reference> values) |
Appointment |
withSlot(Reference... values) |
Appointment |
withSpecialty(CodeableConcept... values) |
Appointment |
withSpecialty(java.util.Collection<CodeableConcept> values) |
Appointment |
withStart(Instant value) |
Appointment |
withStatus(AppointmentStatus value) |
Appointment |
withText(Narrative value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected java.util.List<Identifier> identifier
protected AppointmentStatus status
protected CodeableConcept serviceCategory
protected java.util.List<CodeableConcept> serviceType
protected java.util.List<CodeableConcept> specialty
protected CodeableConcept appointmentType
protected CodeableConcept reason
protected UnsignedInt priority
protected String description
protected Instant start
protected Instant end
protected PositiveInt minutesDuration
protected java.util.List<Reference> slot
protected DateTime created
protected String comment
protected java.util.List<AppointmentParticipant> participant
public java.util.List<Identifier> getIdentifier()
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 set method 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
public AppointmentStatus getStatus()
AppointmentStatuspublic void setStatus(AppointmentStatus value)
value - allowed object is
AppointmentStatuspublic CodeableConcept getServiceCategory()
CodeableConceptpublic void setServiceCategory(CodeableConcept value)
value - allowed object is
CodeableConceptpublic java.util.List<CodeableConcept> getServiceType()
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 set method 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
public java.util.List<CodeableConcept> getSpecialty()
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 set method 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
public CodeableConcept getAppointmentType()
CodeableConceptpublic void setAppointmentType(CodeableConcept value)
value - allowed object is
CodeableConceptpublic CodeableConcept getReason()
CodeableConceptpublic void setReason(CodeableConcept value)
value - allowed object is
CodeableConceptpublic UnsignedInt getPriority()
UnsignedIntpublic void setPriority(UnsignedInt value)
value - allowed object is
UnsignedIntpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic Instant getStart()
Instantpublic void setStart(Instant value)
value - allowed object is
Instantpublic Instant getEnd()
Instantpublic void setEnd(Instant value)
value - allowed object is
Instantpublic PositiveInt getMinutesDuration()
PositiveIntpublic void setMinutesDuration(PositiveInt value)
value - allowed object is
PositiveIntpublic java.util.List<Reference> getSlot()
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 set method for the slot property.
For example, to add a new item, do as follows:
getSlot().add(newItem);
Objects of the following type(s) are allowed in the list
Reference
public DateTime getCreated()
DateTimepublic void setCreated(DateTime value)
value - allowed object is
DateTimepublic String getComment()
Stringpublic void setComment(String value)
value - allowed object is
Stringpublic java.util.List<AppointmentParticipant> getParticipant()
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 set method for the participant property.
For example, to add a new item, do as follows:
getParticipant().add(newItem);
Objects of the following type(s) are allowed in the list
AppointmentParticipant
public Appointment withIdentifier(Identifier... values)
public Appointment withIdentifier(java.util.Collection<Identifier> values)
public Appointment withStatus(AppointmentStatus value)
public Appointment withServiceCategory(CodeableConcept value)
public Appointment withServiceType(CodeableConcept... values)
public Appointment withServiceType(java.util.Collection<CodeableConcept> values)
public Appointment withSpecialty(CodeableConcept... values)
public Appointment withSpecialty(java.util.Collection<CodeableConcept> values)
public Appointment withAppointmentType(CodeableConcept value)
public Appointment withReason(CodeableConcept value)
public Appointment withPriority(UnsignedInt value)
public Appointment withDescription(String value)
public Appointment withStart(Instant value)
public Appointment withEnd(Instant value)
public Appointment withMinutesDuration(PositiveInt value)
public Appointment withSlot(Reference... values)
public Appointment withSlot(java.util.Collection<Reference> values)
public Appointment withCreated(DateTime value)
public Appointment withComment(String value)
public Appointment withParticipant(AppointmentParticipant... values)
public Appointment withParticipant(java.util.Collection<AppointmentParticipant> values)
public Appointment withText(Narrative value)
withText in class DomainResourcepublic Appointment withContained(ResourceContainer... values)
withContained in class DomainResourcepublic Appointment withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic Appointment withExtension(Extension... values)
withExtension in class DomainResourcepublic Appointment withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic Appointment withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic Appointment withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic Appointment withId(Id value)
withId in class DomainResourcepublic Appointment withMeta(Meta value)
withMeta in class DomainResourcepublic Appointment withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic Appointment withLanguage(Code value)
withLanguage in class DomainResourcepublic 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.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class DomainResourcepublic boolean equals(java.lang.Object object)
equals in class DomainResourcepublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class DomainResourcepublic int hashCode()
hashCode in class DomainResourcepublic java.lang.String toString()
toString in class DomainResourcepublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class DomainResourcepublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class DomainResource