Class AppointmentResponse
- java.lang.Object
-
- org.hl7.fhir.Resource
-
- org.hl7.fhir.DomainResource
-
- org.hl7.fhir.AppointmentResponse
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class AppointmentResponse 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 AppointmentResponse complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AppointmentResponse"> <complexContent> <extension base="{http://hl7.org/fhir}DomainResource"> <sequence> <element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/> <element name="appointment" type="{http://hl7.org/fhir}Reference"/> <element name="start" type="{http://hl7.org/fhir}instant" minOccurs="0"/> <element name="end" type="{http://hl7.org/fhir}instant" minOccurs="0"/> <element name="participantType" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/> <element name="actor" type="{http://hl7.org/fhir}Reference" minOccurs="0"/> <element name="participantStatus" type="{http://hl7.org/fhir}code"/> <element name="comment" type="{http://hl7.org/fhir}string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected Referenceactorprotected Referenceappointmentprotected Stringcommentprotected Instantendprotected java.util.List<Identifier>identifierprotected CodeparticipantStatusprotected java.util.List<CodeableConcept>participantTypeprotected Instantstart-
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 AppointmentResponse()
-
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)ReferencegetActor()Gets the value of the actor property.ReferencegetAppointment()Gets the value of the appointment 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.CodegetParticipantStatus()Gets the value of the participantStatus property.java.util.List<CodeableConcept>getParticipantType()Gets the value of the participantType property.InstantgetStart()Gets the value of the start property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetActor(Reference value)Sets the value of the actor property.voidsetAppointment(Reference value)Sets the value of the appointment property.voidsetComment(String value)Sets the value of the comment property.voidsetEnd(Instant value)Sets the value of the end property.voidsetParticipantStatus(Code value)Sets the value of the participantStatus property.voidsetStart(Instant value)Sets the value of the start property.java.lang.StringtoString()AppointmentResponsewithActor(Reference value)AppointmentResponsewithAppointment(Reference value)AppointmentResponsewithComment(String value)AppointmentResponsewithContained(java.util.Collection<ResourceContainer> values)AppointmentResponsewithContained(ResourceContainer... values)AppointmentResponsewithEnd(Instant value)AppointmentResponsewithExtension(java.util.Collection<Extension> values)AppointmentResponsewithExtension(Extension... values)AppointmentResponsewithId(Id value)AppointmentResponsewithIdentifier(java.util.Collection<Identifier> values)AppointmentResponsewithIdentifier(Identifier... values)AppointmentResponsewithImplicitRules(Uri value)AppointmentResponsewithLanguage(Code value)AppointmentResponsewithMeta(Meta value)AppointmentResponsewithModifierExtension(java.util.Collection<Extension> values)AppointmentResponsewithModifierExtension(Extension... values)AppointmentResponsewithParticipantStatus(Code value)AppointmentResponsewithParticipantType(java.util.Collection<CodeableConcept> values)AppointmentResponsewithParticipantType(CodeableConcept... values)AppointmentResponsewithStart(Instant value)AppointmentResponsewithText(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
-
appointment
protected Reference appointment
-
start
protected Instant start
-
end
protected Instant end
-
participantType
protected java.util.List<CodeableConcept> participantType
-
actor
protected Reference actor
-
participantStatus
protected Code participantStatus
-
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
-
getAppointment
public Reference getAppointment()
Gets the value of the appointment property.- Returns:
- possible object is
Reference
-
setAppointment
public void setAppointment(Reference value)
Sets the value of the appointment property.- Parameters:
value- allowed object isReference
-
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
-
getParticipantType
public java.util.List<CodeableConcept> getParticipantType()
Gets the value of the participantType 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 participantType property.For example, to add a new item, do as follows:
getParticipantType().add(newItem);Objects of the following type(s) are allowed in the list
CodeableConcept
-
getActor
public Reference getActor()
Gets the value of the actor property.- Returns:
- possible object is
Reference
-
setActor
public void setActor(Reference value)
Sets the value of the actor property.- Parameters:
value- allowed object isReference
-
getParticipantStatus
public Code getParticipantStatus()
Gets the value of the participantStatus property.- Returns:
- possible object is
Code
-
setParticipantStatus
public void setParticipantStatus(Code value)
Sets the value of the participantStatus property.- Parameters:
value- allowed object isCode
-
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 AppointmentResponse withIdentifier(Identifier... values)
-
withIdentifier
public AppointmentResponse withIdentifier(java.util.Collection<Identifier> values)
-
withAppointment
public AppointmentResponse withAppointment(Reference value)
-
withStart
public AppointmentResponse withStart(Instant value)
-
withEnd
public AppointmentResponse withEnd(Instant value)
-
withParticipantType
public AppointmentResponse withParticipantType(CodeableConcept... values)
-
withParticipantType
public AppointmentResponse withParticipantType(java.util.Collection<CodeableConcept> values)
-
withActor
public AppointmentResponse withActor(Reference value)
-
withParticipantStatus
public AppointmentResponse withParticipantStatus(Code value)
-
withComment
public AppointmentResponse withComment(String value)
-
withText
public AppointmentResponse withText(Narrative value)
- Overrides:
withTextin classDomainResource
-
withContained
public AppointmentResponse withContained(ResourceContainer... values)
- Overrides:
withContainedin classDomainResource
-
withContained
public AppointmentResponse withContained(java.util.Collection<ResourceContainer> values)
- Overrides:
withContainedin classDomainResource
-
withExtension
public AppointmentResponse withExtension(Extension... values)
- Overrides:
withExtensionin classDomainResource
-
withExtension
public AppointmentResponse withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
public AppointmentResponse withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
public AppointmentResponse withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classDomainResource
-
withId
public AppointmentResponse withId(Id value)
- Overrides:
withIdin classDomainResource
-
withMeta
public AppointmentResponse withMeta(Meta value)
- Overrides:
withMetain classDomainResource
-
withImplicitRules
public AppointmentResponse withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
public AppointmentResponse 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
-
-