public static class Patient.ContactComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
| Modifier and Type | Field and Description |
|---|---|
protected Address |
address
Address for the contact person.
|
protected Enumeration<Enumerations.AdministrativeGender> |
gender
Administrative Gender - the gender that the contact person is considered to have for administration and record keeping purposes.
|
protected HumanName |
name
A name associated with the contact person.
|
protected Reference |
organization
Organization on behalf of which the contact is acting or for which the contact is working.
|
protected Organization |
organizationTarget
The actual object that is the target of the reference (Organization on behalf of which the contact is acting or for which the contact is working.)
|
protected Period |
period
The period during which this contact person or organization is valid to be contacted relating to this patient.
|
protected List<CodeableConcept> |
relationship
The nature of the relationship between the patient and the contact person.
|
protected List<ContactPoint> |
telecom
A contact detail for the person, e.g.
|
modifierExtension| Constructor and Description |
|---|
ContactComponent()
Constructor
|
addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtensionaddExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElementcastToAddress, 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, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddExtension, getExtension, hasExtensiongetFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataprotected List<CodeableConcept> relationship
protected List<ContactPoint> telecom
protected Enumeration<Enumerations.AdministrativeGender> gender
protected Reference organization
protected Organization organizationTarget
public ContactComponent()
public List<CodeableConcept> getRelationship()
relationship (The nature of the relationship between the patient and the contact person.)public Patient.ContactComponent setRelationship(List<CodeableConcept> theRelationship)
this for easy method chainingpublic boolean hasRelationship()
public CodeableConcept addRelationship()
public Patient.ContactComponent addRelationship(CodeableConcept t)
public CodeableConcept getRelationshipFirstRep()
relationship, creating it if it does not already existpublic boolean hasName()
public Patient.ContactComponent setName(HumanName value)
value - name (A name associated with the contact person.)public List<ContactPoint> getTelecom()
telecom (A contact detail for the person, e.g. a telephone number or an email address.)public Patient.ContactComponent setTelecom(List<ContactPoint> theTelecom)
this for easy method chainingpublic boolean hasTelecom()
public ContactPoint addTelecom()
public Patient.ContactComponent addTelecom(ContactPoint t)
public ContactPoint getTelecomFirstRep()
telecom, creating it if it does not already existpublic Address getAddress()
address (Address for the contact person.)public boolean hasAddress()
public Patient.ContactComponent setAddress(Address value)
value - address (Address for the contact person.)public Enumeration<Enumerations.AdministrativeGender> getGenderElement()
gender (Administrative Gender - the gender that the contact 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 valuepublic boolean hasGenderElement()
public boolean hasGender()
public Patient.ContactComponent setGenderElement(Enumeration<Enumerations.AdministrativeGender> value)
value - gender (Administrative Gender - the gender that the contact 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 valuepublic Enumerations.AdministrativeGender getGender()
public Patient.ContactComponent setGender(Enumerations.AdministrativeGender value)
value - Administrative Gender - the gender that the contact person is considered to have for administration and record keeping purposes.public Reference getOrganization()
organization (Organization on behalf of which the contact is acting or for which the contact is working.)public boolean hasOrganization()
public Patient.ContactComponent setOrganization(Reference value)
value - organization (Organization on behalf of which the contact is acting or for which the contact is working.)public Organization getOrganizationTarget()
organization The 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. (Organization on behalf of which the contact is acting or for which the contact is working.)public Patient.ContactComponent setOrganizationTarget(Organization value)
value - organization The 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. (Organization on behalf of which the contact is acting or for which the contact is working.)public Period getPeriod()
period (The period during which this contact person or organization is valid to be contacted relating to this patient.)public boolean hasPeriod()
public Patient.ContactComponent setPeriod(Period value)
value - period (The period during which this contact person or organization is valid to be contacted relating to this patient.)protected void listChildren(List<Property> children)
listChildren in class BackboneElementpublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Patient.ContactComponent copy()
copy in class BackboneElementpublic void copyValues(Patient.ContactComponent dst)
public boolean equalsDeep(Base other_)
equalsDeep in class BackboneElementpublic boolean equalsShallow(Base other_)
equalsShallow in class BackboneElementpublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class BackboneElementpublic String fhirType()
fhirType in interface org.hl7.fhir.instance.model.api.IBasefhirType in class BackboneElementCopyright © 2014–2021 Health Level 7. All rights reserved.