Class RelatedPerson
- java.lang.Object
-
- org.hl7.fhir.r4.model.Base
-
- org.hl7.fhir.r4.model.BaseResource
-
- org.hl7.fhir.r4.model.Resource
-
- org.hl7.fhir.r4.model.DomainResource
-
- org.hl7.fhir.r4.model.RelatedPerson
-
- 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 RelatedPerson extends DomainResource
Information about a person that is involved in the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRelatedPerson.RelatedPersonCommunicationComponent
-
Field Summary
Fields Modifier and Type Field Description protected BooleanTypeactiveWhether this related person record is in active use.static ca.uhn.fhir.rest.gclient.TokenClientParamACTIVEFluent Client search parameter constant for activeprotected List<Address>addressAddress where the related person can be contacted or visited.static ca.uhn.fhir.rest.gclient.StringClientParamADDRESSFluent Client search parameter constant for addressstatic ca.uhn.fhir.rest.gclient.StringClientParamADDRESS_CITYFluent Client search parameter constant for address-citystatic ca.uhn.fhir.rest.gclient.StringClientParamADDRESS_COUNTRYFluent Client search parameter constant for address-countrystatic ca.uhn.fhir.rest.gclient.StringClientParamADDRESS_POSTALCODEFluent Client search parameter constant for address-postalcodestatic ca.uhn.fhir.rest.gclient.StringClientParamADDRESS_STATEFluent Client search parameter constant for address-statestatic ca.uhn.fhir.rest.gclient.TokenClientParamADDRESS_USEFluent Client search parameter constant for address-useprotected DateTypebirthDateThe date on which the related person was born.static ca.uhn.fhir.rest.gclient.DateClientParamBIRTHDATEFluent Client search parameter constant for birthdateprotected List<RelatedPerson.RelatedPersonCommunicationComponent>communicationA language which may be used to communicate with about the patient's health.static ca.uhn.fhir.rest.gclient.TokenClientParamEMAILFluent Client search parameter constant for emailprotected Enumeration<Enumerations.AdministrativeGender>genderAdministrative Gender - the gender that the person is considered to have for administration and record keeping purposes.static ca.uhn.fhir.rest.gclient.TokenClientParamGENDERFluent Client search parameter constant for genderprotected List<Identifier>identifierIdentifier for a person within a particular scope.static ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.IncludeINCLUDE_PATIENTConstant for fluent queries to be used to add include statements.protected List<HumanName>nameA name associated with the person.static ca.uhn.fhir.rest.gclient.StringClientParamNAMEFluent Client search parameter constant for nameprotected ReferencepatientThe patient this person is related to.static ca.uhn.fhir.rest.gclient.ReferenceClientParamPATIENTFluent Client search parameter constant for patientprotected PatientpatientTargetThe actual object that is the target of the reference (The patient this person is related to.)protected PeriodperiodThe period of time during which this relationship is or was active.static ca.uhn.fhir.rest.gclient.TokenClientParamPHONEFluent Client search parameter constant for phonestatic ca.uhn.fhir.rest.gclient.StringClientParamPHONETICFluent Client search parameter constant for phoneticprotected List<Attachment>photoImage of the person.protected List<CodeableConcept>relationshipThe nature of the relationship between a patient and the related person.static ca.uhn.fhir.rest.gclient.TokenClientParamRELATIONSHIPFluent Client search parameter constant for relationshipstatic StringSP_ACTIVESearch parameter: activestatic StringSP_ADDRESSSearch parameter: addressstatic StringSP_ADDRESS_CITYSearch parameter: address-citystatic StringSP_ADDRESS_COUNTRYSearch parameter: address-countrystatic StringSP_ADDRESS_POSTALCODESearch parameter: address-postalcodestatic StringSP_ADDRESS_STATESearch parameter: address-statestatic StringSP_ADDRESS_USESearch parameter: address-usestatic StringSP_BIRTHDATESearch parameter: birthdatestatic StringSP_EMAILSearch parameter: emailstatic StringSP_GENDERSearch parameter: genderstatic StringSP_IDENTIFIERSearch parameter: identifierstatic StringSP_NAMESearch parameter: namestatic StringSP_PATIENTSearch parameter: patientstatic StringSP_PHONESearch parameter: phonestatic StringSP_PHONETICSearch parameter: phoneticstatic StringSP_RELATIONSHIPSearch parameter: relationshipstatic StringSP_TELECOMSearch parameter: telecomprotected List<ContactPoint>telecomA contact detail for the person, e.g.static ca.uhn.fhir.rest.gclient.TokenClientParamTELECOMFluent Client search parameter constant for telecom-
Fields inherited from class org.hl7.fhir.r4.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.r4.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description RelatedPerson()ConstructorRelatedPerson(Reference patient)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r4.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
-
Methods inherited from class org.hl7.fhir.r4.model.Resource
copyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.r4.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
-
Methods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, 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
Identifier for a person within a particular scope.
-
active
protected BooleanType active
Whether this related person record is in active use.
-
patientTarget
protected Patient patientTarget
The actual object that is the target of the reference (The patient this person is related to.)
-
relationship
protected List<CodeableConcept> relationship
The nature of the relationship between a patient and the related person.
-
telecom
protected List<ContactPoint> telecom
A contact detail for the person, e.g. a telephone number or an email address.
-
gender
protected Enumeration<Enumerations.AdministrativeGender> gender
Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.
-
address
protected List<Address> address
Address where the related person can be contacted or visited.
-
photo
protected List<Attachment> photo
Image of the person.
-
period
protected Period period
The period of time during which this relationship is or was active. If there are no dates defined, then the interval is unknown.
-
communication
protected List<RelatedPerson.RelatedPersonCommunicationComponent> communication
A language which may be used to communicate with about the patient's health.
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter: identifierDescription: An Identifier of the RelatedPerson
Type: token
Path: RelatedPerson.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription: An Identifier of the RelatedPerson
Type: token
Path: RelatedPerson.identifier
-
SP_ADDRESS
public static final String SP_ADDRESS
Search parameter: addressDescription: A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text
Type: string
Path: RelatedPerson.address
- See Also:
- Constant Field Values
-
ADDRESS
public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS
Fluent Client search parameter constant for addressDescription: A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text
Type: string
Path: RelatedPerson.address
-
SP_BIRTHDATE
public static final String SP_BIRTHDATE
Search parameter: birthdateDescription: The Related Person's date of birth
Type: date
Path: RelatedPerson.birthDate
- See Also:
- Constant Field Values
-
BIRTHDATE
public static final ca.uhn.fhir.rest.gclient.DateClientParam BIRTHDATE
Fluent Client search parameter constant for birthdateDescription: The Related Person's date of birth
Type: date
Path: RelatedPerson.birthDate
-
SP_ADDRESS_STATE
public static final String SP_ADDRESS_STATE
Search parameter: address-stateDescription: A state specified in an address
Type: string
Path: RelatedPerson.address.state
- See Also:
- Constant Field Values
-
ADDRESS_STATE
public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_STATE
Fluent Client search parameter constant for address-stateDescription: A state specified in an address
Type: string
Path: RelatedPerson.address.state
-
SP_GENDER
public static final String SP_GENDER
Search parameter: genderDescription: Gender of the related person
Type: token
Path: RelatedPerson.gender
- See Also:
- Constant Field Values
-
GENDER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam GENDER
Fluent Client search parameter constant for genderDescription: Gender of the related person
Type: token
Path: RelatedPerson.gender
-
SP_ACTIVE
public static final String SP_ACTIVE
Search parameter: activeDescription: Indicates if the related person record is active
Type: token
Path: RelatedPerson.active
- See Also:
- Constant Field Values
-
ACTIVE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam ACTIVE
Fluent Client search parameter constant for activeDescription: Indicates if the related person record is active
Type: token
Path: RelatedPerson.active
-
SP_ADDRESS_POSTALCODE
public static final String SP_ADDRESS_POSTALCODE
Search parameter: address-postalcodeDescription: A postal code specified in an address
Type: string
Path: RelatedPerson.address.postalCode
- See Also:
- Constant Field Values
-
ADDRESS_POSTALCODE
public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_POSTALCODE
Fluent Client search parameter constant for address-postalcodeDescription: A postal code specified in an address
Type: string
Path: RelatedPerson.address.postalCode
-
SP_ADDRESS_COUNTRY
public static final String SP_ADDRESS_COUNTRY
Search parameter: address-countryDescription: A country specified in an address
Type: string
Path: RelatedPerson.address.country
- See Also:
- Constant Field Values
-
ADDRESS_COUNTRY
public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_COUNTRY
Fluent Client search parameter constant for address-countryDescription: A country specified in an address
Type: string
Path: RelatedPerson.address.country
-
SP_PHONETIC
public static final String SP_PHONETIC
Search parameter: phoneticDescription: A portion of name using some kind of phonetic matching algorithm
Type: string
Path: RelatedPerson.name
- See Also:
- Constant Field Values
-
PHONETIC
public static final ca.uhn.fhir.rest.gclient.StringClientParam PHONETIC
Fluent Client search parameter constant for phoneticDescription: A portion of name using some kind of phonetic matching algorithm
Type: string
Path: RelatedPerson.name
-
SP_PHONE
public static final String SP_PHONE
Search parameter: phoneDescription: A value in a phone contact
Type: token
Path: RelatedPerson.telecom(system=phone)
- See Also:
- Constant Field Values
-
PHONE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam PHONE
Fluent Client search parameter constant for phoneDescription: A value in a phone contact
Type: token
Path: RelatedPerson.telecom(system=phone)
-
SP_PATIENT
public static final String SP_PATIENT
Search parameter: patientDescription: The patient this related person is related to
Type: reference
Path: RelatedPerson.patient
- See Also:
- Constant Field Values
-
PATIENT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Fluent Client search parameter constant for patientDescription: The patient this related person is related to
Type: reference
Path: RelatedPerson.patient
-
INCLUDE_PATIENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "RelatedPerson:patient".
-
SP_NAME
public static final String SP_NAME
Search parameter: nameDescription: A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text
Type: string
Path: RelatedPerson.name
- See Also:
- Constant Field Values
-
NAME
public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME
Fluent Client search parameter constant for nameDescription: A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text
Type: string
Path: RelatedPerson.name
-
SP_ADDRESS_USE
public static final String SP_ADDRESS_USE
Search parameter: address-useDescription: A use code specified in an address
Type: token
Path: RelatedPerson.address.use
- See Also:
- Constant Field Values
-
ADDRESS_USE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam ADDRESS_USE
Fluent Client search parameter constant for address-useDescription: A use code specified in an address
Type: token
Path: RelatedPerson.address.use
-
SP_TELECOM
public static final String SP_TELECOM
Search parameter: telecomDescription: The value in any kind of contact
Type: token
Path: RelatedPerson.telecom
- See Also:
- Constant Field Values
-
TELECOM
public static final ca.uhn.fhir.rest.gclient.TokenClientParam TELECOM
Fluent Client search parameter constant for telecomDescription: The value in any kind of contact
Type: token
Path: RelatedPerson.telecom
-
SP_ADDRESS_CITY
public static final String SP_ADDRESS_CITY
Search parameter: address-cityDescription: A city specified in an address
Type: string
Path: RelatedPerson.address.city
- See Also:
- Constant Field Values
-
ADDRESS_CITY
public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_CITY
Fluent Client search parameter constant for address-cityDescription: A city specified in an address
Type: string
Path: RelatedPerson.address.city
-
SP_RELATIONSHIP
public static final String SP_RELATIONSHIP
Search parameter: relationshipDescription: The relationship between the patient and the relatedperson
Type: token
Path: RelatedPerson.relationship
- See Also:
- Constant Field Values
-
RELATIONSHIP
public static final ca.uhn.fhir.rest.gclient.TokenClientParam RELATIONSHIP
Fluent Client search parameter constant for relationshipDescription: The relationship between the patient and the relatedperson
Type: token
Path: RelatedPerson.relationship
-
SP_EMAIL
public static final String SP_EMAIL
Search parameter: emailDescription: A value in an email contact
Type: token
Path: RelatedPerson.telecom(system=email)
- See Also:
- Constant Field Values
-
EMAIL
public static final ca.uhn.fhir.rest.gclient.TokenClientParam EMAIL
Fluent Client search parameter constant for emailDescription: A value in an email contact
Type: token
Path: RelatedPerson.telecom(system=email)
-
-
Constructor Detail
-
RelatedPerson
public RelatedPerson()
Constructor
-
RelatedPerson
public RelatedPerson(Reference patient)
Constructor
-
-
Method Detail
-
getIdentifier
public List<Identifier> getIdentifier()
- Returns:
identifier(Identifier for a person within a particular scope.)
-
setIdentifier
public RelatedPerson setIdentifier(List<Identifier> theIdentifier)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasIdentifier
public boolean hasIdentifier()
-
addIdentifier
public Identifier addIdentifier()
-
addIdentifier
public RelatedPerson addIdentifier(Identifier t)
-
getIdentifierFirstRep
public Identifier getIdentifierFirstRep()
- Returns:
- The first repetition of repeating field
identifier, creating it if it does not already exist
-
getActiveElement
public BooleanType getActiveElement()
- Returns:
active(Whether this related person 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 RelatedPerson setActiveElement(BooleanType value)
- Parameters:
value-active(Whether this related person 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 related person record is in active use.
-
setActive
public RelatedPerson setActive(boolean value)
- Parameters:
value- Whether this related person record is in active use.
-
getPatient
public Reference getPatient()
- Returns:
patient(The patient this person is related to.)
-
hasPatient
public boolean hasPatient()
-
setPatient
public RelatedPerson setPatient(Reference value)
- Parameters:
value-patient(The patient this person is related to.)
-
getPatientTarget
public Patient getPatientTarget()
- Returns:
patientThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The patient this person is related to.)
-
setPatientTarget
public RelatedPerson setPatientTarget(Patient value)
- Parameters:
value-patientThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The patient this person is related to.)
-
getRelationship
public List<CodeableConcept> getRelationship()
- Returns:
relationship(The nature of the relationship between a patient and the related person.)
-
setRelationship
public RelatedPerson setRelationship(List<CodeableConcept> theRelationship)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasRelationship
public boolean hasRelationship()
-
addRelationship
public CodeableConcept addRelationship()
-
addRelationship
public RelatedPerson addRelationship(CodeableConcept t)
-
getRelationshipFirstRep
public CodeableConcept getRelationshipFirstRep()
- Returns:
- The first repetition of repeating field
relationship, creating it if it does not already exist
-
setName
public RelatedPerson setName(List<HumanName> theName)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasName
public boolean hasName()
-
addName
public RelatedPerson addName(HumanName t)
-
getNameFirstRep
public HumanName getNameFirstRep()
- Returns:
- The first repetition of repeating field
name, creating it if it does not already exist
-
getTelecom
public List<ContactPoint> getTelecom()
- Returns:
telecom(A contact detail for the person, e.g. a telephone number or an email address.)
-
setTelecom
public RelatedPerson setTelecom(List<ContactPoint> theTelecom)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasTelecom
public boolean hasTelecom()
-
addTelecom
public ContactPoint addTelecom()
-
addTelecom
public RelatedPerson addTelecom(ContactPoint t)
-
getTelecomFirstRep
public ContactPoint getTelecomFirstRep()
- Returns:
- The first repetition of repeating field
telecom, creating it if it does not already exist
-
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 RelatedPerson 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 RelatedPerson 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 on which the related person was born.). 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 RelatedPerson setBirthDateElement(DateType value)
- Parameters:
value-birthDate(The date on which the related person was born.). 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 on which the related person was born.
-
setBirthDate
public RelatedPerson setBirthDate(Date value)
- Parameters:
value- The date on which the related person was born.
-
getAddress
public List<Address> getAddress()
- Returns:
address(Address where the related person can be contacted or visited.)
-
setAddress
public RelatedPerson setAddress(List<Address> theAddress)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasAddress
public boolean hasAddress()
-
addAddress
public Address addAddress()
-
addAddress
public RelatedPerson addAddress(Address t)
-
getAddressFirstRep
public Address getAddressFirstRep()
- Returns:
- The first repetition of repeating field
address, creating it if it does not already exist
-
getPhoto
public List<Attachment> getPhoto()
- Returns:
photo(Image of the person.)
-
setPhoto
public RelatedPerson setPhoto(List<Attachment> thePhoto)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasPhoto
public boolean hasPhoto()
-
addPhoto
public Attachment addPhoto()
-
addPhoto
public RelatedPerson addPhoto(Attachment t)
-
getPhotoFirstRep
public Attachment getPhotoFirstRep()
- Returns:
- The first repetition of repeating field
photo, creating it if it does not already exist
-
getPeriod
public Period getPeriod()
- Returns:
period(The period of time during which this relationship is or was active. If there are no dates defined, then the interval is unknown.)
-
hasPeriod
public boolean hasPeriod()
-
setPeriod
public RelatedPerson setPeriod(Period value)
- Parameters:
value-period(The period of time during which this relationship is or was active. If there are no dates defined, then the interval is unknown.)
-
getCommunication
public List<RelatedPerson.RelatedPersonCommunicationComponent> getCommunication()
- Returns:
communication(A language which may be used to communicate with about the patient's health.)
-
setCommunication
public RelatedPerson setCommunication(List<RelatedPerson.RelatedPersonCommunicationComponent> theCommunication)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasCommunication
public boolean hasCommunication()
-
addCommunication
public RelatedPerson.RelatedPersonCommunicationComponent addCommunication()
-
addCommunication
public RelatedPerson addCommunication(RelatedPerson.RelatedPersonCommunicationComponent t)
-
getCommunicationFirstRep
public RelatedPerson.RelatedPersonCommunicationComponent getCommunicationFirstRep()
- Returns:
- The first repetition of repeating field
communication, creating it if it does not already exist
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildrenin classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin 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 RelatedPerson copy()
- Specified by:
copyin classDomainResource
-
copyValues
public void copyValues(RelatedPerson dst)
-
typedCopy
protected RelatedPerson 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
-
-