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>
     
    • Constructor Detail

      • HealthcareService

        public HealthcareService()
    • 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 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 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 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 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 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 java.util.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 JAXB 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 java.util.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 JAXB 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 java.util.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 JAXB 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 java.util.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 JAXB 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

      • 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 java.util.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 JAXB 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 java.util.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 JAXB 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 java.util.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 JAXB 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 java.util.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 JAXB 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 java.util.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 JAXB 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
      • 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:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals2
        Overrides:
        equals in class DomainResource
      • equals

        public boolean equals​(java.lang.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
      • 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:
        append in interface org.jvnet.jaxb2_commons.lang.ToString2
        Overrides:
        append in class DomainResource
      • 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:
        appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
        Overrides:
        appendFields in class DomainResource