Class ValueSetConstants


  • public class ValueSetConstants
    extends Object
    Utility class that holds constant value sets for the different value sets.

    The value set JSON files are stored in this library, so for a more flexible solution the value sets used should be based on dynamic files that are continuously updated. See ReloadableValueSet.

    Author:
    Martin Lindström (martin@idsec.se), Henrik Bengtsson (extern.henrik.bengtsson@digg.se), Henric Norlander (extern.henric.norlander@digg.se)
    • Field Detail

      • DISEASE_AGENT_TARGETED_ID

        public static final String DISEASE_AGENT_TARGETED_ID
        ID for the "disease agent targeted" value set.
        See Also:
        Constant Field Values
      • TEST_MANUFACTURER_AND_NAME_ID

        public static final String TEST_MANUFACTURER_AND_NAME_ID
        ID for "Covid-19 lab test manufacturer (and name)" value set.
        See Also:
        Constant Field Values
      • MARKETING_AUTH_HOLDERS_ID

        public static final String MARKETING_AUTH_HOLDERS_ID
        ID for "Covid-19 marketing authorization holders" value set.
        See Also:
        Constant Field Values
      • MEDICAL_PRODUCT_ID

        public static final String MEDICAL_PRODUCT_ID
        ID for "Vaccine medical product" value set.
        See Also:
        Constant Field Values
      • VACCINE_PROPHYLAXIS

        public static final String VACCINE_PROPHYLAXIS
        ID for "Vaccine Prophylaxis" value set.
        See Also:
        Constant Field Values
    • Method Detail

      • diseaseAgentTargeted

        public static ValueSet diseaseAgentTargeted()
        Gets a static representation of the disease-agent-targeted value set.
        Returns:
        disease-agent-targeted
      • testManufacturer

        public static ValueSet testManufacturer()
        Gets a static representation of the covid-19-lab-test-manufacturer-and-name value set.
        Returns:
        covid-19-lab-test-manufacturer-and-name
      • testResult

        public static ValueSet testResult()
        Gets a static representation of the covid-19-lab-result value set.
        Returns:
        covid-19-lab-result
      • testType

        public static ValueSet testType()
        Gets a static representation of the covid-19-lab-test-type value set.
        Returns:
        covid-19-lab-test-type
      • marketingAuthorizationHolder

        public static ValueSet marketingAuthorizationHolder()
        Gets a static representation of the vaccines-covid-19-auth-holders value set.
        Returns:
        vaccines-covid-19-auth-holders
      • medicalProduct

        public static ValueSet medicalProduct()
        Gets a static representation of the vaccines-covid-19-names value set.
        Returns:
        vaccines-covid-19-names
      • vaccineProphylaxis

        public static ValueSet vaccineProphylaxis()
        Gets a static representation of the sct-vaccines-covid-19 value set.
        Returns:
        sct-vaccines-covid-19
      • countryCodes

        public static ValueSet countryCodes()
        Gets a static representation of the country-2-codes value set.
        Returns:
        country-2-codes