Class PractitionerRole
- java.lang.Object
-
- org.hl7.fhir.Resource
-
- org.hl7.fhir.DomainResource
-
- org.hl7.fhir.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 extensionsJava 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 Summary
Fields Modifier and Type Field Description protected Booleanactiveprotected StringavailabilityExceptionsprotected java.util.List<PractitionerRoleAvailableTime>availableTimeprotected java.util.List<Reference>healthcareServiceprotected java.util.List<Identifier>identifierprotected java.util.List<Reference>locationprotected java.util.List<PractitionerRoleNotAvailable>notAvailableprotected Referenceorganizationprotected Periodperiodprotected Referencepractitionerprotected java.util.List<CodeableConcept>roleprotected java.util.List<CodeableConcept>specialtyprotected java.util.List<ContactPoint>telecom-
Fields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description PractitionerRole()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(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)BooleangetActive()Gets the value of the active property.StringgetAvailabilityExceptions()Gets the value of the availabilityExceptions property.java.util.List<PractitionerRoleAvailableTime>getAvailableTime()Gets the value of the availableTime property.java.util.List<Reference>getHealthcareService()Gets the value of the healthcareService property.java.util.List<Identifier>getIdentifier()Gets the value of the identifier property.java.util.List<Reference>getLocation()Gets the value of the location property.java.util.List<PractitionerRoleNotAvailable>getNotAvailable()Gets the value of the notAvailable property.ReferencegetOrganization()Gets the value of the organization property.PeriodgetPeriod()Gets the value of the period property.ReferencegetPractitioner()Gets the value of the practitioner property.java.util.List<CodeableConcept>getRole()Gets the value of the role property.java.util.List<CodeableConcept>getSpecialty()Gets the value of the specialty property.java.util.List<ContactPoint>getTelecom()Gets the value of the telecom property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetActive(Boolean value)Sets the value of the active property.voidsetAvailabilityExceptions(String value)Sets the value of the availabilityExceptions property.voidsetOrganization(Reference value)Sets the value of the organization property.voidsetPeriod(Period value)Sets the value of the period property.voidsetPractitioner(Reference value)Sets the value of the practitioner property.java.lang.StringtoString()PractitionerRolewithActive(Boolean value)PractitionerRolewithAvailabilityExceptions(String value)PractitionerRolewithAvailableTime(java.util.Collection<PractitionerRoleAvailableTime> values)PractitionerRolewithAvailableTime(PractitionerRoleAvailableTime... values)PractitionerRolewithContained(java.util.Collection<ResourceContainer> values)PractitionerRolewithContained(ResourceContainer... values)PractitionerRolewithExtension(java.util.Collection<Extension> values)PractitionerRolewithExtension(Extension... values)PractitionerRolewithHealthcareService(java.util.Collection<Reference> values)PractitionerRolewithHealthcareService(Reference... values)PractitionerRolewithId(Id value)PractitionerRolewithIdentifier(java.util.Collection<Identifier> values)PractitionerRolewithIdentifier(Identifier... values)PractitionerRolewithImplicitRules(Uri value)PractitionerRolewithLanguage(Code value)PractitionerRolewithLocation(java.util.Collection<Reference> values)PractitionerRolewithLocation(Reference... values)PractitionerRolewithMeta(Meta value)PractitionerRolewithModifierExtension(java.util.Collection<Extension> values)PractitionerRolewithModifierExtension(Extension... values)PractitionerRolewithNotAvailable(java.util.Collection<PractitionerRoleNotAvailable> values)PractitionerRolewithNotAvailable(PractitionerRoleNotAvailable... values)PractitionerRolewithOrganization(Reference value)PractitionerRolewithPeriod(Period value)PractitionerRolewithPractitioner(Reference value)PractitionerRolewithRole(java.util.Collection<CodeableConcept> values)PractitionerRolewithRole(CodeableConcept... values)PractitionerRolewithSpecialty(java.util.Collection<CodeableConcept> values)PractitionerRolewithSpecialty(CodeableConcept... values)PractitionerRolewithTelecom(java.util.Collection<ContactPoint> values)PractitionerRolewithTelecom(ContactPoint... values)PractitionerRolewithText(Narrative value)-
Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setText
-
Methods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
-
-
-
Field Detail
-
identifier
protected java.util.List<Identifier> identifier
-
active
protected Boolean active
-
practitioner
protected Reference practitioner
-
organization
protected Reference organization
-
role
protected java.util.List<CodeableConcept> role
-
specialty
protected java.util.List<CodeableConcept> specialty
-
location
protected java.util.List<Reference> location
-
healthcareService
protected java.util.List<Reference> healthcareService
-
telecom
protected java.util.List<ContactPoint> telecom
-
period
protected Period period
-
availableTime
protected java.util.List<PractitionerRoleAvailableTime> availableTime
-
notAvailable
protected java.util.List<PractitionerRoleNotAvailable> notAvailable
-
availabilityExceptions
protected String availabilityExceptions
-
-
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
setmethod 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 isBoolean
-
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 isReference
-
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 isReference
-
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
setmethod 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
setmethod 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
setmethod 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
setmethod 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
setmethod 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 isPeriod
-
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
setmethod 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
setmethod 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 isString
-
withIdentifier
public PractitionerRole withIdentifier(Identifier... values)
-
withIdentifier
public PractitionerRole withIdentifier(java.util.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(java.util.Collection<CodeableConcept> values)
-
withSpecialty
public PractitionerRole withSpecialty(CodeableConcept... values)
-
withSpecialty
public PractitionerRole withSpecialty(java.util.Collection<CodeableConcept> values)
-
withLocation
public PractitionerRole withLocation(Reference... values)
-
withLocation
public PractitionerRole withLocation(java.util.Collection<Reference> values)
-
withHealthcareService
public PractitionerRole withHealthcareService(Reference... values)
-
withHealthcareService
public PractitionerRole withHealthcareService(java.util.Collection<Reference> values)
-
withTelecom
public PractitionerRole withTelecom(ContactPoint... values)
-
withTelecom
public PractitionerRole withTelecom(java.util.Collection<ContactPoint> values)
-
withPeriod
public PractitionerRole withPeriod(Period value)
-
withAvailableTime
public PractitionerRole withAvailableTime(PractitionerRoleAvailableTime... values)
-
withAvailableTime
public PractitionerRole withAvailableTime(java.util.Collection<PractitionerRoleAvailableTime> values)
-
withNotAvailable
public PractitionerRole withNotAvailable(PractitionerRoleNotAvailable... values)
-
withNotAvailable
public PractitionerRole withNotAvailable(java.util.Collection<PractitionerRoleNotAvailable> values)
-
withAvailabilityExceptions
public PractitionerRole withAvailabilityExceptions(String value)
-
withText
public PractitionerRole withText(Narrative value)
- Overrides:
withTextin classDomainResource
-
withContained
public PractitionerRole withContained(ResourceContainer... values)
- Overrides:
withContainedin classDomainResource
-
withContained
public PractitionerRole withContained(java.util.Collection<ResourceContainer> values)
- Overrides:
withContainedin classDomainResource
-
withExtension
public PractitionerRole withExtension(Extension... values)
- Overrides:
withExtensionin classDomainResource
-
withExtension
public PractitionerRole withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
public PractitionerRole withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
public PractitionerRole withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classDomainResource
-
withId
public PractitionerRole withId(Id value)
- Overrides:
withIdin classDomainResource
-
withMeta
public PractitionerRole withMeta(Meta value)
- Overrides:
withMetain classDomainResource
-
withImplicitRules
public PractitionerRole withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
public PractitionerRole withLanguage(Code value)
- Overrides:
withLanguagein classDomainResource
-
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:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classDomainResource
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classDomainResource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDomainResource
-
toString
public java.lang.String toString()
- Overrides:
toStringin classDomainResource
-
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:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
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:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
-