Class Patient.Communication

java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.dstu2.resource.Patient.Communication
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.Communication extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: Patient.communication ()

Definition: Languages which may be used to communicate with the patient about his or her health

See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends ca.uhn.fhir.model.api.IElement>
    List<T>
     
    Gets the value(s) for language ().
    Gets the value(s) for preferred ().
    ca.uhn.fhir.model.primitive.BooleanDt
    Gets the value(s) for preferred ().
    boolean
     
    Sets the value(s) for language ()
    setPreferred(boolean theBoolean)
    Sets the value for preferred ()
    setPreferred(ca.uhn.fhir.model.primitive.BooleanDt theValue)
    Sets the value(s) for preferred ()

    Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement

    getElementSpecificId, getId, setElementSpecificId, setId, setId

    Methods inherited from class ca.uhn.fhir.model.api.BaseElement

    addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData

    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.IBase

    fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData

    Methods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement

    getElementSpecificId, getId, setElementSpecificId, setId, setId
  • 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
    • getLanguage

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

      Definition: The ISO-639-1 alpha 2 code in lower case for the language, optionally followed by a hyphen and the ISO-3166-1 alpha 2 code for the region in upper case; e.g. \"en\" for English, or \"en-US\" for American English versus \"en-EN\" for England English

    • setLanguage

      Sets the value(s) for language ()

      Definition: The ISO-639-1 alpha 2 code in lower case for the language, optionally followed by a hyphen and the ISO-3166-1 alpha 2 code for the region in upper case; e.g. \"en\" for English, or \"en-US\" for American English versus \"en-EN\" for England English

    • getPreferredElement

      public ca.uhn.fhir.model.primitive.BooleanDt getPreferredElement()
      Gets the value(s) for preferred (). creating it if it does not exist. Will not return null.

      Definition: Indicates whether or not the patient prefers this language (over other languages he masters up a certain level)

    • getPreferred

      Gets the value(s) for preferred (). creating it if it does not exist. This method may return null.

      Definition: Indicates whether or not the patient prefers this language (over other languages he masters up a certain level)

    • setPreferred

      public Patient.Communication setPreferred(ca.uhn.fhir.model.primitive.BooleanDt theValue)
      Sets the value(s) for preferred ()

      Definition: Indicates whether or not the patient prefers this language (over other languages he masters up a certain level)

    • setPreferred

      public Patient.Communication setPreferred(boolean theBoolean)
      Sets the value for preferred ()

      Definition: Indicates whether or not the patient prefers this language (over other languages he masters up a certain level)