Code Monkey home page Code Monkey logo

Comments (7)

jeffeastman avatar jeffeastman commented on June 25, 2024

Adding the population's identifier to the populationReport in FhirMeasureEvaluator.resolveGroupings gives the client more information on the details of the classification.

				MeasureReport.MeasureReportGroupPopulationComponent populationReport = new MeasureReport.MeasureReportGroupPopulationComponent();
				populationReport.setCount(count);
				populationReport.setCode(population.getCode());
				populationReport.setIdentifier(population.getIdentifier());

and yields MeasureReports that can be classified like this:

http://localhost:8080/cqf-ruler/baseDstu3/Patient/Patient-1121/_history/1
	patient is in initial-population
	patient is in numerator 1
	patient is in denominator 1
	patient is in numerator 2
	patient is in denominator 2
http://localhost:8080/cqf-ruler/baseDstu3/Patient/Patient-1128/_history/1
	patient is in initial-population
	patient is in denominator 1
http://localhost:8080/cqf-ruler/baseDstu3/Patient/Patient-1122/_history/1
	patient is in initial-population
	patient is in denominator 1

from cqf-ruler.

jeffeastman avatar jeffeastman commented on June 25, 2024

And lets me produce Cat-3 statistics for the population (albeit slowly);

	denominator 1 = 81
	denominator 2 = 36
	initial-population = 81
	numerator 1 = 36
	numerator 2 = 6

I forked a branch with this fix but evidently don't have karma to push it for a pull request.

from cqf-ruler.

jeffeastman avatar jeffeastman commented on June 25, 2024

I haven't figured out where, but the identifier seems to already be set. So this is just pilot error on my part. Closing...

from cqf-ruler.

jeffeastman avatar jeffeastman commented on June 25, 2024

Reopening because, for some reason I don't yet understand (maybe in the hot-code replacement during debugging?), the identifiers are no longer being set. Checking the codes still yields codes that don't distinguish between numbered numerators, denominators etc.

from cqf-ruler.

jeffeastman avatar jeffeastman commented on June 25, 2024

With more digging, I've located why I thought the identifier was already being set and it did have to do with hot code replacement while I was debugging, so the patch really needs to be made.

from cqf-ruler.

jeffeastman avatar jeffeastman commented on June 25, 2024

I don't see the above patch in the latest checkout. Is there a better way included or is there a reason why it is not?

from cqf-ruler.

jeffeastman avatar jeffeastman commented on June 25, 2024

Closing, thanks

from cqf-ruler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.