firely-cql-sdk
firely-cql-sdk copied to clipboard
Map a CqlCode to a Coding and not Code
ℹ️Work for issue #340
Fix mapping from Cql Code -> FHIR Coding
I would be in favour of having an accurate mapping:
- If CqlCode only contains a code and not a system, version or display -> FHIRAllTypes.code
- Else -> FHIRAllTypes.Coding
@alexzautke This mapper only works on type information, it does not have access to an instance of CqlCode