Class ConceptMap.Element
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.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
public static class ConceptMap.Element extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: ConceptMap.element ()Definition: Mappings for an individual concept in the source to one or more concepts in the target
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Element()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConceptMap.ElementTargetaddTarget()Adds and returns a new value for target ()ConceptMap.ElementaddTarget(ConceptMap.ElementTarget theValue)Adds a given new value for target ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)StringgetCode()Gets the value(s) for code ().ca.uhn.fhir.model.primitive.CodeDtgetCodeElement()Gets the value(s) for code ().StringgetCodeSystem()Gets the value(s) for codeSystem ().ca.uhn.fhir.model.primitive.UriDtgetCodeSystemElement()Gets the value(s) for codeSystem ().List<ConceptMap.ElementTarget>getTarget()Gets the value(s) for target ().ConceptMap.ElementTargetgetTargetFirstRep()Gets the first repetition for target (), creating it if it does not already exist.booleanisEmpty()ConceptMap.ElementsetCode(ca.uhn.fhir.model.primitive.CodeDt theValue)Sets the value(s) for code ()ConceptMap.ElementsetCode(String theCode)Sets the value for code ()ConceptMap.ElementsetCodeSystem(ca.uhn.fhir.model.primitive.UriDt theValue)Sets the value(s) for codeSystem ()ConceptMap.ElementsetCodeSystem(String theUri)Sets the value for codeSystem ()ConceptMap.ElementsetTarget(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
-
-
-
-
Constructor Detail
-
Element
public Element()
-
-
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
-
getCodeSystemElement
public ca.uhn.fhir.model.primitive.UriDt 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
public String 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
public ConceptMap.Element setCodeSystem(ca.uhn.fhir.model.primitive.UriDt theValue)
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
public ConceptMap.Element setCodeSystem(String theUri)
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
public ca.uhn.fhir.model.primitive.CodeDt 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
public String 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
public ConceptMap.Element setCode(ca.uhn.fhir.model.primitive.CodeDt theValue)
Sets the value(s) for code ()Definition: Identity (code or path) or the element/item being mapped
-
setCode
public ConceptMap.Element setCode(String theCode)
Sets the value for code ()Definition: Identity (code or path) or the element/item being mapped
-
getTarget
public List<ConceptMap.ElementTarget> 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
public ConceptMap.Element setTarget(List<ConceptMap.ElementTarget> theValue)
Sets the value(s) for target ()Definition: A concept from the target value set that this concept maps to
-
addTarget
public ConceptMap.ElementTarget addTarget()
Adds and returns a new value for target ()Definition: A concept from the target value set that this concept maps to
-
addTarget
public ConceptMap.Element addTarget(ConceptMap.ElementTarget theValue)
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
public ConceptMap.ElementTarget 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
-
-