Class TERM_MAPPING

All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement, Serializable, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseDatatype, org.hl7.fhir.instance.model.api.ICompositeType

public class TERM_MAPPING extends LogicalBase implements org.hl7.fhir.instance.model.api.ICompositeType
Items which are truly boolean data, such as true/false or yes/no answers. For such data, it is important to devise the meanings (usually questions in subjective data) carefully, so that the only allowed results are in fact true or false.
See Also:
  • Field Details

    • match

      protected StringType match
      The relative match of the target term with respect to the mapped text item. Result meanings: '>': the mapping is to a broader term e.g. orginal text = arbovirus infection , target = viral infection '=': the mapping is to a (supposedly) equivalent to the original item 'invalid input: '<'': the mapping is to a narrower term. e.g. original text = diabetes , mapping = diabetes mellitus. '?': the kind of mapping is unknown. The first three values are taken from the ISO standards 2788 ( Guide to Establishment and development of monolingual thesauri) and 5964 (Guide to Establishment and development of multilingual thesauri).
    • purpose

      Purpose of the mapping e.g. 'automated data mining', 'billing', 'interoperability'.
    • target

      protected CODE_PHRASE target
      The target term of the mapping.
  • Constructor Details

  • Method Details

    • getMatchElement

      Returns:
      match (The relative match of the target term with respect to the mapped text item. Result meanings: '>': the mapping is to a broader term e.g. orginal text = arbovirus infection , target = viral infection '=': the mapping is to a (supposedly) equivalent to the original item 'invalid input: '<'': the mapping is to a narrower term. e.g. original text = diabetes , mapping = diabetes mellitus. '?': the kind of mapping is unknown. The first three values are taken from the ISO standards 2788 ( Guide to Establishment and development of monolingual thesauri) and 5964 (Guide to Establishment and development of multilingual thesauri).). This is the underlying object with id, value and extensions. The accessor "getMatch" gives direct access to the value
    • hasMatchElement

      public boolean hasMatchElement()
    • hasMatch

      public boolean hasMatch()
    • setMatchElement

      Parameters:
      value - match (The relative match of the target term with respect to the mapped text item. Result meanings: '>': the mapping is to a broader term e.g. orginal text = arbovirus infection , target = viral infection '=': the mapping is to a (supposedly) equivalent to the original item 'invalid input: '<'': the mapping is to a narrower term. e.g. original text = diabetes , mapping = diabetes mellitus. '?': the kind of mapping is unknown. The first three values are taken from the ISO standards 2788 ( Guide to Establishment and development of monolingual thesauri) and 5964 (Guide to Establishment and development of multilingual thesauri).). This is the underlying object with id, value and extensions. The accessor "getMatch" gives direct access to the value
    • getMatch

      public String getMatch()
      Returns:
      The relative match of the target term with respect to the mapped text item. Result meanings: '>': the mapping is to a broader term e.g. orginal text = arbovirus infection , target = viral infection '=': the mapping is to a (supposedly) equivalent to the original item 'invalid input: '<'': the mapping is to a narrower term. e.g. original text = diabetes , mapping = diabetes mellitus. '?': the kind of mapping is unknown. The first three values are taken from the ISO standards 2788 ( Guide to Establishment and development of monolingual thesauri) and 5964 (Guide to Establishment and development of multilingual thesauri).
    • setMatch

      public TERM_MAPPING setMatch(String value)
      Parameters:
      value - The relative match of the target term with respect to the mapped text item. Result meanings: '>': the mapping is to a broader term e.g. orginal text = arbovirus infection , target = viral infection '=': the mapping is to a (supposedly) equivalent to the original item 'invalid input: '<'': the mapping is to a narrower term. e.g. original text = diabetes , mapping = diabetes mellitus. '?': the kind of mapping is unknown. The first three values are taken from the ISO standards 2788 ( Guide to Establishment and development of monolingual thesauri) and 5964 (Guide to Establishment and development of multilingual thesauri).
    • getPurpose

      Returns:
      purpose (Purpose of the mapping e.g. 'automated data mining', 'billing', 'interoperability'.)
    • hasPurpose

      public boolean hasPurpose()
    • setPurpose

      Parameters:
      value - purpose (Purpose of the mapping e.g. 'automated data mining', 'billing', 'interoperability'.)
    • getTarget

      Returns:
      target (The target term of the mapping.)
    • hasTarget

      public boolean hasTarget()
    • setTarget

      Parameters:
      value - target (The target term of the mapping.)
    • listChildren

      protected void listChildren(List<Property> children)
      Overrides:
      listChildren in class Base
    • getNamedProperty

      public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      getNamedProperty in class Base
      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 class Base
      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 class Base
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • setProperty

      public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      setProperty in class Base
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • makeProperty

      public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      makeProperty in class Base
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • getTypesForProperty

      public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      getTypesForProperty in class Base
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • addChild

      public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      addChild in class Base
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • fhirType

      public String fhirType()
      Specified by:
      fhirType in interface org.hl7.fhir.instance.model.api.IBase
      Specified by:
      fhirType in class Base
      Returns:
      the FHIR type name of the instance (not the java class name)
    • copy

      public TERM_MAPPING copy()
      Specified by:
      copy in class Base
    • copyValues

      public void copyValues(TERM_MAPPING dst)
    • typedCopy

      protected TERM_MAPPING typedCopy()
    • equalsDeep

      public boolean equalsDeep(Base other_)
      Overrides:
      equalsDeep in class Base
    • equalsShallow

      public boolean equalsShallow(Base other_)
      Overrides:
      equalsShallow in class Base
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.hl7.fhir.instance.model.api.IBase
      Overrides:
      isEmpty in class Base