Class Patient.Contact

java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.dstu2.resource.Patient.Contact
All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement, ca.uhn.fhir.model.api.IElement, ca.uhn.fhir.model.api.IIdentifiableElement, ca.uhn.fhir.model.api.IResourceBlock, ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions, Serializable, org.hl7.fhir.instance.model.api.IBase
Enclosing class:
Patient

public static class Patient.Contact extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: Patient.contact ()

Definition: A contact party (e.g. guardian, partner, friend) for the patient

See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.hl7.fhir.instance.model.api.IBase
    • getAllPopulatedChildElementsOfType

      public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
      Specified by:
      getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.ICompositeElement
    • getRelationship

      Gets the value(s) for relationship (). creating it if it does not exist. Will not return null.

      Definition: The nature of the relationship between the patient and the contact person

    • setRelationship

      Sets the value(s) for relationship ()

      Definition: The nature of the relationship between the patient and the contact person

    • addRelationship

      Adds and returns a new value for relationship ()

      Definition: The nature of the relationship between the patient and the contact person

    • addRelationship

      Adds a given new value for relationship ()

      Definition: The nature of the relationship between the patient and the contact person

      Parameters:
      theValue - The relationship to add (must not be null)
    • getRelationshipFirstRep

      Gets the first repetition for relationship (), creating it if it does not already exist.

      Definition: The nature of the relationship between the patient and the contact person

    • getName

      public HumanNameDt getName()
      Gets the value(s) for name (). creating it if it does not exist. Will not return null.

      Definition: A name associated with the contact person

    • setName

      public Patient.Contact setName(HumanNameDt theValue)
      Sets the value(s) for name ()

      Definition: A name associated with the contact person

    • getTelecom

      Gets the value(s) for telecom (). creating it if it does not exist. Will not return null.

      Definition: A contact detail for the person, e.g. a telephone number or an email address.

    • setTelecom

      Sets the value(s) for telecom ()

      Definition: A contact detail for the person, e.g. a telephone number or an email address.

    • addTelecom

      Adds and returns a new value for telecom ()

      Definition: A contact detail for the person, e.g. a telephone number or an email address.

    • addTelecom

      Adds a given new value for telecom ()

      Definition: A contact detail for the person, e.g. a telephone number or an email address.

      Parameters:
      theValue - The telecom to add (must not be null)
    • getTelecomFirstRep

      Gets the first repetition for telecom (), creating it if it does not already exist.

      Definition: A contact detail for the person, e.g. a telephone number or an email address.

    • getAddress

      Gets the value(s) for address (). creating it if it does not exist. Will not return null.

      Definition: Address for the contact person

    • setAddress

      public Patient.Contact setAddress(AddressDt theValue)
      Sets the value(s) for address ()

      Definition: Address for the contact person

    • getGenderElement

      public ca.uhn.fhir.model.primitive.BoundCodeDt<AdministrativeGenderEnum> getGenderElement()
      Gets the value(s) for gender (). creating it if it does not exist. Will not return null.

      Definition: Administrative Gender - the gender that the contact person is considered to have for administration and record keeping purposes.

    • getGender

      public String getGender()
      Gets the value(s) for gender (). creating it if it does not exist. This method may return null.

      Definition: Administrative Gender - the gender that the contact person is considered to have for administration and record keeping purposes.

    • setGender

      public Patient.Contact setGender(ca.uhn.fhir.model.primitive.BoundCodeDt<AdministrativeGenderEnum> theValue)
      Sets the value(s) for gender ()

      Definition: Administrative Gender - the gender that the contact person is considered to have for administration and record keeping purposes.

    • setGender

      Sets the value(s) for gender ()

      Definition: Administrative Gender - the gender that the contact person is considered to have for administration and record keeping purposes.

    • getOrganization

      Gets the value(s) for organization (). creating it if it does not exist. Will not return null.

      Definition: Organization on behalf of which the contact is acting or for which the contact is working.

    • setOrganization

      Sets the value(s) for organization ()

      Definition: Organization on behalf of which the contact is acting or for which the contact is working.

    • getPeriod

      public PeriodDt getPeriod()
      Gets the value(s) for period (). creating it if it does not exist. Will not return null.

      Definition: The period during which this contact person or organization is valid to be contacted relating to this patient

    • setPeriod

      public Patient.Contact setPeriod(PeriodDt theValue)
      Sets the value(s) for period ()

      Definition: The period during which this contact person or organization is valid to be contacted relating to this patient