use of org.hl7.fhir.dstu3.model.Measure.MeasureSupplementalDataComponent in project cqf-ruler by DBCG.
the class MeasureBuilder method addSDE.
public MeasureBuilder addSDE(String sdeId, String expression) {
MeasureSupplementalDataComponent sde = measure.getSupplementalDataFirstRep();
sde.getCode().setText(sdeId);
sde.getCriteria().setLanguage("text/cql").setExpression(expression);
return this;
}
use of org.hl7.fhir.dstu3.model.Measure.MeasureSupplementalDataComponent in project quality-measure-and-cohort-service by Alvearie.
the class FhirTestBase method createSupplementalDataComponent.
protected MeasureSupplementalDataComponent createSupplementalDataComponent(String defineName, String text) {
MeasureSupplementalDataComponent supplementalDataComponent = new MeasureSupplementalDataComponent();
CodeableConcept supplementalCC = new CodeableConcept();
Coding supplementalCoding = new Coding();
supplementalCoding.setCode("supplemental-data-coding");
supplementalCC.setCoding(Arrays.asList(supplementalCoding));
supplementalCC.setText(text);
supplementalDataComponent.setCode(supplementalCC);
CodeableConcept usage = new CodeableConcept();
Coding usageCoding = new Coding();
usageCoding.setCode("supplemental-data");
usage.setCoding(Arrays.asList(usageCoding));
supplementalDataComponent.setUsage(Arrays.asList(usage));
Expression supplementalExpression = new Expression();
supplementalExpression.setExpression(defineName);
supplementalExpression.setLanguage("text/cql.identifier");
supplementalDataComponent.setCriteria(supplementalExpression);
return supplementalDataComponent;
}
use of org.hl7.fhir.dstu3.model.Measure.MeasureSupplementalDataComponent in project cqf-ruler by DBCG.
the class MeasureBuilder method addSDE.
public MeasureBuilder addSDE(String sdeId, String expression) {
MeasureSupplementalDataComponent sde = measure.getSupplementalDataFirstRep();
sde.setId(sdeId);
sde.setCriteria(expression);
return this;
}
Aggregations