To review the generated code: there are no relevant code changes in the satellites, only in Base and Conformance, so you would only have to look through the generated files in those projects.
Otherwise, I only had to fix some unit tests lightly, esp. for Attachment.size, since this is no longer always a long.
The type of ElementDefinition.constraint.requirements, ElementDefinition.binding.description, ElementDefinition.mapping.comment and CapabilityStatement.implementation.description have changed from Markdown to PrimitiveType. Set this property to Markdown to get the original behaviour, but you can now use the correct type depending on the version of FHIR you are writing against.
The type of Attachment.size has changed from Integer64 to PrimitiveType. Set this property to Integer64 to get the original behaviour, but you should now assign the correct type (i.e. UnsignedInteger before R5) depending on the version of FHIR you are writing against.
The type of Bundle.Link.relation has changed from FhirString to PrimitiveType. Set this property to Integer64 to get the original behaviour, but you can now use the correct type depending on the version of FHIR you are writing against.
The type of Meta.profile has changed from Canonical to Code. Set this property to Integer64 to get the original behaviour, but you can now use the correct type depending on the version of FHIR you are writing against.
To review the generated code: there are no relevant code changes in the satellites, only in Base and Conformance, so you would only have to look through the generated files in those projects.
Otherwise, I only had to fix some unit tests lightly, esp. for Attachment.size, since this is no longer always a long.
Fixes #2967.
:warning: Make sure to also review https://github.com/FirelyTeam/fhir-codegen/pull/47, as this generated the code for this PR.
Breaking changes
ElementDefinition.constraint.requirements
,ElementDefinition.binding.description
,ElementDefinition.mapping.comment
andCapabilityStatement.implementation.description
have changed fromMarkdown
toPrimitiveType
. Set this property toMarkdown
to get the original behaviour, but you can now use the correct type depending on the version of FHIR you are writing against.Attachment.size
has changed fromInteger64
toPrimitiveType
. Set this property toInteger64
to get the original behaviour, but you should now assign the correct type (i.e.UnsignedInteger
before R5) depending on the version of FHIR you are writing against.Bundle.Link.relation
has changed fromFhirString
toPrimitiveType
. Set this property toInteger64
to get the original behaviour, but you can now use the correct type depending on the version of FHIR you are writing against.Meta.profile
has changed fromCanonical
toCode
. Set this property toInteger64
to get the original behaviour, but you can now use the correct type depending on the version of FHIR you are writing against.