Class GraphCompartmentRule

  • All Implemented Interfaces:
    Visitable

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

      • IDENTICAL

        public static final GraphCompartmentRule IDENTICAL
        Identical

        The compartment must be identical (the same literal reference).

      • MATCHING

        public static final GraphCompartmentRule MATCHING
        Matching

        The compartment must be the same - the record must be about the same patient, but the reference may be different.

      • DIFFERENT

        public static final GraphCompartmentRule DIFFERENT
        Different

        The compartment must be different.

      • CUSTOM

        public static final GraphCompartmentRule CUSTOM
        Custom

        The compartment rule is defined in the accompanying FHIRPath expression.

    • Method Detail

      • of

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