Skip to content

Commit

Permalink
Added population identifier to measure report as requested in issue #28
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Schuler committed Feb 5, 2018
1 parent c42edcf commit a97c6df
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ else if (result instanceof Iterable) {
MeasureReport.MeasureReportGroupPopulationComponent populationReport = new MeasureReport.MeasureReportGroupPopulationComponent();
populationReport.setCount(count);
populationReport.setCode(population.getCode());
populationReport.setIdentifier(population.getIdentifier());

reportGroup.getPopulation().add(populationReport);
}
Expand Down Expand Up @@ -153,6 +154,7 @@ else if (result instanceof Iterable) {
MeasureReport.MeasureReportGroupPopulationComponent populationReport = new MeasureReport.MeasureReportGroupPopulationComponent();
populationReport.setCount(count);
populationReport.setCode(pop.getCode());
populationReport.setIdentifier(pop.getIdentifier());

/*
TODO - it is a reference to a list...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{
"resource": {
"resourceType": "Library",
"id": "library-ccs-logic",
"id": "measure-ccs-logic",
"version": "1.0.0",
"status": "active",
"experimental": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{
"resource": {
"resourceType": "Library",
"id": "library-col-logic",
"id": "measure-col-logic",
"version": "1.0.0",
"status": "active",
"experimental": true,
Expand Down Expand Up @@ -222,7 +222,7 @@
],
"library": [
{
"reference": "Library/library-col-logic"
"reference": "Library/measure-col-logic"
}
],
"scoring": {
Expand Down

0 comments on commit a97c6df

Please sign in to comment.