GoogleCloudPlatform / healthcare-data-harmonization

This is an engine that converts data of one structure to another, based on a configuration file which describes how. There is an accompanying syntax to make writing mappings easier and more robust.
https://cloud.google.com/solutions/healthcare-life-sciences
Apache License 2.0
206 stars 64 forks source link

$HarmonizeCode should return ConceptMap.group.targetVersion instead of ConceptMap.version #34

Open ShahimEssaid opened 2 years ago

ShahimEssaid commented 2 years ago

If I'm understanding this builtin, it should return the target CodeSystem's version, not the ConceptMap's version as it currently does. CodeSystem version is what can be used in a Coding, not the ConceptMap version.

See: https://www.hl7.org/fhir/datatypes-definitions.html#Coding.version https://hl7.org/fhir/R4/conceptmap-definitions.html#ConceptMap.version https://hl7.org/fhir/R4/conceptmap-definitions.html#ConceptMap.group.targetVersion