org.hl7.fhir.HealthcareService Maven / Gradle / Ivy
Show all versions of quick Show documentation
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.08.16 at 09:36:55 AM MDT
//
package org.hl7.fhir;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlType;
import org.jvnet.jaxb2_commons.lang.Equals2;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy2;
import org.jvnet.jaxb2_commons.lang.HashCode2;
import org.jvnet.jaxb2_commons.lang.HashCodeStrategy2;
import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
import org.jvnet.jaxb2_commons.lang.ToString2;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy2;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;
/**
* If the element is present, it must have either a @value, an @id, or extensions
*
* Java class for HealthcareService complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="HealthcareService">
* <complexContent>
* <extension base="{http://hl7.org/fhir}DomainResource">
* <sequence>
* <element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
* <element name="providedBy" type="{http://hl7.org/fhir}Reference" 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="location" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
* <element name="serviceName" type="{http://hl7.org/fhir}string" minOccurs="0"/>
* <element name="comment" type="{http://hl7.org/fhir}string" minOccurs="0"/>
* <element name="extraDetails" type="{http://hl7.org/fhir}string" minOccurs="0"/>
* <element name="photo" type="{http://hl7.org/fhir}Attachment" minOccurs="0"/>
* <element name="telecom" type="{http://hl7.org/fhir}ContactPoint" maxOccurs="unbounded" minOccurs="0"/>
* <element name="coverageArea" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
* <element name="serviceProvisionCode" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
* <element name="eligibility" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
* <element name="eligibilityNote" type="{http://hl7.org/fhir}string" minOccurs="0"/>
* <element name="programName" type="{http://hl7.org/fhir}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="characteristic" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
* <element name="referralMethod" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
* <element name="publicKey" type="{http://hl7.org/fhir}string" minOccurs="0"/>
* <element name="appointmentRequired" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
* <element name="availableTime" type="{http://hl7.org/fhir}HealthcareService.AvailableTime" maxOccurs="unbounded" minOccurs="0"/>
* <element name="notAvailable" type="{http://hl7.org/fhir}HealthcareService.NotAvailable" maxOccurs="unbounded" minOccurs="0"/>
* <element name="availabilityExceptions" type="{http://hl7.org/fhir}string" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HealthcareService", propOrder = {
"identifier",
"providedBy",
"serviceCategory",
"serviceType",
"specialty",
"location",
"serviceName",
"comment",
"extraDetails",
"photo",
"telecom",
"coverageArea",
"serviceProvisionCode",
"eligibility",
"eligibilityNote",
"programName",
"characteristic",
"referralMethod",
"publicKey",
"appointmentRequired",
"availableTime",
"notAvailable",
"availabilityExceptions"
})
public class HealthcareService
extends DomainResource
implements Equals2, HashCode2, ToString2
{
protected List identifier;
protected Reference providedBy;
protected CodeableConcept serviceCategory;
protected List serviceType;
protected List specialty;
protected List location;
protected org.hl7.fhir.String serviceName;
protected org.hl7.fhir.String comment;
protected org.hl7.fhir.String extraDetails;
protected Attachment photo;
protected List telecom;
protected List coverageArea;
protected List serviceProvisionCode;
protected CodeableConcept eligibility;
protected org.hl7.fhir.String eligibilityNote;
protected List programName;
protected List characteristic;
protected List referralMethod;
protected org.hl7.fhir.String publicKey;
protected Boolean appointmentRequired;
protected List availableTime;
protected List notAvailable;
protected org.hl7.fhir.String availabilityExceptions;
/**
* 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 Jakarta XML Binding 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
* {@link Identifier }
*
*
*/
public List getIdentifier() {
if (identifier == null) {
identifier = new ArrayList();
}
return this.identifier;
}
/**
* Gets the value of the providedBy property.
*
* @return
* possible object is
* {@link Reference }
*
*/
public Reference getProvidedBy() {
return providedBy;
}
/**
* Sets the value of the providedBy property.
*
* @param value
* allowed object is
* {@link Reference }
*
*/
public void setProvidedBy(Reference value) {
this.providedBy = value;
}
/**
* Gets the value of the serviceCategory property.
*
* @return
* possible object is
* {@link CodeableConcept }
*
*/
public CodeableConcept getServiceCategory() {
return serviceCategory;
}
/**
* Sets the value of the serviceCategory property.
*
* @param value
* allowed object is
* {@link CodeableConcept }
*
*/
public void setServiceCategory(CodeableConcept value) {
this.serviceCategory = value;
}
/**
* 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 Jakarta XML Binding 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
* {@link CodeableConcept }
*
*
*/
public List getServiceType() {
if (serviceType == null) {
serviceType = new ArrayList();
}
return this.serviceType;
}
/**
* 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 Jakarta XML Binding 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
* {@link CodeableConcept }
*
*
*/
public List getSpecialty() {
if (specialty == null) {
specialty = new ArrayList();
}
return this.specialty;
}
/**
* Gets the value of the location 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 Jakarta XML Binding object.
* This is why there is not a set
method for the location property.
*
*
* For example, to add a new item, do as follows:
*
* getLocation().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Reference }
*
*
*/
public List getLocation() {
if (location == null) {
location = new ArrayList();
}
return this.location;
}
/**
* Gets the value of the serviceName property.
*
* @return
* possible object is
* {@link org.hl7.fhir.String }
*
*/
public org.hl7.fhir.String getServiceName() {
return serviceName;
}
/**
* Sets the value of the serviceName property.
*
* @param value
* allowed object is
* {@link org.hl7.fhir.String }
*
*/
public void setServiceName(org.hl7.fhir.String value) {
this.serviceName = value;
}
/**
* Gets the value of the comment property.
*
* @return
* possible object is
* {@link org.hl7.fhir.String }
*
*/
public org.hl7.fhir.String getComment() {
return comment;
}
/**
* Sets the value of the comment property.
*
* @param value
* allowed object is
* {@link org.hl7.fhir.String }
*
*/
public void setComment(org.hl7.fhir.String value) {
this.comment = value;
}
/**
* Gets the value of the extraDetails property.
*
* @return
* possible object is
* {@link org.hl7.fhir.String }
*
*/
public org.hl7.fhir.String getExtraDetails() {
return extraDetails;
}
/**
* Sets the value of the extraDetails property.
*
* @param value
* allowed object is
* {@link org.hl7.fhir.String }
*
*/
public void setExtraDetails(org.hl7.fhir.String value) {
this.extraDetails = value;
}
/**
* Gets the value of the photo property.
*
* @return
* possible object is
* {@link Attachment }
*
*/
public Attachment getPhoto() {
return photo;
}
/**
* Sets the value of the photo property.
*
* @param value
* allowed object is
* {@link Attachment }
*
*/
public void setPhoto(Attachment value) {
this.photo = value;
}
/**
* Gets the value of the telecom 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 Jakarta XML Binding object.
* This is why there is not a set
method for the telecom property.
*
*
* For example, to add a new item, do as follows:
*
* getTelecom().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ContactPoint }
*
*
*/
public List getTelecom() {
if (telecom == null) {
telecom = new ArrayList();
}
return this.telecom;
}
/**
* Gets the value of the coverageArea 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 Jakarta XML Binding object.
* This is why there is not a set
method for the coverageArea property.
*
*
* For example, to add a new item, do as follows:
*
* getCoverageArea().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Reference }
*
*
*/
public List getCoverageArea() {
if (coverageArea == null) {
coverageArea = new ArrayList();
}
return this.coverageArea;
}
/**
* Gets the value of the serviceProvisionCode 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 Jakarta XML Binding object.
* This is why there is not a set
method for the serviceProvisionCode property.
*
*
* For example, to add a new item, do as follows:
*
* getServiceProvisionCode().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CodeableConcept }
*
*
*/
public List getServiceProvisionCode() {
if (serviceProvisionCode == null) {
serviceProvisionCode = new ArrayList();
}
return this.serviceProvisionCode;
}
/**
* Gets the value of the eligibility property.
*
* @return
* possible object is
* {@link CodeableConcept }
*
*/
public CodeableConcept getEligibility() {
return eligibility;
}
/**
* Sets the value of the eligibility property.
*
* @param value
* allowed object is
* {@link CodeableConcept }
*
*/
public void setEligibility(CodeableConcept value) {
this.eligibility = value;
}
/**
* Gets the value of the eligibilityNote property.
*
* @return
* possible object is
* {@link org.hl7.fhir.String }
*
*/
public org.hl7.fhir.String getEligibilityNote() {
return eligibilityNote;
}
/**
* Sets the value of the eligibilityNote property.
*
* @param value
* allowed object is
* {@link org.hl7.fhir.String }
*
*/
public void setEligibilityNote(org.hl7.fhir.String value) {
this.eligibilityNote = value;
}
/**
* Gets the value of the programName 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 Jakarta XML Binding object.
* This is why there is not a set
method for the programName property.
*
*
* For example, to add a new item, do as follows:
*
* getProgramName().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link org.hl7.fhir.String }
*
*
*/
public List getProgramName() {
if (programName == null) {
programName = new ArrayList();
}
return this.programName;
}
/**
* Gets the value of the characteristic 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 Jakarta XML Binding object.
* This is why there is not a set
method for the characteristic property.
*
*
* For example, to add a new item, do as follows:
*
* getCharacteristic().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CodeableConcept }
*
*
*/
public List getCharacteristic() {
if (characteristic == null) {
characteristic = new ArrayList();
}
return this.characteristic;
}
/**
* Gets the value of the referralMethod 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 Jakarta XML Binding object.
* This is why there is not a set
method for the referralMethod property.
*
*
* For example, to add a new item, do as follows:
*
* getReferralMethod().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CodeableConcept }
*
*
*/
public List getReferralMethod() {
if (referralMethod == null) {
referralMethod = new ArrayList();
}
return this.referralMethod;
}
/**
* Gets the value of the publicKey property.
*
* @return
* possible object is
* {@link org.hl7.fhir.String }
*
*/
public org.hl7.fhir.String getPublicKey() {
return publicKey;
}
/**
* Sets the value of the publicKey property.
*
* @param value
* allowed object is
* {@link org.hl7.fhir.String }
*
*/
public void setPublicKey(org.hl7.fhir.String value) {
this.publicKey = value;
}
/**
* Gets the value of the appointmentRequired property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean getAppointmentRequired() {
return appointmentRequired;
}
/**
* Sets the value of the appointmentRequired property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setAppointmentRequired(Boolean value) {
this.appointmentRequired = value;
}
/**
* Gets the value of the availableTime 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 Jakarta XML Binding object.
* This is why there is not a set
method for the availableTime property.
*
*
* For example, to add a new item, do as follows:
*
* getAvailableTime().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HealthcareServiceAvailableTime }
*
*
*/
public List getAvailableTime() {
if (availableTime == null) {
availableTime = new ArrayList();
}
return this.availableTime;
}
/**
* Gets the value of the notAvailable 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 Jakarta XML Binding object.
* This is why there is not a set
method for the notAvailable property.
*
*
* For example, to add a new item, do as follows:
*
* getNotAvailable().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HealthcareServiceNotAvailable }
*
*
*/
public List getNotAvailable() {
if (notAvailable == null) {
notAvailable = new ArrayList();
}
return this.notAvailable;
}
/**
* Gets the value of the availabilityExceptions property.
*
* @return
* possible object is
* {@link org.hl7.fhir.String }
*
*/
public org.hl7.fhir.String getAvailabilityExceptions() {
return availabilityExceptions;
}
/**
* Sets the value of the availabilityExceptions property.
*
* @param value
* allowed object is
* {@link org.hl7.fhir.String }
*
*/
public void setAvailabilityExceptions(org.hl7.fhir.String value) {
this.availabilityExceptions = value;
}
public HealthcareService withIdentifier(Identifier... values) {
if (values!= null) {
for (Identifier value: values) {
getIdentifier().add(value);
}
}
return this;
}
public HealthcareService withIdentifier(Collection values) {
if (values!= null) {
getIdentifier().addAll(values);
}
return this;
}
public HealthcareService withProvidedBy(Reference value) {
setProvidedBy(value);
return this;
}
public HealthcareService withServiceCategory(CodeableConcept value) {
setServiceCategory(value);
return this;
}
public HealthcareService withServiceType(CodeableConcept... values) {
if (values!= null) {
for (CodeableConcept value: values) {
getServiceType().add(value);
}
}
return this;
}
public HealthcareService withServiceType(Collection values) {
if (values!= null) {
getServiceType().addAll(values);
}
return this;
}
public HealthcareService withSpecialty(CodeableConcept... values) {
if (values!= null) {
for (CodeableConcept value: values) {
getSpecialty().add(value);
}
}
return this;
}
public HealthcareService withSpecialty(Collection values) {
if (values!= null) {
getSpecialty().addAll(values);
}
return this;
}
public HealthcareService withLocation(Reference... values) {
if (values!= null) {
for (Reference value: values) {
getLocation().add(value);
}
}
return this;
}
public HealthcareService withLocation(Collection values) {
if (values!= null) {
getLocation().addAll(values);
}
return this;
}
public HealthcareService withServiceName(org.hl7.fhir.String value) {
setServiceName(value);
return this;
}
public HealthcareService withComment(org.hl7.fhir.String value) {
setComment(value);
return this;
}
public HealthcareService withExtraDetails(org.hl7.fhir.String value) {
setExtraDetails(value);
return this;
}
public HealthcareService withPhoto(Attachment value) {
setPhoto(value);
return this;
}
public HealthcareService withTelecom(ContactPoint... values) {
if (values!= null) {
for (ContactPoint value: values) {
getTelecom().add(value);
}
}
return this;
}
public HealthcareService withTelecom(Collection values) {
if (values!= null) {
getTelecom().addAll(values);
}
return this;
}
public HealthcareService withCoverageArea(Reference... values) {
if (values!= null) {
for (Reference value: values) {
getCoverageArea().add(value);
}
}
return this;
}
public HealthcareService withCoverageArea(Collection values) {
if (values!= null) {
getCoverageArea().addAll(values);
}
return this;
}
public HealthcareService withServiceProvisionCode(CodeableConcept... values) {
if (values!= null) {
for (CodeableConcept value: values) {
getServiceProvisionCode().add(value);
}
}
return this;
}
public HealthcareService withServiceProvisionCode(Collection values) {
if (values!= null) {
getServiceProvisionCode().addAll(values);
}
return this;
}
public HealthcareService withEligibility(CodeableConcept value) {
setEligibility(value);
return this;
}
public HealthcareService withEligibilityNote(org.hl7.fhir.String value) {
setEligibilityNote(value);
return this;
}
public HealthcareService withProgramName(org.hl7.fhir.String... values) {
if (values!= null) {
for (org.hl7.fhir.String value: values) {
getProgramName().add(value);
}
}
return this;
}
public HealthcareService withProgramName(Collection values) {
if (values!= null) {
getProgramName().addAll(values);
}
return this;
}
public HealthcareService withCharacteristic(CodeableConcept... values) {
if (values!= null) {
for (CodeableConcept value: values) {
getCharacteristic().add(value);
}
}
return this;
}
public HealthcareService withCharacteristic(Collection values) {
if (values!= null) {
getCharacteristic().addAll(values);
}
return this;
}
public HealthcareService withReferralMethod(CodeableConcept... values) {
if (values!= null) {
for (CodeableConcept value: values) {
getReferralMethod().add(value);
}
}
return this;
}
public HealthcareService withReferralMethod(Collection values) {
if (values!= null) {
getReferralMethod().addAll(values);
}
return this;
}
public HealthcareService withPublicKey(org.hl7.fhir.String value) {
setPublicKey(value);
return this;
}
public HealthcareService withAppointmentRequired(Boolean value) {
setAppointmentRequired(value);
return this;
}
public HealthcareService withAvailableTime(HealthcareServiceAvailableTime... values) {
if (values!= null) {
for (HealthcareServiceAvailableTime value: values) {
getAvailableTime().add(value);
}
}
return this;
}
public HealthcareService withAvailableTime(Collection values) {
if (values!= null) {
getAvailableTime().addAll(values);
}
return this;
}
public HealthcareService withNotAvailable(HealthcareServiceNotAvailable... values) {
if (values!= null) {
for (HealthcareServiceNotAvailable value: values) {
getNotAvailable().add(value);
}
}
return this;
}
public HealthcareService withNotAvailable(Collection values) {
if (values!= null) {
getNotAvailable().addAll(values);
}
return this;
}
public HealthcareService withAvailabilityExceptions(org.hl7.fhir.String value) {
setAvailabilityExceptions(value);
return this;
}
@Override
public HealthcareService withText(Narrative value) {
setText(value);
return this;
}
@Override
public HealthcareService withContained(ResourceContainer... values) {
if (values!= null) {
for (ResourceContainer value: values) {
getContained().add(value);
}
}
return this;
}
@Override
public HealthcareService withContained(Collection values) {
if (values!= null) {
getContained().addAll(values);
}
return this;
}
@Override
public HealthcareService withExtension(Extension... values) {
if (values!= null) {
for (Extension value: values) {
getExtension().add(value);
}
}
return this;
}
@Override
public HealthcareService withExtension(Collection values) {
if (values!= null) {
getExtension().addAll(values);
}
return this;
}
@Override
public HealthcareService withModifierExtension(Extension... values) {
if (values!= null) {
for (Extension value: values) {
getModifierExtension().add(value);
}
}
return this;
}
@Override
public HealthcareService withModifierExtension(Collection values) {
if (values!= null) {
getModifierExtension().addAll(values);
}
return this;
}
@Override
public HealthcareService withId(Id value) {
setId(value);
return this;
}
@Override
public HealthcareService withMeta(Meta value) {
setMeta(value);
return this;
}
@Override
public HealthcareService withImplicitRules(Uri value) {
setImplicitRules(value);
return this;
}
@Override
public HealthcareService withLanguage(Code value) {
setLanguage(value);
return this;
}
@Override
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy2 strategy) {
if ((object == null)||(this.getClass()!= object.getClass())) {
return false;
}
if (this == object) {
return true;
}
if (!super.equals(thisLocator, thatLocator, object, strategy)) {
return false;
}
final HealthcareService that = ((HealthcareService) object);
{
List lhsIdentifier;
lhsIdentifier = (((this.identifier!= null)&&(!this.identifier.isEmpty()))?this.getIdentifier():null);
List rhsIdentifier;
rhsIdentifier = (((that.identifier!= null)&&(!that.identifier.isEmpty()))?that.getIdentifier():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "identifier", lhsIdentifier), LocatorUtils.property(thatLocator, "identifier", rhsIdentifier), lhsIdentifier, rhsIdentifier, ((this.identifier!= null)&&(!this.identifier.isEmpty())), ((that.identifier!= null)&&(!that.identifier.isEmpty())))) {
return false;
}
}
{
Reference lhsProvidedBy;
lhsProvidedBy = this.getProvidedBy();
Reference rhsProvidedBy;
rhsProvidedBy = that.getProvidedBy();
if (!strategy.equals(LocatorUtils.property(thisLocator, "providedBy", lhsProvidedBy), LocatorUtils.property(thatLocator, "providedBy", rhsProvidedBy), lhsProvidedBy, rhsProvidedBy, (this.providedBy!= null), (that.providedBy!= null))) {
return false;
}
}
{
CodeableConcept lhsServiceCategory;
lhsServiceCategory = this.getServiceCategory();
CodeableConcept rhsServiceCategory;
rhsServiceCategory = that.getServiceCategory();
if (!strategy.equals(LocatorUtils.property(thisLocator, "serviceCategory", lhsServiceCategory), LocatorUtils.property(thatLocator, "serviceCategory", rhsServiceCategory), lhsServiceCategory, rhsServiceCategory, (this.serviceCategory!= null), (that.serviceCategory!= null))) {
return false;
}
}
{
List lhsServiceType;
lhsServiceType = (((this.serviceType!= null)&&(!this.serviceType.isEmpty()))?this.getServiceType():null);
List rhsServiceType;
rhsServiceType = (((that.serviceType!= null)&&(!that.serviceType.isEmpty()))?that.getServiceType():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "serviceType", lhsServiceType), LocatorUtils.property(thatLocator, "serviceType", rhsServiceType), lhsServiceType, rhsServiceType, ((this.serviceType!= null)&&(!this.serviceType.isEmpty())), ((that.serviceType!= null)&&(!that.serviceType.isEmpty())))) {
return false;
}
}
{
List lhsSpecialty;
lhsSpecialty = (((this.specialty!= null)&&(!this.specialty.isEmpty()))?this.getSpecialty():null);
List rhsSpecialty;
rhsSpecialty = (((that.specialty!= null)&&(!that.specialty.isEmpty()))?that.getSpecialty():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "specialty", lhsSpecialty), LocatorUtils.property(thatLocator, "specialty", rhsSpecialty), lhsSpecialty, rhsSpecialty, ((this.specialty!= null)&&(!this.specialty.isEmpty())), ((that.specialty!= null)&&(!that.specialty.isEmpty())))) {
return false;
}
}
{
List lhsLocation;
lhsLocation = (((this.location!= null)&&(!this.location.isEmpty()))?this.getLocation():null);
List rhsLocation;
rhsLocation = (((that.location!= null)&&(!that.location.isEmpty()))?that.getLocation():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "location", lhsLocation), LocatorUtils.property(thatLocator, "location", rhsLocation), lhsLocation, rhsLocation, ((this.location!= null)&&(!this.location.isEmpty())), ((that.location!= null)&&(!that.location.isEmpty())))) {
return false;
}
}
{
org.hl7.fhir.String lhsServiceName;
lhsServiceName = this.getServiceName();
org.hl7.fhir.String rhsServiceName;
rhsServiceName = that.getServiceName();
if (!strategy.equals(LocatorUtils.property(thisLocator, "serviceName", lhsServiceName), LocatorUtils.property(thatLocator, "serviceName", rhsServiceName), lhsServiceName, rhsServiceName, (this.serviceName!= null), (that.serviceName!= null))) {
return false;
}
}
{
org.hl7.fhir.String lhsComment;
lhsComment = this.getComment();
org.hl7.fhir.String rhsComment;
rhsComment = that.getComment();
if (!strategy.equals(LocatorUtils.property(thisLocator, "comment", lhsComment), LocatorUtils.property(thatLocator, "comment", rhsComment), lhsComment, rhsComment, (this.comment!= null), (that.comment!= null))) {
return false;
}
}
{
org.hl7.fhir.String lhsExtraDetails;
lhsExtraDetails = this.getExtraDetails();
org.hl7.fhir.String rhsExtraDetails;
rhsExtraDetails = that.getExtraDetails();
if (!strategy.equals(LocatorUtils.property(thisLocator, "extraDetails", lhsExtraDetails), LocatorUtils.property(thatLocator, "extraDetails", rhsExtraDetails), lhsExtraDetails, rhsExtraDetails, (this.extraDetails!= null), (that.extraDetails!= null))) {
return false;
}
}
{
Attachment lhsPhoto;
lhsPhoto = this.getPhoto();
Attachment rhsPhoto;
rhsPhoto = that.getPhoto();
if (!strategy.equals(LocatorUtils.property(thisLocator, "photo", lhsPhoto), LocatorUtils.property(thatLocator, "photo", rhsPhoto), lhsPhoto, rhsPhoto, (this.photo!= null), (that.photo!= null))) {
return false;
}
}
{
List lhsTelecom;
lhsTelecom = (((this.telecom!= null)&&(!this.telecom.isEmpty()))?this.getTelecom():null);
List rhsTelecom;
rhsTelecom = (((that.telecom!= null)&&(!that.telecom.isEmpty()))?that.getTelecom():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "telecom", lhsTelecom), LocatorUtils.property(thatLocator, "telecom", rhsTelecom), lhsTelecom, rhsTelecom, ((this.telecom!= null)&&(!this.telecom.isEmpty())), ((that.telecom!= null)&&(!that.telecom.isEmpty())))) {
return false;
}
}
{
List lhsCoverageArea;
lhsCoverageArea = (((this.coverageArea!= null)&&(!this.coverageArea.isEmpty()))?this.getCoverageArea():null);
List rhsCoverageArea;
rhsCoverageArea = (((that.coverageArea!= null)&&(!that.coverageArea.isEmpty()))?that.getCoverageArea():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "coverageArea", lhsCoverageArea), LocatorUtils.property(thatLocator, "coverageArea", rhsCoverageArea), lhsCoverageArea, rhsCoverageArea, ((this.coverageArea!= null)&&(!this.coverageArea.isEmpty())), ((that.coverageArea!= null)&&(!that.coverageArea.isEmpty())))) {
return false;
}
}
{
List lhsServiceProvisionCode;
lhsServiceProvisionCode = (((this.serviceProvisionCode!= null)&&(!this.serviceProvisionCode.isEmpty()))?this.getServiceProvisionCode():null);
List rhsServiceProvisionCode;
rhsServiceProvisionCode = (((that.serviceProvisionCode!= null)&&(!that.serviceProvisionCode.isEmpty()))?that.getServiceProvisionCode():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "serviceProvisionCode", lhsServiceProvisionCode), LocatorUtils.property(thatLocator, "serviceProvisionCode", rhsServiceProvisionCode), lhsServiceProvisionCode, rhsServiceProvisionCode, ((this.serviceProvisionCode!= null)&&(!this.serviceProvisionCode.isEmpty())), ((that.serviceProvisionCode!= null)&&(!that.serviceProvisionCode.isEmpty())))) {
return false;
}
}
{
CodeableConcept lhsEligibility;
lhsEligibility = this.getEligibility();
CodeableConcept rhsEligibility;
rhsEligibility = that.getEligibility();
if (!strategy.equals(LocatorUtils.property(thisLocator, "eligibility", lhsEligibility), LocatorUtils.property(thatLocator, "eligibility", rhsEligibility), lhsEligibility, rhsEligibility, (this.eligibility!= null), (that.eligibility!= null))) {
return false;
}
}
{
org.hl7.fhir.String lhsEligibilityNote;
lhsEligibilityNote = this.getEligibilityNote();
org.hl7.fhir.String rhsEligibilityNote;
rhsEligibilityNote = that.getEligibilityNote();
if (!strategy.equals(LocatorUtils.property(thisLocator, "eligibilityNote", lhsEligibilityNote), LocatorUtils.property(thatLocator, "eligibilityNote", rhsEligibilityNote), lhsEligibilityNote, rhsEligibilityNote, (this.eligibilityNote!= null), (that.eligibilityNote!= null))) {
return false;
}
}
{
List lhsProgramName;
lhsProgramName = (((this.programName!= null)&&(!this.programName.isEmpty()))?this.getProgramName():null);
List rhsProgramName;
rhsProgramName = (((that.programName!= null)&&(!that.programName.isEmpty()))?that.getProgramName():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "programName", lhsProgramName), LocatorUtils.property(thatLocator, "programName", rhsProgramName), lhsProgramName, rhsProgramName, ((this.programName!= null)&&(!this.programName.isEmpty())), ((that.programName!= null)&&(!that.programName.isEmpty())))) {
return false;
}
}
{
List lhsCharacteristic;
lhsCharacteristic = (((this.characteristic!= null)&&(!this.characteristic.isEmpty()))?this.getCharacteristic():null);
List rhsCharacteristic;
rhsCharacteristic = (((that.characteristic!= null)&&(!that.characteristic.isEmpty()))?that.getCharacteristic():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "characteristic", lhsCharacteristic), LocatorUtils.property(thatLocator, "characteristic", rhsCharacteristic), lhsCharacteristic, rhsCharacteristic, ((this.characteristic!= null)&&(!this.characteristic.isEmpty())), ((that.characteristic!= null)&&(!that.characteristic.isEmpty())))) {
return false;
}
}
{
List lhsReferralMethod;
lhsReferralMethod = (((this.referralMethod!= null)&&(!this.referralMethod.isEmpty()))?this.getReferralMethod():null);
List rhsReferralMethod;
rhsReferralMethod = (((that.referralMethod!= null)&&(!that.referralMethod.isEmpty()))?that.getReferralMethod():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "referralMethod", lhsReferralMethod), LocatorUtils.property(thatLocator, "referralMethod", rhsReferralMethod), lhsReferralMethod, rhsReferralMethod, ((this.referralMethod!= null)&&(!this.referralMethod.isEmpty())), ((that.referralMethod!= null)&&(!that.referralMethod.isEmpty())))) {
return false;
}
}
{
org.hl7.fhir.String lhsPublicKey;
lhsPublicKey = this.getPublicKey();
org.hl7.fhir.String rhsPublicKey;
rhsPublicKey = that.getPublicKey();
if (!strategy.equals(LocatorUtils.property(thisLocator, "publicKey", lhsPublicKey), LocatorUtils.property(thatLocator, "publicKey", rhsPublicKey), lhsPublicKey, rhsPublicKey, (this.publicKey!= null), (that.publicKey!= null))) {
return false;
}
}
{
Boolean lhsAppointmentRequired;
lhsAppointmentRequired = this.getAppointmentRequired();
Boolean rhsAppointmentRequired;
rhsAppointmentRequired = that.getAppointmentRequired();
if (!strategy.equals(LocatorUtils.property(thisLocator, "appointmentRequired", lhsAppointmentRequired), LocatorUtils.property(thatLocator, "appointmentRequired", rhsAppointmentRequired), lhsAppointmentRequired, rhsAppointmentRequired, (this.appointmentRequired!= null), (that.appointmentRequired!= null))) {
return false;
}
}
{
List lhsAvailableTime;
lhsAvailableTime = (((this.availableTime!= null)&&(!this.availableTime.isEmpty()))?this.getAvailableTime():null);
List rhsAvailableTime;
rhsAvailableTime = (((that.availableTime!= null)&&(!that.availableTime.isEmpty()))?that.getAvailableTime():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "availableTime", lhsAvailableTime), LocatorUtils.property(thatLocator, "availableTime", rhsAvailableTime), lhsAvailableTime, rhsAvailableTime, ((this.availableTime!= null)&&(!this.availableTime.isEmpty())), ((that.availableTime!= null)&&(!that.availableTime.isEmpty())))) {
return false;
}
}
{
List lhsNotAvailable;
lhsNotAvailable = (((this.notAvailable!= null)&&(!this.notAvailable.isEmpty()))?this.getNotAvailable():null);
List rhsNotAvailable;
rhsNotAvailable = (((that.notAvailable!= null)&&(!that.notAvailable.isEmpty()))?that.getNotAvailable():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "notAvailable", lhsNotAvailable), LocatorUtils.property(thatLocator, "notAvailable", rhsNotAvailable), lhsNotAvailable, rhsNotAvailable, ((this.notAvailable!= null)&&(!this.notAvailable.isEmpty())), ((that.notAvailable!= null)&&(!that.notAvailable.isEmpty())))) {
return false;
}
}
{
org.hl7.fhir.String lhsAvailabilityExceptions;
lhsAvailabilityExceptions = this.getAvailabilityExceptions();
org.hl7.fhir.String rhsAvailabilityExceptions;
rhsAvailabilityExceptions = that.getAvailabilityExceptions();
if (!strategy.equals(LocatorUtils.property(thisLocator, "availabilityExceptions", lhsAvailabilityExceptions), LocatorUtils.property(thatLocator, "availabilityExceptions", rhsAvailabilityExceptions), lhsAvailabilityExceptions, rhsAvailabilityExceptions, (this.availabilityExceptions!= null), (that.availabilityExceptions!= null))) {
return false;
}
}
return true;
}
@Override
public boolean equals(Object object) {
final EqualsStrategy2 strategy = JAXBEqualsStrategy.getInstance();
return equals(null, null, object, strategy);
}
@Override
public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) {
int currentHashCode = super.hashCode(locator, strategy);
{
List theIdentifier;
theIdentifier = (((this.identifier!= null)&&(!this.identifier.isEmpty()))?this.getIdentifier():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "identifier", theIdentifier), currentHashCode, theIdentifier, ((this.identifier!= null)&&(!this.identifier.isEmpty())));
}
{
Reference theProvidedBy;
theProvidedBy = this.getProvidedBy();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "providedBy", theProvidedBy), currentHashCode, theProvidedBy, (this.providedBy!= null));
}
{
CodeableConcept theServiceCategory;
theServiceCategory = this.getServiceCategory();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "serviceCategory", theServiceCategory), currentHashCode, theServiceCategory, (this.serviceCategory!= null));
}
{
List theServiceType;
theServiceType = (((this.serviceType!= null)&&(!this.serviceType.isEmpty()))?this.getServiceType():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "serviceType", theServiceType), currentHashCode, theServiceType, ((this.serviceType!= null)&&(!this.serviceType.isEmpty())));
}
{
List theSpecialty;
theSpecialty = (((this.specialty!= null)&&(!this.specialty.isEmpty()))?this.getSpecialty():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "specialty", theSpecialty), currentHashCode, theSpecialty, ((this.specialty!= null)&&(!this.specialty.isEmpty())));
}
{
List theLocation;
theLocation = (((this.location!= null)&&(!this.location.isEmpty()))?this.getLocation():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "location", theLocation), currentHashCode, theLocation, ((this.location!= null)&&(!this.location.isEmpty())));
}
{
org.hl7.fhir.String theServiceName;
theServiceName = this.getServiceName();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "serviceName", theServiceName), currentHashCode, theServiceName, (this.serviceName!= null));
}
{
org.hl7.fhir.String theComment;
theComment = this.getComment();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "comment", theComment), currentHashCode, theComment, (this.comment!= null));
}
{
org.hl7.fhir.String theExtraDetails;
theExtraDetails = this.getExtraDetails();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "extraDetails", theExtraDetails), currentHashCode, theExtraDetails, (this.extraDetails!= null));
}
{
Attachment thePhoto;
thePhoto = this.getPhoto();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "photo", thePhoto), currentHashCode, thePhoto, (this.photo!= null));
}
{
List theTelecom;
theTelecom = (((this.telecom!= null)&&(!this.telecom.isEmpty()))?this.getTelecom():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "telecom", theTelecom), currentHashCode, theTelecom, ((this.telecom!= null)&&(!this.telecom.isEmpty())));
}
{
List theCoverageArea;
theCoverageArea = (((this.coverageArea!= null)&&(!this.coverageArea.isEmpty()))?this.getCoverageArea():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "coverageArea", theCoverageArea), currentHashCode, theCoverageArea, ((this.coverageArea!= null)&&(!this.coverageArea.isEmpty())));
}
{
List theServiceProvisionCode;
theServiceProvisionCode = (((this.serviceProvisionCode!= null)&&(!this.serviceProvisionCode.isEmpty()))?this.getServiceProvisionCode():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "serviceProvisionCode", theServiceProvisionCode), currentHashCode, theServiceProvisionCode, ((this.serviceProvisionCode!= null)&&(!this.serviceProvisionCode.isEmpty())));
}
{
CodeableConcept theEligibility;
theEligibility = this.getEligibility();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "eligibility", theEligibility), currentHashCode, theEligibility, (this.eligibility!= null));
}
{
org.hl7.fhir.String theEligibilityNote;
theEligibilityNote = this.getEligibilityNote();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "eligibilityNote", theEligibilityNote), currentHashCode, theEligibilityNote, (this.eligibilityNote!= null));
}
{
List theProgramName;
theProgramName = (((this.programName!= null)&&(!this.programName.isEmpty()))?this.getProgramName():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "programName", theProgramName), currentHashCode, theProgramName, ((this.programName!= null)&&(!this.programName.isEmpty())));
}
{
List theCharacteristic;
theCharacteristic = (((this.characteristic!= null)&&(!this.characteristic.isEmpty()))?this.getCharacteristic():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "characteristic", theCharacteristic), currentHashCode, theCharacteristic, ((this.characteristic!= null)&&(!this.characteristic.isEmpty())));
}
{
List theReferralMethod;
theReferralMethod = (((this.referralMethod!= null)&&(!this.referralMethod.isEmpty()))?this.getReferralMethod():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "referralMethod", theReferralMethod), currentHashCode, theReferralMethod, ((this.referralMethod!= null)&&(!this.referralMethod.isEmpty())));
}
{
org.hl7.fhir.String thePublicKey;
thePublicKey = this.getPublicKey();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "publicKey", thePublicKey), currentHashCode, thePublicKey, (this.publicKey!= null));
}
{
Boolean theAppointmentRequired;
theAppointmentRequired = this.getAppointmentRequired();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "appointmentRequired", theAppointmentRequired), currentHashCode, theAppointmentRequired, (this.appointmentRequired!= null));
}
{
List theAvailableTime;
theAvailableTime = (((this.availableTime!= null)&&(!this.availableTime.isEmpty()))?this.getAvailableTime():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "availableTime", theAvailableTime), currentHashCode, theAvailableTime, ((this.availableTime!= null)&&(!this.availableTime.isEmpty())));
}
{
List theNotAvailable;
theNotAvailable = (((this.notAvailable!= null)&&(!this.notAvailable.isEmpty()))?this.getNotAvailable():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "notAvailable", theNotAvailable), currentHashCode, theNotAvailable, ((this.notAvailable!= null)&&(!this.notAvailable.isEmpty())));
}
{
org.hl7.fhir.String theAvailabilityExceptions;
theAvailabilityExceptions = this.getAvailabilityExceptions();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "availabilityExceptions", theAvailabilityExceptions), currentHashCode, theAvailabilityExceptions, (this.availabilityExceptions!= null));
}
return currentHashCode;
}
@Override
public int hashCode() {
final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.getInstance();
return this.hashCode(null, strategy);
}
@Override
public java.lang.String toString() {
final ToStringStrategy2 strategy = JAXBToStringStrategy.getInstance();
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
@Override
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
@Override
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) {
super.appendFields(locator, buffer, strategy);
{
List theIdentifier;
theIdentifier = (((this.identifier!= null)&&(!this.identifier.isEmpty()))?this.getIdentifier():null);
strategy.appendField(locator, this, "identifier", buffer, theIdentifier, ((this.identifier!= null)&&(!this.identifier.isEmpty())));
}
{
Reference theProvidedBy;
theProvidedBy = this.getProvidedBy();
strategy.appendField(locator, this, "providedBy", buffer, theProvidedBy, (this.providedBy!= null));
}
{
CodeableConcept theServiceCategory;
theServiceCategory = this.getServiceCategory();
strategy.appendField(locator, this, "serviceCategory", buffer, theServiceCategory, (this.serviceCategory!= null));
}
{
List theServiceType;
theServiceType = (((this.serviceType!= null)&&(!this.serviceType.isEmpty()))?this.getServiceType():null);
strategy.appendField(locator, this, "serviceType", buffer, theServiceType, ((this.serviceType!= null)&&(!this.serviceType.isEmpty())));
}
{
List theSpecialty;
theSpecialty = (((this.specialty!= null)&&(!this.specialty.isEmpty()))?this.getSpecialty():null);
strategy.appendField(locator, this, "specialty", buffer, theSpecialty, ((this.specialty!= null)&&(!this.specialty.isEmpty())));
}
{
List theLocation;
theLocation = (((this.location!= null)&&(!this.location.isEmpty()))?this.getLocation():null);
strategy.appendField(locator, this, "location", buffer, theLocation, ((this.location!= null)&&(!this.location.isEmpty())));
}
{
org.hl7.fhir.String theServiceName;
theServiceName = this.getServiceName();
strategy.appendField(locator, this, "serviceName", buffer, theServiceName, (this.serviceName!= null));
}
{
org.hl7.fhir.String theComment;
theComment = this.getComment();
strategy.appendField(locator, this, "comment", buffer, theComment, (this.comment!= null));
}
{
org.hl7.fhir.String theExtraDetails;
theExtraDetails = this.getExtraDetails();
strategy.appendField(locator, this, "extraDetails", buffer, theExtraDetails, (this.extraDetails!= null));
}
{
Attachment thePhoto;
thePhoto = this.getPhoto();
strategy.appendField(locator, this, "photo", buffer, thePhoto, (this.photo!= null));
}
{
List theTelecom;
theTelecom = (((this.telecom!= null)&&(!this.telecom.isEmpty()))?this.getTelecom():null);
strategy.appendField(locator, this, "telecom", buffer, theTelecom, ((this.telecom!= null)&&(!this.telecom.isEmpty())));
}
{
List theCoverageArea;
theCoverageArea = (((this.coverageArea!= null)&&(!this.coverageArea.isEmpty()))?this.getCoverageArea():null);
strategy.appendField(locator, this, "coverageArea", buffer, theCoverageArea, ((this.coverageArea!= null)&&(!this.coverageArea.isEmpty())));
}
{
List theServiceProvisionCode;
theServiceProvisionCode = (((this.serviceProvisionCode!= null)&&(!this.serviceProvisionCode.isEmpty()))?this.getServiceProvisionCode():null);
strategy.appendField(locator, this, "serviceProvisionCode", buffer, theServiceProvisionCode, ((this.serviceProvisionCode!= null)&&(!this.serviceProvisionCode.isEmpty())));
}
{
CodeableConcept theEligibility;
theEligibility = this.getEligibility();
strategy.appendField(locator, this, "eligibility", buffer, theEligibility, (this.eligibility!= null));
}
{
org.hl7.fhir.String theEligibilityNote;
theEligibilityNote = this.getEligibilityNote();
strategy.appendField(locator, this, "eligibilityNote", buffer, theEligibilityNote, (this.eligibilityNote!= null));
}
{
List theProgramName;
theProgramName = (((this.programName!= null)&&(!this.programName.isEmpty()))?this.getProgramName():null);
strategy.appendField(locator, this, "programName", buffer, theProgramName, ((this.programName!= null)&&(!this.programName.isEmpty())));
}
{
List theCharacteristic;
theCharacteristic = (((this.characteristic!= null)&&(!this.characteristic.isEmpty()))?this.getCharacteristic():null);
strategy.appendField(locator, this, "characteristic", buffer, theCharacteristic, ((this.characteristic!= null)&&(!this.characteristic.isEmpty())));
}
{
List theReferralMethod;
theReferralMethod = (((this.referralMethod!= null)&&(!this.referralMethod.isEmpty()))?this.getReferralMethod():null);
strategy.appendField(locator, this, "referralMethod", buffer, theReferralMethod, ((this.referralMethod!= null)&&(!this.referralMethod.isEmpty())));
}
{
org.hl7.fhir.String thePublicKey;
thePublicKey = this.getPublicKey();
strategy.appendField(locator, this, "publicKey", buffer, thePublicKey, (this.publicKey!= null));
}
{
Boolean theAppointmentRequired;
theAppointmentRequired = this.getAppointmentRequired();
strategy.appendField(locator, this, "appointmentRequired", buffer, theAppointmentRequired, (this.appointmentRequired!= null));
}
{
List theAvailableTime;
theAvailableTime = (((this.availableTime!= null)&&(!this.availableTime.isEmpty()))?this.getAvailableTime():null);
strategy.appendField(locator, this, "availableTime", buffer, theAvailableTime, ((this.availableTime!= null)&&(!this.availableTime.isEmpty())));
}
{
List theNotAvailable;
theNotAvailable = (((this.notAvailable!= null)&&(!this.notAvailable.isEmpty()))?this.getNotAvailable():null);
strategy.appendField(locator, this, "notAvailable", buffer, theNotAvailable, ((this.notAvailable!= null)&&(!this.notAvailable.isEmpty())));
}
{
org.hl7.fhir.String theAvailabilityExceptions;
theAvailabilityExceptions = this.getAvailabilityExceptions();
strategy.appendField(locator, this, "availabilityExceptions", buffer, theAvailabilityExceptions, (this.availabilityExceptions!= null));
}
return buffer;
}
public void setIdentifier(List value) {
this.identifier = value;
}
public void setServiceType(List value) {
this.serviceType = value;
}
public void setSpecialty(List value) {
this.specialty = value;
}
public void setLocation(List value) {
this.location = value;
}
public void setTelecom(List value) {
this.telecom = value;
}
public void setCoverageArea(List value) {
this.coverageArea = value;
}
public void setServiceProvisionCode(List value) {
this.serviceProvisionCode = value;
}
public void setProgramName(List value) {
this.programName = value;
}
public void setCharacteristic(List value) {
this.characteristic = value;
}
public void setReferralMethod(List value) {
this.referralMethod = value;
}
public void setAvailableTime(List value) {
this.availableTime = value;
}
public void setNotAvailable(List value) {
this.notAvailable = value;
}
}