
org.cqframework.cql.elm.requirements.ElmConstraintRequirement 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
package org.cqframework.cql.elm.requirements;
import org.hl7.elm.r1.Expression;
import org.hl7.elm.r1.VersionedIdentifier;
public class ElmConstraintRequirement extends ElmExpressionRequirement {
public ElmConstraintRequirement(
VersionedIdentifier libraryIdentifier,
Expression expression,
ElmPropertyRequirement leftProperty,
ElmPropertyRequirement rightProperty) {
super(libraryIdentifier, expression);
if (leftProperty == null) {
throw new IllegalArgumentException("leftProperty is required");
}
this.leftProperty = leftProperty;
if (rightProperty == null) {
throw new IllegalArgumentException("rightProperty is required");
}
this.rightProperty = rightProperty;
}
protected ElmPropertyRequirement leftProperty;
public ElmPropertyRequirement getLeftProperty() {
return this.leftProperty;
}
protected ElmPropertyRequirement rightProperty;
public ElmPropertyRequirement getRightProperty() {
return this.rightProperty;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy