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>
 
  • Field Details

  • Constructor Details

    • PractitionerRole

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

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

      public PractitionerRole withIdentifier(Collection<Identifier> values)
    • withActive

      public PractitionerRole withActive(Boolean value)
    • withPractitioner

      public PractitionerRole withPractitioner(Reference value)
    • withOrganization

      public PractitionerRole withOrganization(Reference value)
    • withRole

      public PractitionerRole withRole(CodeableConcept... values)
    • withRole

      public PractitionerRole withRole(Collection<CodeableConcept> values)
    • withSpecialty

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

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

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

      public PractitionerRole withLocation(Collection<Reference> values)
    • withHealthcareService

      public PractitionerRole withHealthcareService(Reference... values)
    • withHealthcareService

      public PractitionerRole withHealthcareService(Collection<Reference> values)
    • withTelecom

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

      public PractitionerRole withTelecom(Collection<ContactPoint> values)
    • withPeriod

      public PractitionerRole withPeriod(Period value)
    • withAvailableTime

      public PractitionerRole withAvailableTime(PractitionerRoleAvailableTime... values)
    • withAvailableTime

      public PractitionerRole withAvailableTime(Collection<PractitionerRoleAvailableTime> values)
    • withNotAvailable

      public PractitionerRole withNotAvailable(PractitionerRoleNotAvailable... values)
    • withNotAvailable

      public PractitionerRole withNotAvailable(Collection<PractitionerRoleNotAvailable> values)
    • withAvailabilityExceptions

      public PractitionerRole withAvailabilityExceptions(String value)
    • withText

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

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

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

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

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

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

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

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

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

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

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