Package org.hl7.fhir

Class HealthcareService

All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

public class HealthcareService 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 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>
 
  • Field Details

  • Constructor Details

    • HealthcareService

      public HealthcareService()
  • Method Details

    • getIdentifier

      public 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 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 Identifier

    • getProvidedBy

      public Reference getProvidedBy()
      Gets the value of the providedBy property.
      Returns:
      possible object is Reference
    • setProvidedBy

      public void setProvidedBy(Reference value)
      Sets the value of the providedBy property.
      Parameters:
      value - allowed object is Reference
    • 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 is CodeableConcept
    • getServiceType

      public 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 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 CodeableConcept

    • getSpecialty

      public 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 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 CodeableConcept

    • getLocation

      public List<Reference> getLocation()
      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 Reference

    • getServiceName

      public String getServiceName()
      Gets the value of the serviceName property.
      Returns:
      possible object is String
    • setServiceName

      public void setServiceName(String value)
      Sets the value of the serviceName property.
      Parameters:
      value - allowed object is String
    • 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 is String
    • getExtraDetails

      public String getExtraDetails()
      Gets the value of the extraDetails property.
      Returns:
      possible object is String
    • setExtraDetails

      public void setExtraDetails(String value)
      Sets the value of the extraDetails property.
      Parameters:
      value - allowed object is String
    • getPhoto

      public Attachment getPhoto()
      Gets the value of the photo property.
      Returns:
      possible object is Attachment
    • setPhoto

      public void setPhoto(Attachment value)
      Sets the value of the photo property.
      Parameters:
      value - allowed object is Attachment
    • getTelecom

      public List<ContactPoint> getTelecom()
      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 ContactPoint

    • getCoverageArea

      public List<Reference> getCoverageArea()
      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 Reference

    • getServiceProvisionCode

      public List<CodeableConcept> getServiceProvisionCode()
      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 CodeableConcept

    • getEligibility

      public CodeableConcept getEligibility()
      Gets the value of the eligibility property.
      Returns:
      possible object is CodeableConcept
    • setEligibility

      public void setEligibility(CodeableConcept value)
      Sets the value of the eligibility property.
      Parameters:
      value - allowed object is CodeableConcept
    • getEligibilityNote

      public String getEligibilityNote()
      Gets the value of the eligibilityNote property.
      Returns:
      possible object is String
    • setEligibilityNote

      public void setEligibilityNote(String value)
      Sets the value of the eligibilityNote property.
      Parameters:
      value - allowed object is String
    • getProgramName

      public List<String> getProgramName()
      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 String

    • getCharacteristic

      public List<CodeableConcept> getCharacteristic()
      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 CodeableConcept

    • getReferralMethod

      public List<CodeableConcept> getReferralMethod()
      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 CodeableConcept

    • getPublicKey

      public String getPublicKey()
      Gets the value of the publicKey property.
      Returns:
      possible object is String
    • setPublicKey

      public void setPublicKey(String value)
      Sets the value of the publicKey property.
      Parameters:
      value - allowed object is String
    • getAppointmentRequired

      public Boolean getAppointmentRequired()
      Gets the value of the appointmentRequired property.
      Returns:
      possible object is Boolean
    • setAppointmentRequired

      public void setAppointmentRequired(Boolean value)
      Sets the value of the appointmentRequired property.
      Parameters:
      value - allowed object is Boolean
    • getAvailableTime

      public List<HealthcareServiceAvailableTime> getAvailableTime()
      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 HealthcareServiceAvailableTime

    • getNotAvailable

      public List<HealthcareServiceNotAvailable> getNotAvailable()
      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 HealthcareServiceNotAvailable

    • getAvailabilityExceptions

      public String getAvailabilityExceptions()
      Gets the value of the availabilityExceptions property.
      Returns:
      possible object is String
    • setAvailabilityExceptions

      public void setAvailabilityExceptions(String value)
      Sets the value of the availabilityExceptions property.
      Parameters:
      value - allowed object is String
    • withIdentifier

      public HealthcareService withIdentifier(Identifier... values)
    • withIdentifier

      public HealthcareService withIdentifier(Collection<Identifier> values)
    • withProvidedBy

      public HealthcareService withProvidedBy(Reference value)
    • withServiceCategory

      public HealthcareService withServiceCategory(CodeableConcept value)
    • withServiceType

      public HealthcareService withServiceType(CodeableConcept... values)
    • withServiceType

      public HealthcareService withServiceType(Collection<CodeableConcept> values)
    • withSpecialty

      public HealthcareService withSpecialty(CodeableConcept... values)
    • withSpecialty

      public HealthcareService withSpecialty(Collection<CodeableConcept> values)
    • withLocation

      public HealthcareService withLocation(Reference... values)
    • withLocation

      public HealthcareService withLocation(Collection<Reference> values)
    • withServiceName

      public HealthcareService withServiceName(String value)
    • withComment

      public HealthcareService withComment(String value)
    • withExtraDetails

      public HealthcareService withExtraDetails(String value)
    • withPhoto

      public HealthcareService withPhoto(Attachment value)
    • withTelecom

      public HealthcareService withTelecom(ContactPoint... values)
    • withTelecom

      public HealthcareService withTelecom(Collection<ContactPoint> values)
    • withCoverageArea

      public HealthcareService withCoverageArea(Reference... values)
    • withCoverageArea

      public HealthcareService withCoverageArea(Collection<Reference> values)
    • withServiceProvisionCode

      public HealthcareService withServiceProvisionCode(CodeableConcept... values)
    • withServiceProvisionCode

      public HealthcareService withServiceProvisionCode(Collection<CodeableConcept> values)
    • withEligibility

      public HealthcareService withEligibility(CodeableConcept value)
    • withEligibilityNote

      public HealthcareService withEligibilityNote(String value)
    • withProgramName

      public HealthcareService withProgramName(String... values)
    • withProgramName

      public HealthcareService withProgramName(Collection<String> values)
    • withCharacteristic

      public HealthcareService withCharacteristic(CodeableConcept... values)
    • withCharacteristic

      public HealthcareService withCharacteristic(Collection<CodeableConcept> values)
    • withReferralMethod

      public HealthcareService withReferralMethod(CodeableConcept... values)
    • withReferralMethod

      public HealthcareService withReferralMethod(Collection<CodeableConcept> values)
    • withPublicKey

      public HealthcareService withPublicKey(String value)
    • withAppointmentRequired

      public HealthcareService withAppointmentRequired(Boolean value)
    • withAvailableTime

      public HealthcareService withAvailableTime(HealthcareServiceAvailableTime... values)
    • withAvailableTime

      public HealthcareService withAvailableTime(Collection<HealthcareServiceAvailableTime> values)
    • withNotAvailable

      public HealthcareService withNotAvailable(HealthcareServiceNotAvailable... values)
    • withNotAvailable

      public HealthcareService withNotAvailable(Collection<HealthcareServiceNotAvailable> values)
    • withAvailabilityExceptions

      public HealthcareService withAvailabilityExceptions(String value)
    • withText

      public HealthcareService withText(Narrative value)
      Overrides:
      withText in class DomainResource
    • withContained

      public HealthcareService withContained(ResourceContainer... values)
      Overrides:
      withContained in class DomainResource
    • withContained

      public HealthcareService withContained(Collection<ResourceContainer> values)
      Overrides:
      withContained in class DomainResource
    • withExtension

      public HealthcareService withExtension(Extension... values)
      Overrides:
      withExtension in class DomainResource
    • withExtension

      public HealthcareService withExtension(Collection<Extension> values)
      Overrides:
      withExtension in class DomainResource
    • withModifierExtension

      public HealthcareService withModifierExtension(Extension... values)
      Overrides:
      withModifierExtension in class DomainResource
    • withModifierExtension

      public HealthcareService withModifierExtension(Collection<Extension> values)
      Overrides:
      withModifierExtension in class DomainResource
    • withId

      public HealthcareService withId(Id value)
      Overrides:
      withId in class DomainResource
    • withMeta

      public HealthcareService withMeta(Meta value)
      Overrides:
      withMeta in class DomainResource
    • withImplicitRules

      public HealthcareService withImplicitRules(Uri value)
      Overrides:
      withImplicitRules in class DomainResource
    • withLanguage

      public HealthcareService withLanguage(Code value)
      Overrides:
      withLanguage in class DomainResource
    • equals

      public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
      Specified by:
      equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      Overrides:
      equals in class DomainResource
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class DomainResource
    • hashCode

      public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
      Overrides:
      hashCode in class DomainResource
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class DomainResource
    • toString

      public String toString()
      Overrides:
      toString in class DomainResource
    • append

      public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      append in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      append in class DomainResource
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      appendFields in class DomainResource
    • setIdentifier

      public void setIdentifier(List<Identifier> value)
    • setServiceType

      public void setServiceType(List<CodeableConcept> value)
    • setSpecialty

      public void setSpecialty(List<CodeableConcept> value)
    • setLocation

      public void setLocation(List<Reference> value)
    • setTelecom

      public void setTelecom(List<ContactPoint> value)
    • setCoverageArea

      public void setCoverageArea(List<Reference> value)
    • setServiceProvisionCode

      public void setServiceProvisionCode(List<CodeableConcept> value)
    • setProgramName

      public void setProgramName(List<String> value)
    • setCharacteristic

      public void setCharacteristic(List<CodeableConcept> value)
    • setReferralMethod

      public void setReferralMethod(List<CodeableConcept> value)
    • setAvailableTime

      public void setAvailableTime(List<HealthcareServiceAvailableTime> value)
    • setNotAvailable

      public void setNotAvailable(List<HealthcareServiceNotAvailable> value)