medizininformatik-initiative / torch

Apache License 2.0
2 stars 0 forks source link

CQL and FLARE Cohort connector #11

Open juliangruendner opened 4 months ago

juliangruendner commented 4 months ago

A cohort connector should be created, which allows TORCH to use the CCDL part of the CRTDL (attribute = cohortDefinition) and either sends it to the FLARE cohort endpoint or sends it to the FHIR server directly via a CQL adapter.

For the FLARE cohort endpoint see: https://github.com/medizininformatik-initiative/torch/issues/10

For an example of a CQL execution - see: Note - first (in StoreFeasibilityResources.java) a Measure and Library are send to the FHIR server and then the Measure evaluation is executed (in EvaluateCqlMeasure.java)

https://github.com/medizininformatik-initiative/mii-process-feasibility/blob/develop/mii-process-feasibility/src/main/java/de/medizininformatik_initiative/process/feasibility/service/StoreFeasibilityResources.java https://github.com/medizininformatik-initiative/mii-process-feasibility/blob/develop/mii-process-feasibility/src/main/java/de/medizininformatik_initiative/process/feasibility/service/EvaluateCqlMeasure.java

Lucas0T commented 2 months ago

via a CQL adapter.

Can I really use the CQL adapter to get the patient IDs?

juliangruendner commented 2 months ago

via a CQL adapter.

Can I really use the CQL adapter to get the patient IDs?

@Lucas0T yes - see: https://github.com/medizininformatik-initiative/torch/issues/12

Lucas0T commented 2 months ago

CQL to be implemented later