Package org.hl7.fhir.dstu2.model
Class Practitioner
- java.lang.Object
-
- org.hl7.fhir.dstu2.model.Base
-
- org.hl7.fhir.dstu2.model.BaseResource
-
- org.hl7.fhir.dstu2.model.Resource
-
- org.hl7.fhir.dstu2.model.DomainResource
-
- org.hl7.fhir.dstu2.model.Practitioner
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IAnyResource,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions,org.hl7.fhir.instance.model.api.IBaseResource,org.hl7.fhir.instance.model.api.IDomainResource
public class Practitioner extends DomainResource
A person who is directly or indirectly involved in the provisioning of healthcare.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPractitioner.PractitionerPractitionerRoleComponentstatic classPractitioner.PractitionerQualificationComponent
-
Field Summary
Fields Modifier and Type Field Description protected BooleanTypeactiveWhether this practitioner's record is in active use.protected List<Address>addressThe postal address where the practitioner can be found or visited or to which mail can be delivered.protected DateTypebirthDateThe date of birth for the practitioner.protected List<CodeableConcept>communicationA language the practitioner is able to use in patient communication.protected Enumeration<Enumerations.AdministrativeGender>genderAdministrative Gender - the gender that the person is considered to have for administration and record keeping purposes.protected List<Identifier>identifierAn identifier that applies to this person in this role.protected HumanNamenameA name associated with the person.protected List<Attachment>photoImage of the person.protected List<Practitioner.PractitionerPractitionerRoleComponent>practitionerRoleThe list of roles/organizations that the practitioner is associated with.protected List<Practitioner.PractitionerQualificationComponent>qualificationQualifications obtained by training and certification.static StringSP_ADDRESSstatic StringSP_ADDRESSCITYstatic StringSP_ADDRESSCOUNTRYstatic StringSP_ADDRESSPOSTALCODEstatic StringSP_ADDRESSSTATEstatic StringSP_ADDRESSUSEstatic StringSP_COMMUNICATIONstatic StringSP_EMAILstatic StringSP_FAMILYstatic StringSP_GENDERstatic StringSP_GIVENstatic StringSP_IDENTIFIERstatic StringSP_LOCATIONstatic StringSP_NAMEstatic StringSP_ORGANIZATIONstatic StringSP_PHONEstatic StringSP_PHONETICstatic StringSP_ROLEstatic StringSP_SPECIALTYstatic StringSP_TELECOMprotected List<ContactPoint>telecomA contact detail for the practitioner, e.g.-
Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description Practitioner()
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setText
-
Methods inherited from class org.hl7.fhir.dstu2.model.Resource
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setId
-
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
-
-
-
-
Field Detail
-
identifier
protected List<Identifier> identifier
An identifier that applies to this person in this role.
-
active
protected BooleanType active
Whether this practitioner's record is in active use.
-
telecom
protected List<ContactPoint> telecom
A contact detail for the practitioner, e.g. a telephone number or an email address.
-
address
protected List<Address> address
The postal address where the practitioner can be found or visited or to which mail can be delivered.
-
gender
protected Enumeration<Enumerations.AdministrativeGender> gender
Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.
-
photo
protected List<Attachment> photo
Image of the person.
-
practitionerRole
protected List<Practitioner.PractitionerPractitionerRoleComponent> practitionerRole
The list of roles/organizations that the practitioner is associated with.
-
qualification
protected List<Practitioner.PractitionerQualificationComponent> qualification
Qualifications obtained by training and certification.
-
communication
protected List<CodeableConcept> communication
A language the practitioner is able to use in patient communication.
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
- See Also:
- Constant Field Values
-
SP_GIVEN
public static final String SP_GIVEN
- See Also:
- Constant Field Values
-
SP_SPECIALTY
public static final String SP_SPECIALTY
- See Also:
- Constant Field Values
-
SP_ADDRESS
public static final String SP_ADDRESS
- See Also:
- Constant Field Values
-
SP_ROLE
public static final String SP_ROLE
- See Also:
- Constant Field Values
-
SP_ADDRESSSTATE
public static final String SP_ADDRESSSTATE
- See Also:
- Constant Field Values
-
SP_GENDER
public static final String SP_GENDER
- See Also:
- Constant Field Values
-
SP_ADDRESSPOSTALCODE
public static final String SP_ADDRESSPOSTALCODE
- See Also:
- Constant Field Values
-
SP_ADDRESSCOUNTRY
public static final String SP_ADDRESSCOUNTRY
- See Also:
- Constant Field Values
-
SP_PHONETIC
public static final String SP_PHONETIC
- See Also:
- Constant Field Values
-
SP_PHONE
public static final String SP_PHONE
- See Also:
- Constant Field Values
-
SP_ORGANIZATION
public static final String SP_ORGANIZATION
- See Also:
- Constant Field Values
-
SP_NAME
public static final String SP_NAME
- See Also:
- Constant Field Values
-
SP_ADDRESSUSE
public static final String SP_ADDRESSUSE
- See Also:
- Constant Field Values
-
SP_TELECOM
public static final String SP_TELECOM
- See Also:
- Constant Field Values
-
SP_LOCATION
public static final String SP_LOCATION
- See Also:
- Constant Field Values
-
SP_FAMILY
public static final String SP_FAMILY
- See Also:
- Constant Field Values
-
SP_ADDRESSCITY
public static final String SP_ADDRESSCITY
- See Also:
- Constant Field Values
-
SP_COMMUNICATION
public static final String SP_COMMUNICATION
- See Also:
- Constant Field Values
-
SP_EMAIL
public static final String SP_EMAIL
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Practitioner
public Practitioner()
-
-
Method Detail
-
getIdentifier
public List<Identifier> getIdentifier()
- Returns:
identifier(An identifier that applies to this person in this role.)
-
hasIdentifier
public boolean hasIdentifier()
-
addIdentifier
public Identifier addIdentifier()
- Returns:
identifier(An identifier that applies to this person in this role.)
-
addIdentifier
public Practitioner addIdentifier(Identifier t)
-
getActiveElement
public BooleanType getActiveElement()
- Returns:
active(Whether this practitioner's record is in active use.). This is the underlying object with id, value and extensions. The accessor "getActive" gives direct access to the value
-
hasActiveElement
public boolean hasActiveElement()
-
hasActive
public boolean hasActive()
-
setActiveElement
public Practitioner setActiveElement(BooleanType value)
- Parameters:
value-active(Whether this practitioner's record is in active use.). This is the underlying object with id, value and extensions. The accessor "getActive" gives direct access to the value
-
getActive
public boolean getActive()
- Returns:
- Whether this practitioner's record is in active use.
-
setActive
public Practitioner setActive(boolean value)
- Parameters:
value- Whether this practitioner's record is in active use.
-
hasName
public boolean hasName()
-
setName
public Practitioner setName(HumanName value)
- Parameters:
value-name(A name associated with the person.)
-
getTelecom
public List<ContactPoint> getTelecom()
- Returns:
telecom(A contact detail for the practitioner, e.g. a telephone number or an email address.)
-
hasTelecom
public boolean hasTelecom()
-
addTelecom
public ContactPoint addTelecom()
- Returns:
telecom(A contact detail for the practitioner, e.g. a telephone number or an email address.)
-
addTelecom
public Practitioner addTelecom(ContactPoint t)
-
getAddress
public List<Address> getAddress()
- Returns:
address(The postal address where the practitioner can be found or visited or to which mail can be delivered.)
-
hasAddress
public boolean hasAddress()
-
addAddress
public Address addAddress()
- Returns:
address(The postal address where the practitioner can be found or visited or to which mail can be delivered.)
-
addAddress
public Practitioner addAddress(Address t)
-
getGenderElement
public Enumeration<Enumerations.AdministrativeGender> getGenderElement()
- Returns:
gender(Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.). This is the underlying object with id, value and extensions. The accessor "getGender" gives direct access to the value
-
hasGenderElement
public boolean hasGenderElement()
-
hasGender
public boolean hasGender()
-
setGenderElement
public Practitioner setGenderElement(Enumeration<Enumerations.AdministrativeGender> value)
- Parameters:
value-gender(Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.). This is the underlying object with id, value and extensions. The accessor "getGender" gives direct access to the value
-
getGender
public Enumerations.AdministrativeGender getGender()
- Returns:
- Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.
-
setGender
public Practitioner setGender(Enumerations.AdministrativeGender value)
- Parameters:
value- Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.
-
getBirthDateElement
public DateType getBirthDateElement()
- Returns:
birthDate(The date of birth for the practitioner.). This is the underlying object with id, value and extensions. The accessor "getBirthDate" gives direct access to the value
-
hasBirthDateElement
public boolean hasBirthDateElement()
-
hasBirthDate
public boolean hasBirthDate()
-
setBirthDateElement
public Practitioner setBirthDateElement(DateType value)
- Parameters:
value-birthDate(The date of birth for the practitioner.). This is the underlying object with id, value and extensions. The accessor "getBirthDate" gives direct access to the value
-
getBirthDate
public Date getBirthDate()
- Returns:
- The date of birth for the practitioner.
-
setBirthDate
public Practitioner setBirthDate(Date value)
- Parameters:
value- The date of birth for the practitioner.
-
getPhoto
public List<Attachment> getPhoto()
- Returns:
photo(Image of the person.)
-
hasPhoto
public boolean hasPhoto()
-
addPhoto
public Attachment addPhoto()
- Returns:
photo(Image of the person.)
-
addPhoto
public Practitioner addPhoto(Attachment t)
-
getPractitionerRole
public List<Practitioner.PractitionerPractitionerRoleComponent> getPractitionerRole()
- Returns:
practitionerRole(The list of roles/organizations that the practitioner is associated with.)
-
hasPractitionerRole
public boolean hasPractitionerRole()
-
addPractitionerRole
public Practitioner.PractitionerPractitionerRoleComponent addPractitionerRole()
- Returns:
practitionerRole(The list of roles/organizations that the practitioner is associated with.)
-
addPractitionerRole
public Practitioner addPractitionerRole(Practitioner.PractitionerPractitionerRoleComponent t)
-
getQualification
public List<Practitioner.PractitionerQualificationComponent> getQualification()
- Returns:
qualification(Qualifications obtained by training and certification.)
-
hasQualification
public boolean hasQualification()
-
addQualification
public Practitioner.PractitionerQualificationComponent addQualification()
- Returns:
qualification(Qualifications obtained by training and certification.)
-
addQualification
public Practitioner addQualification(Practitioner.PractitionerQualificationComponent t)
-
getCommunication
public List<CodeableConcept> getCommunication()
- Returns:
communication(A language the practitioner is able to use in patient communication.)
-
hasCommunication
public boolean hasCommunication()
-
addCommunication
public CodeableConcept addCommunication()
- Returns:
communication(A language the practitioner is able to use in patient communication.)
-
addCommunication
public Practitioner addCommunication(CodeableConcept t)
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classDomainResource
-
setProperty
public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
public Practitioner copy()
- Specified by:
copyin classDomainResource
-
typedCopy
protected Practitioner typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other)
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other)
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceTypein classResource
-
-