FHIR Chat · wrong build in hapi-fhir-validation-resources-r5-5.1.0.jar · hapi

Stream: hapi

Topic: wrong build in hapi-fhir-validation-resources-r5-5.1.0.jar


view this post on Zulip Rik Smithies (Dec 11 2020 at 14:54):

The file hapi-fhir-validation-resources-r5-5.1.0.jar, which I've got from Maven, has profiles-resources.xml which says
<version value="4.4.0">
<lastUpdated value="2020-05-06T13:31:06.441+00:00">

4.4.0 is this version of FHIR:
2020-05-04 4.4.0 FHIR Release #5: Preview #2

However the MedicinalProductDefinition resource in profiles-resources.xml in the jar has an attribute
called "classification" which was only created on 6th May, after the 4.4.0 branch

in 4.4.0 this was actually called "productClassification"
http://hl7.org/fhir/2020May/medicinalproductdefinition-definitions.html#MedicinalProductDefinition.productClassification

The change to rename "productClassification" to "classification"
happened in FHIR 4.5.0
http://hl7.org/fhir/2020Sep/medicinalproductdefinition-definitions.html#MedicinalProductDefinition.classification

So it seems as if hapi-fhir-validation-resources-r5-5.1.0.jar
may be built against the main build branch as it was at that time, and not the actual 4.4.0 branch.

The generated class also includes MedicinalProductDefinition.impurity though, which wasn't added to the build until 31st July. But that attribute is not in the profiles-resources.xml file, so something strange is going on.


Last updated: Apr 12 2022 at 19:14 UTC