highmed / highmed-dsf

HiGHmed Data Sharing Framework funded by the German Federal Ministry of Education and Research (BMBF, grant ids: 01ZZ1802E and 01ZZ1802A)
Apache License 2.0
32 stars 20 forks source link

ValidationSupportWithCustomResources Should Support Versions #367

Closed hhund closed 1 year ago

hhund commented 2 years ago

The ValidationSupportWithCustomResources class used in FHIR profile validation tests, should support fetching CodeSystem, StrctureDefinition and ValueSet by url and version. Adding the custom resources to the maps by url and by url|version (see also addOrReplace methods) should work.

https://github.com/highmed/highmed-dsf/blob/f372b757b22d59b3594a220f7f380c60aa6f00b8/dsf-fhir/dsf-fhir-validation/src/main/java/org/highmed/dsf/fhir/validation/ValidationSupportWithCustomResources.java#L39-L44