public static class Patient.PatientCommunicationComponent extends BackboneElement implements IBaseBackboneElement
| Modifier and Type | Field and Description |
|---|---|
protected CodeableConcept |
language
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.
|
protected BooleanType |
preferred
Indicates whether or not the patient prefers this language (over other languages he masters up a certain level).
|
modifierExtension| Constructor and Description |
|---|
PatientCommunicationComponent()
Constructor
|
PatientCommunicationComponent(CodeableConcept language)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Base |
addChild(String name) |
Patient.PatientCommunicationComponent |
copy() |
boolean |
equalsDeep(Base other) |
boolean |
equalsShallow(Base other) |
String |
fhirType() |
CodeableConcept |
getLanguage() |
boolean |
getPreferred() |
BooleanType |
getPreferredElement() |
Base[] |
getProperty(int hash,
String name,
boolean checkValid) |
String[] |
getTypesForProperty(int hash,
String name) |
boolean |
hasLanguage() |
boolean |
hasPreferred() |
boolean |
hasPreferredElement() |
boolean |
isEmpty() |
protected void |
listChildren(List<Property> childrenList) |
Base |
makeProperty(int hash,
String name) |
Patient.PatientCommunicationComponent |
setLanguage(CodeableConcept value) |
Patient.PatientCommunicationComponent |
setPreferred(boolean value) |
Patient.PatientCommunicationComponent |
setPreferredElement(BooleanType value) |
Base |
setProperty(int hash,
String name,
Base value) |
Base |
setProperty(String name,
Base value) |
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtensionaddExtension, addExtension, addExtension, copyValues, getExtension, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentaddExtension, getExtension, hasExtensionaddModifierExtension, getModifierExtension, hasModifierExtensionprotected CodeableConcept language
protected BooleanType preferred
public PatientCommunicationComponent()
public PatientCommunicationComponent(CodeableConcept language)
public CodeableConcept getLanguage()
language (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.)public boolean hasLanguage()
public Patient.PatientCommunicationComponent setLanguage(CodeableConcept value)
value - language (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.)public BooleanType getPreferredElement()
preferred (Indicates whether or not the patient prefers this language (over other languages he masters up a certain level).). This is the underlying object with id, value and extensions. The accessor "getPreferred" gives direct access to the valuepublic boolean hasPreferredElement()
public boolean hasPreferred()
public Patient.PatientCommunicationComponent setPreferredElement(BooleanType value)
value - preferred (Indicates whether or not the patient prefers this language (over other languages he masters up a certain level).). This is the underlying object with id, value and extensions. The accessor "getPreferred" gives direct access to the valuepublic boolean getPreferred()
public Patient.PatientCommunicationComponent setPreferred(boolean value)
value - Indicates whether or not the patient prefers this language (over other languages he masters up a certain level).protected void listChildren(List<Property> childrenList)
listChildren in class BackboneElementpublic Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException
getProperty in class BackboneElementFHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class BackboneElementFHIRExceptionpublic Base setProperty(String name, Base value) throws FHIRException
setProperty in class BackboneElementFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class BackboneElementFHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class BackboneElementFHIRExceptionpublic Base addChild(String name) throws FHIRException
addChild in class BackboneElementFHIRExceptionpublic Patient.PatientCommunicationComponent copy()
copy in class BackboneElementpublic boolean equalsDeep(Base other)
equalsDeep in class BackboneElementpublic boolean equalsShallow(Base other)
equalsShallow in class BackboneElementpublic boolean isEmpty()
isEmpty in interface IBaseisEmpty in class BackboneElementpublic String fhirType()
fhirType in class BackboneElementCopyright © 2014–2017 University Health Network. All rights reserved.