Uses of Class
org.hl7.fhir.r5.elementmodel.Element
Package
Description
-
Uses of Element in org.hl7.fhir.r5.conformance.profile
Modifier and TypeMethodDescriptionProfileUtilities.generateExamples
(StructureDefinition sd, boolean evenWhenNoExamples) -
Uses of Element in org.hl7.fhir.r5.elementmodel
Modifier and TypeMethodDescriptionElement.addElement
(String name) static Element
Manager.build
(IWorkerContext context, StructureDefinition sd) Element.forceElement
(String name) Element.getExtension
(String url) Element.getNamedChild
(String name) Element.getNamedChild
(String name, boolean exception) Element.getParentForValidator()
this is set by the instance validator.Element.makeElement
(String name) Element.markLocation
(int line, int col) Element.markLocation
(Element src) Element.markLocation
(org.hl7.fhir.utilities.SourceLocation loc) JsonParser.parse
(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, org.hl7.fhir.utilities.json.model.JsonObject object) JsonParser.parse
(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, org.hl7.fhir.utilities.json.model.JsonObject object, String statedPath) It's possible to get an element model from an resource by writing it to a stream, and reading it, but this loads it directly, and links to the element model from the resource modelXmlParser.parse
(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Element base, String type) static Element
Manager.parseSingle
(IWorkerContext context, InputStream source, Manager.FhirFormat inputFormat) ParserBase.parseSingle
(InputStream stream, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors) Element.setFormat
(Manager.FhirFormat format) Element.setNativeObject
(Object nativeObject) Element.setXhtml
(org.hl7.fhir.utilities.xhtml.XhtmlNode xhtml) Modifier and TypeMethodDescriptionorg.hl7.fhir.utilities.NamedItemList
<Element> Element.getChildren()
Element.getChildren
(String name) Element.getChildrenByName
(String name) Element.getExtensions
(String url) Modifier and TypeMethodDescriptionint
void
FmlParser.compose
(Element e, OutputStream destination, IParser.OutputStyle style, String base) void
JsonParser.compose
(Element e, OutputStream stream, IParser.OutputStyle style, String identity) void
JsonParser.compose
(Element e, JsonCreator json) static void
Manager.compose
(IWorkerContext context, Element e, OutputStream destination, Manager.FhirFormat outputFormat, IParser.OutputStyle style, String base) void
NDJsonParser.compose
(Element e, OutputStream stream, IParser.OutputStyle style, String identity) abstract void
ParserBase.compose
(Element e, OutputStream destination, IParser.OutputStyle style, String base) void
ResourceParser.compose
(Element e, OutputStream destination, IParser.OutputStyle style, String base) void
SHCParser.compose
(Element e, OutputStream destination, IParser.OutputStyle style, String base) void
SHLParser.compose
(Element e, OutputStream destination, IParser.OutputStyle style, String base) void
TurtleParser.compose
(Element e, OutputStream stream, IParser.OutputStyle style, String base) void
void
VerticalBarParser.compose
(Element e, OutputStream destination, IParser.OutputStyle style, String base) void
XmlParser.compose
(Element e, OutputStream stream, IParser.OutputStyle style, String base) void
ObjectConverter.convertToType
(Element element) protected void
TurtleParser.decorateCanonical
(org.hl7.fhir.utilities.turtle.Turtle.Complex t, Element canonical) protected void
TurtleParser.decorateCoding
(org.hl7.fhir.utilities.turtle.Turtle.Complex t, Element coding, org.hl7.fhir.utilities.turtle.Turtle.Section section) protected void
TurtleParser.decorateReference
(org.hl7.fhir.utilities.turtle.Turtle.Complex t, Element coding) List
<org.hl7.fhir.utilities.i18n.LanguageFileProducer.TranslationUnit> LanguageUtils.generateTranslations
(Element e, String lang) void
LanguageUtils.generateTranslations
(Element resource, org.hl7.fhir.utilities.i18n.LanguageFileProducer.LanguageProducerLanguageSession session) protected String
ParserBase.getReferenceForElement
(Element element) boolean
LanguageUtils.handlesAsElement
(Element element) boolean
Element.hasDescendant
(Element element) int
LanguageUtils.importFromTranslations
(Element resource, List<org.hl7.fhir.utilities.i18n.LanguageFileProducer.TranslationUnit> translations) int
LanguageUtils.importFromTranslations
(Element resource, List<org.hl7.fhir.utilities.i18n.LanguageFileProducer.TranslationUnit> translations, List<org.hl7.fhir.utilities.validation.ValidationMessage> messages) Element.markLocation
(Element src) void
JsonParser.parseChildItem
(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, String path, List<org.hl7.fhir.utilities.json.model.JsonProperty> children, Element context, Property property) static CodeableConcept
ObjectConverter.readAsCodeableConcept
(Element element) static Coding
ObjectConverter.readAsCoding
(Element item) static Identifier
ObjectConverter.readAsIdentifier
(Element item) static Reference
ObjectConverter.readAsReference
(Element item) void
Element.setElement
(String string, Element map) void
Element.setParentForValidator
(Element parentForValidator) boolean
LanguageUtils.switchLanguage
(Element e, String lang) protected boolean
ParserBase.wantCompose
(String path, Element e) Modifier and TypeMethodDescriptionvoid
Element.getNamedChildren
(String name, List<Element> list) void
Element.getNamedChildrenWithWildcard
(String string, List<Element> values) ModifierConstructorDescriptionElementSortComparator
(Element e, Property property) ValidatedFragment
(String name, String extension, Element element, byte[] content, boolean isDerivedContent) -
Uses of Element in org.hl7.fhir.r5.renderers
-
Uses of Element in org.hl7.fhir.r5.renderers.utils
Modifier and TypeMethodDescriptionstatic ResourceWrapper
ResourceWrapper.forResource
(ContextUtilities contextUtils, Element resource) static ResourceWrapper
ResourceWrapper.forResource
(RenderingContext context, Element resource) static ResourceWrapper
ResourceWrapper.forType
(ContextUtilities contextUtils, Element resource) RenderingContext.getTranslatedCode
(Element e, String codeSystem) -
Uses of Element in org.hl7.fhir.r5.utils
-
Uses of Element in org.hl7.fhir.r5.utils.validation
Modifier and TypeMethodDescriptionIValidatorResourceFetcher.fetch
(IResourceValidator validator, Object appContext, String url) IResourceValidator.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, InputStream stream, Manager.FhirFormat format) IResourceValidator.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, InputStream stream, Manager.FhirFormat format, String profile) IResourceValidator.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, InputStream stream, Manager.FhirFormat format, List<StructureDefinition> profiles) IResourceValidator.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Resource resource) IResourceValidator.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Resource resource, String profile) IResourceValidator.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Resource resource, List<StructureDefinition> profiles) IResourceValidator.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, org.hl7.fhir.utilities.json.model.JsonObject object) IResourceValidator.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, org.hl7.fhir.utilities.json.model.JsonObject object, String profile) IResourceValidator.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, org.hl7.fhir.utilities.json.model.JsonObject object, List<StructureDefinition> profile) IResourceValidator.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Document document) IResourceValidator.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Document document, String profile) IResourceValidator.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Document document, List<StructureDefinition> profile) IResourceValidator.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Element element) IResourceValidator.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Element element, String profile) IResourceValidator.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, Element element, List<StructureDefinition> profile) Modifier and TypeMethodDescriptionIValidationPolicyAdvisor.getImpliedProfilesForResource
(IResourceValidator validator, Object appContext, String stackPath, ElementDefinition definition, StructureDefinition structure, Element resource, boolean valid, IMessagingServices msgServices, List<org.hl7.fhir.utilities.validation.ValidationMessage> messages) This is called after a resource has been validated against the base structure, but before it's validated against any profiles specified in .meta.profile or in the parameters.ValidationContextCarrier.IValidationContextResourceLoader.loadContainedResource
(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, String path, Element resource, String id, Class<? extends Resource> class1) void
IValidationProfileUsageTracker.recordProfileUsage
(StructureDefinition profile, Object appContext, Element element) void
IResourceValidator.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, String initialPath, Element element) Validate suite you can validate one of the following representations of resources: stream - provide a format - this is the preferred choice Use one of these two if the content is known to be valid XML/JSON, and already parsed - a DOM element or Document - a Json Object In order to use these, the content must already be parsed - e.g.void
IResourceValidator.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, String initialPath, Element element, String profile) void
IResourceValidator.validate
(Object Context, List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, String initialPath, Element element, List<StructureDefinition> profiles) ModifierConstructorDescriptionValidationContextResourceProxy
(List<org.hl7.fhir.utilities.validation.ValidationMessage> errors, String path, Element element, ValidationContextCarrier.IValidationContextResourceLoader loader)