Stream: IG creation
Topic: Constrained logical models
Giorgio Cangioli (Apr 15 2021 at 19:57):
I've a generic logical model that I'd like to specialize for a set of different use cases.
This model (let's call it model A) uses other logical models as types (e.g the subject (model B) ; medicinal product model C) => A(B,C)
Giorgio Cangioli (Apr 15 2021 at 19:59):
The intent is to specify a specialized model A1 that constraints A (derivation = #constraint) with A1 using models B1 and C1 where B1 constraints B and C1 constraints C. (A1 is a truly constrained A model)
Giorgio Cangioli (Apr 15 2021 at 19:59):
The point is that when I build the IG it fails with this kind of error:
Caused by: org.hl7.fhir.exceptions.DefinitionException: StructureDefinition http://iso.org/fhir/ts-5384/StructureDefinition/Immunization-uc1 at Immunization.forecast: illegal constrained type http://iso.org/fhir/ts-5384/StructureDefinition/Forecast-uc1 from http://iso.org/fhir/ts-5384/StructureDefinition/Forecast in http://iso.org/fhir/ts-5384/StructureDefinition/Immunization
Any suggestion ?
Grahame Grieve (Apr 16 2021 at 07:57):
can we reproduce this?
Giorgio Cangioli (Apr 16 2021 at 15:02):
Grahame Grieve said:
can we reproduce this?
Thanks Grahame, I'll make a branch and send you the link
Grahame Grieve (Apr 16 2021 at 20:15):
fixed for next release
Last updated: Apr 12 2022 at 19:14 UTC