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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Communication()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)CodeableConceptDtgetLanguage()Gets the value(s) for language ().BooleangetPreferred()Gets the value(s) for preferred ().ca.uhn.fhir.model.primitive.BooleanDtgetPreferredElement()Gets the value(s) for preferred ().booleanisEmpty()Patient.CommunicationsetLanguage(CodeableConceptDt theValue)Sets the value(s) for language ()Patient.CommunicationsetPreferred(boolean theBoolean)Sets the value for preferred ()Patient.CommunicationsetPreferred(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
-
-
-
-
Constructor Detail
-
Communication
public Communication()
-
-
Method Detail
-
isEmpty
public boolean 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
public CodeableConceptDt 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
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 returnnull.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 returnnull.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)
-
-