Class ConceptMap.ElementTarget
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.ConceptMap.ElementTarget
-
- 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.ElementTarget extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: ConceptMap.element.target ()Definition: A concept from the target value set that this concept maps to
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ElementTarget()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConceptMap.ElementTargetDependsOnaddDependsOn()Adds and returns a new value for dependsOn ()ConceptMap.ElementTargetaddDependsOn(ConceptMap.ElementTargetDependsOn theValue)Adds a given new value for dependsOn ()ConceptMap.ElementTargetDependsOnaddProduct()Adds and returns a new value for product ()ConceptMap.ElementTargetaddProduct(ConceptMap.ElementTargetDependsOn theValue)Adds a given new value for product ()<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 ().StringgetComments()Gets the value(s) for comments ().ca.uhn.fhir.model.primitive.StringDtgetCommentsElement()Gets the value(s) for comments ().List<ConceptMap.ElementTargetDependsOn>getDependsOn()Gets the value(s) for dependsOn ().ConceptMap.ElementTargetDependsOngetDependsOnFirstRep()Gets the first repetition for dependsOn (), creating it if it does not already exist.StringgetEquivalence()Gets the value(s) for equivalence ().ca.uhn.fhir.model.primitive.BoundCodeDt<ConceptMapEquivalenceEnum>getEquivalenceElement()Gets the value(s) for equivalence ().List<ConceptMap.ElementTargetDependsOn>getProduct()Gets the value(s) for product ().ConceptMap.ElementTargetDependsOngetProductFirstRep()Gets the first repetition for product (), creating it if it does not already exist.booleanisEmpty()ConceptMap.ElementTargetsetCode(ca.uhn.fhir.model.primitive.CodeDt theValue)Sets the value(s) for code ()ConceptMap.ElementTargetsetCode(String theCode)Sets the value for code ()ConceptMap.ElementTargetsetCodeSystem(ca.uhn.fhir.model.primitive.UriDt theValue)Sets the value(s) for codeSystem ()ConceptMap.ElementTargetsetCodeSystem(String theUri)Sets the value for codeSystem ()ConceptMap.ElementTargetsetComments(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for comments ()ConceptMap.ElementTargetsetComments(String theString)Sets the value for comments ()ConceptMap.ElementTargetsetDependsOn(List<ConceptMap.ElementTargetDependsOn> theValue)Sets the value(s) for dependsOn ()ConceptMap.ElementTargetsetEquivalence(ConceptMapEquivalenceEnum theValue)Sets the value(s) for equivalence ()ConceptMap.ElementTargetsetEquivalence(ca.uhn.fhir.model.primitive.BoundCodeDt<ConceptMapEquivalenceEnum> theValue)Sets the value(s) for equivalence ()ConceptMap.ElementTargetsetProduct(List<ConceptMap.ElementTargetDependsOn> theValue)Sets the value(s) for product ()-
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
-
ElementTarget
public ElementTarget()
-
-
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 of the target code (if the target is a value set that cross code systems)
-
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 of the target code (if the target is a value set that cross code systems)
-
setCodeSystem
public ConceptMap.ElementTarget setCodeSystem(ca.uhn.fhir.model.primitive.UriDt theValue)
Sets the value(s) for codeSystem ()Definition: An absolute URI that identifies the code system of the target code (if the target is a value set that cross code systems)
-
setCodeSystem
public ConceptMap.ElementTarget setCodeSystem(String theUri)
Sets the value for codeSystem ()Definition: An absolute URI that identifies the code system of the target code (if the target is a value set that cross code systems)
-
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 that the map refers to
-
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 that the map refers to
-
setCode
public ConceptMap.ElementTarget setCode(ca.uhn.fhir.model.primitive.CodeDt theValue)
Sets the value(s) for code ()Definition: Identity (code or path) or the element/item that the map refers to
-
setCode
public ConceptMap.ElementTarget setCode(String theCode)
Sets the value for code ()Definition: Identity (code or path) or the element/item that the map refers to
-
getEquivalenceElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<ConceptMapEquivalenceEnum> getEquivalenceElement()
Gets the value(s) for equivalence (). creating it if it does not exist. Will not returnnull.Definition: The equivalence between the source and target concepts (counting for the dependencies and products). The equivalence is read from target to source (e.g. the target is 'wider' than the source)
-
getEquivalence
public String getEquivalence()
Gets the value(s) for equivalence (). creating it if it does not exist. This method may returnnull.Definition: The equivalence between the source and target concepts (counting for the dependencies and products). The equivalence is read from target to source (e.g. the target is 'wider' than the source)
-
setEquivalence
public ConceptMap.ElementTarget setEquivalence(ca.uhn.fhir.model.primitive.BoundCodeDt<ConceptMapEquivalenceEnum> theValue)
Sets the value(s) for equivalence ()Definition: The equivalence between the source and target concepts (counting for the dependencies and products). The equivalence is read from target to source (e.g. the target is 'wider' than the source)
-
setEquivalence
public ConceptMap.ElementTarget setEquivalence(ConceptMapEquivalenceEnum theValue)
Sets the value(s) for equivalence ()Definition: The equivalence between the source and target concepts (counting for the dependencies and products). The equivalence is read from target to source (e.g. the target is 'wider' than the source)
-
getCommentsElement
public ca.uhn.fhir.model.primitive.StringDt getCommentsElement()
Gets the value(s) for comments (). creating it if it does not exist. Will not returnnull.Definition: A description of status/issues in mapping that conveys additional information not represented in the structured data
-
getComments
public String getComments()
Gets the value(s) for comments (). creating it if it does not exist. This method may returnnull.Definition: A description of status/issues in mapping that conveys additional information not represented in the structured data
-
setComments
public ConceptMap.ElementTarget setComments(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for comments ()Definition: A description of status/issues in mapping that conveys additional information not represented in the structured data
-
setComments
public ConceptMap.ElementTarget setComments(String theString)
Sets the value for comments ()Definition: A description of status/issues in mapping that conveys additional information not represented in the structured data
-
getDependsOn
public List<ConceptMap.ElementTargetDependsOn> getDependsOn()
Gets the value(s) for dependsOn (). creating it if it does not exist. Will not returnnull.Definition: A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified element can be resolved, and it has the specified value
-
setDependsOn
public ConceptMap.ElementTarget setDependsOn(List<ConceptMap.ElementTargetDependsOn> theValue)
Sets the value(s) for dependsOn ()Definition: A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified element can be resolved, and it has the specified value
-
addDependsOn
public ConceptMap.ElementTargetDependsOn addDependsOn()
Adds and returns a new value for dependsOn ()Definition: A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified element can be resolved, and it has the specified value
-
addDependsOn
public ConceptMap.ElementTarget addDependsOn(ConceptMap.ElementTargetDependsOn theValue)
Adds a given new value for dependsOn ()Definition: A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified element can be resolved, and it has the specified value
- Parameters:
theValue- The dependsOn to add (must not benull)
-
getDependsOnFirstRep
public ConceptMap.ElementTargetDependsOn getDependsOnFirstRep()
Gets the first repetition for dependsOn (), creating it if it does not already exist.Definition: A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified element can be resolved, and it has the specified value
-
getProduct
public List<ConceptMap.ElementTargetDependsOn> getProduct()
Gets the value(s) for product (). creating it if it does not exist. Will not returnnull.Definition: A set of additional outcomes from this mapping to other elements. To properly execute this mapping, the specified element must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the equivalence cannot be relied on
-
setProduct
public ConceptMap.ElementTarget setProduct(List<ConceptMap.ElementTargetDependsOn> theValue)
Sets the value(s) for product ()Definition: A set of additional outcomes from this mapping to other elements. To properly execute this mapping, the specified element must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the equivalence cannot be relied on
-
addProduct
public ConceptMap.ElementTargetDependsOn addProduct()
Adds and returns a new value for product ()Definition: A set of additional outcomes from this mapping to other elements. To properly execute this mapping, the specified element must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the equivalence cannot be relied on
-
addProduct
public ConceptMap.ElementTarget addProduct(ConceptMap.ElementTargetDependsOn theValue)
Adds a given new value for product ()Definition: A set of additional outcomes from this mapping to other elements. To properly execute this mapping, the specified element must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the equivalence cannot be relied on
- Parameters:
theValue- The product to add (must not benull)
-
getProductFirstRep
public ConceptMap.ElementTargetDependsOn getProductFirstRep()
Gets the first repetition for product (), creating it if it does not already exist.Definition: A set of additional outcomes from this mapping to other elements. To properly execute this mapping, the specified element must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the equivalence cannot be relied on
-
-