Class ConceptMap.Element

java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.dstu2.resource.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:
  • Constructor Details

  • Method Details

    • 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

      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

      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

      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

    • setTarget

      Sets the value(s) for target ()

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

    • addTarget

      Adds and returns a new value for target ()

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

    • addTarget

      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

      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