Package org.hl7.fhir.r5.model
Class ConceptMap.TargetElementComponent
- java.lang.Object
-
- org.hl7.fhir.r5.model.Base
-
- org.hl7.fhir.r5.model.Element
-
- org.hl7.fhir.r5.model.BackboneElement
-
- org.hl7.fhir.r5.model.ConceptMap.TargetElementComponent
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseBackboneElement,org.hl7.fhir.instance.model.api.IBaseElement,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
- Enclosing class:
- ConceptMap
public static class ConceptMap.TargetElementComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected CodeTypecodeIdentity (code or path) or the element/item that the map refers to.protected StringTypecommentA description of status/issues in mapping that conveys additional information not represented in the structured data.protected List<ConceptMap.OtherElementComponent>dependsOnA set of additional dependencies for this mapping to hold.protected StringTypedisplayThe display for the code.protected List<ConceptMap.OtherElementComponent>productA set of additional outcomes from this mapping to other elements.protected Enumeration<Enumerations.ConceptMapRelationship>relationshipThe relationship between the source and target concepts.-
Fields inherited from class org.hl7.fhir.r5.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description TargetElementComponent()ConstructorTargetElementComponent(Enumerations.ConceptMapRelationship relationship)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r5.model.BackboneElement
addModifierExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, removeExtension, setModifierExtension
-
Methods inherited from class org.hl7.fhir.r5.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionFirstRep, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement
-
Methods inherited from class org.hl7.fhir.r5.model.Base
children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyUserData, copyValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getXhtml, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
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
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
-
-
-
-
Field Detail
-
display
protected StringType display
The display for the code. The display is only provided to help editors when editing the concept map.
-
relationship
protected Enumeration<Enumerations.ConceptMapRelationship> relationship
The relationship between the source and target concepts. The relationship is read from source to target (e.g. source-is-narrower-than-target).
-
comment
protected StringType comment
A description of status/issues in mapping that conveys additional information not represented in the structured data.
-
dependsOn
protected List<ConceptMap.OtherElementComponent> dependsOn
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.
-
product
protected List<ConceptMap.OtherElementComponent> product
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 relationship (e.g., equivalent) cannot be relied on.
-
-
Constructor Detail
-
TargetElementComponent
public TargetElementComponent()
Constructor
-
TargetElementComponent
public TargetElementComponent(Enumerations.ConceptMapRelationship relationship)
Constructor
-
-
Method Detail
-
getCodeElement
public CodeType getCodeElement()
- Returns:
code(Identity (code or path) or the element/item that the map refers to.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value
-
hasCodeElement
public boolean hasCodeElement()
-
hasCode
public boolean hasCode()
-
setCodeElement
public ConceptMap.TargetElementComponent setCodeElement(CodeType value)
- Parameters:
value-code(Identity (code or path) or the element/item that the map refers to.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value
-
getCode
public String getCode()
- Returns:
- Identity (code or path) or the element/item that the map refers to.
-
setCode
public ConceptMap.TargetElementComponent setCode(String value)
- Parameters:
value- Identity (code or path) or the element/item that the map refers to.
-
getDisplayElement
public StringType getDisplayElement()
- Returns:
display(The display for the code. The display is only provided to help editors when editing the concept map.). This is the underlying object with id, value and extensions. The accessor "getDisplay" gives direct access to the value
-
hasDisplayElement
public boolean hasDisplayElement()
-
hasDisplay
public boolean hasDisplay()
-
setDisplayElement
public ConceptMap.TargetElementComponent setDisplayElement(StringType value)
- Parameters:
value-display(The display for the code. The display is only provided to help editors when editing the concept map.). This is the underlying object with id, value and extensions. The accessor "getDisplay" gives direct access to the value
-
getDisplay
public String getDisplay()
- Returns:
- The display for the code. The display is only provided to help editors when editing the concept map.
-
setDisplay
public ConceptMap.TargetElementComponent setDisplay(String value)
- Parameters:
value- The display for the code. The display is only provided to help editors when editing the concept map.
-
getRelationshipElement
public Enumeration<Enumerations.ConceptMapRelationship> getRelationshipElement()
- Returns:
relationship(The relationship between the source and target concepts. The relationship is read from source to target (e.g. source-is-narrower-than-target).). This is the underlying object with id, value and extensions. The accessor "getRelationship" gives direct access to the value
-
hasRelationshipElement
public boolean hasRelationshipElement()
-
hasRelationship
public boolean hasRelationship()
-
setRelationshipElement
public ConceptMap.TargetElementComponent setRelationshipElement(Enumeration<Enumerations.ConceptMapRelationship> value)
- Parameters:
value-relationship(The relationship between the source and target concepts. The relationship is read from source to target (e.g. source-is-narrower-than-target).). This is the underlying object with id, value and extensions. The accessor "getRelationship" gives direct access to the value
-
getRelationship
public Enumerations.ConceptMapRelationship getRelationship()
- Returns:
- The relationship between the source and target concepts. The relationship is read from source to target (e.g. source-is-narrower-than-target).
-
setRelationship
public ConceptMap.TargetElementComponent setRelationship(Enumerations.ConceptMapRelationship value)
- Parameters:
value- The relationship between the source and target concepts. The relationship is read from source to target (e.g. source-is-narrower-than-target).
-
getCommentElement
public StringType getCommentElement()
- Returns:
comment(A description of status/issues in mapping that conveys additional information not represented in the structured data.). This is the underlying object with id, value and extensions. The accessor "getComment" gives direct access to the value
-
hasCommentElement
public boolean hasCommentElement()
-
hasComment
public boolean hasComment()
-
setCommentElement
public ConceptMap.TargetElementComponent setCommentElement(StringType value)
- Parameters:
value-comment(A description of status/issues in mapping that conveys additional information not represented in the structured data.). This is the underlying object with id, value and extensions. The accessor "getComment" gives direct access to the value
-
getComment
public String getComment()
- Returns:
- A description of status/issues in mapping that conveys additional information not represented in the structured data.
-
setComment
public ConceptMap.TargetElementComponent setComment(String value)
- Parameters:
value- A description of status/issues in mapping that conveys additional information not represented in the structured data.
-
getDependsOn
public List<ConceptMap.OtherElementComponent> getDependsOn()
- Returns:
dependsOn(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.TargetElementComponent setDependsOn(List<ConceptMap.OtherElementComponent> theDependsOn)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasDependsOn
public boolean hasDependsOn()
-
addDependsOn
public ConceptMap.OtherElementComponent addDependsOn()
-
addDependsOn
public ConceptMap.TargetElementComponent addDependsOn(ConceptMap.OtherElementComponent t)
-
getDependsOnFirstRep
public ConceptMap.OtherElementComponent getDependsOnFirstRep()
- Returns:
- The first repetition of repeating field
dependsOn, creating it if it does not already exist {3}
-
getProduct
public List<ConceptMap.OtherElementComponent> getProduct()
- Returns:
product(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 relationship (e.g., equivalent) cannot be relied on.)
-
setProduct
public ConceptMap.TargetElementComponent setProduct(List<ConceptMap.OtherElementComponent> theProduct)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasProduct
public boolean hasProduct()
-
addProduct
public ConceptMap.OtherElementComponent addProduct()
-
addProduct
public ConceptMap.TargetElementComponent addProduct(ConceptMap.OtherElementComponent t)
-
getProductFirstRep
public ConceptMap.OtherElementComponent getProductFirstRep()
- Returns:
- The first repetition of repeating field
product, creating it if it does not already exist {3}
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildrenin classBackboneElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public ConceptMap.TargetElementComponent copy()
- Specified by:
copyin classBackboneElement
-
copyValues
public void copyValues(ConceptMap.TargetElementComponent dst)
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeepin classBackboneElement
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallowin classBackboneElement
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classBackboneElement
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classBackboneElement
-
-