Open juliangruendner opened 4 months ago
Can I really use the CQL adapter to get the patient IDs?
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
CQL to be implemented later
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