
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
Definition: Languages which may be used to communicate with the patient about his or her health
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType(Class<T> theType) Gets the value(s) for language ().Gets the value(s) for preferred ().ca.uhn.fhir.model.primitive.BooleanDtGets the value(s) for preferred ().booleanisEmpty()setLanguage(CodeableConceptDt theValue) 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, setIdMethods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserDataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataMethods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Constructor Details
-
Communication
public Communication()
-
-
Method Details
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) - Specified by:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getLanguage
Gets the value(s) for language (). creating it if it does not exist. Will not returnnull.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
Gets the value(s) for preferred (). creating it if it does not exist. Will not returnnull.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 returnnull.Definition: Indicates whether or not the patient prefers this language (over other languages he masters up a certain level)
-
setPreferred
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
Sets the value for preferred ()Definition: Indicates whether or not the patient prefers this language (over other languages he masters up a certain level)
-