Class Appointment
- java.lang.Object
-
- org.hl7.fhir.Resource
-
- org.hl7.fhir.DomainResource
-
- org.hl7.fhir.Appointment
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class Appointment 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 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>
-
-
Field Summary
Fields Modifier and Type Field Description protected CodeableConceptappointmentTypeprotected Stringcommentprotected DateTimecreatedprotected Stringdescriptionprotected Instantendprotected java.util.List<Identifier>identifierprotected PositiveIntminutesDurationprotected java.util.List<AppointmentParticipant>participantprotected UnsignedIntpriorityprotected CodeableConceptreasonprotected CodeableConceptserviceCategoryprotected java.util.List<CodeableConcept>serviceTypeprotected java.util.List<Reference>slotprotected java.util.List<CodeableConcept>specialtyprotected Instantstartprotected AppointmentStatusstatus-
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 Appointment()
-
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.DateTimegetCreated()Gets the value of the created property.StringgetDescription()Gets the value of the description property.InstantgetEnd()Gets the value of the end property.java.util.List<Identifier>getIdentifier()Gets the value of the identifier property.PositiveIntgetMinutesDuration()Gets the value of the minutesDuration property.java.util.List<AppointmentParticipant>getParticipant()Gets the value of the participant property.UnsignedIntgetPriority()Gets the value of the priority property.CodeableConceptgetReason()Gets the value of the reason property.CodeableConceptgetServiceCategory()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.InstantgetStart()Gets the value of the start property.AppointmentStatusgetStatus()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.voidsetCreated(DateTime value)Sets the value of the created property.voidsetDescription(String value)Sets the value of the description property.voidsetEnd(Instant value)Sets the value of the end property.voidsetMinutesDuration(PositiveInt value)Sets the value of the minutesDuration property.voidsetPriority(UnsignedInt value)Sets the value of the priority property.voidsetReason(CodeableConcept value)Sets the value of the reason property.voidsetServiceCategory(CodeableConcept value)Sets the value of the serviceCategory property.voidsetStart(Instant value)Sets the value of the start property.voidsetStatus(AppointmentStatus value)Sets the value of the status property.java.lang.StringtoString()AppointmentwithAppointmentType(CodeableConcept value)AppointmentwithComment(String value)AppointmentwithContained(java.util.Collection<ResourceContainer> values)AppointmentwithContained(ResourceContainer... values)AppointmentwithCreated(DateTime value)AppointmentwithDescription(String value)AppointmentwithEnd(Instant value)AppointmentwithExtension(java.util.Collection<Extension> values)AppointmentwithExtension(Extension... values)AppointmentwithId(Id value)AppointmentwithIdentifier(java.util.Collection<Identifier> values)AppointmentwithIdentifier(Identifier... values)AppointmentwithImplicitRules(Uri value)AppointmentwithLanguage(Code value)AppointmentwithMeta(Meta value)AppointmentwithMinutesDuration(PositiveInt value)AppointmentwithModifierExtension(java.util.Collection<Extension> values)AppointmentwithModifierExtension(Extension... values)AppointmentwithParticipant(java.util.Collection<AppointmentParticipant> values)AppointmentwithParticipant(AppointmentParticipant... values)AppointmentwithPriority(UnsignedInt value)AppointmentwithReason(CodeableConcept value)AppointmentwithServiceCategory(CodeableConcept value)AppointmentwithServiceType(java.util.Collection<CodeableConcept> values)AppointmentwithServiceType(CodeableConcept... values)AppointmentwithSlot(java.util.Collection<Reference> values)AppointmentwithSlot(Reference... values)AppointmentwithSpecialty(java.util.Collection<CodeableConcept> values)AppointmentwithSpecialty(CodeableConcept... values)AppointmentwithStart(Instant value)AppointmentwithStatus(AppointmentStatus value)AppointmentwithText(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
-
status
protected AppointmentStatus status
-
serviceCategory
protected CodeableConcept serviceCategory
-
serviceType
protected java.util.List<CodeableConcept> serviceType
-
specialty
protected java.util.List<CodeableConcept> specialty
-
appointmentType
protected CodeableConcept appointmentType
-
reason
protected CodeableConcept reason
-
priority
protected UnsignedInt priority
-
description
protected String description
-
start
protected Instant start
-
end
protected Instant end
-
minutesDuration
protected PositiveInt minutesDuration
-
slot
protected java.util.List<Reference> slot
-
created
protected DateTime created
-
comment
protected String comment
-
participant
protected java.util.List<AppointmentParticipant> participant
-
-
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
-
getStatus
public AppointmentStatus getStatus()
Gets the value of the status property.- Returns:
- possible object is
AppointmentStatus
-
setStatus
public void setStatus(AppointmentStatus value)
Sets the value of the status property.- Parameters:
value- allowed object isAppointmentStatus
-
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
-
getReason
public CodeableConcept getReason()
Gets the value of the reason property.- Returns:
- possible object is
CodeableConcept
-
setReason
public void setReason(CodeableConcept value)
Sets the value of the reason property.- Parameters:
value- allowed object isCodeableConcept
-
getPriority
public UnsignedInt getPriority()
Gets the value of the priority property.- Returns:
- possible object is
UnsignedInt
-
setPriority
public void setPriority(UnsignedInt value)
Sets the value of the priority property.- Parameters:
value- allowed object isUnsignedInt
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value- allowed object isString
-
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
-
getMinutesDuration
public PositiveInt getMinutesDuration()
Gets the value of the minutesDuration property.- Returns:
- possible object is
PositiveInt
-
setMinutesDuration
public void setMinutesDuration(PositiveInt value)
Sets the value of the minutesDuration property.- Parameters:
value- allowed object isPositiveInt
-
getSlot
public java.util.List<Reference> getSlot()
Gets the value of the slot 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 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
-
getCreated
public DateTime getCreated()
Gets the value of the created property.- Returns:
- possible object is
DateTime
-
setCreated
public void setCreated(DateTime value)
Sets the value of the created property.- Parameters:
value- allowed object isDateTime
-
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
-
getParticipant
public java.util.List<AppointmentParticipant> getParticipant()
Gets the value of the participant 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 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
-
withIdentifier
public Appointment withIdentifier(Identifier... values)
-
withIdentifier
public Appointment withIdentifier(java.util.Collection<Identifier> values)
-
withStatus
public Appointment withStatus(AppointmentStatus value)
-
withServiceCategory
public Appointment withServiceCategory(CodeableConcept value)
-
withServiceType
public Appointment withServiceType(CodeableConcept... values)
-
withServiceType
public Appointment withServiceType(java.util.Collection<CodeableConcept> values)
-
withSpecialty
public Appointment withSpecialty(CodeableConcept... values)
-
withSpecialty
public Appointment withSpecialty(java.util.Collection<CodeableConcept> values)
-
withAppointmentType
public Appointment withAppointmentType(CodeableConcept value)
-
withReason
public Appointment withReason(CodeableConcept value)
-
withPriority
public Appointment withPriority(UnsignedInt value)
-
withDescription
public Appointment withDescription(String value)
-
withStart
public Appointment withStart(Instant value)
-
withEnd
public Appointment withEnd(Instant value)
-
withMinutesDuration
public Appointment withMinutesDuration(PositiveInt value)
-
withSlot
public Appointment withSlot(Reference... values)
-
withSlot
public Appointment withSlot(java.util.Collection<Reference> values)
-
withCreated
public Appointment withCreated(DateTime value)
-
withComment
public Appointment withComment(String value)
-
withParticipant
public Appointment withParticipant(AppointmentParticipant... values)
-
withParticipant
public Appointment withParticipant(java.util.Collection<AppointmentParticipant> values)
-
withText
public Appointment withText(Narrative value)
- Overrides:
withTextin classDomainResource
-
withContained
public Appointment withContained(ResourceContainer... values)
- Overrides:
withContainedin classDomainResource
-
withContained
public Appointment withContained(java.util.Collection<ResourceContainer> values)
- Overrides:
withContainedin classDomainResource
-
withExtension
public Appointment withExtension(Extension... values)
- Overrides:
withExtensionin classDomainResource
-
withExtension
public Appointment withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
public Appointment withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
public Appointment withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classDomainResource
-
withId
public Appointment withId(Id value)
- Overrides:
withIdin classDomainResource
-
withMeta
public Appointment withMeta(Meta value)
- Overrides:
withMetain classDomainResource
-
withImplicitRules
public Appointment withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
public Appointment 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
-
-