Package org.hl7.fhir.dstu2.model
Class ConceptMap.TargetElementComponent
- java.lang.Object
-
- org.hl7.fhir.dstu2.model.Base
-
- org.hl7.fhir.dstu2.model.Element
-
- org.hl7.fhir.dstu2.model.BackboneElement
-
- org.hl7.fhir.dstu2.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 UriTypecodeSystemAn absolute URI that identifies the code system of the target code (if the target is a value set that cross code systems).protected StringTypecommentsA 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 Enumeration<Enumerations.ConceptMapEquivalence>equivalenceThe equivalence between the source and target concepts (counting for the dependencies and products).protected List<ConceptMap.OtherElementComponent>productA set of additional outcomes from this mapping to other elements.-
Fields inherited from class org.hl7.fhir.dstu2.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description TargetElementComponent()TargetElementComponent(Enumeration<Enumerations.ConceptMapEquivalence> equivalence)
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2.model.BackboneElement
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, hasModifierExtension
-
Methods inherited from class org.hl7.fhir.dstu2.model.Element
addExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElement
-
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, 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
-
codeSystem
protected UriType codeSystem
An absolute URI that identifies the code system of the target code (if the target is a value set that cross code systems).
-
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).
-
comments
protected StringType comments
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()
-
TargetElementComponent
public TargetElementComponent(Enumeration<Enumerations.ConceptMapEquivalence> equivalence)
-
-
Method Detail
-
getCodeSystemElement
public UriType getCodeSystemElement()
- Returns:
codeSystem(An absolute URI that identifies the code system of the target code (if the target is a value set that cross code systems).). This is the underlying object with id, value and extensions. The accessor "getCodeSystem" gives direct access to the value
-
hasCodeSystemElement
public boolean hasCodeSystemElement()
-
hasCodeSystem
public boolean hasCodeSystem()
-
setCodeSystemElement
public ConceptMap.TargetElementComponent setCodeSystemElement(UriType value)
- Parameters:
value-codeSystem(An absolute URI that identifies the code system of the target code (if the target is a value set that cross code systems).). This is the underlying object with id, value and extensions. The accessor "getCodeSystem" gives direct access to the value
-
getCodeSystem
public String getCodeSystem()
- Returns:
- 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.TargetElementComponent setCodeSystem(String value)
- Parameters:
value- 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 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.
-
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).
-
getCommentsElement
public StringType getCommentsElement()
- Returns:
comments(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 "getComments" gives direct access to the value
-
hasCommentsElement
public boolean hasCommentsElement()
-
hasComments
public boolean hasComments()
-
setCommentsElement
public ConceptMap.TargetElementComponent setCommentsElement(StringType value)
- Parameters:
value-comments(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 "getComments" gives direct access to the value
-
getComments
public String getComments()
- Returns:
- A description of status/issues in mapping that conveys additional information not represented in the structured data.
-
setComments
public ConceptMap.TargetElementComponent setComments(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.)
-
hasDependsOn
public boolean hasDependsOn()
-
addDependsOn
public ConceptMap.OtherElementComponent addDependsOn()
- 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.)
-
addDependsOn
public ConceptMap.TargetElementComponent addDependsOn(ConceptMap.OtherElementComponent t)
-
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.)
-
hasProduct
public boolean hasProduct()
-
addProduct
public ConceptMap.OtherElementComponent addProduct()
- 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.)
-
addProduct
public ConceptMap.TargetElementComponent addProduct(ConceptMap.OtherElementComponent t)
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classBackboneElement
-
setProperty
public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin 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
-
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
-
-