Class ProvenanceEntityRole

  • All Implemented Interfaces:
    Visitable

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

      • DERIVATION

        public static final ProvenanceEntityRole DERIVATION
        Derivation

        A transformation of an entity into another, an update of an entity resulting in a new one, or the construction of a new entity based on a pre-existing entity.

      • REVISION

        public static final ProvenanceEntityRole REVISION
        Revision

        A derivation for which the resulting entity is a revised version of some original.

      • QUOTATION

        public static final ProvenanceEntityRole QUOTATION
        Quotation

        The repeat of (some or all of) an entity, such as text or image, by someone who might or might not be its original author.

      • SOURCE

        public static final ProvenanceEntityRole SOURCE
        Source

        A primary source for a topic refers to something produced by some agent with direct experience and knowledge about the topic, at the time of the topic's study, without benefit from hindsight.

      • REMOVAL

        public static final ProvenanceEntityRole REMOVAL
        Removal

        A derivation for which the entity is removed from accessibility usually through the use of the Delete operation.

    • Method Detail

      • of

        public static ProvenanceEntityRole of​(String value)
        Factory method for creating ProvenanceEntityRole 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 ProvenanceEntityRole 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 ProvenanceEntityRole 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