Class 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:
    Serialized Form
    • Method Detail

      • 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

        public CodeableConceptDt 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

        public Patient.Communication setLanguage​(CodeableConceptDt theValue)
        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

        public Boolean 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)