public class DefinitionNavigator extends Object
| Constructor and Description |
|---|
DefinitionNavigator(IWorkerContext context,
StructureDefinition structure) |
| Modifier and Type | Method and Description |
|---|---|
List<DefinitionNavigator> |
children() |
List<DefinitionNavigator> |
childrenFromType(ElementDefinition.TypeRefComponent type) |
ElementDefinition |
current() |
List<String> |
getNames()
When you walk a tree, and you walk into a typed structure, an element can simultaineously
be covered by multiple types at once.
|
boolean |
hasTypeChildren(ElementDefinition.TypeRefComponent type)
if you have a typed element, the tree might end at that point.
|
String |
nameTail() |
String |
path() |
List<DefinitionNavigator> |
slices() |
public DefinitionNavigator(IWorkerContext context, StructureDefinition structure) throws org.hl7.fhir.exceptions.DefinitionException
org.hl7.fhir.exceptions.DefinitionExceptionpublic List<String> getNames()
public ElementDefinition current()
public List<DefinitionNavigator> slices() throws org.hl7.fhir.exceptions.DefinitionException
org.hl7.fhir.exceptions.DefinitionExceptionpublic List<DefinitionNavigator> children() throws org.hl7.fhir.exceptions.DefinitionException
org.hl7.fhir.exceptions.DefinitionExceptionpublic boolean hasTypeChildren(ElementDefinition.TypeRefComponent type) throws org.hl7.fhir.exceptions.DefinitionException
org.hl7.fhir.exceptions.DefinitionExceptionpublic List<DefinitionNavigator> childrenFromType(ElementDefinition.TypeRefComponent type) throws org.hl7.fhir.exceptions.DefinitionException
org.hl7.fhir.exceptions.DefinitionExceptionCopyright © 2014–2021 Health Level 7. All rights reserved.