Enum MapTransform
- java.lang.Object
-
- java.lang.Enum<MapTransform>
-
- org.hl7.fhir.r4.model.codesystems.MapTransform
-
- All Implemented Interfaces:
Serializable,Comparable<MapTransform>
public enum MapTransform extends Enum<MapTransform>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPENDappend(source...) - source is element or string.CCreate a Coding.CASTcast(source, type?) - case source from one type to another.CCCreate a CodeableConcept.COPYcopy(source).CPCreate a contact details.CREATEcreate(type : string) - type is passed through to the application on the standard API, and must be known by it.DATEOPPerform a date operation.ESCAPEescape(source, fmt1, fmt2) - change source from one kind of escaping to another (plain, java, xml, json).EVALUATEExecute the supplied FHIRPath expression and use the value returned by that.IDCreate an identifier.NULLadded to help the parsersPOINTERReturn the appropriate string to put in a reference that refers to the resource provided as a parameter.QTYCreate a quantity.REFERENCEreference(source : object) - return a string that references the provided tree properly.TRANSLATEtranslate(source, uri_of_map) - use the translate operation.TRUNCATEtruncate(source, length) - source must be stringy type.UUIDGenerate a random UUID (in lowercase).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MapTransformfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static MapTransformvalueOf(String name)Returns the enum constant of this type with the specified name.static MapTransform[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATE
public static final MapTransform CREATE
create(type : string) - type is passed through to the application on the standard API, and must be known by it.
-
COPY
public static final MapTransform COPY
copy(source).
-
TRUNCATE
public static final MapTransform TRUNCATE
truncate(source, length) - source must be stringy type.
-
ESCAPE
public static final MapTransform 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 MapTransform 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 MapTransform APPEND
append(source...) - source is element or string.
-
TRANSLATE
public static final MapTransform TRANSLATE
translate(source, uri_of_map) - use the translate operation.
-
REFERENCE
public static final MapTransform REFERENCE
reference(source : object) - return a string that references the provided tree properly.
-
DATEOP
public static final MapTransform DATEOP
Perform a date operation. *Parameters to be documented*.
-
UUID
public static final MapTransform UUID
Generate a random UUID (in lowercase). No Parameters.
-
POINTER
public static final MapTransform POINTER
Return the appropriate string to put in a reference that refers to the resource provided as a parameter.
-
EVALUATE
public static final MapTransform EVALUATE
Execute the supplied FHIRPath expression and use the value returned by that.
-
CC
public static final MapTransform CC
Create a CodeableConcept. Parameters = (text) or (system. Code[, display]).
-
C
public static final MapTransform C
Create a Coding. Parameters = (system. Code[, display]).
-
QTY
public static final MapTransform 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 MapTransform ID
Create an identifier. Parameters = (system, value[, type]) where type is a code from the identifier type value set.
-
CP
public static final MapTransform 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
public static final MapTransform NULL
added to help the parsers
-
-
Method Detail
-
values
public static MapTransform[] 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 (MapTransform c : MapTransform.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MapTransform 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 nameNullPointerException- if the argument is null
-
fromCode
public static MapTransform fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-