Class LinkageType

  • All Implemented Interfaces:
    Visitable

    @Generated("com.ibm.fhir.tools.CodeGenerator")
    public class LinkageType
    extends Code
    • Field Detail

      • SOURCE

        public static final LinkageType SOURCE
        Source of Truth

        The resource represents the "source of truth" (from the perspective of this Linkage resource) for the underlying event/condition/etc.

      • ALTERNATE

        public static final LinkageType ALTERNATE
        Alternate Record

        The resource represents an alternative view of the underlying event/condition/etc. The resource may still be actively maintained, even though it is not considered to be the source of truth.

      • HISTORICAL

        public static final LinkageType HISTORICAL
        Historical/Obsolete Record

        The resource represents an obsolete record of the underlying event/condition/etc. It is not expected to be actively maintained.

    • Method Detail

      • of

        public static LinkageType of​(String value)
        Factory method for creating LinkageType objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • string

        public static String string​(String value)
        Inherited factory method for creating LinkageType objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • code

        public static Code code​(String value)
        Inherited factory method for creating LinkageType objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class Code
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Code