Class GroupType

  • All Implemented Interfaces:
    Visitable

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

      • PERSON

        public static final GroupType PERSON
        Person

        Group contains "person" Patient resources.

      • ANIMAL

        public static final GroupType ANIMAL
        Animal

        Group contains "animal" Patient resources.

      • PRACTITIONER

        public static final GroupType PRACTITIONER
        Practitioner

        Group contains healthcare practitioner resources (Practitioner or PractitionerRole).

      • DEVICE

        public static final GroupType DEVICE
        Device

        Group contains Device resources.

      • MEDICATION

        public static final GroupType MEDICATION
        Medication

        Group contains Medication resources.

      • SUBSTANCE

        public static final GroupType SUBSTANCE
        Substance

        Group contains Substance resources.

    • Method Detail

      • of

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

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