firely-cql-sdk icon indicating copy to clipboard operation
firely-cql-sdk copied to clipboard

Map a CqlCode to a Coding and not Code

Open baseTwo opened this issue 1 year ago • 1 comments

ℹ️Work for issue #340

Fix mapping from Cql Code -> FHIR Coding

baseTwo avatar May 24 '24 08:05 baseTwo

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

baseTwo avatar May 27 '24 08:05 baseTwo