
org.cqframework.cql.elm.requirements.ElmExpressionRequirement Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of elm-fhir Show documentation
Show all versions of elm-fhir Show documentation
The elm-fhir library for the Clinical Quality Language Java reference implementation
The newest version!
package org.cqframework.cql.elm.requirements;
import org.hl7.elm.r1.*;
public class ElmExpressionRequirement extends ElmRequirement {
public ElmExpressionRequirement(VersionedIdentifier libraryIdentifier, Expression expression) {
super(libraryIdentifier, expression);
}
public Expression getExpression() {
return (Expression) this.element;
}
public Expression getElement() {
return getExpression();
}
public ElmExpressionRequirement combine(ElmRequirement requirement) {
return this;
}
public boolean isLiteral() {
return this.element instanceof Literal;
}
public boolean isTerminologyReference() {
return this.element instanceof ValueSetRef
|| this.element instanceof CodeSystemRef
|| this.element instanceof ConceptRef
|| this.element instanceof CodeRef;
}
public boolean isParameterReference() {
return this.element instanceof ParameterRef;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy