Class ListMode

  • All Implemented Interfaces:
    Visitable

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

      • WORKING

        public static final ListMode WORKING
        Working List

        This list is the master list, maintained in an ongoing fashion with regular updates as the real world list it is tracking changes.

      • SNAPSHOT

        public static final ListMode SNAPSHOT
        Snapshot List

        This list was prepared as a snapshot. It should not be assumed to be current.

      • CHANGES

        public static final ListMode CHANGES
        Change List

        A point-in-time list that shows what changes have been made or recommended. E.g. a discharge medication list showing what was added and removed during an encounter.

    • Method Detail

      • of

        public static ListMode of​(ListMode.ValueSet value)
        Factory method for creating ListMode objects from a passed enum value.
      • of

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

        public ListMode.Builder toBuilder()
        Description copied from class: Element
        Create a new Builder from the contents of this Element
        Overrides:
        toBuilder in class Code