java.lang.Object
org.hl7.fhir.r4.model.Base
org.hl7.fhir.r4.model.Element
org.hl7.fhir.r4.model.Type
org.hl7.fhir.r4.model.BaseExtension
org.hl7.fhir.r4.model.Extension
org.projecthusky.fhir.core.ch.resource.extension.r4.TextLink
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.IBaseElement, org.hl7.fhir.instance.model.api.IBaseExtension<org.hl7.fhir.r4.model.Extension,org.hl7.fhir.r4.model.Type>, org.hl7.fhir.instance.model.api.IBaseHasExtensions, org.hl7.fhir.instance.model.api.ICompositeType

public class TextLink extends org.hl7.fhir.r4.model.Extension
Extension of the Extension (sic) to model the TextLink extension that should be used for original representation sections as per CH Core guidance, but that it is not explicitly part of the Swiss base profiles. Thus, an instance of this class can be added to a section's extension list simply by calling the addExtension method and passing such instance. Hence, this class was not designed with the purpose of being embedded as a backbone element in one of the CH Core classes.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.hl7.fhir.r4.model.UriType
     
    protected List<@NonNull org.hl7.fhir.r4.model.StringType>
     
    protected @Nullable org.hl7.fhir.r4.model.StringType
     

    Fields inherited from class org.hl7.fhir.r4.model.Extension

    url, value

    Fields inherited from class org.hl7.fhir.r4.model.Element

    extension, id
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    TextLink(String htmlId, org.hl7.fhir.r4.model.UriType data)
     
    TextLink(List<@NonNull org.hl7.fhir.r4.model.StringType> htmlIds, org.hl7.fhir.r4.model.UriType data, @Nullable org.hl7.fhir.r4.model.StringType selector)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    copyValues(org.hl7.fhir.r4.model.Extension dst)
     
    org.hl7.fhir.r4.model.Extension
    setUrl(String value)
     
    org.hl7.fhir.r4.model.Extension
    setValue(org.hl7.fhir.instance.model.api.IBaseDatatype value)
     
    org.hl7.fhir.r4.model.Extension
    setValue(org.hl7.fhir.r4.model.Type value)
     

    Methods inherited from class org.hl7.fhir.r4.model.Extension

    addChild, equalsDeep, equalsShallow, fhirType, getNamedProperty, getProperty, getTypesForProperty, getUrl, getUrlElement, getValue, hasUrl, hasUrlElement, hasValue, isEmpty, listChildren, makeProperty, removeChild, setProperty, setProperty, setUrlElement, typedCopy

    Methods inherited from class org.hl7.fhir.r4.model.BaseExtension

    getValueAsPrimitive

    Methods inherited from class org.hl7.fhir.r4.model.Element

    addExtension, addExtension, addExtension, copyExtensions, copyNewExtensions, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement

    Methods inherited from class org.hl7.fhir.r4.model.Base

    castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyValues, dateTimeValue, equals, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getXhtml, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN, setXhtml

    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

    Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseExtension

    getExtension

    Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseHasExtensions

    addExtension, getExtension, hasExtension
  • Field Details

    • htmlid

      protected List<@NonNull org.hl7.fhir.r4.model.StringType> htmlid
    • data

      protected org.hl7.fhir.r4.model.UriType data
    • selector

      protected @Nullable org.hl7.fhir.r4.model.StringType selector
  • Constructor Details

    • TextLink

      public TextLink()
    • TextLink

      public TextLink(String htmlId, org.hl7.fhir.r4.model.UriType data)
    • TextLink

      public TextLink(List<@NonNull org.hl7.fhir.r4.model.StringType> htmlIds, org.hl7.fhir.r4.model.UriType data, @Nullable org.hl7.fhir.r4.model.StringType selector)
  • Method Details

    • setUrl

      public org.hl7.fhir.r4.model.Extension setUrl(String value)
      Specified by:
      setUrl in interface org.hl7.fhir.instance.model.api.IBaseExtension<org.hl7.fhir.r4.model.Extension,org.hl7.fhir.r4.model.Type>
      Overrides:
      setUrl in class org.hl7.fhir.r4.model.Extension
    • setValue

      public org.hl7.fhir.r4.model.Extension setValue(org.hl7.fhir.r4.model.Type value)
      Overrides:
      setValue in class org.hl7.fhir.r4.model.Extension
    • setValue

      public org.hl7.fhir.r4.model.Extension setValue(org.hl7.fhir.instance.model.api.IBaseDatatype value)
      Specified by:
      setValue in interface org.hl7.fhir.instance.model.api.IBaseExtension<org.hl7.fhir.r4.model.Extension,org.hl7.fhir.r4.model.Type>
      Overrides:
      setValue in class org.hl7.fhir.r4.model.BaseExtension
    • copy

      public TextLink copy()
      Overrides:
      copy in class org.hl7.fhir.r4.model.Extension
    • copyValues

      public void copyValues(org.hl7.fhir.r4.model.Extension dst)
      Overrides:
      copyValues in class org.hl7.fhir.r4.model.Extension