Package com.ibm.fhir.model.type.code
Class ExtensionContextType
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.String
-
- com.ibm.fhir.model.type.Code
-
- com.ibm.fhir.model.type.code.ExtensionContextType
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class ExtensionContextType extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExtensionContextType.Builderstatic classExtensionContextType.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static ExtensionContextTypeELEMENTElement IDstatic ExtensionContextTypeEXTENSIONExtension URLstatic ExtensionContextTypeFHIRPATHFHIRPath
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExtensionContextType.Builderbuilder()static Codecode(String value)Inherited factory method for creating ExtensionContextType objects from a passed string value.booleanequals(Object obj)ExtensionContextType.ValueSetgetValueAsEnumConstant()inthashCode()static ExtensionContextTypeof(ExtensionContextType.ValueSet value)Factory method for creating ExtensionContextType objects from a passed enum value.static ExtensionContextTypeof(String value)Factory method for creating ExtensionContextType objects from a passed string value.static Stringstring(String value)Inherited factory method for creating ExtensionContextType objects from a passed string value.ExtensionContextType.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.String
getValue, hasChildren
-
Methods inherited from class com.ibm.fhir.model.type.Element
as, getExtension, getId, is
-
-
-
-
Field Detail
-
FHIRPATH
public static final ExtensionContextType FHIRPATH
FHIRPathThe context is all elements that match the FHIRPath query found in the expression.
-
ELEMENT
public static final ExtensionContextType ELEMENT
Element IDThe context is any element that has an ElementDefinition.id that matches that found in the expression. This includes ElementDefinition Ids that have slicing identifiers. The full path for the element is [url]#[elementid]. If there is no #, the Element id is one defined in the base specification.
-
EXTENSION
public static final ExtensionContextType EXTENSION
Extension URLThe context is a particular extension from a particular StructureDefinition, and the expression is just a uri that identifies the extension.
-
-
Method Detail
-
getValueAsEnumConstant
public ExtensionContextType.ValueSet getValueAsEnumConstant()
-
of
public static ExtensionContextType of(ExtensionContextType.ValueSet value)
Factory method for creating ExtensionContextType objects from a passed enum value.
-
of
public static ExtensionContextType of(String value)
Factory method for creating ExtensionContextType 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 ExtensionContextType 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 ExtensionContextType 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
-
toBuilder
public ExtensionContextType.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static ExtensionContextType.Builder builder()
-
-