srdc / tofhir

Mapping toolset to migrate/transform existing datasets to HL7 FHIR
Apache License 2.0
9 stars 1 forks source link

Replace hardcoded inputType and returnType fields of FhirPathFunctions with FHIR_DATA_TYPEs values #238

Open camemre49 opened 1 month ago

dogukan10 commented 1 month ago

Please note that this MR does not work. When I call http://localhost:8085/tofhir/fhir-path-functions, it returns empty input and return types. I think the following function should be updated to handle enumerations: https://github.com/srdc/onfhir/blob/master/onfhir-path/src/main/scala/io/onfhir/path/AbstractFhirPathFunctionLibrary.scala#L44. Marking it as draft.