Class ConceptMap.Element
- 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:
ConceptMap
Definition: Mappings for an individual concept in the source to one or more concepts in the target
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for target ()addTarget
(ConceptMap.ElementTarget theValue) Adds a given new value for target ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) getCode()
Gets the value(s) for code ().ca.uhn.fhir.model.primitive.CodeDt
Gets the value(s) for code ().Gets the value(s) for codeSystem ().ca.uhn.fhir.model.primitive.UriDt
Gets the value(s) for codeSystem ().Gets the value(s) for target ().Gets the first repetition for target (), creating it if it does not already exist.boolean
isEmpty()
setCode
(ca.uhn.fhir.model.primitive.CodeDt theValue) Sets the value(s) for code ()Sets the value for code ()setCodeSystem
(ca.uhn.fhir.model.primitive.UriDt theValue) Sets the value(s) for codeSystem ()setCodeSystem
(String theUri) Sets the value for codeSystem ()setTarget
(List<ConceptMap.ElementTarget> theValue) Sets the value(s) for target ()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
-
Element
public Element()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in 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:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getCodeSystemElement
Gets the value(s) for codeSystem (). creating it if it does not exist. Will not returnnull
.Definition: An absolute URI that identifies the Code System (if the source is a value set that crosses more than one code system)
-
getCodeSystem
Gets the value(s) for codeSystem (). creating it if it does not exist. This method may returnnull
.Definition: An absolute URI that identifies the Code System (if the source is a value set that crosses more than one code system)
-
setCodeSystem
Sets the value(s) for codeSystem ()Definition: An absolute URI that identifies the Code System (if the source is a value set that crosses more than one code system)
-
setCodeSystem
Sets the value for codeSystem ()Definition: An absolute URI that identifies the Code System (if the source is a value set that crosses more than one code system)
-
getCodeElement
Gets the value(s) for code (). creating it if it does not exist. Will not returnnull
.Definition: Identity (code or path) or the element/item being mapped
-
getCode
Gets the value(s) for code (). creating it if it does not exist. This method may returnnull
.Definition: Identity (code or path) or the element/item being mapped
-
setCode
Sets the value(s) for code ()Definition: Identity (code or path) or the element/item being mapped
-
setCode
Sets the value for code ()Definition: Identity (code or path) or the element/item being mapped
-
getTarget
Gets the value(s) for target (). creating it if it does not exist. Will not returnnull
.Definition: A concept from the target value set that this concept maps to
-
setTarget
Sets the value(s) for target ()Definition: A concept from the target value set that this concept maps to
-
addTarget
Adds and returns a new value for target ()Definition: A concept from the target value set that this concept maps to
-
addTarget
Adds a given new value for target ()Definition: A concept from the target value set that this concept maps to
- Parameters:
theValue
- The target to add (must not benull
)
-
getTargetFirstRep
Gets the first repetition for target (), creating it if it does not already exist.Definition: A concept from the target value set that this concept maps to
-