Enum StructureMapTransform.ValueSet

    • Enum Constant Detail

      • CREATE

        public static final StructureMapTransform.ValueSet CREATE
        create

        create(type : string) - type is passed through to the application on the standard API, and must be known by it.

      • ESCAPE

        public static final StructureMapTransform.ValueSet ESCAPE
        escape

        escape(source, fmt1, fmt2) - change source from one kind of escaping to another (plain, java, xml, json). note that this is for when the string itself is escaped.

      • CAST

        public static final StructureMapTransform.ValueSet CAST
        cast

        cast(source, type?) - case source from one type to another. target type can be left as implicit if there is one and only one target type known.

      • REFERENCE

        public static final StructureMapTransform.ValueSet REFERENCE
        reference

        reference(source : object) - return a string that references the provided tree properly.

      • POINTER

        public static final StructureMapTransform.ValueSet POINTER
        pointer

        Return the appropriate string to put in a reference that refers to the resource provided as a parameter.

      • EVALUATE

        public static final StructureMapTransform.ValueSet EVALUATE
        evaluate

        Execute the supplied FHIRPath expression and use the value returned by that.

      • QTY

        public static final StructureMapTransform.ValueSet QTY
        qty

        Create a quantity. Parameters = (text) or (value, unit, [system, code]) where text is the natural representation e. g. [comparator]value[space]unit.

      • ID

        public static final StructureMapTransform.ValueSet ID
        id

        Create an identifier. Parameters = (system, value[, type]) where type is a code from the identifier type value set.

      • CP

        public static final StructureMapTransform.ValueSet CP
        cp

        Create a contact details. Parameters = (value) or (system, value). If no system is provided, the system should be inferred from the content of the value.

    • Method Detail

      • values

        public static StructureMapTransform.ValueSet[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (StructureMapTransform.ValueSet c : StructureMapTransform.ValueSet.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static StructureMapTransform.ValueSet valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • value

        public String value()
        Returns:
        The java.lang.String value of the code represented by this enum
      • from

        public static StructureMapTransform.ValueSet from​(String value)
        Factory method for creating StructureMapTransform.ValueSet values 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