Skip to content
This repository was archived by the owner on Apr 4, 2022. It is now read-only.
This repository was archived by the owner on Apr 4, 2022. It is now read-only.

Ensure fhir path is used to determine value path #7

@juliangruendner

Description

@juliangruendner

Ensure fhir path is used to determine value path instead of making it dependent on ResourceType.

  1. Add fhirPath to "MappingContext" class
  2. Change all classes in structured_query where "Expression" is created in toCql function to use fhirPath from (in step 1) adjusted MappingContext

Step 2 would for example change the following line of code:
https://github.com/num-codex/codex-sq2cql/blob/main/src/main/java/de/numcodex/sq2cql/model/structured_query/NumericCriterion.java#L84

where instead of value it would use the respective fhir path from the MappingContext

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions