Package org.hl7.fhir.r5.model
Class ConceptMap2.SourceElementComponent
- 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.ConceptMap2.SourceElementComponent
-
- 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:
- ConceptMap2
public static class ConceptMap2.SourceElementComponent 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 being mapped.protected StringTypedisplayThe display for the code.protected BooleanTypenoMapIf noMap = true this indicates that no mapping to a target concept exists for this source concept.protected List<ConceptMap2.TargetElementComponent>targetA concept from the target value set that this concept maps to.protected CanonicalTypevalueSetThe set of codes being mapped.-
Fields inherited from class org.hl7.fhir.r5.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description SourceElementComponent()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.
-
valueSet
protected CanonicalType valueSet
The set of codes being mapped.
-
noMap
protected BooleanType noMap
If noMap = true this indicates that no mapping to a target concept exists for this source concept.
-
target
protected List<ConceptMap2.TargetElementComponent> target
A concept from the target value set that this concept maps to.
-
-
Constructor Detail
-
SourceElementComponent
public SourceElementComponent()
Constructor
-
-
Method Detail
-
getCodeElement
public CodeType getCodeElement()
- Returns:
code(Identity (code or path) or the element/item being mapped.). 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 ConceptMap2.SourceElementComponent setCodeElement(CodeType value)
- Parameters:
value-code(Identity (code or path) or the element/item being mapped.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the value
-
setCode
public ConceptMap2.SourceElementComponent setCode(String value)
- Parameters:
value- Identity (code or path) or the element/item being mapped.
-
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 ConceptMap2.SourceElementComponent 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 ConceptMap2.SourceElementComponent setDisplay(String value)
- Parameters:
value- The display for the code. The display is only provided to help editors when editing the concept map.
-
getValueSetElement
public CanonicalType getValueSetElement()
- Returns:
valueSet(The set of codes being mapped.). This is the underlying object with id, value and extensions. The accessor "getValueSet" gives direct access to the value
-
hasValueSetElement
public boolean hasValueSetElement()
-
hasValueSet
public boolean hasValueSet()
-
setValueSetElement
public ConceptMap2.SourceElementComponent setValueSetElement(CanonicalType value)
- Parameters:
value-valueSet(The set of codes being mapped.). This is the underlying object with id, value and extensions. The accessor "getValueSet" gives direct access to the value
-
getValueSet
public String getValueSet()
- Returns:
- The set of codes being mapped.
-
setValueSet
public ConceptMap2.SourceElementComponent setValueSet(String value)
- Parameters:
value- The set of codes being mapped.
-
getNoMapElement
public BooleanType getNoMapElement()
- Returns:
noMap(If noMap = true this indicates that no mapping to a target concept exists for this source concept.). This is the underlying object with id, value and extensions. The accessor "getNoMap" gives direct access to the value
-
hasNoMapElement
public boolean hasNoMapElement()
-
hasNoMap
public boolean hasNoMap()
-
setNoMapElement
public ConceptMap2.SourceElementComponent setNoMapElement(BooleanType value)
- Parameters:
value-noMap(If noMap = true this indicates that no mapping to a target concept exists for this source concept.). This is the underlying object with id, value and extensions. The accessor "getNoMap" gives direct access to the value
-
getNoMap
public boolean getNoMap()
- Returns:
- If noMap = true this indicates that no mapping to a target concept exists for this source concept.
-
setNoMap
public ConceptMap2.SourceElementComponent setNoMap(boolean value)
- Parameters:
value- If noMap = true this indicates that no mapping to a target concept exists for this source concept.
-
getTarget
public List<ConceptMap2.TargetElementComponent> getTarget()
- Returns:
target(A concept from the target value set that this concept maps to.)
-
setTarget
public ConceptMap2.SourceElementComponent setTarget(List<ConceptMap2.TargetElementComponent> theTarget)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasTarget
public boolean hasTarget()
-
addTarget
public ConceptMap2.TargetElementComponent addTarget()
-
addTarget
public ConceptMap2.SourceElementComponent addTarget(ConceptMap2.TargetElementComponent t)
-
getTargetFirstRep
public ConceptMap2.TargetElementComponent getTargetFirstRep()
- Returns:
- The first repetition of repeating field
target, 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 ConceptMap2.SourceElementComponent copy()
- Specified by:
copyin classBackboneElement
-
copyValues
public void copyValues(ConceptMap2.SourceElementComponent 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
-
-