Class StructureMapTransform

  • All Implemented Interfaces:
    Visitable

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

      • CREATE

        public static final StructureMapTransform CREATE
        create

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

      • TRUNCATE

        public static final StructureMapTransform TRUNCATE
        truncate

        truncate(source, length) - source must be stringy type.

      • ESCAPE

        public static final StructureMapTransform 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 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.

      • APPEND

        public static final StructureMapTransform APPEND
        append

        append(source...) - source is element or string.

      • TRANSLATE

        public static final StructureMapTransform TRANSLATE
        translate

        translate(source, uri_of_map) - use the translate operation.

      • REFERENCE

        public static final StructureMapTransform REFERENCE
        reference

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

      • DATE_OP

        public static final StructureMapTransform DATE_OP
        dateOp

        Perform a date operation. *Parameters to be documented*.

      • UUID

        public static final StructureMapTransform UUID
        uuid

        Generate a random UUID (in lowercase). No Parameters.

      • POINTER

        public static final StructureMapTransform 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 EVALUATE
        evaluate

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

      • CC

        public static final StructureMapTransform CC
        cc

        Create a CodeableConcept. Parameters = (text) or (system. Code[, display]).

      • C

        public static final StructureMapTransform C
        c

        Create a Coding. Parameters = (system. Code[, display]).

      • QTY

        public static final StructureMapTransform 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 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 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

      • of

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