Package org.hl7.fhir.r4.model
Enum StructureMap.StructureMapTransform
java.lang.Object
java.lang.Enum<StructureMap.StructureMapTransform>
org.hl7.fhir.r4.model.StructureMap.StructureMapTransform
- All Implemented Interfaces:
Serializable
,Comparable<StructureMap.StructureMapTransform>
- Enclosing class:
StructureMap
public static enum StructureMap.StructureMapTransform
extends Enum<StructureMap.StructureMapTransform>
-
Enum Constant Summary
Enum ConstantDescriptionappend(source...) - source is element or string.Create a Coding.cast(source, type?) - case source from one type to another.Create a CodeableConcept.copy(source).Create a contact details.create(type : string) - type is passed through to the application on the standard API, and must be known by it.Perform a date operation.escape(source, fmt1, fmt2) - change source from one kind of escaping to another (plain, java, xml, json).Execute the supplied FHIRPath expression and use the value returned by that.Create an identifier.added to help the parsers with the generic typesReturn the appropriate string to put in a reference that refers to the resource provided as a parameter.Create a quantity.reference(source : object) - return a string that references the provided tree properly.translate(source, uri_of_map) - use the translate operation.truncate(source, length) - source must be stringy type.Generate a random UUID (in lowercase). -
Method Summary
Modifier and TypeMethodDescriptiontoCode()
Returns the enum constant of this type with the specified name.static StructureMap.StructureMapTransform[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CREATE
create(type : string) - type is passed through to the application on the standard API, and must be known by it. -
COPY
copy(source). -
TRUNCATE
truncate(source, length) - source must be stringy type. -
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
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
append(source...) - source is element or string. -
TRANSLATE
translate(source, uri_of_map) - use the translate operation. -
REFERENCE
reference(source : object) - return a string that references the provided tree properly. -
DATEOP
Perform a date operation. *Parameters to be documented*. -
UUID
Generate a random UUID (in lowercase). No Parameters. -
POINTER
Return the appropriate string to put in a reference that refers to the resource provided as a parameter. -
EVALUATE
Execute the supplied FHIRPath expression and use the value returned by that. -
CC
Create a CodeableConcept. Parameters = (text) or (system. Code[, display]). -
C
Create a Coding. Parameters = (system. Code[, display]). -
QTY
Create a quantity. Parameters = (text) or (value, unit, [system, code]) where text is the natural representation e.g. [comparator]value[space]unit. -
ID
Create an identifier. Parameters = (system, value[, type]) where type is a code from the identifier type value set. -
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. -
NULL
added to help the parsers with the generic types
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException
- if the argument is null
-
fromCode
public static StructureMap.StructureMapTransform fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
toCode
-
getSystem
-
getDefinition
-
getDisplay
-