Class ConceptMap.Element

  • 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.Element
    extends ca.uhn.fhir.model.api.BaseIdentifiableElement
    implements ca.uhn.fhir.model.api.IResourceBlock
    Block class for child element: ConceptMap.element ()

    Definition: Mappings for an individual concept in the source to one or more concepts in the target

    See Also:
    Serialized Form
    • Constructor Detail

    • Method Detail

      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface org.hl7.fhir.instance.model.api.IBase
      • getAllPopulatedChildElementsOfType

        public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType​(Class<T> theType)
        Specified by:
        getAllPopulatedChildElementsOfType in interface ca.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 return null.

        Definition: An absolute URI that identifies the Code System (if the source is a value set that crosses more than one code system)

      • getCodeSystem

        public String getCodeSystem()
        Gets the value(s) for codeSystem (). creating it if it does not exist. This method may return null.

        Definition: An absolute URI that identifies the Code System (if the source is a value set that crosses more than one code system)

      • setCodeSystem

        public ConceptMap.Element setCodeSystem​(ca.uhn.fhir.model.primitive.UriDt theValue)
        Sets the value(s) for codeSystem ()

        Definition: An absolute URI that identifies the Code System (if the source is a value set that crosses more than one code system)

      • setCodeSystem

        public ConceptMap.Element setCodeSystem​(String theUri)
        Sets the value for codeSystem ()

        Definition: An absolute URI that identifies the Code System (if the source is a value set that crosses more than one code system)

      • getCodeElement

        public ca.uhn.fhir.model.primitive.CodeDt getCodeElement()
        Gets the value(s) for code (). creating it if it does not exist. Will not return null.

        Definition: Identity (code or path) or the element/item being mapped

      • getCode

        public String getCode()
        Gets the value(s) for code (). creating it if it does not exist. This method may return null.

        Definition: Identity (code or path) or the element/item being mapped

      • setCode

        public ConceptMap.Element setCode​(ca.uhn.fhir.model.primitive.CodeDt theValue)
        Sets the value(s) for code ()

        Definition: Identity (code or path) or the element/item being mapped

      • setCode

        public ConceptMap.Element setCode​(String theCode)
        Sets the value for code ()

        Definition: Identity (code or path) or the element/item being mapped

      • getTarget

        public List<ConceptMap.ElementTargetgetTarget()
        Gets the value(s) for target (). creating it if it does not exist. Will not return null.

        Definition: A concept from the target value set that this concept maps to

      • addTarget

        public ConceptMap.ElementTarget addTarget()
        Adds and returns a new value for target ()

        Definition: A concept from the target value set that this concept maps to

      • addTarget

        public ConceptMap.Element addTarget​(ConceptMap.ElementTarget theValue)
        Adds a given new value for target ()

        Definition: A concept from the target value set that this concept maps to

        Parameters:
        theValue - The target to add (must not be null)
      • getTargetFirstRep

        public ConceptMap.ElementTarget getTargetFirstRep()
        Gets the first repetition for target (), creating it if it does not already exist.

        Definition: A concept from the target value set that this concept maps to