Package org.hl7.fhir

Class PractitionerRole

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

    public class PractitionerRole
    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 PractitionerRole complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="PractitionerRole">
       <complexContent>
         <extension base="{http://hl7.org/fhir}DomainResource">
           <sequence>
             <element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
             <element name="active" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
             <element name="practitioner" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
             <element name="organization" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
             <element name="role" 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="healthcareService" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
             <element name="telecom" type="{http://hl7.org/fhir}ContactPoint" maxOccurs="unbounded" minOccurs="0"/>
             <element name="period" type="{http://hl7.org/fhir}Period" minOccurs="0"/>
             <element name="availableTime" type="{http://hl7.org/fhir}PractitionerRole.AvailableTime" maxOccurs="unbounded" minOccurs="0"/>
             <element name="notAvailable" type="{http://hl7.org/fhir}PractitionerRole.NotAvailable" maxOccurs="unbounded" minOccurs="0"/>
             <element name="availabilityExceptions" type="{http://hl7.org/fhir}string" minOccurs="0"/>
           </sequence>
         </extension>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • PractitionerRole

        public PractitionerRole()
    • 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

      • getActive

        public Boolean getActive()
        Gets the value of the active property.
        Returns:
        possible object is Boolean
      • setActive

        public void setActive​(Boolean value)
        Sets the value of the active property.
        Parameters:
        value - allowed object is Boolean
      • getPractitioner

        public Reference getPractitioner()
        Gets the value of the practitioner property.
        Returns:
        possible object is Reference
      • setPractitioner

        public void setPractitioner​(Reference value)
        Sets the value of the practitioner property.
        Parameters:
        value - allowed object is Reference
      • getOrganization

        public Reference getOrganization()
        Gets the value of the organization property.
        Returns:
        possible object is Reference
      • setOrganization

        public void setOrganization​(Reference value)
        Sets the value of the organization property.
        Parameters:
        value - allowed object is Reference
      • getRole

        public java.util.List<CodeableConcept> getRole()
        Gets the value of the role 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 role property.

        For example, to add a new item, do as follows:

            getRole().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

      • getHealthcareService

        public java.util.List<Reference> getHealthcareService()
        Gets the value of the healthcareService 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 healthcareService property.

        For example, to add a new item, do as follows:

            getHealthcareService().add(newItem);
         

        Objects of the following type(s) are allowed in the list Reference

      • 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

      • getPeriod

        public Period getPeriod()
        Gets the value of the period property.
        Returns:
        possible object is Period
      • setPeriod

        public void setPeriod​(Period value)
        Sets the value of the period property.
        Parameters:
        value - allowed object is Period
      • getAvailableTime

        public java.util.List<PractitionerRoleAvailableTime> 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 PractitionerRoleAvailableTime

      • getNotAvailable

        public java.util.List<PractitionerRoleNotAvailable> 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 PractitionerRoleNotAvailable

      • 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