
Package org.hl7.fhir.dstu3.model
Class ConceptMap.TargetElementComponent
- java.lang.Object
-
- org.hl7.fhir.dstu3.model.Base
-
- org.hl7.fhir.dstu3.model.Element
-
- org.hl7.fhir.dstu3.model.BackboneElement
-
- org.hl7.fhir.dstu3.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 CodeType
code
Identity (code or path) or the element/item that the map refers to.protected StringType
comment
A description of status/issues in mapping that conveys additional information not represented in the structured data.protected List<ConceptMap.OtherElementComponent>
dependsOn
A set of additional dependencies for this mapping to hold.protected StringType
display
The display for the code.protected Enumeration<Enumerations.ConceptMapEquivalence>
equivalence
The equivalence between the source and target concepts (counting for the dependencies and products).protected List<ConceptMap.OtherElementComponent>
product
A set of additional outcomes from this mapping to other elements.-
Fields inherited from class org.hl7.fhir.dstu3.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description TargetElementComponent()
Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu3.model.BackboneElement
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtension
-
Methods inherited from class org.hl7.fhir.dstu3.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setExtension, setId, setIdBase, setIdElement
-
Methods inherited from class org.hl7.fhir.dstu3.model.Base
castToAddress, 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, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, 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.
-
equivalence
protected Enumeration<Enumerations.ConceptMapEquivalence> equivalence
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).
-
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 equivalence cannot be relied on.
-
-
Constructor Detail
-
TargetElementComponent
public TargetElementComponent()
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.
-
getEquivalenceElement
public Enumeration<Enumerations.ConceptMapEquivalence> getEquivalenceElement()
- Returns:
equivalence
(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).). This is the underlying object with id, value and extensions. The accessor "getEquivalence" gives direct access to the value
-
hasEquivalenceElement
public boolean hasEquivalenceElement()
-
hasEquivalence
public boolean hasEquivalence()
-
setEquivalenceElement
public ConceptMap.TargetElementComponent setEquivalenceElement(Enumeration<Enumerations.ConceptMapEquivalence> value)
- Parameters:
value
-equivalence
(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).). This is the underlying object with id, value and extensions. The accessor "getEquivalence" gives direct access to the value
-
getEquivalence
public Enumerations.ConceptMapEquivalence getEquivalence()
- Returns:
- 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.TargetElementComponent setEquivalence(Enumerations.ConceptMapEquivalence value)
- Parameters:
value
- 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).
-
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
this
for 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
-
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 equivalence cannot be relied on.)
-
setProduct
public ConceptMap.TargetElementComponent setProduct(List<ConceptMap.OtherElementComponent> theProduct)
- Returns:
- Returns a reference to
this
for 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
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildren
in classBackboneElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makeProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChild
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public ConceptMap.TargetElementComponent copy()
- Specified by:
copy
in classBackboneElement
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeep
in classBackboneElement
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallow
in classBackboneElement
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classBackboneElement
-
fhirType
public String fhirType()
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classBackboneElement
-
-