Package org.hl7.fhir.r4.profilemodel
Class PEDefinitionTypeSlice
- java.lang.Object
-
- org.hl7.fhir.r4.profilemodel.PEDefinition
-
- org.hl7.fhir.r4.profilemodel.PEDefinitionTypeSlice
-
public class PEDefinitionTypeSlice extends PEDefinition
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.hl7.fhir.r4.profilemodel.PEDefinition
PEDefinition.PEDefinitionElementMode
-
-
Field Summary
Fields Modifier and Type Field Description protected ElementDefinitionsliceDefinition-
Fields inherited from class org.hl7.fhir.r4.profilemodel.PEDefinition
builder, children, definition, name, path, profile, types
-
-
Constructor Summary
Constructors Constructor Description PEDefinitionTypeSlice(PEBuilder builder, String name, StructureDefinition profile, ElementDefinition definition, ElementDefinition sliceDefinition, String ppath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringfhirpath()This is public to support unit testing - there's no reason to use it otherwisevoidlistTypes(List<PEType> types)protected voidmakeChildren(String typeUrl, List<PEDefinition> children, boolean allFixed)-
Methods inherited from class org.hl7.fhir.r4.profilemodel.PEDefinition
baseDefinition, children, children, children, children, definition, directChildren, documentation, getFixedValue, getProfile, getSlices, hasFixedValue, isBaseList, isBasePrimitive, isExtension, isInFixedValue, isKeyElement, isList, isMustHaveValue, isPrimitive, isProfiled, isRecursing, isSlicer, max, min, mode, name, path, repeats, schemaName, schemaNameWithType, setInFixedValue, setMustHaveValue, setRecursing, setSlicer, setSlices, shortDocumentation, toString, types
-
-
-
-
Field Detail
-
sliceDefinition
protected ElementDefinition sliceDefinition
-
-
Constructor Detail
-
PEDefinitionTypeSlice
public PEDefinitionTypeSlice(PEBuilder builder, String name, StructureDefinition profile, ElementDefinition definition, ElementDefinition sliceDefinition, String ppath)
-
-
Method Detail
-
listTypes
public void listTypes(List<PEType> types)
- Specified by:
listTypesin classPEDefinition
-
makeChildren
protected void makeChildren(String typeUrl, List<PEDefinition> children, boolean allFixed)
- Specified by:
makeChildrenin classPEDefinition
-
fhirpath
public String fhirpath()
Description copied from class:PEDefinitionThis is public to support unit testing - there's no reason to use it otherwise- Specified by:
fhirpathin classPEDefinition- Returns:
- used in the instance processor to differentiate slices
-
-