fhir-data-pipes icon indicating copy to clipboard operation
fhir-data-pipes copied to clipboard

Separate Bunsen's profile loader for each FHIR version.

Open bashir2 opened this issue 2 years ago • 1 comments
trafficstars

Currently there is a single ProfileProvider interface that is used in a ServiceLoader pattern for loading various profiles. The problem is that these profiles are then loaded independent of the FHIR context version. This should be fixed (currently there is a check guarding against it but that is a hack).

bashir2 avatar Jan 31 '23 07:01 bashir2

Actually the guard that I mentioned in the above description is fine (not a "hack"). This way we keep ProfileProvider interface simpler and leave it to the implementations to decide whether they have any profiles for the particular FhirContext version.

bashir2 avatar Feb 17 '23 22:02 bashir2