Class ExposureState

  • All Implemented Interfaces:
    Visitable

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

      • EXPOSURE

        public static final ExposureState EXPOSURE
        Exposure

        used when the results by exposure is describing the results for the primary exposure of interest.

      • EXPOSURE_ALTERNATIVE

        public static final ExposureState EXPOSURE_ALTERNATIVE
        Exposure Alternative

        used when the results by exposure is describing the results for the alternative exposure state, control state or comparator state.

    • Method Detail

      • of

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