Class MedicationAnnotation

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class MedicationAnnotation
    extends com.ibm.cloud.sdk.core.service.model.DynamicModel<java.lang.Object>
    MedicationAnnotation.
    • Constructor Detail

      • MedicationAnnotation

        public MedicationAnnotation()
    • Method Detail

      • getId

        public java.lang.String getId()
        Gets the id.
        Returns:
        the id
      • getType

        public java.lang.String getType()
        Gets the type.
        Returns:
        the type
      • getUid

        public java.lang.Long getUid()
        Gets the uid.
        Returns:
        the uid
      • getBegin

        public java.lang.Long getBegin()
        Gets the begin.
        Returns:
        the begin
      • getEnd

        public java.lang.Long getEnd()
        Gets the end.
        Returns:
        the end
      • getCoveredText

        public java.lang.String getCoveredText()
        Gets the coveredText.
        Returns:
        the coveredText
      • isNegated

        public java.lang.Boolean isNegated()
        Gets the negated.
        Returns:
        the negated
      • isHypothetical

        public java.lang.Boolean isHypothetical()
        Gets the hypothetical.
        Returns:
        the hypothetical
      • getSectionNormalizedName

        public java.lang.String getSectionNormalizedName()
        Gets the sectionNormalizedName.
        Returns:
        the sectionNormalizedName
      • getCui

        public java.lang.String getCui()
        Gets the cui.
        Returns:
        the cui
      • getDrug

        public java.util.List<CustomCollection> getDrug()
        Gets the drug.
        Returns:
        the drug
      • getSectionSurfaceForm

        public java.lang.String getSectionSurfaceForm()
        Gets the sectionSurfaceForm.
        Returns:
        the sectionSurfaceForm
      • getInsightModelData

        public InsightModelData getInsightModelData()
        Gets the insightModelData.
        Returns:
        the insightModelData
      • getTemporal

        public java.util.List<Temporal> getTemporal()
        Gets the temporal.
        Returns:
        the temporal
      • getDisambiguationData

        public Disambiguation getDisambiguationData()
        Gets the disambiguationData.
        Returns:
        the disambiguationData
      • setId

        public void setId​(java.lang.String id)
        Sets the id.
        Parameters:
        id - the new id
      • setType

        public void setType​(java.lang.String type)
        Sets the type.
        Parameters:
        type - the new type
      • setUid

        public void setUid​(java.lang.Long uid)
        Sets the uid.
        Parameters:
        uid - the new uid
      • setBegin

        public void setBegin​(java.lang.Long begin)
        Sets the begin.
        Parameters:
        begin - the new begin
      • setEnd

        public void setEnd​(java.lang.Long end)
        Sets the end.
        Parameters:
        end - the new end
      • setCoveredText

        public void setCoveredText​(java.lang.String coveredText)
        Sets the coveredText.
        Parameters:
        coveredText - the new coveredText
      • setNegated

        public void setNegated​(java.lang.Boolean negated)
        Sets the negated.
        Parameters:
        negated - the new negated
      • setHypothetical

        public void setHypothetical​(java.lang.Boolean hypothetical)
        Sets the hypothetical.
        Parameters:
        hypothetical - the new hypothetical
      • setSectionNormalizedName

        public void setSectionNormalizedName​(java.lang.String sectionNormalizedName)
        Sets the sectionNormalizedName.
        Parameters:
        sectionNormalizedName - the new sectionNormalizedName
      • setCui

        public void setCui​(java.lang.String cui)
        Sets the cui.
        Parameters:
        cui - the new cui
      • setDrug

        public void setDrug​(java.util.List<java.util.Map> drug)
        Sets the drug.
        Parameters:
        drug - the new drug
      • setSectionSurfaceForm

        public void setSectionSurfaceForm​(java.lang.String sectionSurfaceForm)
        Sets the sectionSurfaceForm.
        Parameters:
        sectionSurfaceForm - the new sectionSurfaceForm
      • setInsightModelData

        public void setInsightModelData​(InsightModelData insightModelData)
        Sets the insightModelData.
        Parameters:
        insightModelData - the new insightModelData
      • setTemporal

        public void setTemporal​(java.util.List<Temporal> temporal)
        Sets the temporal.
        Parameters:
        temporal - the new temporal
      • setDisambiguationData

        public void setDisambiguationData​(Disambiguation disambiguationData)
        Sets the disambiguationData.
        Parameters:
        disambiguationData - the new disambiguationData
      • get

        public java.lang.Object get​(java.lang.String key)
        Returns the value from MedicationAnnotation annotation by specified key.
        Overrides:
        get in class com.ibm.cloud.sdk.core.service.model.DynamicModel<java.lang.Object>
        Parameters:
        key - the name of the field to get